- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Temporary tablespace is always full
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
Forums
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
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
тАО08-17-2004 07:16 PM
тАО08-17-2004 07:16 PM
Temporary tablespace is always full
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-17-2004 07:26 PM
тАО08-17-2004 07:26 PM
Re: Temporary tablespace is always full
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-17-2004 07:27 PM
тАО08-17-2004 07:27 PM
Re: Temporary tablespace is always full
Can the same be increased?
sks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-17-2004 07:42 PM
тАО08-17-2004 07:42 PM
Re: Temporary tablespace is always full
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-17-2004 08:10 PM
тАО08-17-2004 08:10 PM
Re: Temporary tablespace is always full
When you create a new temporary tablespace, Oracle will begin creating and using temp segments. When a process finishes using a temp segment, it doesn't deallocate it, but simply marks it free. Then, the next process that needs temp space can grab a free temp segment, and does not need to allocate one. So the extends in a temporary tablespace will never get deallocated unless you shut down the DB or manually deallocate them.
The SMON process will wake up at regular intervals to clear the temporary tablespace. For that you must have pctincrease for the temporary tablespace > than ZERO.
So as quick fix I sometimes do this but not recommended as a long term solution.
ALTER TABLESPACE "TEMP" DEFAULT STORAGE ( PCTINCREASE 1 );
After the temporary tablespace is almost emptied, then reset it back to ZERO.
ALTER TABLESPACE "TEMP" DEFAULT STORAGE ( PCTINCREASE 0 ) ;
The tablespace has increased so dramatically because you either require all that space for the concurrent sorting needs of the database, or perhaps there was some rogue process or processes that performed a huge sort, or perhaps you are encountering a bug where an excessive amount of temporary space is being consumed.
Applying the latest patchset release for 8.1.7 should address the latter case. Monitoring sort utilization can aid in tracking down the middle case.
To see how much temp space is really being used at any given point in time, use V$SORT_USAGE.
If you are using locally managed temp tablespaces with a uniform size (multiple of sort_area_size), then you should not have any problems of such type.
And id=f required you can safely drop and recreate the temporary tablespace
I hope this helps
Indira A
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-17-2004 08:32 PM
тАО08-17-2004 08:32 PM
Re: Temporary tablespace is always full
sks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-17-2004 08:32 PM
тАО08-17-2004 08:32 PM
Re: Temporary tablespace is always full
Try to identify it with:
select s.username "User Name",
s.osuser "OS User",
s.status "Status",
lockwait "Lock Wait",
s.program "Program",
s.machine "Machine",
s.logon_time "Connect Time",
p.program "P Program",
si.physical_reads "Physical Reads",
si.block_gets "Block Gets",
si.consistent_gets "Consistent Gets",
si.block_changes "Block Changes",
si.consistent_changes "Consistent Changes",
s.process "Process",
p.spid, p.pid, s.serial#, si.sid
from sys.v_$sess_io si, sys.v_$session s, sys.v_$process p
where s.username is not null and
si.sid(+)=s.sid
and p.addr(+)=s.paddr
order by status,si.consistent_gets+si.block_gets desc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-17-2004 08:38 PM
тАО08-17-2004 08:38 PM
Re: Temporary tablespace is always full
My SGA size is 1288072168 bytes.
Antunes:
If there would be an Oracle process with a very large consistent_gets value what should I do?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-17-2004 08:45 PM
тАО08-17-2004 08:45 PM
Re: Temporary tablespace is always full
If there is such a process you can kill it if it is not important (if it's a report or some other process that ca be killed without compromising the data integrity):
alter system kill 'sid,serial#';
And must tune his sql for better performance next time.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-17-2004 09:30 PM
тАО08-17-2004 09:30 PM
Re: Temporary tablespace is always full
How many concurrent users log onto this system?
What are their typical query or the duration of their query (since this being a dataware house database)?
sks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-18-2004 12:19 AM
тАО08-18-2004 12:19 AM
Re: Temporary tablespace is always full
If you created your temporary tablespace using "create temporary tablespace...." and using LMTs....
Temporary tablespaces should appear "full" after a while in a normally running database. Extents are allocated once and then managed by the system. Rather than doing the rather expensive operation of "space management" (data dictionary updates), the system will allocate an extent in TEMP and then keep it and manage it itself. This is normal and to be expected and is not an indication that you do not have any temporary space.
You may wish to see the dynamic performance views V$SORT_USAGE and V$SORT_SEGMENT for more information regarding the usage of space within these temporary segments.
For instance, V$SORT_USAGE will tell you WHO is using WHAT.
hope this helps!
regards
Yogeeraj