Solved

ora-1652 unable to extend temp segment tablespace temp

Posted on 2014-01-16
1
638 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

Question has a verified solution.

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

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.
When it comes to protecting Oracle Database servers and systems, there are a ton of myths out there. Here are the most common.
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.
This video explains at a high level about the four available data types in Oracle and how dates can be manipulated by the user to get data into and out of the database.

728 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