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

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.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

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

Search: