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 |
In my table i have 4 columns with 100 records but in that 4 columns one column contains all NULL values so can i add NOT NULL CONSTRAINT on that column......... ok if it is not possible, can i add NOT NULL CONSTRAINT from 101 Record Onwards?
How a tablespace is related to data files?
What is a lookup table in oracle?
How to rename a column in an existing table?
List out the difference between commit, rollback, and savepoint?
Why do you use stored procedures and state some of its disadvantages?
How to use null as conditions in oracle?
how to produce numbers from 1 to 10 using dual table
Is it possible to enter only time value into a column of a table in sql?
How to remove a row in a database table?
SELECT * FROM (SELECT TITLE FROM MOVIE ORDER BY RANK DESC) WHERE ROWNUM > 4; when i run the above query .it produces output as NO ROWS SELECTED.why ?plz any one help me
Can select statements be used on views in oracle?