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

Home -> Community -> Mailing Lists -> Oracle-L -> RE: Indexing SYS tables

RE: Indexing SYS tables

From: Naveen Nahata <naveen_nahata_at_mindtree.com>
Date: Tue, 01 Oct 2002 09:28:26 -0800
Message-ID: <F001.004DD8A7.20021001092826@fatcity.com>


Again since the indexes store the row in ordered fashion, I guess a normal index should be able to do ORDER BY DESC by reading backwards

Not sure though

Regards
Naveen

-----Original Message-----
Sent: Tuesday, October 01, 2002 10:33 PM To: Multiple recipients of list ORACLE-L

Yes, you are obviously correct. I really need to RTFM. <sigh> Too many pots on the stove!

Just a regular index, then. Any other input?

Thx!
Rich

Rich Jesse                           System/Database Administrator
Rich.Jesse_at_qtiworld.com              Quad/Tech International, Sussex, WI USA

> -----Original Message-----
> From: Naveen Nahata [mailto:naveen_nahata_at_mindtree.com]
> Sent: Tuesday, October 01, 2002 10:49 AM
> To: Multiple recipients of list ORACLE-L
> Subject: RE: Indexing SYS tables
>
>
> Reverse key index won't help you in ORDER BY DESC, will it?
>
> AFAIK Reverse-key index will store 'Naveen' as 'neevaN' and
> 'Rich' as 'hciR'
> and so won't be helpful in ORDER BY DESC
>
> Regards
> Naveen
>
> -----Original Message-----
> Sent: Tuesday, October 01, 2002 8:58 PM
> To: Multiple recipients of list ORACLE-L
>
>
> Hey,
>
> Anyone have any advice on indexing SYS tables? Specifically,
> I've been
> experimenting with putting a reverse index on the TIMESTAMP#
> column of AUD$,
> since almost all of my queries against the AUD$ views end
> with "ORDER BY
> TIMESTAMP DESC".
>
> In 8.1.7.4.0 test DBs on HP/UX, the index -- created under a
> non-SYS DBA
> schema -- works great. I'm looking for pitfalls, but can't
> come up with any
> of my own...
>
> TIA!
> Rich

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Jesse, Rich
  INET: Rich.Jesse_at_qtiworld.com

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
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).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Naveen Nahata
  INET: naveen_nahata_at_mindtree.com

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
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 Oct 01 2002 - 12:28:26 CDT

Original text of this message

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