-
When I modify a note in Trilium and check the database files, usually it shows that the modification timestamp is unchanged. I don't know much about how a SQLite database works, so my question is: will trilium lose the data since the last write to the disk during a power outage or when it crashes? And is there a way to force it to write all changes to the disk? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Afaik, Trilium saves any changes you make to notes every second, so nope, there should not be such possibility. Probably the timestamp updates less frequently than the database itself. |
Beta Was this translation helpful? Give feedback.
-
As @XXXJetfireXXX changes are saved every second. The dateModified does not have to reflect real write progress. The database file is open for the whole process execution duration. SQLite is quite resistant against power outages (depends also on underlying filesystem and hardware of course). |
Beta Was this translation helpful? Give feedback.
As @XXXJetfireXXX changes are saved every second. The dateModified does not have to reflect real write progress. The database file is open for the whole process execution duration.
SQLite is quite resistant against power outages (depends also on underlying filesystem and hardware of course).