ORA-01555: snapshot too old during export. [message #430509] |
Tue, 10 November 2009 15:06 |
nielsentyler
Messages: 6 Registered: November 2009 Location: United States
|
Junior Member |
|
|
Upon using this command during an export of my database
exp user/password@sid file=z:\Migrate\wc8m050.dmp log=z:\Migrate\wc8m050_exp.log owner=owner compress=y statistics=none
I am getting this error message.
EXP-00056: ORACLE error 1555 encountered
ORA-01555: snapshot too old: rollback segment number with name "" too small
ORA-22924: snapshot too old
I have searched around and tried all the recommended fixes, identified my longest running query and used a script to find what my optimal undo_retention value should be. I increased undo_retention to 10800, which is what the scripts recommend and it is still failing. I significantly increased the size of my undo tablespace as well as broke the datafiles into 4 - 5GB datafiles, added a number of large redo log groups, and added additional, large, rollback segments. I also tried setting undo_management to MANUAL with the same results and then back to AUTO. We were able to isolate the table that is causing the issue, in this case, the table is called STREAMDATA which has a data type of BLOB, field name LOBLOC. By adding the TABLES option to isolate the STREAMDATA table, along with FEEDBACK=1, were are able to see that the export stops in the same location each time, regardless of database changes. I am looking for some help now, any suggestions. Also if this is not the correct forum for this post I do apologize.
Thanks,
Tyler
|
|
|
|
|
|
Re: ORA-01555: snapshot too old during export. [message #430655 is a reply to message #430509] |
Wed, 11 November 2009 08:16 |
nielsentyler
Messages: 6 Registered: November 2009 Location: United States
|
Junior Member |
|
|
First to correct a mistake that I noticed I made in my initial statement, I posted what my undo_retention parameter was at default here is what it is set at now 152123760.
This database is not being used at all during the exp and has not had any actions on it for hours or even possibly days when we are attempting the export.
Thanks,
Tyler
|
|
|
|
|
|
|
|
Re: ORA-01555: snapshot too old during export. [message #431011 is a reply to message #430509] |
Fri, 13 November 2009 11:25 |
nielsentyler
Messages: 6 Registered: November 2009 Location: United States
|
Junior Member |
|
|
I'll make sure to post my sessions, I do have a tendency to reply to vaguely following a reply. Here is my session, if this was not how that command was intended to be ran please let me know.
SQL> SELECT * FROM streamdata;
SP2-0678: Column or attribute type can not be displayed by SQL*Plus
SQL>
Thanks,
Tyler
|
|
|
|
|
|
Re: ORA-01555: snapshot too old during export. [message #431028 is a reply to message #430509] |
Fri, 13 November 2009 13:01 |
nielsentyler
Messages: 6 Registered: November 2009 Location: United States
|
Junior Member |
|
|
I was able to modify the query as suggested to select everything except for the blobs. Unfortunately it failed at the same place. I thinking that i have some corrupt data in my blobs.
Here is the select statement i ran
SQL> SELECT REVAULTSESSIONID, streamid, CREATESTAMPA2, MARKFORDELETEA2, MODIFYSTAMPA2, CLASSNAMEA2A2, IDA2A2, UPDATECOUNT
A2, UPDATESTAMPA2 FROM streamdata;
That is every column except for the blob one.
I let it complete and then I ran the export again and it failed at the same place it always does.
Thanks,
Tyler
|
|
|
|
Re: ORA-01555: snapshot too old during export. [message #431035 is a reply to message #431028] |
Fri, 13 November 2009 13:12 |
|
Michel Cadot
Messages: 68729 Registered: March 2007 Location: Saint-Maur, France, https...
|
Senior Member Account Moderator |
|
|
Michel Cadot wrote on Fri, 13 November 2009 18:58
Regards
Michel
Michel Cadot wrote on Fri, 13 November 2009 19:05Did you try the solution I posted?
Regards
Michel
Michel Cadot wrote on Fri, 13 November 2009 18:15If you don't COPY AND PASTE your session, how could we when you REALLY did?
The only thing we can say is: you make an error.
Please carefully read OraFAQ Forum Guide.
Regards
Michel
|
|
|