從oracle817升到1201(或之後)必須作的工作

wisdomone1發表於2009-12-02

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部落格 ” ,連結:http://blog.itpub.net/9240380/viewspace-621217/,如需轉載,請註明出處,否則將追究法律責任。

相關文章