How could I find the SQL statement who get this message ?

ORA-01555 caused by SQL statement below (Query Duration=11191 sec, SCN: 0x0854.723b9c32)
... How could I find the SQL statement who got this message ?
Thanks, Paul

ORA-01555 means that the UNDO/ROLLBACK space is not large enough.
This occurs because the SELECT statement is attempting to read the UNDO, but the UNDO has been released (transactions have committed or rolled back) and reused.
The following are SOME of the reasons I have seen this to occur:
1) Updates in a loop, with commits happening in the same loop
- this will mark the UNDO available quickly and quickly reuse it. Then when the SELECT wants to rebuild a block, the UNDO used to rebuild the block has been reused (solution, make the UNDO bigger)
2) A SELECT cursor used to control a loop in which updates are performed, and a 'done' flag is marked against the current cursor record, and commits are performed at the end of each loop, prior to fetching the next record
- same problem as above, but it hits the current process. Same solution
3) A 'month end' activity spike occurs, and all sorts of transactions create updates. There is a report that reports the activity - amusingly it needs to start at the beginning of all the work and updates periodically by doing a huge SELECT up front. This is then used to drive a loop which attempts to get information from the various transactions that have been updated and committed. After a while, the SELECT gets an ORA-01555
- same problem as above and same solution. Get a bigger UNDO segment.
You say this only happens once a month. That should give a hint.
I wouldn't bother with which SELECT statement, as much as which APPLICATIONs are being run when it happens.
One way around this - use 10g and set the guaranteed retention period. All sorts of other things will break, by no more 1555. <g>

Similar Messages

  • Aperture 3: After sending my book for printing to Apple the Apple Store told me that my text and the background have the same color and they couldn't print the book. But I couldn't find any problem in the preview. How could I find the problem pages?

    Aperture 3: After sending my book for printing to Apple the Apple Store told me that my text and the background have the same color and they couldn't print the book. But I couldn't find any problem in the preview. How could I find the pages where the problems are? Or otherwise, why doesn't print Apple the book how it is. Idon't need the text which couldn'be seen.

    The forum is for Logic Pro users.. I will ask the moderators to move it to a more appropriate forum for your question/subject
    Cheers..

  • FF not connecting to web- This "Network Connections" message pops up: Error 623: The system could not find the phone book entry for this connection. Any ideas?

    About a month ago I could no longer connect to the internet on our PC. Every time I clicked on the Firefox icon the Netscape sign-on window would pop up. I would try to close it but it would pop up over and over again. If I tried to close it a dozen or so times eventually Firefox would open up but it would never connect. Just today I moved my Netscape file to the recycle bin. No longer does the Netscape sign-on window pop up but following Network Connection error message pops up: "Error 623: The system could not find the phone book entry for this connection".. This error window behaves the same way the Netscape sign-on window used to behave. Every time I click to close it it pops open again. After numerous clicks Firefox opens up but it never connects.

    Do you have this error message on a Mac computer or on a Windows computer?
    I've only seen this error mentioned on a Windows computer.
    *http://kb.mozillazine.org/Autoconnect

  • Library recovery: how can I recover a library after I get this message: There was an error opening the database for the library "/Users/Jim/Pictures/Libraries/K2 Library.aplibrary"???

    Library recovery: how can I recover a library after I get this message: "There was an error opening the database for the library “/Users/Jim/Pictures/Libraries/K2 Library.aplibrary”???

    Thanks a lot, Frank. The lsregister did the trick! I am testing this on 10.8.2.
    http://support.apple.com/kb/TA24770 : I deleted the "com.apple.LaunchServices.plist", and restarted the Finder, even logged off and on again; did not change anything. The file has not been recreated, so it may not be used anymore.
    http://itpixie.com/2011/05/fix-duplicate-old-items-open-with-list/#.ULZqa6XAoqY
    The direct "copy and paste" from the post did not work: I had to retype it :
    /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchSe rvices.framework/Versions/A/Support/lsregister -kill -r -domain local -domain system -domain user
    but then it worked like a charm!
    Cheers
    Léonie
    And btw: I turned on the "-v" option for the lsregister to see, what was going on, and saw plenty of error messages (error -10811); so I repeated the command with "sudo". After that I still saw five iPhotos. Repeating as regular user finally got rid of the redundant iPhoto entries. It looks like registering as super user may be causing this trouble.

  • I am using a program that opens a document in adobe and I need to save it back in the program.  I get this message: this document is trying to connet to: fill://index.cfm?event=vendorsonly.submiteventform.  Help

    I am using a program that opens a document in adobe and I need to save it back in the program.  I get this message: this document is trying to connet to: fill://index.cfm?event=vendorsonly.submiteventform.  Help

    Have you contacted the people who make the program? It sounds like something special from that program.

  • How do i see the sql statements that are run ?

    i want to see (in a log file) what are the sql statements that oracle had ran.
    how do i do it ? what configurations should i do ? how ?
    please help ... thanks

    Current SQL statements are viewed in dynamic tables:
    SELECT SCHEMANAME, SQL_ADDRESS, SQL_TEXT, last_call_et
    FROM V$SESSION, V$SQLAREA
    WHERE V$SESSION.SQL_ADDRESS=V$SQLAREA.ADDRESS
    A historical log of all SQL statements is recorded in Oracle Archived Logs, and can be viewed using the Oracle Logminer approach. This process requires your database to be in ARCHIVELOG mode, and that Logminer be configured to read the archived logs.

  • How could I find the register name?

    I'm using Rslinx OPC server according to the Tutorial, and when I follow the 16th step  in " Configuring an Allen Bradley PLC in RSLinx ", I find that I can not successful do "type the register name you are trying to get data from or writing to".
    So I wonder how can I find the register name needed?
    nelly

    Hi nelly, which NI software are you using and what application you want to achieve?
    Would you please give me more detailed information ,thanks!

  • HT1660 How do I find the music I snyc to this computer?

    How do I find the music i sync from my iphone to this computer ?

    New computer? See Recovering your iTunes library from your iPod or iOS device.
    tt2

  • Hello, just got a refurbished Macbook as the backlight on 1st gen. Pro went out.  Transferred everything but it does not want to let me connect the ipod.  I get this message

    This computer is no longer authorized to play purchased items that are on the iPod “John Rowe’s iPod touch 2”. Would you like to authorize this computer for items purchased from the iTunes Store?  When I click authorize it gives me a very old email sign in.
      I change it to the current with password and then I get this message.
    This computer is already authorized.
    Including this one, you have authorized 4 computers out of your available 5.
    And this goes around in a circle.
    Any advice?
    Thanks,
    John

    Did you try the suggestions mentioned here? iTunes repeatedly prompts to authorize computer to play iTunes Store purchases and About iTunes Store authorization and deauthorization

  • From Query's name, how could i find the corresponding Infoset's name?

    Thanks!!
    If i know a Query's name, how to do could i find its corresponding Infoset's name??
    Query's name---->Infoset's name.
    Thanks!!!

    Go to SQ01,  right there is a column for infoset.  This will tell you what infoset that the query is using.
    Regards,
    RIch Heilman

  • How to always hide the SQL statements for users when they run User Queries?

    Hi,
    from the IT dept. position, I don't want users to see and be so curious about the SQL commands.
    How can I always hide the textbox of  Display Query Structure?
    thanks.

    Hi,
    Unfortunately system design has short of this function. If users are allowed to run those queries, you can not hide the query structure.
    You may post a DRQ here: /community [original link is broken]
    Thanks,
    Gordon

  • What is the sql statement for doing this?

    Hi,
    I am currently doing a simple search engine that allows a user to key in a filename and display all the files' name close to keyed filename(the first two letters are the same).What is the proper sql statement to select from Document according to DocumentType and the first two letters of the filename? Am i doing it the right way? I am currently use Access 2002, dunno if it will affects me.Thanks in advance
    [What i did]
    String filename="doc,txt"
    SELECT DocumentType from Rule where UserType='1' and Action='Search';
    DocumentType=1,5,9,13,17,21,25,29,33,37,41,45 // This is all the document Type the user can see.
    Next i used StringTokenizer break the DocumentType.
    DocumentType[0]=1;
    DocumentType[0]=5;
    SELECT * from Document where DocumentType and Name <<< I want to select from Document according to DocumentType and the first two letters of the filename

    One more try - from what I can follow?
    If I assume you have a table named for example "UserRules"
    which has fields UserID,UserType,UserAction
    and has records like this that controls the document types
    a user is allowed to see
    UserID UserType Action
    TOM 1 Search
    BILL 7 Search
    ROY 2 Search
    And if I assume you have a table named for example "AllowedUserDocumentTypes"
    which has fields UserType,DocumentTypes
    and has records like this that controls the document types
    a user is allowed to see
    UserType DocumentTypes
    1 1,3,4,5,6,19
    2 7,9,12,18
    3 1,19,33,27
    And you have the document table which has
    fields are DocNo,Name,Title,Date,Filename,DocumentType
    and it has records like this
    DocNo Name Title Date Filename DocumentType
    12345 BILL Cars CarTypes 18
    12346 ROY Trucks TruckTypes 2
    12347 TOM Toys ToyTypes 17
    12345 JACK Car Colors CarColors 19
    12345 TOM Car Shapes CarShapes 7
    Then the select statement
    Select DocumentTypes from AllowedUserDocumentTypes
    join UserRules where UserRules.UserType = AllowedUserDocumentTypes.UserType
    and UserRules.UserID = 'ROY' and UserRules.Action = 'Search';
    will return 7,9,12,18
    If the DocumentType field is numeric and the user entered "CarCrap" the
    select statement would have to look like this
    SELECT * from Document
    where left(Filename,2) = 'Ca' and DocumentType in (7,9,12,18);
    If the DocumentType field is say varchar
    select statement would have to look like this
    SELECT * from Document
    where left(Filename,2) = 'Ca' and DocumentType in ('7','9','12','18');
    You will have to build these select statements related to the user.
    Note you should also allow for upper and lower case differences. I
    would suggest you convert the user entry into uppercase and do a select
    like below
    SELECT * from Document
    where Ucase(left(Filename,2)) = 'CA' and DocumentType in (7,9,12,18);
    This is all written from memory, not tested and I have not done this
    in several years.
    I was showing approximately how to build the statements before.
    rykk

  • How Do I Find the Full URL for Linking to Messages in the Forum

    What is the best way to find the URL that links directly to a message I've posted in the forum?
    When I receive an e-mail notifying me that a reply has been posted in a thread I'm subscribe to, there is a link to that reply in a format similar to https://support.mozilla.com/questions/862631'''#answer-279005'''. I discovered that if I hover my mouse over the '''Helpful / Not Helpful''' buttons next to each message when I'm using '''IE9 as my browser''', the specific answer # assigned to any message can be viewed in the status bar at the bottom of the screen (e.g., https://support.mozilla.com/questions/862631/'''vote/279005'''), but I can't figure out how to do this in Firefox.
    Most other forums I post in assign a number to each message in a thread (e.g., message 7 of 25) that has the URL link embedded so that you simply right-click on the message number and choose '''"Copy Link Location"''' to obtain the direct URL for any message.
    Windows Vista Home Premium 32-bit SP2 * NIS 2011 v. 18.6.0.29 * Firefox 8.0.0

    Adobe Reader Touch (Windows Store app with "modern" UI) is not really accessible.
    If you have a device running the Windows 8 operating system (as opposed to the Windows RT operating system), you can install and run Adobe Reader XI (desktop app with classic UI), which offers better accessibility support for screen readers.  It also has the "Read Out Loud" functionality.

  • When I failover the SQL Cluster I get this,

    Can anyone tell me if this is okay or should I worry about it?
    Log Name:      Application
    Source:        ESENT
    Date:          9/15/2014 10:28:36 AM
    Event ID:      489
    Task Category: General
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      phx-bt-db-02.pmn.local
    Description:
    sqlservr (1772) An attempt to open the file "C:\Windows\system32\LogFiles\Sum\Api.log" for read only access failed with system error 5 (0x00000005): "Access is denied. ".  The open file operation will fail with error -1032 (0xfffffbf8).
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="ESENT" />
        <EventID Qualifiers="0">489</EventID>
        <Level>2</Level>
        <Task>1</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2014-09-15T17:28:36.000000000Z" />
        <EventRecordID>11473</EventRecordID>
        <Channel>Application</Channel>
        <Computer>phx-bt-db-02.pmn.local</Computer>
        <Security />
      </System>
      <EventData>
        <Data>sqlservr</Data>
        <Data>1772</Data>
        <Data>
        </Data>
        <Data>C:\Windows\system32\LogFiles\Sum\Api.log</Data>
        <Data>-1032 (0xfffffbf8)</Data>
        <Data>5 (0x00000005)</Data>
        <Data>Access is denied. </Data>
      </EventData>
    </Event>
    Scott Cummins

    Hi Scottcummins,
    Hi,
    Unfortunately, the available information is not enough to have a clear view of the occurred behavior. Could you provide more information about your environment. For example,
    the exact text of any error messages that you received that are associated with this problem? 
    The server version of the problem on, when you experience this issue what are you trying to do, when this problem occurs the system log record information, screenshots is the best information.
    If you are using server 2012r2 cluster please install the Recommended hotfixes and updates for Windows Server 2012 R2-based failover clusters updates.
    The Recommended hotfixes and updates for Windows Server 2012 R2-based failover clusters
    http://support.microsoft.com/kb/2920151
    The event 489 we only can know it may caused by some file has locked.
    The related KB:
    Event 489 Detail
    http://www.microsoft.com/technet/support/ee/transform.aspx?ProdName=Windows+Operating+System&ProdVer=5.2&EvtID=489&EvtSrc=ESENT&LCID=1033
    More information:
    Event Logs
    http://technet.microsoft.com/en-us/library/cc722404.aspx
    Thanks.
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • I cannot cannot connect to my facebook account since the upgrade . I get this message: the client downgraded to a lower TLS version than the server supports.

    i connect to Facebook through Thunderbrowse. Since you've upgraded, I can not longer connect. I received this message;
    Secure connection failed
    An error occurred during a connection to www.facebook.com. The server rejected the handshake because the client downgraded to a lower TLS version than the server supports. (Error code: ssl_error_inappropriate_fallback_alert)
    The page you are trying to view can not be shown because the authenticity of the received data could not be verified.
    Please contact the website owners to inform them of this problem.

    Also tried with NoScript disabled. Doesn't work any better. You can actually see the youtube front page sometimes getting stuck in a half-formatted mode. Maybe it really is Google and it's just the error message that is wrong.

Maybe you are looking for

  • Exporting with precise length?

    Hey everyone, Relatively new to Logic, but not a total DAW dummy. The problem I'm having is kind of infuriating but otherwise I love the software. Basically, I am building 4- and 8-bar loops in Logic at a tempo of 103 BPM. I have uploaded my samples

  • How to make dropdown menu selection create more text fields?

    I did some searching and am unable to find an answer for this. It could be because I don't know the name of what I'm trying to do (I'm a total LiveCycle Designer noob). I tried to find guides but they seem to be for newer versions of Designer (I'm us

  • Empty on the fields of activity description in CATS_DA

    Hello Experts, We use CAT2 to post some absence , and we can see the activity description related here. But when we try to use CATS_DA to to download report, some of rows are empty on the activity desciption fields. Who know why ? and how to solve ?

  • I cant rent or buy a film!

    Hi, i have question about rent or buy a film. I cant rent or buy a film from itunes store on my ipad. Because rent or buy buttons are not active so i cant touch them. Does anyone can help me how can i fix that problem? Thank you... Alper Guleyin

  • Qosmio X500-15F - How can I modify the DPI?

    Hello With Qosmio X500-15F and graphic card NVIDIA GeForce GTX 460M I'm using a professional software for jewelry building (Matrix 6.0 based on Rhinoceros 3D 4.0 SR9). When starting it, the software is asking me to set the DPI to normal. How can I mo