sqlite3 - How a process running SQLite knows that a particular page has been updated by another process? -


how 2 independent sqlite cache modules notified change in db. more specifically, how cache module know page has fetched disk, content has been updated in db other process.

sqlite writes changed pages when transaction finishes; once connection allowed read, there no dirty pages.

to detect changes made other connections, there file change counter in database header. however, not apply specific pages entire database.


Comments

Popular posts from this blog

javascript - Thinglink image not visible until browser resize -

firebird - Error "invalid transaction handle (expecting explicit transaction start)" executing script from Delphi -

mongodb - How to keep track of users making Stripe Payments -