Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: ORA-01555 Mystery (Help)
In Tom Kyte's book Expert 1-on-1
he says to ANALYZE the table BEFORE starting a big query.
Read Chapter 5, starting on page 185 for a complete explanation.
Walter K wrote:
>
> 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
>
> __________________________________________________
> Do You Yahoo!?
> Great stuff seeking new owners in Yahoo! Auctions!
> http://auctions.yahoo.com
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author: Walter K
> INET: alden14004_at_yahoo.com
>
> Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
> San Diego, California -- Public Internet access / Mailing Lists
> --------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: 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).
-- Charlie Mengler Maintenance Warehouse charliem_at_mwh.com 10641 Scripps Summit Ct. 858-831-2229 San Diego, CA 92131 Our customers are part of our team. They're the test department! -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Charlie Mengler INET: charliem_at_mwh.com Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: 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:55:14 CST