Site icon Database Tutorials

Data Pump Export process ends with ORA-31693, ORA-02354 and ORA-01555 errors

When taking a backup with Expdp, it can be terminated with ORA-31693, ORA-02354 and ORA-01555 errors when it comes to a table with a lob column. There are two main reasons for this.

The expdp process terminates as follows.

ORA-31693: Table data object “USER”.”TABLE” 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 154 with name “_SYSSMU154_1434655980$” too small

Find the current value of undo_retention:

Finding the longest query’s completed time:

Identify the lob retention value of the table that is causing the problem:

In the above example, the completed time of the longest query is 15429 seconds. The lob retention value of the table, and the value of undo_retention is 900 seconds (15 minutes).

In this case, undo_retention should be increased and the lob retention value of the table should be equalized.

Change undo_retention:

The value of undo retention should be given more than the completion time of the longest query. Also make sure that there is enough undo tablespace for the value of undo_retention.

Change the lob retention of the table:

Undo retention value of the system and the lob retention value of the table are equalized with this change.

When we query the current lob retention value of the table, it must be the same as undo_retention.

Exit mobile version