zoukankan      html  css  js  c++  java
  • csscan的一些tip

    早上遇到朋友在问,将老库的数据迁移到新库,字符集不一样,怎么去检查.

    如果是新库是超集的),那一般是没问题,不会出现乱码的(子集与超集可参考[ID 119164.1])

    如果需要出个啥检查报告之类的,那么oracle官方提供了一个叫做csscan的工具,来进行检查.

    字符集可以参考网上的文章:http://space.itpub.net/8475224/viewspace-692675

    csscan的使用需要先安装:

    $sqlplus /nolog
    SQL>conn / as sysdba
    SQL>@@?/rdbms/admin/csminst.sql
    SQL>exit

    csscan的使用:

    csscan pmis/pmis full=y tochar=AL32UTF8  array=2048000 process=4

    扫描完成后,会生成3个报告:

    [oracle@pmiscs ~]$ ls -lrt scan*
    -rw-r--r-- 1 oracle oinstall   869377 May 29 09:37 scan.txt
    -rw-r--r-- 1 oracle oinstall   426450 May 29 09:38 scan.out
    -rw-r--r-- 1 oracle oinstall 11256281 May 29 09:38 scan.err

    根据scan.txt和scan.err可以进行分析

    csscan参考:
    Note 745809.1 Installing and configuring CSSCAN in 10g and 11g
    Note 458122.1 Installing and configuring CSSCAN in 8i and 9i
    Note 444701.1 Csscan output explained

  • 相关阅读:
    Linux 常用命令
    去除重叠区间
    Python 小工具之大文件去重
    有趣的pyfiglet
    杨辉三角
    Paginator分页
    Linux用户和用户组
    Grub介绍
    Linux系统运行级别
    Linux系统启动流程
  • 原文地址:https://www.cnblogs.com/nazeebodan/p/3105440.html
Copyright © 2011-2022 走看看