Machine-translated by Google. Questions are authored in English.
Top

Discussion

Indexes may be created or dropped at any time.

  • A.True
  • B.False

Answer: A

Correct answer: True

Indexes are physical structures, separate from the logical design, so CREATE INDEX and DROP INDEX can be issued at any time without altering the tables or the queries that use them.

That independence is the point: an index changes how fast a query runs, never what it returns, so one can be added when a query proves slow and dropped when it is no longer earning its keep. The practical caveat is timing rather than legality - building an index on a large table takes time and may lock it, so it is usually done off-peak.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.