Phone (800) 766-1884 for immediate Oracle support & training
Free Oracle Tips

Home Home
Oracle Monitoring
Growth Monitoring
Emergency DBA Support
Installs & Upgrades
Oracle Migration
Oracle Support Plan
Oracle SQL Tuning
Oracle Performance Tuning

 Our Remote DBA Clients

 

Free Oracle Tips


 
HTML Text

Free Oracle App Server Tips


 
HTML Text

 

   
  Oracle Tips by Burleson

Oracle10g Overview of Hash Clusters

In a hash cluster, a row is stored after a hash function has been applied to the row’s cluster key value. All rows with the same key value are stored together on the disk.

It is preferable to use hash clusters over an indexed table or index cluster when a table is queried frequently with equality queries. For example, to return all rows for “salesman_id of 10” and other such queries, the specified cluster key value is hashed. The resulting hash key value points directly to the area on disk that stores the rows. In order to improve the hash clusters, Oracle 10g Database introduces the sorted hash cluster.

In a sorted hash cluster, the rows corresponding to each value of the hash function are sorted on a specified set of columns in ascending order. When the rows are inserted into a sorted hash clustered table, they are placed in cluster blocks in the order specified. This then becomes the default return order when the query uses the hash columns.

By using sorted hash clusters, you can avoid using the ORDER BY clause, as well as sort operations. When you are accessing a single row of data by a hashed column, sorted hash clustered tables offer faster data retrieval than index-organized tables (IOTs). The query response time is independent of the size of the table, since the hash function determines the hash key. The response for querying a sorted hash clustered table depends on the number of rows sharing the same hash key and not the number of rows in the table.

How sorted hash clusters perform depends on whether or not you’ve used the right number of hash functions, number of keys, size of the hash keys, and the sort columns.


Get the complete Oracle10g story:

The above text is an excerpt from "Oracle Database 10g New Features: Oracle10g Reference for Advanced Tuning and Administration", by Rampant TechPress.  Written by top Oracle experts, this book has a complete online code deport with ready to use scripts. 

To get the code instantly, click here:

http://www.rampant-books.com/book_2003_2_oracle10g.htm


Need an Oracle Mentor?

BEI is now offering personal mentors for Oracle DBAs where you can have an Oracle expert right at your fingertips, anytime day or night. We work with hundreds of Oracle databases every year, so we know exactly how to quickly assist you with any Oracle question.

Why risk an unplanned outage? You can now get telephone access to Don Burleson or any of his Oracle Certified DBAs with more than 20 years of full-time IT experience. Click here for details:

http://www.dba-oracle.com/service_oracle_backup.htm

Burleson Oracle consulting & training



 

 

WISE Oracle monitoring software
 

 

Oracle forum for DBA 

 

Rampant TechPress Oracle book publisher

image 

  

 

E-mail us for BC Oracle support:   

Copyright © 1996 -  2009 by Burleson Enterprises, Inc. All rights reserved.

Oracle® is the registered trademark of Oracle Corporation.