Ryan, Try this: select segment_type, segment_name from dba_extents where file_id =3D &file and &block between block_id and block_id+blocks-1; It will probably be slow....if so, go w/ the GTT=20 and index solution that Dan already provided. -Mark -----Original Message----- From: oracle-l-bounce@xxxxxxxxxxxxx [mailto:oracle-l-bounce@xxxxxxxxxxxxx]On Behalf Of ryan gaffuri Sent: Monday, August 23, 2004 4:54 PM To: oracle-l@xxxxxxxxxxxxx Subject: ((Re)): problem interpreting wait events i don't have a problem with performance. I think I am checking the wrong data dictionray view. I took the p2 value from db file sequential read = and I thought I could use the block_id in dba_extents. When I query on it, I = get 'no rows selected', so I think I am using the wrong view. anyone know which one to use for this? ----- Original Message -----=20 From: "Daniel Fink" <Daniel.Fink@xxxxxxx> To: <oracle-l@xxxxxxxxxxxxx> Sent: Monday, August 23, 2004 2:57 PM Subject: Re: problem interpreting wait events > Ryan, > > I have found that this type of query against dba_extents performs horribly. My solution has been to create a GTT, load relevant data > from dba_extents, slap an index on file_id and block_id and query the = GTT. Even in some of the larger dbs I've done this on, the > overall time was much less than the original query. > ---------------------------------------------------------------- Please see the official ORACLE-L FAQ: http://www.orafaq.com ---------------------------------------------------------------- To unsubscribe send email to: oracle-l-request@xxxxxxxxxxxxx put 'unsubscribe' in the subject line. -- Archives are at //www.freelists.org/archives/oracle-l/ FAQ is at //www.freelists.org/help/fom-serve/cache/1.html ----------------------------------------------------------------- ---------------------------------------------------------------- Please see the official ORACLE-L FAQ: http://www.orafaq.com ---------------------------------------------------------------- To unsubscribe send email to: oracle-l-request@xxxxxxxxxxxxx put 'unsubscribe' in the subject line. -- Archives are at //www.freelists.org/archives/oracle-l/ FAQ is at //www.freelists.org/help/fom-serve/cache/1.html -----------------------------------------------------------------