Would it be a good idea to create an index on a table that
always contains 10 records? Why or why not?
Answers were Sorted based on User's Feedback
Answer / bharathi
No it is not a good idea. Indexes are very expensive to
maintain. Indexes are created mainly to improve performace.
If there are only 10 rows in a table, creating index would
not make any difference in the performace.
| Is This Answer Correct ? | 5 Yes | 0 No |
Answer / subhash
No it's not a good idea.
Table scan would be fine for smaller tables with less records. Moreover indexes need disk space. It's not necessary to create an index and waste the disk space.
| Is This Answer Correct ? | 1 Yes | 0 No |
How can you transfer data from a text file to a database table? Or how can you export data from a table to a comma delimited (csv) file? Or how can you import data from ms access to a table in a database? Or how can you export data from a table to an excel file?
What are synonyms?
What are the basic functions for master, msdb, model, tempdb and resource databases?
What is difference between materialized view and view?
what is a traditional network library for sql servers? : Sql server database administration
What do you mean by subquery?
what is denormalization? : Sql server database administration
To find second largest salary in Employee table
Your sql server is running out of disk space. You notice that there are several large files with ldf extensions what are these files?
Describe triggers features and limitations?
Difference between aggregate functions of sql?
What is collation?
Oracle (3259)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)