Hacker News new | ask | show | jobs
by rich_sasha 599 days ago
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!

1 comments

> 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