Solved

ora-1652 unable to extend temp segment tablespace temp

Posted on 2014-01-16
1
633 Views
Last Modified: 2014-01-29
have gotten this error two nights in a row
the error is in the alert log for
9:45:37
and
23:44:32 - was paged for this error

an rman backup was also running at this time

ora-1652 unable to extend temp segment by 128 in tablespace TEMP
ran this query:

SELECT s.username, s.sid, u.TABLESPACE, u.CONTENTS,
sum(u.extents) extents, sum(u.blocks*8*1024)/1024/1024 MB
FROM v$session s, v$sort_usage u
WHERE s.saddr = u.session_addr
GROUP BY s.username, s.sid, u.TABLESPACE, u.CONTENTS;

returned one row

how do I know what this query returned is the correct user, statement running for that time?

the statement is an insert
0
Comment
Question by:bkreynolds48
1 Comment
 
LVL 8

Accepted Solution

by:
Surrano earned 500 total points
ID: 39785727
My feeling is that you check "current" usage as opposed to usage at the time of ora-1652 error. Best would be to tell Oracle to write a trace file when this occurs:
http://blog.flimatech.com/2009/07/23/how-to-force-an-error-to-generate-a-trace-file-when-an-ora-error-occurs/
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Article by: Swadhin
From the Oracle SQL Reference (http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/queries006.htm) we are told that a join is a query that combines rows from two or more tables, views, or materialized views. This article provides a glimps…
Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
This video shows how to copy a database user from one database to another user DBMS_METADATA.  It also shows how to copy a user's permissions and discusses password hash differences between Oracle 10g and 11g.
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question