NHacker Next
  • new
  • past
  • show
  • ask
  • show
  • jobs
  • submit
Did u ever read so hard u accidentally wrote? (blog.danslimmon.com)
dontlaugh 2 days ago [-]
Keeping a transaction open for that long is arguably a bad idea. You might need a consistent snapshot, but the cost is significant.

Also, paginating inefficiently with OFFSET is a problem is general. Even if you’re keeping a long transaction open, you can make it last less by optimising the read queries.

noman-land 2 days ago [-]
This is actually a pretty interesting post about databases.
Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact
Rendered at 19:15:31 GMT+0000 (Coordinated Universal Time) with Vercel.