Oracle数据库数据恢复、性能优化

找回密码
注册
搜索
热搜: 活动 交友 discuz
发新帖

2135

积分

502

好友

184

主题
1#
发表于 2012-4-19 23:49:08 | 查看: 3770| 回复: 0
Character Sets and SPfiles  By Tony Jambu

If you have a database with a 7 bit character set, for example US7ASCII, this
would imply that your database was probably created in Oracle 7 or 8 when
the default character set was US7ASCII.
Background information: A particular 10g database I was working on uses the
US7ASCII character set. Now this is a 7 bit character set that represents the
universal 128 characters with which we are familiar ( www.asciitable.com).
select value from NLS_DATABASE_PARAMETERS where parameter=’NLS_CHARACTERSET’;
US7ASCII
Its data needed to be migrated to an 8 bit character set, WE8ISO8859P1.
Beginning with Oracle 10g, there is a utility called CSSCAN that does a
pre-migration check to see if the current data in the database can be migrated
to the new character set.
csscan FROMCHAR=US7ASCII TOCHAR=WE8ISO8859P1
It will then report if the character migration would be successful. It does this
by scanning every block in the database and checking if the current character
can be migrated to the new character set.
There are four possible outcomes from the scan.
Changeless No additional work is required (Good)
Convertible Means the data must be converted and we have to export the
table before the change and then import it (Not good—very
time-consuming)
Truncation The converted data will not fit in the current column size.
Column needs to be increased before exporting the table,
then the migration followed by the import. (Not good)
Lossy Data does not have a valid code point in the target character set,
i.e. it does not exist. Every ‘lossy’ character will be converted to
the _same_ undefined character e.g., “” or “?” (Not good)
We were very fortunate that the results of the scan were all Changeless.


Character Sets and SPfiles.pdf (165.44 KB, 下载次数: 2, 售价: 10 金钱)
下载专业ORACLE数据库恢复工具PRM-DUL  For Oracle http://www.parnassusdata.com/zh-hans/emergency-services

如果自己搞不定可以找诗檀软件专业ORACLE数据库修复团队成员帮您恢复!

诗檀软件专业数据库修复团队

服务热线 : 13764045638  QQ: 47079569   
您需要登录后才可以回帖 登录 | 注册

QQ|手机版|Archiver|Oracle数据库数据恢复、性能优化

GMT+8, 2024-5-17 18:39 , Processed in 0.051638 second(s), 25 queries .

Powered by Discuz! X2.5

© 2001-2012 Comsenz Inc.

回顶部
TEL/電話+86 13764045638
Email service@parnassusdata.com
QQ 47079569