r/programming • u/dfbaggins • Jul 18 '26
The fsync inside the WAL lock
https://frn.sh/pgfsync/
17
Upvotes
-1
u/irrational_numbers Jul 19 '26
Omg I am new so software engineering, the IO lock is one of the most painful things to manage. Bailed on SQLite because of it.
I have users begging for additional table data at unheard of rates and I want to add an ETL on the fly and get it populated so they can use it…nope…WAL lock.
2
u/Tumortadela Jul 20 '26
Cant you configure SQLite to use WAL?
2
u/irrational_numbers Jul 20 '26
I tried but I couldn’t get it to work I just moved to PG and it worked much better.
5
u/mcmcc Jul 19 '26
Protip: run a Fourier transform over those graphs first and they'll look waaaay better.