rqlite /rqlite

The lightweight, fault-tolerant database built on SQLite. Designed to keep your data highly available with minimal effort.

★ 17,953⑂ 827👁 217⑃ 2,294● 686▤ 371
GoMITCreated 2014-08-23rqlite.io
下载:v10.7.1v10.7.1 ↓10.7.12026-11-10
+2
日增长
17,953
stars
827
forks
217
watchers
2,294
prs
686
issues
371
releases

README

rqlite is a feature-rich, rock-solid, fault-tolerant, distributed relational database built on SQLite. It's lightweight, developer-friendly, and exceptionally easy to operate, offering effortless installation and deployment.

Use rqlite to reliably store your most important data, ensuring it's always available to your applications -- think etcd, but with relational modeling available. Whether you're deploying resilient services in the cloud or reliable applications at the edge, rqlite provides a robust solution for critical data.

Website ·
Slack ·
Support

 Quick Start
_Check out the full Quick Start guide_

1. Run a rqlite node:
bash
docker run -p 4001:4001 rqlite/rqlite


2. Create a table and insert a row:
bash
curl -XPOST 'localhost:4001/db/execute?pretty' -H 'Content-Type: application/json' -d '[
     "CREATE TABLE foo (id INTEGER NOT NULL PRIMARY KEY, name TEXT)",
     "INSERT INTO foo(id, name) VALUES(1, \"fiona\")"
]'


3. Query the data:
bash
curl -G 'localhost:4001/db/query?pretty' --data-urlencode 'q=SELECT  FROM foo'


Learn how to form a multi-node cluster in seconds. and dive into the _Developer Guide_.

 Key features

Core functionality
- Relational: Full SQL support via SQLite, including Full-text search, JSON support, and more.
- Extensible: Load SQLite extensions to add capabilities like Vector Search and Crypto.
- Atomic Requests: Execute multiple SQL statements atomically within a single API request.
- Change Data Capture: Stream database changes to an external system.

Easy operations
- Easy Deployment: A single binary with no external dependencies. Up and running in seconds.
- High Availability: Fully replicated database provides fault-tolerance. Outage of a node doesn't impact the cluster.
- Dynamic Clustering: Automatic clustering via Kubernetes, Docker Compose, Consul, etcd, or DNS.
- Effortless Backups: Hot backups, including automatic backups to AWS S3, MinIO, and Google Cloud, as well as restore directly from SQLite and Cloud-based storage.

Developer experience
- Simple APIs: Easy-to-use HTTP API. A built-in console app, CLI and client libraries are also available.
- Robust Security: End-to-end encryption with TLS and rich authentication/authorization controls.
- Tunable Consistency: Customize read consistency and durability to match your application's needs.

 More questions?
- Join the rqlite Slack channel
- Sign up for Office Hours

 Pronunciation
Common pronunciations of rqlite include "R Q lite" and "ree-qwell-lite".

 Trademark
rqlite™ is a trademark of Philip O'Toole.

Top issues

Discussions

Latest release

v10.7.1 v10.7.1 2026-11-10
_rqlite_ is a lightweight, user-friendly, distributed relational database, which uses SQLite as its storage engine. rqlite provides easy-to-use, fault-tolerant and highly-available storage for your most important data. You can learn a lot more about rqlite at rqlite.io.

Check out the _Assets_ section below for prebuilt binaries.

 What's changed
This release is unchanged relative to v10.7.0 and simply fixes a Docker packaging issue.

 Getting started
_Check out the Quick Start guide._

To download and run a single rqlite node follow the directions below. It's also very easy to run a

Snapshot: 2026-11-16T09:23:14Z · Data license Apache-2.0 · JSON