SlideShare una empresa de Scribd logo
1 de 3
Descargar para leer sin conexión
♨ How To Use DataPump Export (EXPDP) To Export From Physical Standby Database.
This document describes how to successfully execute DataPump Export to export
data from a Physical Standby database.
Taking dump
fi
le from a large primary database for some reason can be a challenge for DBA.
Although existing features such as parallelism can be speed up process but this load cannot be
tolerated on the production database.
So once solution is taking dump on standby.
SOLUTION
It's important to know that Data Pump Export (expdp) cannot be executed directly on the Physical
Standby database. This is due to the fact that Data Pump Export needs to create and maintain a
Master Table which requires that a database would be open in "READ WRITE" mode. Therefore it
is necessary to connect from a "non-Standby" database (which will maintain the Master Table) to
the Physical Standby database using parameter NETWORK_LINK.
The NETWORK_LINK parameter initiates an export by using a valid database link. This means that
the system to which the expdp client is connected contacts the Physical Standby database
referenced by the source_database_link, retrieves data from it, and writes the data to a dump
fi
le
set back on the connected system.
The Physical Standby database must be opened in "READ ONLY" mode.
Steps to execute to export from Physical Standby
Database
On Physical Standby Database:
-- Connect to Physical Standby database and check its status
SQL> select instance_name, status from v$instance;
INSTANCE_NAME STATUS
---------------- ------------
<STDBY_DB_NAME> MOUNTED
-- Cancel managed recovery and open database in "READ ONLY" mode.
SQL> alter database recover managed standby database cancel;
SQL> alter database open read only;
-- Verify database status
SQL> select instance_name, status from v$instance;
INSTANCE_NAME STATUS
---------------- ------------
<STDBY_DB_NAME> OPEN
SQL> select open_mode from v$database;
OPEN_MODE
--------------------
READ ONLY
On "Non Standby" Database (another database as a proxy, this can be a light with minimal
resource and use only for this way.
-- create DB Link, Oracle Directory and test it
SQL> create database link expdp_primary connect to system identi
fi
ed by <password> using
‘standby_database’;
SQL> select db_unique_name from v$database;
SQL> select db_unique_name from v$database@expdp_primary;
SQL> create directory datapump as ‘/tmp’;
-- Use NETWORK_LINK to database link above to connect to the Physical Standby database:
$expdp system/<password> directory=datapump
network_link=expdp_primary full=y
dump
fi
le=standby_database.dmp
log
fi
le=standby_database.log
♨ Also another option is convert standby database to snapshot and take export pump and
fi
nally
comver to physical standby.
This can done by a manual script under a job.
*********************************
Typical Errors when exporting from Physical Standby databases
ISSUE:
UDE-01033: operation generated ORACLE error 1033
ORA-01033: ORACLE initialization or shutdown in progress
UDE-00003: all allowable logon attempts failed
CAUSE:
•No NETWORK_LINK parameter was used to connect to Physical Standby database
- AND -
•Physical Standby runs in "MOUNTED" state
SOLUTION:
•Use NETWORK_LINK={database link} to connect Physical Standby database.
•Make sure that a valid database link exists to connect to Standby database.
•Run Physical Standby database in "READ ONLY" mode.
ISSUE:
ORA-39006: internal error
ORA-39065: unexpected master process exception in DISPATCH
ORA-01033: ORACLE initialization or shutdown in progress
ORA-02063: preceding line from {database link}
ORA-39097: Data Pump job encountered unexpected error -1033
CAUSE:
•Physical Standby runs in "MOUNTED" state
SOLUTION:
•Connect to Physical Standby database to open the database in "READ ONLY MODE".
Some recommendations for taking dump on large databases:
- Use standby to prevent load a
ff
ected on primary database.
- Use parallelism to use more process and minimize time.
- Take dump as data_only
fi
rst
- Take all indexes as a sql
fi
le by import
- Run DDL commands from multiple sessions at the same time to index creation
- Exclude statistsics from export if possible
- For partitions table use merge option if possible
- Optimize STREAMS_POOL_SIZE param
- Set AQ_TM_PROCESSES>0 if possible
- On Rac PARALLEL_FORCE_LOCAL=TRUE
Regards,
Alireza Kamrani

Más contenido relacionado

Similar a ♨️How To Use DataPump (EXPDP) To Export From Physical Standby….pdf

Adventures in Dataguard
Adventures in DataguardAdventures in Dataguard
Adventures in Dataguard
Jason Arneil
 
NoCOUG_201411_Patel_Managing_a_Large_OLTP_Database
NoCOUG_201411_Patel_Managing_a_Large_OLTP_DatabaseNoCOUG_201411_Patel_Managing_a_Large_OLTP_Database
NoCOUG_201411_Patel_Managing_a_Large_OLTP_Database
Paresh Patel
 
Create manula and automaticly database
Create manula and automaticly databaseCreate manula and automaticly database
Create manula and automaticly database
Anar Godjaev
 
Oracle12c Pluggable Database Hands On - TROUG 2014
Oracle12c Pluggable Database Hands On - TROUG 2014Oracle12c Pluggable Database Hands On - TROUG 2014
Oracle12c Pluggable Database Hands On - TROUG 2014
Özgür Umut Vurgun
 

Similar a ♨️How To Use DataPump (EXPDP) To Export From Physical Standby….pdf (20)

Physical_Standby_Database_R12.2.4
Physical_Standby_Database_R12.2.4Physical_Standby_Database_R12.2.4
Physical_Standby_Database_R12.2.4
 
Pluggable database tutorial 2
Pluggable database tutorial 2Pluggable database tutorial 2
Pluggable database tutorial 2
 
Adventures in Dataguard
Adventures in DataguardAdventures in Dataguard
Adventures in Dataguard
 
Less04 Instance
Less04 InstanceLess04 Instance
Less04 Instance
 
Why oracle data guard new features in oracle 18c, 19c
Why oracle data guard new features in oracle 18c, 19cWhy oracle data guard new features in oracle 18c, 19c
Why oracle data guard new features in oracle 18c, 19c
 
Database decommission process
Database decommission processDatabase decommission process
Database decommission process
 
Pluggable database 3
Pluggable database 3Pluggable database 3
Pluggable database 3
 
Dg v1 3 ukoug_sg.pptx
Dg v1 3 ukoug_sg.pptxDg v1 3 ukoug_sg.pptx
Dg v1 3 ukoug_sg.pptx
 
Datamigration
DatamigrationDatamigration
Datamigration
 
Oracle 11g Installation With ASM and Data Guard Setup
Oracle 11g Installation With ASM and Data Guard SetupOracle 11g Installation With ASM and Data Guard Setup
Oracle 11g Installation With ASM and Data Guard Setup
 
Clone_a_remote_PDB_in_Data_Guard_Environments_19c_1698741799.pdf
Clone_a_remote_PDB_in_Data_Guard_Environments_19c_1698741799.pdfClone_a_remote_PDB_in_Data_Guard_Environments_19c_1698741799.pdf
Clone_a_remote_PDB_in_Data_Guard_Environments_19c_1698741799.pdf
 
NoCOUG_201411_Patel_Managing_a_Large_OLTP_Database
NoCOUG_201411_Patel_Managing_a_Large_OLTP_DatabaseNoCOUG_201411_Patel_Managing_a_Large_OLTP_Database
NoCOUG_201411_Patel_Managing_a_Large_OLTP_Database
 
Creating a physical standby database 11g on windows
Creating a physical standby database 11g on windowsCreating a physical standby database 11g on windows
Creating a physical standby database 11g on windows
 
Create manula and automaticly database
Create manula and automaticly databaseCreate manula and automaticly database
Create manula and automaticly database
 
Oracle 10g to 11g upgrade on sap(10.2.0.5.0 to 11.2.0.3)
Oracle 10g to 11g upgrade on sap(10.2.0.5.0 to 11.2.0.3)Oracle 10g to 11g upgrade on sap(10.2.0.5.0 to 11.2.0.3)
Oracle 10g to 11g upgrade on sap(10.2.0.5.0 to 11.2.0.3)
 
Oracle12c Pluggable Database Hands On - TROUG 2014
Oracle12c Pluggable Database Hands On - TROUG 2014Oracle12c Pluggable Database Hands On - TROUG 2014
Oracle12c Pluggable Database Hands On - TROUG 2014
 
JDBC.ppt
JDBC.pptJDBC.ppt
JDBC.ppt
 
Real-Time Query for Data Guard
Real-Time Query for Data Guard Real-Time Query for Data Guard
Real-Time Query for Data Guard
 
Les 12 fl_db
Les 12 fl_dbLes 12 fl_db
Les 12 fl_db
 
Data Guard Deep Dive UKOUG 2012
Data Guard Deep Dive UKOUG 2012Data Guard Deep Dive UKOUG 2012
Data Guard Deep Dive UKOUG 2012
 

Más de Alireza Kamrani

Más de Alireza Kamrani (19)

Recovering a oracle datafile without backup
Recovering a oracle datafile without backupRecovering a oracle datafile without backup
Recovering a oracle datafile without backup
 
EDITION & TARGET EDITION & Edition-Based Redefinition (EBR) in Oracle
EDITION & TARGET EDITION & Edition-Based Redefinition (EBR) in OracleEDITION & TARGET EDITION & Edition-Based Redefinition (EBR) in Oracle
EDITION & TARGET EDITION & Edition-Based Redefinition (EBR) in Oracle
 
Oracle Application Continuity with Oracle RAC for java
Oracle Application Continuity with Oracle RAC for javaOracle Application Continuity with Oracle RAC for java
Oracle Application Continuity with Oracle RAC for java
 
Oracle database maximum performance on Exadata
Oracle database maximum performance on ExadataOracle database maximum performance on Exadata
Oracle database maximum performance on Exadata
 
Flashback time travel vs Flash back Data Archive.pdf
Flashback time travel  vs Flash back Data Archive.pdfFlashback time travel  vs Flash back Data Archive.pdf
Flashback time travel vs Flash back Data Archive.pdf
 
Import option in Oracle Database : tip & trick🧶.pdf
Import option in Oracle Database : tip & trick🧶.pdfImport option in Oracle Database : tip & trick🧶.pdf
Import option in Oracle Database : tip & trick🧶.pdf
 
🔴Oracle ASM Filter Driver & ASMLIB & UDEV🔴.pdf
🔴Oracle ASM Filter Driver & ASMLIB & UDEV🔴.pdf🔴Oracle ASM Filter Driver & ASMLIB & UDEV🔴.pdf
🔴Oracle ASM Filter Driver & ASMLIB & UDEV🔴.pdf
 
Recovering a Oracle datafile without backup.pdf
Recovering a Oracle datafile without backup.pdfRecovering a Oracle datafile without backup.pdf
Recovering a Oracle datafile without backup.pdf
 
♨️CPU limitation per Oracle database instance
♨️CPU limitation per Oracle database instance♨️CPU limitation per Oracle database instance
♨️CPU limitation per Oracle database instance
 
Out-of-Place Oracle Database Patching and Provisioning Golden Images
Out-of-Place Oracle Database Patching and Provisioning Golden ImagesOut-of-Place Oracle Database Patching and Provisioning Golden Images
Out-of-Place Oracle Database Patching and Provisioning Golden Images
 
IO Schedulers (Elevater) concept and its affection on database performance
IO Schedulers (Elevater) concept and its affection on database performanceIO Schedulers (Elevater) concept and its affection on database performance
IO Schedulers (Elevater) concept and its affection on database performance
 
The Fundamental Characteristics of Storage concepts for DBAs
The Fundamental Characteristics of Storage concepts for DBAsThe Fundamental Characteristics of Storage concepts for DBAs
The Fundamental Characteristics of Storage concepts for DBAs
 
What is Scalability and How can affect on overall system performance of database
What is Scalability and How can affect on overall system performance of databaseWhat is Scalability and How can affect on overall system performance of database
What is Scalability and How can affect on overall system performance of database
 
🏗️Improve database performance with connection pooling and load balancing tec...
🏗️Improve database performance with connection pooling and load balancing tec...🏗️Improve database performance with connection pooling and load balancing tec...
🏗️Improve database performance with connection pooling and load balancing tec...
 
Oracle Database 23c–Fine Grained locking features
Oracle Database 23c–Fine Grained locking featuresOracle Database 23c–Fine Grained locking features
Oracle Database 23c–Fine Grained locking features
 
Store non-structured data in JSON column types and enhancements of JSON
Store non-structured data in JSON column types and enhancements of JSONStore non-structured data in JSON column types and enhancements of JSON
Store non-structured data in JSON column types and enhancements of JSON
 
Enhancements in Oracle 23c Introducing the NewOld Returning Clause
Enhancements in Oracle 23c Introducing the NewOld Returning ClauseEnhancements in Oracle 23c Introducing the NewOld Returning Clause
Enhancements in Oracle 23c Introducing the NewOld Returning Clause
 
PostgreSQL vs Oracle a brief comparison
PostgreSQL vs Oracle a brief  comparisonPostgreSQL vs Oracle a brief  comparison
PostgreSQL vs Oracle a brief comparison
 
How to take a dump from a Wal file PostgreSQL
How to take a dump from a Wal file PostgreSQLHow to take a dump from a Wal file PostgreSQL
How to take a dump from a Wal file PostgreSQL
 

Último

原件一样(UWO毕业证书)西安大略大学毕业证成绩单留信学历认证
原件一样(UWO毕业证书)西安大略大学毕业证成绩单留信学历认证原件一样(UWO毕业证书)西安大略大学毕业证成绩单留信学历认证
原件一样(UWO毕业证书)西安大略大学毕业证成绩单留信学历认证
pwgnohujw
 
NO1 Best Kala Jadu Expert Specialist In Germany Kala Jadu Expert Specialist I...
NO1 Best Kala Jadu Expert Specialist In Germany Kala Jadu Expert Specialist I...NO1 Best Kala Jadu Expert Specialist In Germany Kala Jadu Expert Specialist I...
NO1 Best Kala Jadu Expert Specialist In Germany Kala Jadu Expert Specialist I...
Amil baba
 
如何办理加州大学伯克利分校毕业证(UCB毕业证)成绩单留信学历认证
如何办理加州大学伯克利分校毕业证(UCB毕业证)成绩单留信学历认证如何办理加州大学伯克利分校毕业证(UCB毕业证)成绩单留信学历认证
如何办理加州大学伯克利分校毕业证(UCB毕业证)成绩单留信学历认证
a8om7o51
 
1:1原版定制利物浦大学毕业证(Liverpool毕业证)成绩单学位证书留信学历认证
1:1原版定制利物浦大学毕业证(Liverpool毕业证)成绩单学位证书留信学历认证1:1原版定制利物浦大学毕业证(Liverpool毕业证)成绩单学位证书留信学历认证
1:1原版定制利物浦大学毕业证(Liverpool毕业证)成绩单学位证书留信学历认证
ppy8zfkfm
 
如何办理(UPenn毕业证书)宾夕法尼亚大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(UPenn毕业证书)宾夕法尼亚大学毕业证成绩单本科硕士学位证留信学历认证如何办理(UPenn毕业证书)宾夕法尼亚大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(UPenn毕业证书)宾夕法尼亚大学毕业证成绩单本科硕士学位证留信学历认证
acoha1
 
如何办理英国卡迪夫大学毕业证(Cardiff毕业证书)成绩单留信学历认证
如何办理英国卡迪夫大学毕业证(Cardiff毕业证书)成绩单留信学历认证如何办理英国卡迪夫大学毕业证(Cardiff毕业证书)成绩单留信学历认证
如何办理英国卡迪夫大学毕业证(Cardiff毕业证书)成绩单留信学历认证
ju0dztxtn
 
如何办理哥伦比亚大学毕业证(Columbia毕业证)成绩单原版一比一
如何办理哥伦比亚大学毕业证(Columbia毕业证)成绩单原版一比一如何办理哥伦比亚大学毕业证(Columbia毕业证)成绩单原版一比一
如何办理哥伦比亚大学毕业证(Columbia毕业证)成绩单原版一比一
fztigerwe
 

Último (20)

Identify Customer Segments to Create Customer Offers for Each Segment - Appli...
Identify Customer Segments to Create Customer Offers for Each Segment - Appli...Identify Customer Segments to Create Customer Offers for Each Segment - Appli...
Identify Customer Segments to Create Customer Offers for Each Segment - Appli...
 
MATERI MANAJEMEN OF PENYAKIT TETANUS.ppt
MATERI  MANAJEMEN OF PENYAKIT TETANUS.pptMATERI  MANAJEMEN OF PENYAKIT TETANUS.ppt
MATERI MANAJEMEN OF PENYAKIT TETANUS.ppt
 
原件一样(UWO毕业证书)西安大略大学毕业证成绩单留信学历认证
原件一样(UWO毕业证书)西安大略大学毕业证成绩单留信学历认证原件一样(UWO毕业证书)西安大略大学毕业证成绩单留信学历认证
原件一样(UWO毕业证书)西安大略大学毕业证成绩单留信学历认证
 
Predictive Precipitation: Advanced Rain Forecasting Techniques
Predictive Precipitation: Advanced Rain Forecasting TechniquesPredictive Precipitation: Advanced Rain Forecasting Techniques
Predictive Precipitation: Advanced Rain Forecasting Techniques
 
NO1 Best Kala Jadu Expert Specialist In Germany Kala Jadu Expert Specialist I...
NO1 Best Kala Jadu Expert Specialist In Germany Kala Jadu Expert Specialist I...NO1 Best Kala Jadu Expert Specialist In Germany Kala Jadu Expert Specialist I...
NO1 Best Kala Jadu Expert Specialist In Germany Kala Jadu Expert Specialist I...
 
Genuine love spell caster )! ,+27834335081) Ex lover back permanently in At...
Genuine love spell caster )! ,+27834335081)   Ex lover back permanently in At...Genuine love spell caster )! ,+27834335081)   Ex lover back permanently in At...
Genuine love spell caster )! ,+27834335081) Ex lover back permanently in At...
 
Northern New England Tableau User Group (TUG) May 2024
Northern New England Tableau User Group (TUG) May 2024Northern New England Tableau User Group (TUG) May 2024
Northern New England Tableau User Group (TUG) May 2024
 
Formulas dax para power bI de microsoft.pdf
Formulas dax para power bI de microsoft.pdfFormulas dax para power bI de microsoft.pdf
Formulas dax para power bI de microsoft.pdf
 
如何办理加州大学伯克利分校毕业证(UCB毕业证)成绩单留信学历认证
如何办理加州大学伯克利分校毕业证(UCB毕业证)成绩单留信学历认证如何办理加州大学伯克利分校毕业证(UCB毕业证)成绩单留信学历认证
如何办理加州大学伯克利分校毕业证(UCB毕业证)成绩单留信学历认证
 
SCI8-Q4-MOD11.pdfwrwujrrjfaajerjrajrrarj
SCI8-Q4-MOD11.pdfwrwujrrjfaajerjrajrrarjSCI8-Q4-MOD11.pdfwrwujrrjfaajerjrajrrarj
SCI8-Q4-MOD11.pdfwrwujrrjfaajerjrajrrarj
 
社内勉強会資料_Object Recognition as Next Token Prediction
社内勉強会資料_Object Recognition as Next Token Prediction社内勉強会資料_Object Recognition as Next Token Prediction
社内勉強会資料_Object Recognition as Next Token Prediction
 
NOAM AAUG Adobe Summit 2024: Summit Slam Dunks
NOAM AAUG Adobe Summit 2024: Summit Slam DunksNOAM AAUG Adobe Summit 2024: Summit Slam Dunks
NOAM AAUG Adobe Summit 2024: Summit Slam Dunks
 
1:1原版定制利物浦大学毕业证(Liverpool毕业证)成绩单学位证书留信学历认证
1:1原版定制利物浦大学毕业证(Liverpool毕业证)成绩单学位证书留信学历认证1:1原版定制利物浦大学毕业证(Liverpool毕业证)成绩单学位证书留信学历认证
1:1原版定制利物浦大学毕业证(Liverpool毕业证)成绩单学位证书留信学历认证
 
如何办理(UPenn毕业证书)宾夕法尼亚大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(UPenn毕业证书)宾夕法尼亚大学毕业证成绩单本科硕士学位证留信学历认证如何办理(UPenn毕业证书)宾夕法尼亚大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(UPenn毕业证书)宾夕法尼亚大学毕业证成绩单本科硕士学位证留信学历认证
 
如何办理英国卡迪夫大学毕业证(Cardiff毕业证书)成绩单留信学历认证
如何办理英国卡迪夫大学毕业证(Cardiff毕业证书)成绩单留信学历认证如何办理英国卡迪夫大学毕业证(Cardiff毕业证书)成绩单留信学历认证
如何办理英国卡迪夫大学毕业证(Cardiff毕业证书)成绩单留信学历认证
 
The Significance of Transliteration Enhancing
The Significance of Transliteration EnhancingThe Significance of Transliteration Enhancing
The Significance of Transliteration Enhancing
 
如何办理哥伦比亚大学毕业证(Columbia毕业证)成绩单原版一比一
如何办理哥伦比亚大学毕业证(Columbia毕业证)成绩单原版一比一如何办理哥伦比亚大学毕业证(Columbia毕业证)成绩单原版一比一
如何办理哥伦比亚大学毕业证(Columbia毕业证)成绩单原版一比一
 
How to Transform Clinical Trial Management with Advanced Data Analytics
How to Transform Clinical Trial Management with Advanced Data AnalyticsHow to Transform Clinical Trial Management with Advanced Data Analytics
How to Transform Clinical Trial Management with Advanced Data Analytics
 
Data Visualization Exploring and Explaining with Data 1st Edition by Camm sol...
Data Visualization Exploring and Explaining with Data 1st Edition by Camm sol...Data Visualization Exploring and Explaining with Data 1st Edition by Camm sol...
Data Visualization Exploring and Explaining with Data 1st Edition by Camm sol...
 
Jual Obat Aborsi Bandung (Asli No.1) Wa 082134680322 Klinik Obat Penggugur Ka...
Jual Obat Aborsi Bandung (Asli No.1) Wa 082134680322 Klinik Obat Penggugur Ka...Jual Obat Aborsi Bandung (Asli No.1) Wa 082134680322 Klinik Obat Penggugur Ka...
Jual Obat Aborsi Bandung (Asli No.1) Wa 082134680322 Klinik Obat Penggugur Ka...
 

♨️How To Use DataPump (EXPDP) To Export From Physical Standby….pdf

  • 1. ♨ How To Use DataPump Export (EXPDP) To Export From Physical Standby Database. This document describes how to successfully execute DataPump Export to export data from a Physical Standby database. Taking dump fi le from a large primary database for some reason can be a challenge for DBA. Although existing features such as parallelism can be speed up process but this load cannot be tolerated on the production database. So once solution is taking dump on standby. SOLUTION It's important to know that Data Pump Export (expdp) cannot be executed directly on the Physical Standby database. This is due to the fact that Data Pump Export needs to create and maintain a Master Table which requires that a database would be open in "READ WRITE" mode. Therefore it is necessary to connect from a "non-Standby" database (which will maintain the Master Table) to the Physical Standby database using parameter NETWORK_LINK. The NETWORK_LINK parameter initiates an export by using a valid database link. This means that the system to which the expdp client is connected contacts the Physical Standby database referenced by the source_database_link, retrieves data from it, and writes the data to a dump fi le set back on the connected system. The Physical Standby database must be opened in "READ ONLY" mode. Steps to execute to export from Physical Standby Database On Physical Standby Database: -- Connect to Physical Standby database and check its status SQL> select instance_name, status from v$instance; INSTANCE_NAME STATUS ---------------- ------------ <STDBY_DB_NAME> MOUNTED -- Cancel managed recovery and open database in "READ ONLY" mode. SQL> alter database recover managed standby database cancel; SQL> alter database open read only; -- Verify database status SQL> select instance_name, status from v$instance; INSTANCE_NAME STATUS ---------------- ------------ <STDBY_DB_NAME> OPEN SQL> select open_mode from v$database;
  • 2. OPEN_MODE -------------------- READ ONLY On "Non Standby" Database (another database as a proxy, this can be a light with minimal resource and use only for this way. -- create DB Link, Oracle Directory and test it SQL> create database link expdp_primary connect to system identi fi ed by <password> using ‘standby_database’; SQL> select db_unique_name from v$database; SQL> select db_unique_name from v$database@expdp_primary; SQL> create directory datapump as ‘/tmp’; -- Use NETWORK_LINK to database link above to connect to the Physical Standby database: $expdp system/<password> directory=datapump network_link=expdp_primary full=y dump fi le=standby_database.dmp log fi le=standby_database.log ♨ Also another option is convert standby database to snapshot and take export pump and fi nally comver to physical standby. This can done by a manual script under a job. ********************************* Typical Errors when exporting from Physical Standby databases ISSUE: UDE-01033: operation generated ORACLE error 1033 ORA-01033: ORACLE initialization or shutdown in progress UDE-00003: all allowable logon attempts failed CAUSE: •No NETWORK_LINK parameter was used to connect to Physical Standby database - AND - •Physical Standby runs in "MOUNTED" state SOLUTION: •Use NETWORK_LINK={database link} to connect Physical Standby database. •Make sure that a valid database link exists to connect to Standby database. •Run Physical Standby database in "READ ONLY" mode. ISSUE: ORA-39006: internal error ORA-39065: unexpected master process exception in DISPATCH ORA-01033: ORACLE initialization or shutdown in progress ORA-02063: preceding line from {database link}
  • 3. ORA-39097: Data Pump job encountered unexpected error -1033 CAUSE: •Physical Standby runs in "MOUNTED" state SOLUTION: •Connect to Physical Standby database to open the database in "READ ONLY MODE". Some recommendations for taking dump on large databases: - Use standby to prevent load a ff ected on primary database. - Use parallelism to use more process and minimize time. - Take dump as data_only fi rst - Take all indexes as a sql fi le by import - Run DDL commands from multiple sessions at the same time to index creation - Exclude statistsics from export if possible - For partitions table use merge option if possible - Optimize STREAMS_POOL_SIZE param - Set AQ_TM_PROCESSES>0 if possible - On Rac PARALLEL_FORCE_LOCAL=TRUE Regards, Alireza Kamrani