WHAT IS INDEXING?

Answer Posted / sunny sarin

Indexing is creating an index for a table in the database to
fasten the speed of retrieving the results and for better
performance and efficiency.
Normally,indexes are of 2 types
unique
non-unique

unique index is created implicitly by the server whenever
any primary or foreign key constraint is given to any
column/s in the table.

we can also create a non unique index for any column in the
table.

indexes are stored on a different segment than the
table,this reduces contention on the table

indexes should not be created for that columns for which the
value in the column varies a lot.

indexes should also not be created on the columns on which
high level of DML's and DDL's are performed.

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to unzip a file in ssis?

713


What are the types of database servers?

666


Explain the hierarchical database?

742


Define stored procedures.

696


What is indexing in database with example?

681






What is entity relationship diagram?

667


When should you consider denormalization?

694


What is the role of database management system?

672


Is sql is a dbms?

678


What is data redundancy in dbms?

660


There are 100 datafiles, numbered from 1 to 100. File number 10 is deleted and it has 500 MB of data. The database is working in archive log mode. How can be the database recovered ? While doing recovery the archive logs applied are from nos 1 to 100, but 50 gets corrupted. What do we do? Can we proceed further? If so how?

1881


Explain the role of metadata for the three-layer architecture.

703


What are the different type of relationships in the dbms?

645


What are records and fields in a database?

622


What do you mean by transparent dbms?

1136