what are indexes..how many types of index's are there and
what are they?

Answers were Sorted based on User's Feedback



what are indexes..how many types of index's are there and what are they?..

Answer / rudrab123

An index is a listing of keywords accompanied by the
information of location of the subject.
in a SQL statement, if there is no Where clause then there
is no index.

In Oracle 8i,
there are 4 types of indexes .They are:-
1.B-Tree Index
2.Bitmap Index
3.Unique index
4.Function based index.

Is This Answer Correct ?    9 Yes 1 No

what are indexes..how many types of index's are there and what are they?..

Answer / rudrab123

Answer 1 is not he basic function of Index in Oracle or any
databse.
Generally speaking,attaching index to a column in a table,
information of the location of the different values in the
indexed column is also provided.This address is like the
pointer varible in C,and in SQL it is called ROWID(a
pseudocolumn).Let us see he example ....

SQL>select * from students
where id=123;
Students is a databse table and ID is the column in the
table on which we create the index.

On execution of the above query, at first, the ROWID
corresponding to id=123 in students table is found.From
this rowid, the index value for the row of data which is
pointed to by ROWID is found(in very less time).And so the
row is idenified and the entire row data is displayed.
The above serach process is specifically called "TABLE
ACCESS FULL(USING ROWID)).

Is This Answer Correct ?    3 Yes 2 No

what are indexes..how many types of index's are there and what are they?..

Answer / guest

when queries are run against a DB,an index on that DB
basically helps in the way the data is sorted to process
the query for faster data retievals.

There are basically two types of indexes that we use in SQL
Server. Clustered and the Non-Clustered.

Is This Answer Correct ?    6 Yes 6 No

what are indexes..how many types of index's are there and what are they?..

Answer / bhargav kesavan

Indexes are used to do a faster search. i.e; easy way to
retrive data.

There are two types are indexes:
1> B-Tree Indexes.
2> Bitmap indexes.

Is This Answer Correct ?    1 Yes 1 No

what are indexes..how many types of index's are there and what are they?..

Answer / ted

There are four types index:

1)Bitmap index
2)Dense index
3)Sparse index
4)Reverse index

Is This Answer Correct ?    2 Yes 2 No

what are indexes..how many types of index's are there and what are they?..

Answer / a.brahmam

indexes 5 tyeps
1.B-Tree index:-->in oracle by default index is called B tree index.
2.Bit map index:--->in oracle Bit map index is used to data warehouse applications generally Bit map index created low cardinality columns.
3.function based index:--->B tree index extension of the function based index.
in B tree indexes two type this are
4.Unique B tree index in oracle by default automatically created.
5.Non-Unique B tree index in oracle by default manually created.

Is This Answer Correct ?    0 Yes 0 No

what are indexes..how many types of index's are there and what are they?..

Answer / test

Index simply means sorting of data. Let u stake an example :

EmpID Name
1 A
6 B
5 C
9 D
...
...
2 ZZ

Now if we create index (Talking about btree index) on EmpId
it means creating a segment with the following in sorted
order
EmpId Rowid
1 <some value>
2 ....
5 ...
6 ...
...

Now if we want to search with EmpId, it will do a binary
search and get the rowid in few searches

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More Oracle General Interview Questions

Briefly explain what is literal? Give an example where it can be used?

0 Answers  


What is the difference between implicit index and explicit index?

2 Answers   TCS,


What is a Public Synonyms ?

1 Answers  


Does rowid change in oracle?

1 Answers  


How do I uninstall oracle 11g?

0 Answers  






What are temporal data types in oracle?

0 Answers  


how to clone 9i Database on to 10g Database.

0 Answers  


What are the differences between primary key and unique key?

0 Answers  


How to connect to oracle using service name instead of sid?

0 Answers  


does Oracle has only one table space?

1 Answers   Oracle,


What is a subquery in oracle?

0 Answers  


How to build data dictionary view an new database?

0 Answers  


Categories
  • Oracle General Interview Questions Oracle General (1789)
  • Oracle DBA (Database Administration) Interview Questions Oracle DBA (Database Administration) (261)
  • Oracle Call Interface (OCI) Interview Questions Oracle Call Interface (OCI) (10)
  • Oracle Architecture Interview Questions Oracle Architecture (90)
  • Oracle Security Interview Questions Oracle Security (38)
  • Oracle Forms Reports Interview Questions Oracle Forms Reports (510)
  • Oracle Data Integrator (ODI) Interview Questions Oracle Data Integrator (ODI) (120)
  • Oracle ETL Interview Questions Oracle ETL (15)
  • Oracle RAC Interview Questions Oracle RAC (93)
  • Oracle D2K Interview Questions Oracle D2K (72)
  • Oracle AllOther Interview Questions Oracle AllOther (241)