Re:Bluesky migrates from pg to single-tenant SQLite
by starcraft2wol on Monday November 06, 2023 @08:58PM
(#38172200)
Which just means the lock happens at user scope in this case instead of per table or row. This limitation still causes so much confusion when it’s a completely reasonable design.
Re:Bluesky migrates from pg to single-tenant SQLite
by mikrotikker on Tuesday November 07, 2023 @01:23AM
(#38173826)
I've been importing data to sqlite databases running being actively written to for years. Just throws exception if the database is locked and I retry. Do 10k row batches, with a small sleep between. No issues. Helps if your use case doesn't really care about data being in order I guess.
I think the OP meant that updates have to run sequentially.