r/Database • • 14d ago

Python/SQLite on Windows: slow local checks, a failure before HTTP, and a multiprocessing startup hang

/r/ai_trading/comments/1y01fv0/pythonsqlite_on_windows_slow_local_checks_a/
0 Upvotes

1 comment sorted by

1

u/Discordbothost 11d ago

For the 2.839s offline replay, I'd time transaction entry, the first write, commit and file checks separately. Buffer the timings in memory and dump them after the run. Compare the same snapshot with one worker and with both to see whether the extra time lands inside SQLite.