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

What is database or database management systems (dbms)? And what's the difference between file and database? Can files qualify as a database?

535


How can you perform pattern matching in sql?

627


Explain the term entity set in dbms?

700


What is the difference between horizontal and vertical partitioning?

634


Differentiate between nested loop, hash loop and merge join.

540






Enlist various types of interactions created by dbms?

576


What you know in mapping of erd to dfd?

637


How does notification services work?

601


What is the difference between hashed file stage and sequential file stage in relates to datastage server?

732


Is sql a rdbms?

515


Is database a storage?

583


What is an artificial (derived) primary key? When should it be used?

550


Can I use google sheets as a database?

526


What is Data Redundancy and Consistency ?

623


What are dml and ddl statements?

644