Unix Technical Forum

Temp tablespace monitoring

This is a discussion on Temp tablespace monitoring within the Oracle Database forums, part of the Database Server Software category; --> Hi all, i am trying to monitor the temp tablespace for transactions. db: oracle 9.2.0.3 temp : 1GB platform: ...


Go Back   Unix Technical Forum > Database Server Software > Oracle Database

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-24-2008, 02:09 PM
jerry dev
 
Posts: n/a
Default Temp tablespace monitoring

Hi all,
i am trying to monitor the temp tablespace for transactions.
db: oracle 9.2.0.3
temp : 1GB
platform: Win XP.

thanks

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-24-2008, 02:09 PM
DA Morgan
 
Posts: n/a
Default Re: Temp tablespace monitoring

jerry dev wrote:
> Hi all,
> i am trying to monitor the temp tablespace for transactions.
> db: oracle 9.2.0.3
> temp : 1GB
> platform: Win XP.
>
> thanks


Sounds like a horrifying waste of time: Why?

And why 9.2.0.3? You should be at 9.2.0.4 or 9.2.0.6.
--
Daniel A. Morgan
http://www.psoug.org
damorgan@x.washington.edu
(replace x with u to respond)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-24-2008, 02:09 PM
Maxim Demenko
 
Posts: n/a
Default Re: Temp tablespace monitoring

DA Morgan schrieb:
> jerry dev wrote:
>
>> Hi all,
>> i am trying to monitor the temp tablespace for transactions.
>> db: oracle 9.2.0.3
>> temp : 1GB
>> platform: Win XP.
>>
>> thanks

>
>
> Sounds like a horrifying waste of time: Why?


Don't think so, as every kind of resource , temp space might be
sometimes worth to monitor as well.
I've seen in some big DWH environments sometimes overfilling of temp
just because users written bad queries resulting in a crossjoin ( not
that stupid users, just huge aggregation in terms of lines of code plus
human errors) , sometimes optimizer prefer to filter resultset of
crossjoin as the cheapest plan ( mostly due to wrong statistics ) etc.
Can get worse if you have tempfile autoxtend on...
For my needs this query worked well enough...

select sum(a.mb) mb,a.segtype,b.username,b.osuser
from
(select sum(blocks)*8/1024 mb,session_addr ,segtype
from v$sort_usage
group by session_addr,segtype) a, v$session b
where a.session_addr=b.saddr
group by b.username,b.osuser,a.segtype

>
> And why 9.2.0.3? You should be at 9.2.0.4 or 9.2.0.6.



Best regards

Maxim
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
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
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 10:38 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com