https://github.com/rqlite/rqlite
The lightweight, user-friendly, distributed relational database built on SQLite.
https://github.com/rqlite/rqlite
consensus database distributed-database distributed-systems go raft relational-database sql sqlite
Last synced: 10 days ago
JSON representation
The lightweight, user-friendly, distributed relational database built on SQLite.
- Host: GitHub
- URL: https://github.com/rqlite/rqlite
- Owner: rqlite
- License: mit
- Created: 2014-08-23T04:31:18.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2025-05-01T21:33:55.000Z (9 months ago)
- Last Synced: 2025-05-12T00:55:29.806Z (9 months ago)
- Topics: consensus, database, distributed-database, distributed-systems, go, raft, relational-database, sql, sqlite
- Language: Go
- Homepage: https://rqlite.io
- Size: 8.9 MB
- Stars: 16,580
- Watchers: 230
- Forks: 739
- Open Issues: 66
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
- starred-awesome - rqlite - The lightweight, distributed relational database built on SQLite. (Go)
- go-awesome - rqlite - 基于 SQLite 的轻量级分布式关系数据库 (开源类库 / 数据库)
- awesome-go-storage - rqlite - The lightweight, distributed, relational database built on SQLite. (Database)
- awesome-distributed-system-projects - RQLite - a lightweight, distributed relational database, which uses SQLite as its storage engine
- Self-Hosting-Guide - rqlite - to-use, lightweight, distributed relational database, which uses [SQLite](https://www.sqlite.org/) as its storage engine. (Install from Source / Databases)
- go-awesome-with-star-updatetime - rqlite - The lightweight, distributed, relational database built on SQLite. (Database / Advanced Console UIs)
- go-awesome - rqlite - A lightweight distributed relational database based on SQLite (Open source library / Database)
- awesome-go - rqlite - 构建在SQLite上的轻量级,分布式的关系数据库。 (<span id="数据库-database">数据库 Database</span> / <span id="高级控制台用户界面-advanced-console-uis">高级控制台用户界面 Advanced Console UIs</span>)
- SQL-NoSQL-Guide - rqlite - to-use, lightweight, distributed relational database, which uses [SQLite](https://www.sqlite.org/) as its storage engine. (Parallel Systems Learning Resources / Parallel Systems Courses & Tutorials)
- my-awesome-github-stars - rqlite/rqlite - The lightweight, fault-tolerant database built on SQLite. Designed to keep your data highly available with minimal effort. (Go)
- awesome-sqlite - rqlite
- awesome-tools - rqlite - The lightweight, distributed relational database built on SQLite (Uncategorized / Uncategorized)
- awesome-dataops - RQLite - A lightweight, distributed relational database, which uses SQLite as its storage engine. (Database / Relational Database)
- awesome-go-cn - rqlite
- awesome-go-storage - rqlite - The lightweight, distributed, relational database built on SQLite. (Database)
- awesome-go-extra - rqlite - 08-23T04:31:18Z|2022-08-23T13:52:58Z| (Generators / Databases Implemented in Go)
- StarryDivineSky - rqlite/rqlite
- stars - rqlite/rqlite - friendly, fault-tolerant database built on SQLite. (HarmonyOS / Windows Manager)
- awesome-go - rqlite - The lightweight, distributed, relational database built on SQLite. Stars:`17.0K`. (Database / Databases Implemented in Go)
- awesome-go - rqlite - | - | - | (Database / Advanced Console UIs)
- awesome-go - rqlite - The lightweight, distributed, relational database built on SQLite. - :arrow_down:0 - :star:1870 (Database / Advanced Console UIs)
- awesome-go - rqlite - The lightweight, distributed, relational database built on SQLite. (Database / Databases Implemented in Go)
- awesome-go - rqlite - The lightweight, distributed, relational database built on SQLite. (Database / Advanced Console UIs)
- awesome-go-with-stars - rqlite - 01-17 | (Data Integration Frameworks / Databases Implemented in Go)
- awesome-go - rqlite - The lightweight, distributed relational database built on SQLite. - ★ 4092 (Database)
- awesome-go - rqlite/rqlite - tolerant database built on SQLite. Designed to keep your data highly available with minimal effort. ☆`17,170` (Database / Databases Implemented in Go)
- awesome-go - rqlite - The lightweight, distributed, relational database built on SQLite. (Database / Databases Implemented in Go)
- awesome-Char - rqlite - The lightweight, distributed, relational database built on SQLite. (Database / Advanced Console UIs)
- fucking-awesome-go - :octocat: rqlite - Replicated SQLite, using Raft consensus. :star: 1631 :fork_and_knife: 84 (Database / Advanced Console UIs)
- awesome-starred - rqlite/rqlite - The lightweight, distributed relational database built on SQLite (go)
- awesome-ops - rqlite/rqlite - 08-23|2025-11-06 | 一个关系型数据库,它兼具 SQLite 的简洁性以及强大、容错的分布式系统。 | (Database)
- awesome-list - rqlite
- awesome-go-cn - rqlite
- awesome-data-engineering - RQLite - Replicated SQLite using the Raft consensus protocol. (Databases)
- awesome-sqlite - rqlite/rqlite - - The lightweight, distributed relational database built on SQLite (SQLite-based Distributed Database)
- awesome-go-plus - rqlite - The lightweight, distributed, relational database built on SQLite.  (Database / Databases Implemented in Go)
- data-engineering-collection - RQLite
- awesome-repositories - rqlite/rqlite - The lightweight, fault-tolerant database built on SQLite. Designed to keep your data highly available with minimal effort. (Go)
- fucking-awesome-go - rqlite - The lightweight, distributed, relational database built on SQLite. (Database / Databases Implemented in Go)
- awesome-go - rqlite - The lightweight, distributed, relational database built on SQLite. (Database / Databases Implemented in Go)
- awesome-go - rqlite - The lightweight, distributed, relational database built on SQLite. (Database / Databases Implemented in Go)
- awesome-starts - rqlite/rqlite - The lightweight, distributed relational database built on SQLite (Go)
- my-awesome - rqlite/rqlite - database,distributed-systems,go,raft,relational-database,sql,sqlite pushed_at:2026-01 star:17.2k fork:0.8k The lightweight, fault-tolerant database built on SQLite. Designed to keep your data highly available with minimal effort. (Go)
- awesome-sqlite - rqlite/rqlite: The lightweight, user-friendly, distributed relational database built on SQLite.
- awesome-go-cn - rqlite
- awesome-go - rqlite - The lightweight, distributed, relational database built on SQLite. (Database / Databases Implemented in Go)
- awesome-projects - rqlite
- awesome-go - rqlite - The lightweight, distributed, relational database built on SQLite. (Database / Advanced Console UIs)
- awesome-go-cn - rqlite
- awesome-golang-repositories - rqlite
- awesome - rqlite/rqlite - The lightweight, fault-tolerant database built on SQLite. Designed to keep your data highly available with minimal effort. (<a name="Go"></a>Go)
- awesome-hacking-lists - rqlite/rqlite - The lightweight, user-friendly, distributed relational database built on SQLite. (Go)
- awesome-go - rqlite - The lightweight, distributed, relational database built on SQLite. (Database / Databases Implemented in Go)
README

[](https://circleci.com/gh/rqlite/rqlite/tree/master)
[](https://ci.appveyor.com/project/otoolep/rqlite)
[](https://hub.docker.com/r/rqlite/rqlite/)
[](https://rqlite.io/office-hours)
[](https://www.rqlite.io/join-slack)
[](https://groups.google.com/group/rqlite)
[**rqlite**](https://rqlite.io) is a [feature-rich](https://rqlite.io/docs/features/), [rock](https://www.sqlite.org/testing.html)-[solid](https://philipotoole.com/how-is-rqlite-tested/), fault-tolerant, distributed relational database built on [SQLite](https://www.sqlite.org/). 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](https://etcd.io/), 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.
## Quick Start
[_Check out the full Quick Start guide_](https://rqlite.io/docs/quick-start/)
**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.](https://rqlite.io/docs/clustering/) and dive into the [_Developer Guide_](https://www.rqlite.io/docs/api).
## Key features
**Core functionality**
- **Relational**: Full SQL support via SQLite, including [Full-text search](https://www.sqlite.org/fts5.html), [JSON support](https://www.sqlite.org/json1.html), and more.
- **Extensible**: [Load SQLite extensions](https://rqlite.io/docs/guides/extensions/) to add capabilities like [Vector Search](https://github.com/asg017/sqlite-vec) and [Crypto](https://github.com/nalgeon/sqlean).
- **Atomic Requests**: Execute multiple SQL statements atomically within a single API request.
- **Change Data Capture**: [Stream database changes](https://rqlite.io/docs/guides/cdc/) 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](https://rqlite.io/docs/clustering/) via [Kubernetes](https://rqlite.io/docs/guides/kubernetes/), [Docker Compose](https://rqlite.io/docs/guides/docker-compose/), Consul, etcd, or DNS.
- **Effortless Backups**: Hot [backups](https://rqlite.io/docs/guides/backup/), including [automatic backups to AWS S3, MinIO, and Google Cloud](https://rqlite.io/docs/guides/backup/#automatic-backups), as well as [restore directly from SQLite](https://rqlite.io/docs/guides/backup/#restoring-from-sqlite) and [Cloud-based storage](https://rqlite.io/docs/guides/backup/#restoring-from-cloud-storage).
**Developer experience**
- **Simple APIs**: Easy-to-use [HTTP API](https://rqlite.io/docs/api/). A [CLI](https://rqlite.io/docs/cli/) and [client libraries](https://rqlite.io/docs/api/client-libraries/) are also available.
- **Robust Security**: [End-to-end encryption with TLS](https://rqlite.io/docs/guides/security/) and rich authentication/authorization controls.
- **Tunable Consistency**: Customize [read consistency](https://rqlite.io/docs/api/read-consistency/) and [durability](https://rqlite.io/docs/api/queued-writes/) to match your application's needs.
## More questions?
- [Join the rqlite Slack channel](https://rqlite.io/join-slack)
- [Sign up for Office Hours](https://rqlite.io/office-hours)
## Pronunciation
Common pronunciations of rqlite include "R Q lite" and "ree-qwell-lite".