Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> IOTs - different types available

IOTs - different types available

From: Reardon, Bruce (CALBBAY) <Bruce.Reardon_at_comalco.riotinto.com.au>
Date: Mon, 10 Dec 2001 23:17:24 -0800
Message-ID: <F001.003D98BA.20011210225522@fatcity.com>

Hi,

The 817 SQL Reference guide under the analyze table section seems to imply that an IOT can be based on either a "primary key" or on a "universal rowid".

That is, it states the following:
"Note: If you are analyzing index-organized tables based on primary keys
(rather than universal rowids), you must create a separate chained-rows
table for each index-organized table to accommodate its primary-key storage. Use the SQL scripts DBMSIOTC.SQL and PRVTIOTC.PLB to define the BUILD_CHAIN_ROWS_TABLE procedure, and then execute this procedure to create an IOT_CHAINED_ROWS table for each such index-organized table. "

However, under the create table command, it states "Note: You must specify a primary key for an index-organized table, because the primary key uniquely identifies a row. The primary key cannot be DEFERRABLE. Use the primary key instead of the rowid for directly accessing index-organized rows."

So my questions:
* Can an IOT can be based on either a "primary key" or on a "universal rowid"?
* If so, how do you specify which it is based on? * Also, assuming an IOT can be of either kind, which data dictionary object
(or other sys table / view) will tell you what type your IOT is?

I know that dba_tables has IOT_TYPE in it, but the reference manual says "If this is an index organized table, then IOT_TYPE is IOT or IOT_OVERFLOW. If this is not an index organized table, then IOT_TYPE is NULL " whereas our IOT actually has "IOT - TOP" as its value.

If relevant, I am using 8.1.7.1.4 on NT 4.

Any information would be appreciated.

Thanks,
Bruce Reardon
mailto:bruce.reardon_at_comalco.riotinto.com.au

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Reardon, Bruce (CALBBAY)
  INET: Bruce.Reardon_at_comalco.riotinto.com.au

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L

(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing).
Received on Tue Dec 11 2001 - 01:17:24 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US