Question DB-IDX-0079
HardWhich is the best choice for an index on a UUID primary key that is generated randomly?
- A.
A hash index on every column
- B.
No index at all
- C.
Sign up free to see the answer and a step-by-step explanation.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Indexing and Hashing question
Which is the best choice for an index on a UUID primary key that is generated randomly?
A hash index on every column
No index at all
Sign up free to see the answer and a step-by-step explanation.
Understand that random inserts scatter across the B+ tree, causing page splits; time-ordered IDs reduce this
A bitmap index