Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
This repository was archived by the owner on Mar 16, 2025. It is now read-only.
/mvsqlitePublic archive

Distributed, MVCC SQLite that runs on FoundationDB.

License

NotificationsYou must be signed in to change notification settings

V-Sekai/mvsqlite

Repository files navigation

mvSQLite is a distributed, MVCC SQLite running onFoundationDB, modified by V-Sekai (https://github.com/V-Sekai). It offers full feature-set from SQLite, time travel, lock-free scalable reads and writes, and more. You can useLD_PRELOAD or a patchedlibsqlite3.so to integrate mvSQLite into your existing apps.

Quick Links

Getting Started

  1. Install FoundationDB:
wget https://github.com/apple/foundationdb/releases/download/7.1.15/foundationdb-clients_7.1.15-1_amd64.debsudo dpkg -i foundationdb-clients_7.1.15-1_amd64.debwget https://github.com/apple/foundationdb/releases/download/7.1.15/foundationdb-server_7.1.15-1_amd64.debsudo dpkg -i foundationdb-server_7.1.15-1_amd64.deb
  1. Build, runmvstore, create a namespace with the admin API, buildlibsqlite3 and thesqlite3 CLI, set environment variables, and run the shell. Detailed instructions can be found in thewiki.
cargo build --release -p mvstoreRUST_LOG=info ./mvstore \  --data-plane 127.0.0.1:7000 \  --admin-api 127.0.0.1:7001 \  --metadata-prefix mvstore \  --raw-data-prefix m

Create a namespace with the admin API:

curl http://localhost:7001/api/create_namespace -i -d'{"key":"test"}'
  1. To runsqlite3. Buildlibsqlite3 and thesqlite3 CLI: (note that a custom build is only needed here because thesqlite3 binary shipped on most systems are statically linked tolibsqlite3 andLD_PRELOAD don't work)
cargo build --release -p mvsqlitecd mvsqlite-sqlite3make build-patched-sqlite3./sqlite3

Contributing

mvSQLite can be built with the standard Rust toolchain. More details are available in thewiki.

About

Distributed, MVCC SQLite that runs on FoundationDB.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp