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 |
How to rename an index in oracle?
What is the difference between column level constraints and table level constraints?
14 Answers IBM, TCS,
What is difference between UNIQUE constraint and PRIMARY KEY constraint ?
Is there a combination of "like" and "in" in sql?
What is a table in oracle?
Display the order number and the number of months since the order was shipped for all orders that have been shipped in the last year (365 days). (Hint: Unshipped orders will have a null value).
What are joins..how many types of joins are there?
29 Answers Amdocs, CSC, TCS,
17. Display the order number and average item cost for each order.
In AP we done Customizations for Late Payments Charges. For Reporting Purpose What are the Documents Prepared for Customer Understanding??
Can u make a synonym for deptno=10 only from emp table.
What is memory advisor in Oracle?
How to build data dictionary view an new database?