SShortSingh.
Back to feed

SQLite 3.54 skips rewriting unchanged expression indexes, cutting WAL writes by up to 76%

0
·6 views

SQLite 3.54.0, released 9 October 2026, changed UPDATE behaviour so that an expression index is left alone when the value it indexes stays the same. A tester compared the 3.54.1 point release against the prior 3.53.0 line using Linux CLI builds, updating case-only changes to lowercased emails across a 200,000-row table. On a 50,000-row update, WAL pages written fell from 2,143 to 511, a 76% reduction, and wall time dropped by roughly a third. The 511-page figure matched a table with no expression index at all, indicating the index maintenance cost was eliminated rather than merely reduced. When the indexed value actually changed, the two versions performed identically, and across the full table the reduction narrowed to 43%.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

Shopify customer merge fails: what the customerMerge docs say about blockers and gaps

A developer guide explains how to diagnose failed Shopify customer merges by checking userErrors, Customer.mergeable, and the customers/merge webhook. It notes that Shopify's documentation lists hard blockers such as subscriptions, store credit, and company contacts, but does not map every error code to a blocker. The customerMerge mutation rules determining which customer survives are summarized, along with its asynchronous job behavior and required access scope. The Help Center's nine profile-level merge blockers and the CustomerMergeErrorFieldType enum's 11 values are compared, with the author flagging mismatches and noting that merges are irreversible.

0
ProgrammingDEV Community ·

Company adds WebMCP tools to its own website as a test of the emerging agent standard

A web development firm that builds WebMCP integrations for clients has added the proposed standard to its own service page. WebMCP lets a page register named tools that AI agents can call directly, instead of having to guess how to interact with buttons and forms. The firm's setup includes a read-only tool for retrieving its service packages, a read-only FAQ search tool, and a tool that pre-fills its audit request form without submitting it. The article notes that the API is still early, with Chrome testing it as an origin trial and Firefox and Safari not announcing support, and that it has changed in 2026. The firm advises starting with read-only lookup tools and never exposing admin functions or customer data through them.

0
ProgrammingDEV Community ·

Vietnamese Discord bot Voxy reads voice-channel chat aloud, and real servers exposed new problems

Khanh Duy, an indie developer in Ho Chi Minh City, built Voxy, a Discord bot that reads a voice channel's text chat aloud for Vietnamese servers. The bot was designed to help members who cannot speak on voice, since Discord's built-in text-to-speech reads Vietnamese shorthand like "ko" as individual letters. Voxy converts common chat shorthand, numbers with units, laughter and links into natural spoken Vietnamese before synthesis. Each server can maintain its own pronunciation dictionary, and messages are capped at 40 words. The article notes that the bot initially suffered from message delays under heavy use, which the developer traced to a per-message REST call rather than the speech API itself.

0
ProgrammingDEV Community ·

Autor monta assistente de IA local para proteger dados pessoais, sem depender de nuvem

Um profissional de infraestrutura de TI descreve como criou um assistente pessoal de IA que roda inteiramente em casa, motivado pela preocupação com a privacidade de rotinas, finanças e anotações. Ele utiliza o Ollama, ferramenta open-source que executa modelos de linguagem localmente e expõe uma API acessível apenas na própria máquina. O texto alerta que a API não possui autenticação própria, de modo que expô-la à rede sem firewall ou proxy com token pode permitir acesso indevido. Para transformar o modelo em um assistente funcional, o autor integra o sistema a ferramentas de automação como o n8n, que permitem disparar ações conforme gatilhos e agendamentos. A solução é apresentada como replicável com componentes gratuitos, reservando serviços de nuvem apenas para tarefas que exigem modelos maiores.