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

sale

-15%

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

10.23 /mo

/mo

Billed annually

sale

-15%

CPU
CPU
6 Epyc Cores
RAM
RAM
8 GB
Space
Space
100 GB NVMe
Bandwidth
Bandwidth
Unlimited
wKVM-NVMe 8192 Windows

28.99 /mo

/mo

Billed monthly

sale

-15%

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

237 /mo

/mo

Billed monthly

sale

-15%

CPU
CPU
10 Xeon Cores
RAM
RAM
64 GB
Space
Space
300 GB SSD
Bandwidth
Bandwidth
Unlimited
wKVM-SSD 65536 Windows

138.99 /mo

/mo

Billed monthly

sale

-15%

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

139.49 /mo

/mo

Billed annually

sale

-15%

CPU
CPU
10 Epyc Cores
RAM
RAM
64 GB
Space
Space
400 GB NVMe
Bandwidth
Bandwidth
Unlimited
KVM-NVMe 65536 Linux

135.49 /mo

/mo

Billed annually

sale

-15%

CPU
CPU
6 Xeon Cores
RAM
RAM
8 GB
Space
Space
100 GB SSD
Bandwidth
Bandwidth
500 GB
wKVM-SSD 8192 HK Windows

67 /mo

/mo

Billed annually

-16.2%

CPU
CPU
4 Xeon Cores
RAM
RAM
4 GB
Space
Space
50 GB SSD
Bandwidth
Bandwidth
60 Mbps
DDoS Protected SSD-KVM 4096 Linux

67 /mo

/mo

Billed annually

sale

-15%

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 monthly

-15.4%

CPU
CPU
4 Xeon Cores
RAM
RAM
4 GB
Space
Space
100 GB SSD
Bandwidth
Bandwidth
60 Mbps
DDoS Protected SSD-wKVM 4096 Windows

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