Hacker News new | ask | show | jobs
by sroussey 405 days ago
On commercial databases from Oracle and Microsoft, you can cluster the DB on any index. Really would love for Postresql to do the same.
1 comments

You can but new rows will not be clustered until you re-cluster.

CLUSTER table_name USING index_name;

I remember that for MySQL MyISAM (syntax was different) in the olden days. I thought Oracle let you do it though. My bad.

MySQL Innodb and other have real clustered primary key indexes with all the pluses and minuses that entails.