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 |
Can we use where and having clause together?
How to write stored procedure to update the data in 10 tables
what are the main differences between ms access and sqlserver
What is live lock and deadlock? what is Lock escalation?
syntax and example for bitmap index in sql???
What is the most common type of join?
What is the concept of optimization?
What is subquery in sql?
Can I delete event logs?
Define Unique Key?
List the advantages of using stored procedures?
can you any body tell me the how to decrease the logfile
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)