SQLite Lands JSONB For Much Faster JSON Functions

Written by Michael Larabel in Programming on 6 December 2023 at 06:32 AM EST. 17 Comments
PROGRAMMING
SQLite as the leading open-source embedded database solution has landed JSONB, a rewrite of the SQLite JSON functions that can be up to "several times faster" than the existing JSON functions.

Over the past few years we've seen a lot of work by SQLite developers on improving integration of JSON data with this SQL database library. The latest work is the now-merged JSONB effort. The JSONB rewrite changes the internal-use binary representation of JSON into a contiguous byte array that can be read or written as an SQL BLOB. JSONB helps to lower the overhead of parsing JSON text and of representing JSON for storage.

SQLite logo


JSONB maintains all legacy functionality and all JSON functions can also accept JSONB binary contents. Those wishing to learn more about the SQLite JSONB functionality and its potential for faster performance can do so via the SQLite.org forums.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week