What is Index and different types of Indexes?
Answers were Sorted based on User's Feedback
Answer / alcheringa
indexes is a process of creating a structure from a
database table from a single or multiple compostion
(atleast) of attributes for efficient data retreival.
some database even allow to create indexes out of
expressions as well.
there are different types of indexes based on the
implementation methodology:
b Trees, b+ trees, bitmap indexes, hash index etc . infact
in some database the index file is different from the
database file and hence one can write one's plug in for a
special kind of index .
clustered and non-clustered is the kind of architecture
that is used to define the index methodology as noted
earlier.
indexes are boon when used in retreivals and they are
doomed when used in situations where there's more write
than read. this is so because every new write in the table
also implies corresponding modofication in the indexes as
created for the table.
| Is This Answer Correct ? | 22 Yes | 5 No |
Answer / elbert gopta
An index is an additional auxiliary access structure used to speed up the retrieval of records in response to certain search conditions
An index enables efficient access to a record based on the indexing field or fields
An index is an ordered file with two fields consisting of the indexing field and the physical address of the record/block
Each table typically has a primary index created for the primary key of the table.
Types:
Primary Index
Secondary Index
Multilevel indexes
B-tree and B+-tree indexes
| Is This Answer Correct ? | 13 Yes | 5 No |
Index is used to fetch the data in a reliable and fast
manner and the types of index avalilable are clustered
index and non clustered index.
Murali
dharanmu@yahoo.com
| Is This Answer Correct ? | 13 Yes | 8 No |
Answer / manvendra
PHYSICAL OR LOGICAL LISTING OF COLUMN TO SPEEDUP THE SEARCH
IN A TABLE OR VIEW IS CALLED INDEX.
FUNCTION BASED INDEX
HASH INDEX
BITMAP INDEX
COMPOSIT INDEX
B TREE INDEX
| Is This Answer Correct ? | 8 Yes | 9 No |
Answer / akriti sengar
in index we can write the summary of anything in a tabular form.
there are different type of indexes are as follows.
1.b trees
2.b+trees
3.bitmap indexes
| Is This Answer Correct ? | 4 Yes | 6 No |
Answer / joe
4 different types of index
1.Clustered
2.Non Clustered
3.Primary XML
4.Spatial
| Is This Answer Correct ? | 1 Yes | 5 No |
Index is used to solve some query fast.
we have 2 types of cursors.
1 Bitmap Index ( used only on Low cardinality columns)
2. Btree Index ( used only for High Cardinality of
columns)
| Is This Answer Correct ? | 8 Yes | 18 No |
What is Library Cache in Oracle?
How to find out what oracle odbc drivers are installed?
What are various constraints used in SQL?
What is the difference between normal and corelated subqueries?
What do the 9i dbms_standard.sql_txt() and dbms_standard.sql_text() procedures do?
How to rename an existing table?
how to get required data from oracle source is like this ram_05_seetha lax_05_viswa bamr05frummy run_01_away sw_sas_trim i want my target data like ram_05_seetha lax_05_viswa to get data using %_05_% but it will give ram_05_seetha lax_05_viswa bamr05frummy how can i get my target data?
How do you handle duplicate records in a database?
What is a private synonym?
without using count(*) and rownum how can we count total record in a table
How to run the anonymous block again?
Table E: Name dept month sal 1 A JAN 800 2 B APR 1000 3 A JAN 300 4 A JAN 600 5 C JUN 400 1) SELECT HIGHEST SAL PAID DEPT IN JAN MONTH? 2) WRITE QUERY GET MAX SAL DEPT NO?