Temporary Tablespace Increasing [message #59299] |
Mon, 10 November 2003 22:06 |
Amrit
Messages: 10 Registered: December 2002
|
Junior Member |
|
|
Hi,
When we run report on Developer 2000 temporary table space keeps on increasing. Because of this the HD space is increasing exponentially and effecting the performance of Oracle server. The temp table space does not get flushed even after restarting Oracle.
How do I rectify this problem? How can I flush the database?
Thanks
|
|
|
|
Re1: Temporary Tablespace Increasing [message #59303 is a reply to message #59302] |
Tue, 11 November 2003 01:56 |
Amrit
Messages: 10 Registered: December 2002
|
Junior Member |
|
|
Dear Bro,
Of course the tablespace is temporary and not permanent, I want to flush the size of temporary tablespace which is increasing only, no decreasing and much headache of space problem..Plz, give me some solution...
Thanks
Mahesh
|
|
|
|
|
Re: Re1: Temporary Tablespace Increasing [message #59312 is a reply to message #59303] |
Tue, 11 November 2003 08:48 |
Thiru
Messages: 1089 Registered: May 2002
|
Senior Member |
|
|
Is this a true temporary tablespace that uses tempfiles instead of datafiles ? If so, the space should have been released after the bounce.
Are these Locally managed tablespaces with UNIFORM extent allocation ? Otherwise you 'could' have free space fragmentation (ie space not being effectively used by sessions causing the file to grow)..
Also is Autoextend turned ON ? Try turning it off and see if your sessions fail in need of more sort_Segments.
You could create a new temporary tablespace with tempfiles ( locally managed uniform extent allocation with good sized extents(multiples of sort_area_size))
, reassign the users to this one and drop the old one if you cannot 'fix' it.
-Thiru
|
|
|
Re: Re1: Temporary Tablespace Increasing [message #59345 is a reply to message #59306] |
Wed, 12 November 2003 22:04 |
Amrit
Messages: 10 Registered: December 2002
|
Junior Member |
|
|
We are using Oracle 9i, in which, temporary tablespace is created locally.
As earlier mentioned, I also tried by increasing SORT_AREA_SIZE and SORT_AREA_RETAINED_SIZE making 2MB on both. We have 1GB physical memory and about 80% of memory is allocated for Oracle SGA and Others.
Comparative to earliers, now, the performance of SQL and developer forms is well increased. But in report, it is still very slow and temporary tablespace is increasing.
I tried to flush the temporary tablespace using
ALTER TABLESPACE TEMP DEFAULT STORAGE (PCTINCREASE 0);
In the response, an error is prompted
___________________________________________________
ORA-03217 Invalid option for alter of temporary space
__________________________________________________
So, I am still in headache for truncating tablespace. Please help me....
Thanks
Mahesh
|
|
|