Repository navigation
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 enforces a maximum request size between nodes and fixes some SQL rewriting bugs. The request size limit defaults to 1GB, but is user-configurable at launch time via the -node-max-request-size command-line flag. If you are working with datasets approaching 1GB in size and are loading them into a cluster, you may need to increase this limit.
This release contains no new features.
5 implementation changes and bug fixes
- PR #3050: Cluster service allocates request buffer as data arrives, not upfront.
- PR #3049: Limit internode request size to 1GB. Fixes issue #2619
- PR #3052: Support user-configurable maximum internode request size.
- PR #3056: Rewrite time functions which default to the current time, such as
datetime()andunixepoch('subsec'). Fixes issue #3054. Thanks @clarkmcc - PR #3060: Do not apply
db_timeoutto writes as per docs. Fixes issue #3053. Thanks @clarkmcc
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 rqlite cluster -- you can learn more by checking out the documentation.
If you wish to build rqlite from source, check out this documentation.
Docker
In addition to Docker Hub, images are also uploaded to ghcr.io.
Run a single node as follows:
docker run -p4001:4001 rqlite/rqlite
Check out the rqlite Docker page for more details on running rqlite via Docker, including how to deploy a cluster.
Linux
Builds for a variety of CPU architectures are available. See the Assets section below if you wish to download and install manually.
The easiest way to install rqlite on Linux:
curl -fsSL https://rqlite.io/install.sh -o install.sh
sh install.sh
To install a specific version to a specific location:
curl -fsSL https://rqlite.io/install.sh -o install.sh
RQLITE_VERSION=v10.7.3 INSTALL_DIR={location} sh install.sh
Packages
.deb and .rpm packages for amd64 and arm64 are available in the Assets section below.
Install on Debian/Ubuntu:
sudo dpkg -i rqlite_10.7.3_amd64.deb
sudo systemctl start rqlited
Install on RHEL/Fedora:
sudo rpm -i rqlite-10.7.3-1.x86_64.rpm
sudo systemctl start rqlited
macOS
Install via Homebrew.
brew install rqlite
Windows
You can download a pre-built release for Windows in one of two ways:
- The top-of-tree build is available for download from AppVeyor. Check out the CI build for Windows for more details.
- Download the Win64 build artifact attached to this release.