First, before preparing the database migration
- Check Database Version
su - oracle [oracle@host ~] $sqlplus / as sysdba SQL > select * from v$version
- OS View information
SQL > select dbms_utility.prot_string from dual;
- View user database information
SQL > select * from dba_users;
- View database instance information
SQL > select instance_name ,status from v$instance;
- Information query the database DBID
SQL > select dbid from v$instance;
- Query archive path
SQL > archive log list;
- Query the database log file path
SQL > select name from v$controlfile;
- Query parameter file path
SQL > show parameter pfile;