Thanks
A reader, March 16, 2012 - 1:31 pm UTC
We frequently face errors related to undo not being able to extend (undo full).So, do you advise to add datafiles to undo tablespace ?
Do you feel temp tablespace be managed by adding tempfiles ?
Thanks Tom.
March 16, 2012 - 4:11 pm UTC
My advise would be to size the undo tablespace to fit your apparent needs, yes. One way is to add datafiles, another is to allow the existing files to autoextend, another is to resize the existing files.
But that doesn't have anything to do with your original question?
If you are exceeding your temporary tablespace allocation, you either
a) decrease your need of temp - run fewer queries concurrently, tune queries to not use temp, increase PGA memory available to processes needing to sort
b) increase your temp tablespace allocation
New in 11.2 Shrink temp
David P, March 18, 2012 - 11:38 pm UTC
Last week I learnt that Oracle 11.1 introduced "ALTER TABLESPACE temp SHRINK SPACE KEEP 100M;" which allows you to shrink a temporary tablespace without the effort of creating another and switching.
I agree with Tom that it's almost useless, but it exists. (In our case, we were on a Windows Virtual machine that wouldn't extend its disk, and temp had grown during data load and wouldnt be needed later. Of course reloading the dataload will make it grow again. It was a desparation measure.)
March 19, 2012 - 10:12 am UTC
learnt something new today. thanks!