can somebody help ..
how to reduce fragementation of temporary tablespace ..
bcause always my temp tableapace gets full ...
It always helps to start by posting in the right forum.
The first question is how do you know you have fragmentation? Secondly, Oracle does not necessarily free space in the temp tablespace. Don't expect TEMP to shrink even if its not in use.
Support Davey23UK it's normal to be full.
Let me try to clarify - when the first sort operation appear, it creates temp segment into the temp tablespace. The temp segment gets extents when needed to increase, but when the sort operation finishes, the extents do not gets released to the tablespace, since there are no other segments in it and so, no one could possibly need this space.
To summarize, there usually is enough free space but INTO the temp segment. The tablespace seems to be full, since most of the space is occupied by the temp segment however.
look at the v$tempseg_usage and V$temp_extent_map as IXION said, to find out how much space is really used
Bookmarks