Solved

ora-1652 unable to extend temp segment tablespace temp

Posted on 2014-01-16
1
625 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.

Join & Write a Comment

Suggested Solutions

Working with Network Access Control Lists in Oracle 11g (part 2) Part 1: http://www.e-e.com/A_8429.html Previously, I introduced the basics of network ACL's including how to create, delete and modify entries to allow and deny access.  For many…
How to Create User-Defined Aggregates in Oracle Before we begin creating these things, what are user-defined aggregates?  They are a feature introduced in Oracle 9i that allows a developer to create his or her own functions like "SUM", "AVG", and…
This video shows how to configure and send email from and Oracle database using both UTL_SMTP and UTL_MAIL, as well as comparing UTL_SMTP to a manual SMTP conversation with a mail server.
This video explains what a user managed backup is and shows how to take one, providing a couple of simple example scripts.

758 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now