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

-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
3 Epyc Cores
RAM
RAM
2 GB
Space
Space
20 GB NVMe
Bandwidth
Bandwidth
Unlimited
KVM-NVMe 2048 Linux

8.8 /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

-7.9%

CPU
CPU
6 Xeon Cores
RAM
RAM
8 GB
Space
Space
200 GB HDD
Bandwidth
Bandwidth
300 Gb
wKVM-HDD HK 8192 Windows

25.63 /mo

/mo

Billed annually

-10%

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

5.2 /mo

/mo

Billed annually

-10%

CPU
CPU
4 Xeon Cores
RAM
RAM
4 GB
Space
Space
100 GB HDD
Bandwidth
Bandwidth
Unlimited
KVM-HDD 4096 Linux

15 /mo

/mo

Billed annually

-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

-20.6%

CPU
CPU
6 Xeon Cores
RAM
RAM
8GB
Space
Space
100GB SSD
Bandwidth
Bandwidth
500GB
KVM-SSD 8192 HK Linux

59 /mo

/mo

Billed annually

-10%

CPU
CPU
4 Xeon Cores
RAM
RAM
4 GB
Space
Space
100 GB SSD
Bandwidth
Bandwidth
Unlimited
MT5 KVM 4096 Windows

19.99 /mo

/mo

Billed annually

-9.5%

CPU
CPU
8 Epyc Cores
RAM
RAM
32 GB
Space
Space
200 GB NVMe
Bandwidth
Bandwidth
Unlimited
wKVM-NVMe 32768 Windows

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