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

Home -> Community -> Usenet -> c.d.o.server -> Speed of PrimaryKey vs Index

Speed of PrimaryKey vs Index

From: Stan <delphidev_at_yahoo.com>
Date: Wed, 03 Mar 1999 15:11:19 -0500
Message-ID: <36DD9767.A476B22D@yahoo.com>


I am using Oracle with Delphi (using a TTable and TDBGrid - this is not necessary to know).
I am using a grid component to display my data. When the data is sorted on the primary key, it navigates very quickly. However, if I switch the sort order to the Index key, it moves very slowly.

I then dropped the indexes and primary key, and then defined the primary key as the column which was previously the index. It navigates fine. This makes me conclude that there is a difference in the speed between a primary key and a index key. Would anyone have any idea why the indexes are working so slowly?

Stan. Received on Wed Mar 03 1999 - 14:11:19 CST

Original text of this message

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