ITPub博客

首页 > Linux操作系统 > Linux操作系统 > 从oracle817升到1201(或之后)必须作的工作

从oracle817升到1201(或之后)必须作的工作

原创 Linux操作系统 作者:wisdomone1 时间:2009-12-02 17:19:36 0 删除 编辑

Tasks to Complete Only After Upgrading a Release 8.1.7 Database


Upgrade User NCHAR Columns


To upgrade user tables with NCHAR columns, perform. the following steps:

  1. Log in to the system as the owner of the Oracle home directory.

  2. At a system prompt, change to the ORACLE_HOME/rdbms/admin directory.

  3. Start SQL*Plus.

  4. Connect to the database instance as a user with SYSDBA privileges.

  5. If the instance is running, shut it down using SHUTDOWN IMMEDIATE:

    SQL> SHUTDOWN IMMEDIATE
  6. Start up the instance in RESTRICT mode:

    SQL> STARTUP RESTRICT

    You may need to use the PFILE option to specify the location of your initialization parameter file.

  7. Run utlnchar.sql:

    SQL> @utlnchar.sql

    Alternatively, to override the default upgrade selection, run n_switch.sql:

    SQL> @n_switch.sql
  8. Shut down the instance:

    SQL> SHUTDOWN IMMEDIATE
  9. Exit SQL*Plus.




Table 5-1 The COMPATIBLE Initialization Parameter

Oracle Database Release Default Value Minimum Value Maximum Value

Oracle8i release 8.1.7

8.0.0

8.0.0.0.0

8.1.7.x.x

Oracle9i release 9.0.1

8.1.0

8.1.0.0.0

9.0.1.x.x

Oracle9i release 9.2

8.1.0

8.1.0.0.0

9.2.0.x.x

Oracle Database 10g release 10.1

10.0.0

9.2.0.0.0

10.1.0.x.x

Oracle Database 10g release 10.2

10.2.0

9.2.0.0.0

10.2.0.x.x



来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/9240380/viewspace-621217/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论
提供针对oracle初学者及进阶的数据库培训,欢迎大家咨询: 微信: wisdomone 微信公众号: lovedb 工作经历: 中国普天 北京科蓝 北京云和恩墨 北京神州新桥

注册时间:2008-04-04

  • 博文量
    2189
  • 访问量
    12689897