cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to create index in schema and what is the use of index?

Former Member

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Likes

Hi Sowjanya,

If you are looking for MII XML Schema, go through below post

MII XML Schema | SCN

About DB Index:

Purpose


Use the CREATE INDEX statement to create an index on:

One or more columns of a table, a partitioned table, an index-organized table, or a cluster

One or more scalar typed object attributes of a table or a cluster

A nested table storage table for indexing a nested table column

An index is a schema object that contains an entry for each value that appears in the indexed column(s) of the table or cluster and provides direct, fast access to rows.


Oracle Database supports several types of Index:


Normal indexes. (By default, Oracle Database creates B-tree indexes.)

Bitmap indexes, which store rowids associated with a key value as a bitmap.

Partitioned indexes, which consist of partitions containing an entry for each value that appears in the indexed column(s) of the table.

Function-based indexes, which are based on expressions. They enable you to construct queries that evaluate the value returned by an expression, which in turn may include built-in or user-defined functions.

Domain indexes, which are instances of an application-specific index of type indextype.


About DB Schema:


http://mysqlresources.com/documentation/db-table-schema/create-schema


Former Member
0 Likes

Thank u so much..

Former Member
0 Likes

Hi Sowjanya,

Just google with 'indexes in database' and you will get unlimited amount of information.

Have a look at these links:

SQL CREATE INDEX Statement

http://en.wikipedia.org/wiki/Database_index

Regards,

Rohit Negi.