Q

Traditional table vs. Index Organized Table (IOT) in Oracle

Don't know whether to use a traditional table or an Index Organized Table (IOT) in Oracle? Expert Brian Peasland explains the difference.

What is the difference between traditional tables and index organization tables? What do you advise me to use?
A traditional table stores the data in a "heap" structure, or a big pile of data. The Index Organized Table (IOT) stores the data in a B-tree index data structure. In a heap table, the data has no particular order. In an IOT, the data is ordered by the table's primary key.

It is best to use an IOT when you only query the table's contents by specifying the primary key in the WHERE clause....

If you query other, non-PK columns in the WHERE clause, you may find the IOT will slow down your performance.

The only way to know for sure if the IOT will work in your Oracle environment is to test it out with your application.

This was last published in August 2009

Dig Deeper on Oracle database design and architecture

PRO+

Content

Find more PRO+ content and other member only offers, here.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

-ADS BY GOOGLE

SearchDataManagement

SearchBusinessAnalytics

SearchSAP

SearchSQLServer

TheServerSide

SearchDataCenter

SearchContentManagement

SearchFinancialApplications

Close