views:

22

answers:

1

Hi,

i am using oracle9i. i have lot of questions to ask i want to create b-tree index on a table in the database.

  1. How can i do that??

  2. are these index same as that of written on wikipedia b-tree page??

  3. i want to perform b-tree operations(like insertion and deletion of entries) on these index b-trees.. can i do that??

please, help me!

A: 

The link below gives you a good idea.

link text

Chaitanya
i read that article. it is good..but, still what i want to ask is,can i insert and delete entries from index b-tree in the way i insert and delete entries/keys in b-tree(implemented in some programming language like c/c++ or java)??
rohit
index that stores a list of ROWIDS for each key, when an index is created it has an entry header, which stores number of columns and locking information, Key column length-value pairs, which define the size of a column in the key followed by the value for the column and ROWID's. The underlying operation is similar to what you mentioned but it's an abstraction you don't actually get to see insertion/deletion of keys. It happens in the background.
Chaitanya
thanks a lot for quick reply!
rohit