|
|
|
|
|
by twic
4178 days ago
|
|
I was under the impression that the primary key was stored as part of the row. Or do you mean the primary key index? If so, then there is already clustering: http://www.postgresql.org/docs/9.4/static/sql-cluster.html Although it's somewhat soft in that tables are only clustered on demand, and not kept in rigorously clustered order after that. |
|
Secondary-indexes contain the 'primary-key' and not the 'heap-position' of the row.
How mysql-innodb, mssql, tokudb have them.