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

A typical db may do index scan on disk, which requires several times as many io operations per 8kb (Postgresql/Oracle size) page compared to seq scan. These are executed with low queue depth.


OTOH there's concurrency and prefetching logic increasing average queue depth.


Are index scans supposed to be faster with prefetch? It is random read at 8kb. I usually set read_ahead_kb to 8kb on disks/tablespaces for indexes.




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

Search: