Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: ORA-01555: snapshot too old
Yu wrote:
> We have a cron job every night to exp some schemas(oracle 8.05 on Sun). We
> got the following error during last night's exp for the first time:
(snip)
> According to doc, the error is due to smaller/fewer rollback segments. But
> why R02 HWMSIZE is only 164M ( 163729408 ) when it could use 1024M? Or
were
> there too many other transactions going on (therefore overwrite data in
> rollback segments) during the exp that cause this error?
I'm figuring that you did, indeed, have active transactions going on in the database during the export & one or more of these transactions issued a COMMIT before the export ended. When a transaction COMMITs, Oracle makes the undo records available to be overwritten by other transactions even though it also considers these undo records to be "inactive, in-use" if some other operation needs them for read-consistency. The text of the error message -- "rollback segment too small" -- is misleading. Once a transaction commits, the space it was using in the rollback segment is now up for grabs -- size is not the issue. n other words it's a scheduling problem. You have two options I think: