Unix Technical Forum

TEMP TABLESPACE PROBLEM

This is a discussion on TEMP TABLESPACE PROBLEM within the Oracle Database forums, part of the Database Server Software category; --> I have several databases running on Solaris 2.8 and Oracle 8.1.7.4. I only have this problem with one of ...


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

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-22-2008, 06:28 PM
Paul
 
Posts: n/a
Default TEMP TABLESPACE PROBLEM

I have several databases running on Solaris 2.8 and Oracle 8.1.7.4. I only have this problem with one of them.

The temp tablespace always fills up and Oracle does not clear it out. If I expand the size of it, it still fills up. Even if all processes are finished, Oracle does not clear it out. Then I have programs fail with the "Unable to extend" error on the temp tablespace.

We either have to bounce the DB, or drop and re-build the temp tablespace when this happens.

Does anyone out there have any ideas why this happens in only one application that I support, and how to fix it ?

Thank you.
--
Paul L.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-22-2008, 06:28 PM
Anurag Varma
 
Posts: n/a
Default Re: TEMP TABLESPACE PROBLEM


"Paul" <paul821@yahoo.com> wrote in message newsVymb.33897$gA1.11016277@news4.srv.hcvlny.cv. net...
I have several databases running on Solaris 2.8 and Oracle 8.1.7.4. I only have this problem with one of them.

The temp tablespace always fills up and Oracle does not clear it out. If I expand the size of it, it still fills up. Even if all processes are finished, Oracle does not clear it out. Then I have programs fail with the "Unable to extend" error on the temp tablespace.

We either have to bounce the DB, or drop and re-build the temp tablespace when this happens.

Does anyone out there have any ideas why this happens in only one application that I support, and how to fix it ?

Thank you.
--
Paul L.

How big is that tablespace?

You need to find out why that tablespace is filling up. Usual suspects would be
SQL's doing a combination of sorting and cartesian join.

You can use v$sort_usage to check who is using the temp tablespace.

... Also note: Temp tablespaces are not cleared up .. but recycled. So it is ok for the tablespace
usage to be around 90-99%. SQL's failing from "unable to extent" is not good.

Anurag

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-22-2008, 06:28 PM
Daniel Morgan
 
Posts: n/a
Default Re: TEMP TABLESPACE PROBLEM

Paul wrote:

> I have several databases running on Solaris 2.8 and Oracle 8.1.7.4. I
> only have this problem with one of them.
>
> The temp tablespace always fills up and Oracle does not clear it out.
> If I expand the size of it, it still fills up. Even if all processes
> are finished, Oracle does not clear it out. Then I have programs fail
> with the "Unable to extend" error on the temp tablespace.
>
> We either have to bounce the DB, or drop and re-build the temp
> tablespace when this happens.
>
> Does anyone out there have any ideas why this happens in only one
> application that I support, and how to fix it ?
>
> Thank you.
> --
> Paul L.



I've read Anurag's response and want to take an entirely different approach.

First ... what's the problem? In other words ... why do you care? Is it
because
you are getting error messages? If so post them. Or is it because you
are looking
in some data dictionary view and think it is supposed to show as empty
.... in
which case you should immediately stop trying to be a DBA and start reading
the manuals on how the temp tablespace works.

From what you posted it is impossible to tell.

--
Daniel Morgan
http://www.outreach.washington.edu/e...ad/oad_crs.asp
http://www.outreach.washington.edu/e...oa/aoa_crs.asp
damorgan@x.washington.edu
(replace 'x' with a 'u' to reply)


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-22-2008, 06:28 PM
Paul
 
Posts: n/a
Default Re: TEMP TABLESPACE PROBLEM

Thanks Daniel:

You have been a big help.
--
Paul
"Daniel Morgan" <damorgan@x.washington.edu> wrote in message news:1067132649.161297@yasure...
Paul wrote:

I have several databases running on Solaris 2.8 and Oracle 8.1.7.4. I only have this problem with one of them.

The temp tablespace always fills up and Oracle does not clear it out. If I expand the size of it, it still fills up. Even if all processes are finished, Oracle does not clear it out. Then I have programs fail with the "Unable to extend" error on the temp tablespace.

We either have to bounce the DB, or drop and re-build the temp tablespace when this happens.

Does anyone out there have any ideas why this happens in only one application that I support, and how to fix it ?

Thank you.
--
Paul L.

I've read Anurag's response and want to take an entirely different approach.

First ... what's the problem? In other words ... why do you care? Is it because
you are getting error messages? If so post them. Or is it because you are looking
in some data dictionary view and think it is supposed to show as empty .... in
which case you should immediately stop trying to be a DBA and start reading
the manuals on how the temp tablespace works.

From what you posted it is impossible to tell.


--
Daniel Morgan
http://www.outreach.washington.edu/e...ad/oad_crs.asp
http://www.outreach.washington.edu/e...oa/aoa_crs.asp
damorgan@x.washington.edu
(replace 'x' with a 'u' to reply)
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 09:45 AM.


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