dbTalk Databases Forums  

temp file useage on 10.2..0.4 enterprise database / windows 2003

comp.databases.oracle.server comp.databases.oracle.server


Discuss temp file useage on 10.2..0.4 enterprise database / windows 2003 in the comp.databases.oracle.server forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
dba cjb
 
Posts: n/a

Default temp file useage on 10.2..0.4 enterprise database / windows 2003 - 09-14-2010 , 05:13 AM






We have a database using temp space with approx 3 * 60 gig files
/ I woud like to drop a temp file but am not sure on getting
max_used_blocks from v$sort_segment out of AWR

ie what's the max space used in temp from awr history rather than when
instance was bounced

regards
Chris B

Reply With Quote
  #2  
Old   
ddf
 
Posts: n/a

Default Re: temp file useage on 10.2..0.4 enterprise database / windows 2003 - 09-14-2010 , 11:04 AM






On Sep 14, 6:13*am, dba cjb <chris.br... (AT) providentinsurance (DOT) co.uk>
wrote:
Quote:
We have a database using temp space with approx 3 * 60 gig files
/ I woud like to drop a temp file but am not sure on getting
max_used_blocks from v$sort_segment out of AWR

ie what's the max space used in temp from awr history rather than when
instance was bounced

regards
Chris B
AFAIK that metric is not recorded in the AWR repository; it's reported
from the v$tempseg_usage view.


David Fitzjarrell

Reply With Quote
  #3  
Old   
Mark D Powell
 
Posts: n/a

Default Re: temp file useage on 10.2..0.4 enterprise database / windows 2003 - 09-15-2010 , 08:20 AM



On Sep 14, 12:04*pm, ddf <orat... (AT) msn (DOT) com> wrote:
Quote:
On Sep 14, 6:13*am, dba cjb <chris.br... (AT) providentinsurance (DOT) co.uk
wrote:

We have a database using temp space with approx 3 * 60 gig files
/ I woud like to drop a temp file but am not sure on getting
max_used_blocks from v$sort_segment out of AWR

ie what's the max space used in temp from awr history rather than when
instance was bounced

regards
Chris B

AFAIK that metric is not recorded in the AWR repository; it's reported
from the v$tempseg_usage view.

David Fitzjarrell
The information in dba_temp_files may also be of interest. The
traditional way to resize the temporary tablespace is to drop and re-
create the temporary tablespace. You might also try shrinking the
temp files. Shrinking is most likely to be effective if attempted
immediately after re-starting the instance in restricted mode, which
is also the easiest time to drop and re-create the temporay
tablespace.

If you need to resize the temporary tablespace while the sytem is in
use then creating a new temporary tablespace, making it the default
and/or switching all the users to default to it, then waiting for
existing tasks to complete, finally followed by a drop of the old
temporary tablespace is another approach.

HTH -- Mark D Powell --

Reply With Quote
  #4  
Old   
Mladen Gogala
 
Posts: n/a

Default Re: temp file useage on 10.2..0.4 enterprise database / windows2003 - 09-15-2010 , 08:45 AM



On Wed, 15 Sep 2010 13:33:36 +0000, Mladen Gogala wrote:

Quote:
Somewhat older, but practically completely table is V$SORT_USAGE
This should read "completely identical".



--
http://mgogala.byethost5.com

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.