SQLite 3.51: New Features and Performance Boosts

watch 1m, 31s
views 2

14:45, 07.11.2025

Article Content
arrow

  • New Functionalities and Extensions
  • Enhanced CLI and API Improvements
  • Performance Optimizations

The highly anticipated release of SQLite 3.51 has arrived, offering a host of new features and improvements. This lightweight database, written in C and distributed in the public domain, continues to provide powerful tools for developers without any licensing restrictions.

New Functionalities and Extensions

SQLite 3.51 introduces a few exciting additions to its API. Notably, there are new macros in the sqlite3.h header: SQLITE_SCM_BRANCH, SQLITE_SCM_TAGS, and SQLITE_SCM_DATETIME. In the JSON handling area, the update brings jsonb_each() and jsonb_tree()—versions of the familiar functions tailored for the JSONB format. SQLite also adds two extensions, carray and percentile, to its amalgamation, though these are turned off by default and can be enabled during the build process with specific flags.

Enhanced CLI and API Improvements

The command-line interface (CLI) in SQLite has also been refined for a smoother experience. For example, the .timer command now tracks time with microsecond precision. The .width command has a new limitation, restricting column width to 30,000 characters. Developers will appreciate the new .imposter command, which allows reading index contents as tables. SQLite's API has received a boost as well, with the introduction of functions like sqlite3_db_status64() and sqlite3changeset_apply_v3() for more detailed database status and session management.

Performance Optimizations

SQLite 3.51 brings a range of performance optimizations to improve efficiency. CPU load during read transactions has been reduced, and the system now detects JOIN operations on tables that won’t return any rows earlier in the process. Scalar subqueries that do not affect the final result are excluded, speeding up queries. New checkpoint modes, such as the NOOP mode for sqlite3_wal_checkpoint_v2(), further fine-tune the performance for developers.

This release sets a new standard for SQLite, providing an even more efficient, feature-packed database engine that continues to serve developers' needs in diverse environments.

Share

Was this article helpful to you?

VPS popular offers

CPU
CPU
8 Epyc Cores
RAM
RAM
32 GB
Space
Space
200 GB NVMe
Bandwidth
Bandwidth
Unlimited
Keitaro KVM 32768
OS
CentOS
Software
Software
Keitaro
/mo

Billed monthly

-8.8%

CPU
CPU
6 Xeon Cores
RAM
RAM
16 GB
Space
Space
400 GB HDD
Bandwidth
Bandwidth
300 Gb
wKVM-HDD HK 16384 Windows

46.04 /mo

/mo

Billed annually

-10%

CPU
CPU
6 Xeon Cores
RAM
RAM
16 GB
Space
Space
400 GB HDD
Bandwidth
Bandwidth
Unlimited
KVM-HDD 16384 Linux

50 /mo

/mo

Billed annually

-13.1%

CPU
CPU
2 Xeon Cores
RAM
RAM
512 MB
Space
Space
10 GB SSD
Bandwidth
Bandwidth
300 GB
KVM-SSD 512 HK Linux

7 /mo

/mo

Billed annually

-7.1%

CPU
CPU
4 Xeon Cores
RAM
RAM
4 GB
Space
Space
100 GB HDD
Bandwidth
Bandwidth
Unlimited
wKVM-HDD 4096 Windows

21 /mo

/mo

Billed annually

-9.7%

CPU
CPU
10 Epyc Cores
RAM
RAM
64 GB
Space
Space
300 GB NVMe
Bandwidth
Bandwidth
Unlimited
wKVM-NVMe 65536 Windows

193 /mo

/mo

Billed annually

-26.7%

CPU
CPU
3 Xeon Cores
RAM
RAM
1 GB
Space
Space
20 GB SSD
Bandwidth
Bandwidth
1 TB
KVM-SSD 1024 Metered Linux

10 /mo

/mo

Billed annually

-10%

CPU
CPU
6 Xeon Cores
RAM
RAM
8 GB
Space
Space
200 GB HDD
Bandwidth
Bandwidth
Unlimited
KVM-HDD 8192 Linux

25.25 /mo

/mo

Billed annually

-21%

CPU
CPU
6 Xeon Cores
RAM
RAM
8 GB
Space
Space
100 GB SSD
Bandwidth
Bandwidth
8 TB
wKVM-SSD 8192 Metered Windows

65 /mo

/mo

Billed annually

-10%

CPU
CPU
3 Xeon Cores
RAM
RAM
1 GB
Space
Space
40 GB HDD
Bandwidth
Bandwidth
Unlimited
KVM-HDD 1024 Linux

6.1 /mo

/mo

Billed annually

Other articles on this topic

cookie

Accept cookies & privacy policy?

We use cookies to ensure that we give you the best experience on our website. If you continue without changing your settings, we'll assume that you are happy to receive all cookies on the HostZealot website.