How many different types of indexes we have in oracle?

Answer Posted / rohit

In Oracle there are two types of SQL index namely, implicit and explicit.
Implicit Indexes:
They are created when a column is explicity defined with PRIMARY KEY, UNIQUE KEY Constraint.
Explicit Indexes:
They are created using the "create index.. " syntax.
NOTE:
1) Even though sql indexes are created to access the rows in the table quickly, they slow down DML operations like INSERT, UPDATE, DELETE on the table, because the indexes and tables both are updated along when a DML operation is performed. So use indexes only on columns which are used to search the table frequently.
2) Is is not required to create indexes on table which have less data.
3) In oracle database you can define up to sixteen (16) columns in an INDEX.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is oracle a language?

529


Difference between pre-select and pre-query

579


What are the uses of synonyms?

610


What are data pump export and import modes?

613


What is system global area (sga) in oracle?

576






How to delete a column in an existing table in oracle?

605


What is rich query?

544


What is the usage of save points in oracle database?

533


How to view the data files in the current database?

599


What is an oracle recycle bin?

553


What is a data dictionary and how can it be created?

617


What is procedure overloading in oracle?

546


Explain an extent?

661


What is connection pooling in oracle?

553


what is the use of triggers in Java program? I mean where do we use triggers in Java programming?

1697