Solved

What Index Type Index is

Posted on 2013-05-27
5
528 Views
Last Modified: 2013-05-30
I create a table with 100 partitions.
I create a primary key on the table.
How do i know what kind of index is built on the table: btree index, bitmap index, global index, local index, cluster index, reverse key index


ALTER TABLE abc ADD (
  CONSTRAINT PK_abc
  PRIMARY KEY
  (col1, col3)
  USING INDEX PK_abc);

On checking indes_type i get the following indexes. These does not indicate any of the above indexes.
IOT - TOP
FUNCTION-BASED DOMAIN
FUNCTION-BASED NORMAL
LOB
NORMAL
DOMAIN
CLUSTER
0
Comment
Question by:gram77
5 Comments
 
LVL 13

Accepted Solution

by:
Alexander Eßer [Alex140181] earned 250 total points
Comment Utility
I suppose it must be stored as b-tree index:

http://docs.oracle.com/cd/E18283_01/server.112/e16508/indexiot.htm
0
 
LVL 15

Expert Comment

by:Franck Pachot
Comment Utility
You find it with:
Select index_type from user_indexes where index_name='PK_abc'

If the index was not there before, then Oracle creates a NORMAL index.
0
 

Author Comment

by:gram77
Comment Utility
Yes I found Oracle creates an index of type Normal! Now what kind of an index Normal is?
0
 
LVL 11

Expert Comment

by:mohammadzahid
Comment Utility
By default Oracle created b-tree indexes and this applies to Primary key constraint and
CREATE INDEX.... command.
0
 
LVL 15

Assisted Solution

by:Franck Pachot
Franck Pachot earned 250 total points
Comment Utility
Hi, NORMAL is à b-tree where each entry has a pointer to the table row (rowid)
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Oracle PL/SQL syntax 4 52
oracle query help 29 62
query in Oracle forms Builder 2 26
Clone Oracle 12c Database 5 24
I remember the day when someone asked me to create a user for an application developement. The user should be able to create views and materialized views and, so, I used the following syntax: (CODE) This way, I guessed, I would ensure that use…
This post first appeared at Oracleinaction  (http://oracleinaction.com/undo-and-redo-in-oracle/)by Anju Garg (Myself). I  will demonstrate that undo for DML’s is stored both in undo tablespace and online redo logs. Then, we will analyze the reaso…
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
This video shows how to recover a database from a user managed backup

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now