Live data from Hacker News

SQLite Rsync: Database Remote-Copy Tool for SQLite

sqlite.org

11–13 of 13 posts

Re: SQLite Rsync: Database Remote-Copy Tool for SQLite

#13

Fantastic, looks like something I need! Some questions in case someone knows: - is the source DB blocked in any way when this is running? E.g. is this like an ordinary read, or something different? I know WAL mode gives more concurrency but still writes are queued up in the wal file during a long read - can this operate on a ~continuous basis? Or can I run it every few mins? Thanks!

> is the source DB blocked in any way when this is running?

Doesn't sound like it: "If other processes change the content of ORIGIN while this command is running, those changes will be applied to ORIGIN, but they are not transferred to REPLICA"

Sounds like it uses the internal snapshot mechanism[0] and replicates that.

[0] https://www.sqlite.org/c3ref/snapshot.html

Post reply on HN