SQLite

76 readers
1 users here now

For discussions about the SQLite database

founded 1 year ago
MODERATORS
1
2
3
 
 

A few nice new features in this release. Allowing ORDER BY aggregate functions could be very useful.

4
 
 

Interesting post on how to speed up batch inserts with SQLite.

5
6
submitted 1 year ago by samc to c/sqlite
 
 

Short post about how SQLite sometimes creates indexes just for a single query. The SQLite documentation has a little more information.

It can be worth setting up and monitoring the error log for SQLITE_WARNING_AUTOINDEX warnings as good indication a persistent index should be created.

6
 
 

Interview with Richard Hipp about the history of SQLite.

7
3
submitted 1 year ago by samc to c/sqlite
 
 

The main changes look to be contentless-delete FTS5 tables and performance enhancements to the query planner and JSON functions.

8
 
 

From the homepage:

This library and command-line utility helps create SQLite databases from an existing collection of data.

Most of the functionality is available as either a Python API or through the sqlite-utils command-line tool.

sqlite-utils is not intended to be a full ORM: the focus is utility helpers to make creating the initial database and populating it with data as productive as possible.

It is designed as a useful complement to Datasette.

Cleaning data with sqlite-utils and Datasette provides a tutorial introduction (and accompanying ten minute video) about using this tool.

9
 
 

Handy utility to diff SQLite databases.

10
4
submitted 1 year ago by samc to c/sqlite
 
 

The author managed to reach 56,600 req/s!

While written about Go, not all the techniques used are Go specific.

11
 
 

Explains how using WAL allows writes without blocking reads.

12
 
 

Converts MongoDB protocol to SQL using SQLite or PostgreSQL as the database engine.

Could be useful if wanting to migrate off MongoDB.

13
 
 

High level overview of how SQLite rollback journal works.

14
 
 

Registry of SQLite extensions along with a package manager to install them.

15
 
 

Interesting brief overview of SQLite internals.

16
 
 

A useful collection of extensions for SQLite

17
 
 

While not ready for production, it looks really promising.

There’s some tests showing > 1 million write transactions per second in some cases.

18
 
 

Saw this on Hacker News, seemed interesting.

19
1
SQLite 3.42.0 (sqlite.org)
submitted 1 year ago by samc to c/sqlite
 
 

Adds the ability for JSON functions to read JSON5 which could be handy.