How many different types of indexes we have in oracle?
Answers were Sorted based on User's Feedback
Answer / sathish
B TREE INDEX
FUNCTION BASED INDEX
REVERSE KEY INDEX
BIT MAP INDEX
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / 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 |
Answer / shankar
1.B-tree indexes:
B-tree indexes have the following subtypes:
Index-organized tables
Reverse key indexes
Descending indexes
B-tree cluster indexes
2.Bitmap and bitmap join indexes
3.Function-based indexes
4.Application domain indexes
| Is This Answer Correct ? | 0 Yes | 0 No |
How to set up autotrace for a user account?
i have a table with the columns below as Emp_ID Address_ID Address_Line City Country -------- --------- ----------- ------ --------- Q: Display the Emp_ID's those having more than one Address_ID
What is an Integrity Constrains ?
How to list all indexes in your schema?
Ho to insert no. of records at a time..i mean i want to insert 100 records at a time into a table
what is the difference between UNION AND UNIONALL
How to use "in out" parameter properly?
How to import one table back from a dump file?
What happens if variable names collide with table/column names?
what is Materialized view? What is a snapshot? what are the similarities and differences between Materialized views and snapshots?
How to create a new table by selecting rows from another table?
How to get last row id?