1.

Since Indices Speed Query Processing, Why Might They Not Be Kept On Several Search Keys?

Answer»

REASONS for not keeping several search indices include:

  1. Every index requires additional CPU time and disk I/O overhead during inserts and deletions.
  2. Indices on non-primary KEYS might have to be changed on updates, although an index on the primary key might not (this is because updates typically do not modify the primary key attributes).
  3. Each extra index requires additional storage space.
  4. For queries which involve CONDITIONS on several search keys, efficiency might not be bad even if only some of the keys have indices on them. Therefore database performance is improved less by adding indices when many indices already EXIST

Reasons for not keeping several search indices include:



Discussion

No Comment Found

Related InterviewSolutions