Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It's worth noting that the data in that benchmark is tiny (28MB). While this varies between database engines, "one transaction for everything" means keeping some kind of allocations alive.

The optimal transaction size is difficult to calculate so should be measured, but it's almost certainly never beneficial to spend multiple seconds on a single transaction.

There will also be weird performance changes when the size of data (or indexed data) exceeds the size of main memory.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: