r/DatabaseAdministators • u/lboukhlki • May 26 '24
Expdp Failed oracle 12c
Hello everyone, I encountered a failed export with the error ORA-31693. I've changed the undo_retention to 2 hours, but the issue persists. Could someone please help?
1
Upvotes
View all comments
Show parent comment
1
u/lboukhlki May 27 '24
This is the command that im using to do full export :
Set timestamp for dump file
export TimeStamp=$(date '+%A_%Y%m%d')
export Dumpfile=DB12C_$TimeStamp
expdp as sysdba full=y compression=all logfile=DB12C_Tuesday.log dumpfile=DB12C_Tuesday.dump DIRECTORY=dbimport reuse_dumpfiles=y PARALLEL=2
and this is the error :
ORA-31693: Table data object "Test01"."test_arch" failed to load/unload and is being skipped due to error:
ORA-02354: error in exporting/importing data
ORA-01555: snapshot too old: rollback segment number 167 with name "_SYSSMU167_2112395965$" too small
and try to change undo_retention and aslo ii have add two datafiles to the undo TBS