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

> For UUID v4s, primary key values in B-Tree indexes are problematic.

Wrong. Don't use B-Tree for random indexes, there's HASH index exactly for this:

    CREATE INDEX [index_name] ON [table_name] USING HASH ([column_name]);


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: