Professional Documents
Culture Documents
6 using 'DBUA'
SQL> @ORACLE_HOME\rdbms\admin\utlu111i.sql
And then check the output of this command and configure the warning in this output
review upgrade guide for more information
After upgrading to Oracle Database 11g Release 1 (11.1) from Oracle9i Release 2 (9.2)
Or Oracle Database 10g Release 1 (10.1), the CONNECT role has only the CREATE
SESSION privilege; the other privileges number granted to the CONNECT role in earlier
releases are revoked during the upgrade. To identify which users and roles in your
database are granted the CONNECT role, use the following query
The time zone files that are supplied with Oracle Database 11g Release 1 (11.1) have
Been updated from version v1 to version v4 to reflect changes in transition rules for some
Time zone regions.
then you must update your time zone from v1 to v4 before the upgrade process. If you
upgrade without do that you will see error during upgrade process 'invalid number'.
2- Apply the patch number 5845928 from the metal ink and review the read me
attachment.
If you don’t able to apply this patch because your pat chest utility you can make it
manually by read Note: 396387.1
When upgrading to Oracle Database 11g Release 1 (11.1), optimizer statistics are
Collected for dictionary tables that lack statistics. This statistics collection can be time
Consuming for databases with a large number of dictionary tables
Spool gdict
exec dbms_stats.gather_schema_stats('WMSYS',options=>'GATHER', -
estimate_percent => DBMS_STATS.AUTO_SAMPLE_SIZE, -
method_opt => 'FOR ALL COLUMNS SIZE AUTO', cascade => TRUE);
exec dbms_stats.gather_schema_stats('MDSYS',options=>'GATHER', -
estimate_percent => DBMS_STATS.AUTO_SAMPLE_SIZE, -
method_opt => 'FOR ALL COLUMNS SIZE AUTO', cascade => TRUE);
exec dbms_stats.gather_schema_stats('CTXSYS',options=>'GATHER', -
estimate_percent => DBMS_STATS.AUTO_SAMPLE_SIZE, -
method_opt => 'FOR ALL COLUMNS SIZE AUTO', cascade => TRUE);
exec dbms_stats.gather_schema_stats('XDB',options=>'GATHER', -
estimate_percent => DBMS_STATS.AUTO_SAMPLE_SIZE, -
method_opt => 'FOR ALL COLUMNS SIZE AUTO', cascade => TRUE);
exec dbms_stats.gather_schema_stats('WKSYS',options=>'GATHER', -
estimate_percent => DBMS_STATS.AUTO_SAMPLE_SIZE, -
method_opt => 'FOR ALL COLUMNS SIZE AUTO', cascade => TRUE);
exec dbms_stats.gather_schema_stats('SYSTEM',options=>'GATHER', -
estimate_percent => DBMS_STATS.AUTO_SAMPLE_SIZE, -
method_opt => 'FOR ALL COLUMNS SIZE AUTO', cascade => TRUE);
exec dbms_stats.gather_schema_stats('SYS',options=>'GATHER', -
estimate_percent => DBMS_STATS.AUTO_SAMPLE_SIZE, -
method_opt => 'FOR ALL COLUMNS SIZE AUTO', cascade => TRUE);
spool off
You must remove the old listener before creating a new one. If you attempt to
Create a new listener from the new Oracle home first, and use the same name and
Port as the old listener, then Oracle Net Configuration Assistant returns an error.
4 - Upgrade a Database Using Database Upgrade Assistant
Run DBUA from 11g home you can the steps in oracle 11g upgrade guide.
Note.
If you face problem with configuration enterprise manager you can skip this step and
open cmd and write this command.
feedback
Mohamed_ocp2008@hotmail.com