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 -> Re: analyzing queries performance

Re: analyzing queries performance

From: David Fitzjarrell <oratune_at_aol.com>
Date: Fri, 08 Dec 2000 15:59:23 GMT
Message-ID: <90r0gm$lfh$1@nnrp1.deja.com>

In our last gripping episode letokai_at_my-deja.com wrote:
> "ORA-01541: system tablespace cannot be brought offline; shut down if
> necess "
> is all I get
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
>

Unfortunately the previous poster's sense of humour leaves much to be desired.

The only tablespace you need to take offline is the tablespace containing the tables and/or indexes involved in the query. As an example:

You have a query accessing the ORDERS table and the ORDER_DETAILS table, and there are indexes on both tables. The tables reside in the PROD_DATA tablespace and the indexs in PROD_INDXS tablespace. To clear the data cache take the PROD_DATA tablespace offline and then bring it back online. To also clear the index cache do the same to the PROD_INDXS tablespace. Then run your query again.

As you have rudely discovered one cannot take the SYSTEM tablespace offline. You should not have been told to do so, especially in jest.

--
David Fitzjarrell
Oracle Certified DBA


Sent via Deja.com http://www.deja.com/
Before you buy.
Received on Fri Dec 08 2000 - 09:59:23 CST

Original text of this message

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