Optimizing sequential scan in PostgreSQL

﹥>﹥吖頭↗ 提交于 2019-12-10 23:51:50

问题


PostgreSQL 9.4

In the article about hardware optimization for PostgreSQL server was shown that too much moving disk head may cause performance bottleneck. As far as I got, for the sequential scan, it'd be much faster if the cylinders with blocks of the same table are located as close as possible. So, if we're inserting data into a table, the data will be placed in "sequential order" on a disk-storage, therefore reducing the disk head moving overhead.

But I presume that such location may be break in time. Is there a way for postgreSQL to maintain such "clustering" (if I can say so)?

来源:https://stackoverflow.com/questions/32943211/optimizing-sequential-scan-in-postgresql

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!