Pergunta de entrevista da empresa Universal Health Services, Inc.

What is a clustered/non clustered index.

Respostas da entrevista

Sigiloso

26 de jul. de 2016

I explained how a clustered index was in sequential physical order on disk and a non clustered index used pointers or a hash table for index lookup. I started to explain the advantages/disadvantages of each index type but the two guys interviewing me just seemed so confused and lost. I think I would have been better of simply saying "it makes lookup faster".

Sigiloso

5 de ago. de 2016

I explained how a clustered index was in sequential physical order on disk and a non clustered index used pointers or a hash table for index lookup. I started to explain the advantages/disadvantages of each index type and how I would use them.