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

-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

-10%

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

77.54 /mo

/mo

Billed annually

-15.4%

CPU
CPU
6 Xeon Cores
RAM
RAM
16 GB
Space
Space
150 GB SSD
Bandwidth
Bandwidth
100 Mbps
DDoS Protected SSD-wKVM 16384 Windows

130 /mo

/mo

Billed annually

-10%

CPU
CPU
6 Xeon Cores
RAM
RAM
16 GB
Space
Space
150 GB SSD
Bandwidth
Bandwidth
Unlimited
10Ge-KVM-SSD 16384 Linux

231 /mo

/mo

Billed annually

-5%

CPU
CPU
3 Xeon Cores
RAM
RAM
1 GB
Space
Space
40 GB HDD
Bandwidth
Bandwidth
Unlimited
wKVM-HDD 1024 Windows

12.1 /mo

/mo

Billed annually

-10%

CPU
CPU
10 Xeon Cores
RAM
RAM
64 GB
Space
Space
300 GB SSD
Bandwidth
Bandwidth
Unlimited
KVM-SSD 65536 Linux

134.99 /mo

/mo

Billed annually

-10%

CPU
CPU
8 Xeon Cores
RAM
RAM
32 GB
Space
Space
200 GB SSD
Bandwidth
Bandwidth
12 TB
KVM-SSD 32768 Metered Linux

150 /mo

/mo

Billed annually

-10%

CPU
CPU
4 Xeon Cores
RAM
RAM
8 GB
Space
Space
100 GB SSD
Bandwidth
Bandwidth
Unlimited
10Ge-KVM-SSD 8192 Linux

115.5 /mo

/mo

Billed annually

-18.4%

CPU
CPU
4 Xeon Cores
RAM
RAM
2 GB
Space
Space
75 GB SSD
Bandwidth
Bandwidth
2 TB
wKVM-SSD 2048 Metered Windows

24 /mo

/mo

Billed annually

-9.5%

CPU
CPU
4 Xeon Cores
RAM
RAM
8 GB
Space
Space
100 GB SSD
Bandwidth
Bandwidth
Unlimited
10Ge-wKVM-SSD 8192 Windows

121.5 /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.