-
Temp space keeps increasing
I notice that the temporary tablespace has grown to almost 7GB. What constitutes to the increase? How can I reduce the size of it?
-
funky...
"I Dont Want To Follow A Path, I would Rather Go Where There Is No Path And Leave A Trail."
"Ego is the worst thing many have, try to overcome it & you will be the best, if not good, person on this earth"
-
Restart the server in restrict mode.
Resize the temp ts to minimum required size.
Give maximum size.
-
Restarting the DB in restrict mode is good idea
-
Hello,
Restarting the database will release the space in Temp tablespace
But in restricted mode ??
If users cannot access the database ,what is the use of having a database ?
Once users start using it ,might be again temp tablespace might increase depending on the type and number of transactions.
So,
Querying v$sort_segment to find out used and free blocks periodically.
Query v$sort_usage,v$sqltext to find which user and sql statements are using it ,might help to solve the issues I guess.
K.Chithra
Oracle DBA
-
restart in restrict mode.
after resizing
allow all.
-
Hi All,
Its always better to know what is causing the TEMP tablespace size is increasing, rather than decreasing or increase the size of the tablespace.It might happen that tomorrow you might need more TEMP space for SORTING activity and your SQL's might error out.
So when ever any SORTING SQL's are being executed its always better to set the sort_area_size for that session.This would help in sorting being done in MEMORY and reducing I/O and improves the performance of the SQL's
regards
anandkl
anandkl
-
Originally posted by anandkl
Its always better to know what is causing the TEMP tablespace size is increasing, rather than decreasing or increase the size of the tablespace.
But first you gotta limit it, wont u?
funky...
"I Dont Want To Follow A Path, I would Rather Go Where There Is No Path And Leave A Trail."
"Ego is the worst thing many have, try to overcome it & you will be the best, if not good, person on this earth"
-
v$sort_segment's blocks are fully used.
But what if I restrict the size to e.g. 2GB without extent but in the future more temp space is required in the SQL, will it cause any errors?
-
If the SQL requires more TEMP space and if it does not find it, obviously it would error out.
regards
anandkl
anandkl
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|