Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: ORA-01555 Mystery (Help)
Don't believe your users. Somebody is causing oracle to read blocks in consistent mode, ie. reading them from rollback segments. If the user is right, then try locking the participating tables in the exclusive mode and see who will complain. Alternatively, go to V$ACCESS table, see who is accessing the table in question, and see who has a transaction lock (v$lock, id1=object id).
-----Original Message-----
Sent: Friday, January 25, 2002 11:15 AM
To: Multiple recipients of list ORACLE-L
Hi,
A user in our data warehousing group is running into the old ORA-01555 (snapshot too old) error every time she runs a massive (20 million rows) select against one table via a view. I confirmed that the view only translates to the one table.
The user swears that no one would be making any updates/deletes to the table she is selecting from. I suggested she lock the table in exclusive mode, prior to running her massive select to guarantee no one else could change the data in the table and cause the triggering of the 1555 error. Locking the table was a viable option because it's a staging table in the warehouse itself. She locked the table in exclusive mode last night and it locked; fired off her query, and it failed 5 hours later with the 1555 error again.
I'm stumped on this. I just don't see how this is possible. Any suggestions?
Thanks!!!
-w
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Liststo: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Liststo: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Fri Jan 25 2002 - 10:58:36 CST
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message