Oracle
1Z0-908 · Question #74
Examine this statement, which executes successfully: You want to improve the performance of this query: Which change enables the query to succeed while accessing fewer rows?
The correct answer is B. ALTER TABLE world.city ADD SPATIAL INDEX (Population). https://dev.mysql.com/doc/refman/5.7/en/creating-spatial-indexes.html
Performance Tuning
Question
Examine this statement, which executes successfully:
You want to improve the performance of this query:
Which change enables the query to succeed while accessing fewer rows?
Exhibit
Options
- AALTER TABLE world.city ADD SPATIAL INDEX (Name);
- BALTER TABLE world.city ADD SPATIAL INDEX (Population);
- CALTER TABLE world.city ADD INDEX (Population);
- DALTER TABLE world.city ADD INDEX (Name);
- EALTER TABLE world.city ADD FULLTEXT INDEX (Name);
- FALTER TABLE world.city ADD FULLTEXT INDEX (Population);
How the community answered
(29 responses)- B83% (24)
- D10% (3)
- E3% (1)
- F3% (1)
Explanation
https://dev.mysql.com/doc/refman/5.7/en/creating-spatial-indexes.html
Topics
#index types#FULLTEXT index#query optimization#ALTER TABLE
Community Discussion
No community discussion yet for this question.
