Why does a database imported from a production dump not have the same csscan as the original db [message #626474] |
Tue, 28 October 2014 05:53 |
|
juniordbanewbie
Messages: 250 Registered: April 2014
|
Senior Member |
|
|
Hi,
I've a production db having the following character set
SYS@orcl1>select * from gv$nls_parameters where parameter='NLS_CHARACTERSET';
INST_ID PARAMETER
---------- ----------------------------------------------------------------
VALUE
----------------------------------------------------------------
1 NLS_CHARACTERSET
WE8MSWIN1252
I have a dev db having the following character set
SYS@nowatz1>select * from gv$nls_parameters where parameter='NLS_CHARACTERSET';
INST_ID PARAMETER
---------- ----------------------------------------------------------------
VALUE
----------------------------------------------------------------
1 NLS_CHARACTERSET
WE8MSWIN1252
2 NLS_CHARACTERSET
WE8MSWIN1252
for nowatz db the partial csscan.txt is as follow
Data Dictionary Tables:
Datatype Changeless Convertible Truncation Lossy
--------------------- ---------------- ---------------- ---------------- ----------------
VARCHAR2 4,741,147 0 0 0
-------------------------------------------------------------------------------------------------------------------------
The data dictionary can be safely migrated using the CSALTER script
for orcl partial cscan.txt output will be
Datatype Changeless Convertible Truncation Lossy
--------------------- ---------------- ---------------- ---------------- ----------------
VARCHAR2 21,263,330 1 0 0
The data dictionary can not be safely migrated using the CSALTER script
So Why does a database imported from a production dump not have the same csscan.txt as the original db? More importantly is using the proper rman backup and restore techniques the only way to guarantee that the auxiliary database will face the same character set problem as the source.
thanks a lot!
[Updated on: Tue, 28 October 2014 06:04] Report message to a moderator
|
|
|
|
|
|
|
|