Skip to content

Overview

The Graft SQLite Extension (libgraft) is a native SQLite extension that works anywhere SQLite does. It uses Graft to replicate just the parts of the database that a client actually uses, making it possible to run SQLite in resource constrained environments.

libgraft implements a SQLite virtual file system (VFS) allowing it to intercept all reads and writes to the database. It provides the same transactional semantics as SQLite does when running in WAL mode. Using libgraft provides your application with the following benefits:

  • asynchronous replication to object storage
  • stateless lazy partial replicas on the edge and in devices
  • serializable snapshot isolation
  • point-in-time restore