- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- temp tablespace
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-30-2004 06:10 AM
тАО03-30-2004 06:10 AM
I'm trying to determine what is using temp tablespace. It currently is filled up with no active sessions. The tablespace is in 8i and dictionary managed. Is there anyway I can determine what is using the temp tablespace? I looked in dba_segments and it appears that SYS owns an segment called '4.54754' that exists in the temp tablespace. This doesn't really help me determine what this object is. I don't want to bounce the server to clean it up.
thanks.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-30-2004 07:50 AM
тАО03-30-2004 07:50 AM
Re: temp tablespace
Unless Oracle give you a 'Unable to extend ... in tablespace TEMP', you shouldn't worry about sys segments in the TEMP tablespace ; Oracle deal with thoses.
And even in this case, you would do sql tuning or increase TEMP size but never issue some drop sys.segement.
A trick that worded on 8.1.7.0.4, just for the peace of mind is to modify the storage paramater twice (given that pctincrease value is 0) :
alter tablespace TEMP default storage (pctincrease 1);
alter tablespace TEMP default storage (pctincrease 0);
But that's just a game with no gain.
To be sure, look on http://metalink.oracle.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-30-2004 07:56 AM
тАО03-30-2004 07:56 AM
Re: temp tablespace
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-30-2004 09:15 AM
тАО03-30-2004 09:15 AM
Re: temp tablespace
You may want to check the sort on memory/disk ratio and tune SORT_AREA_SIZE.
If you want to check the SQL statement that produce the TEMP exhaustion use the set autotrace on or explain plan for ... to see some valuable info (block access, execution plan ...)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-30-2004 05:09 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-30-2004 07:22 PM
тАО03-30-2004 07:22 PM
Re: temp tablespace
You may use this sql to check who is currently using temp space:
select
b.tablespace
,b.segfile#
,b.segblk#
,round(((b.blocks*p.value)/1024/1024),2) size_mb
,a.sid
,a.serial#
,a.username
,a.osuser
,a.program
,a.status
from v$session a
,v$sort_usage b
,v$process c
,v$parameter p
where p.name='db_block_size'
and a.saddr = b.session_addr
and a.paddr=c.addr
order by
b.tablespace
,b.segfile#
,b.segblk#
,b.blocks
regards
twang
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-31-2004 01:11 AM
тАО03-31-2004 01:11 AM