logoalt Hacker News

coolgooseyesterday at 11:13 AM2 repliesview on HN

I am so confused about this message

Sounds like an sqllite performance tuning issue than anything else.


Replies

trailbaseyesterday at 11:58 AM

I'm guess but it probably depends on who's being choked here. If it's the caller, then it may be the overhead of individual deletions for each record when using the record APIs. If other users are being choked, it may refer to locking.

Naively, I would expect SQLite to be able to delete tens-of-thousands (or even hundreds) of records per seconds, since it's simply appending deletions to the WAL.

icemelt8yesterday at 11:44 AM

check the benchmarks here https://trailbase.io/reference/benchmarks/ its clear thats a lot of overhead on top of sqlite

show 1 reply