Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3184

Oracle Upgrade - Pre-upgrade scripts - Errors (invalid objects)

$
0
0

Hello,

 

I´m doing an Oracle database upgrade (from 10.2.0.5 to 11.2.0.4) in a windows server 2003 x64.

 

Now I´m facing one problem, I have some doubts in how to solve/overcome some errors/warnings when I run the pre_upgrade scripts (1431793 - Oracle 11.2.0: Upgrade Scripts) before I run the dbua wizard to perform the real upgrade of oracle version!

24-12-2015 17.05.52.jpg

 

The output of pre_upgrade_status and pre_upgrade_tasks shows some warnings and errors:

**********************************************************************                        
Update Parameters: [Update Oracle Database 11.2 init.ora or spfile]                           
Note: Pre-upgrade tool was run on a lower version 64-bit database.                            
**********************************************************************                        
--> If Target Oracle is 32-Bit, refer here for Update Parameters:                             
WARNING: --> "shared_pool_size" needs to be increased to at least 236 MB                      
.                                                                                             
                                                                                              
--> If Target Oracle is 64-Bit, refer here for Update Parameters:                             
WARNING: --> "shared_pool_size" needs to be increased to at least 472 MB                      
.                                                                                             
**********************************************************************                        
Renamed Parameters: [Update Oracle Database 11.2 init.ora or spfile]                          
**********************************************************************                        
-- No renamed parameters found. No changes are required.                                      
.                                                                                             
**********************************************************************                        
Obsolete/Deprecated Parameters: [Update Oracle Database 11.2 init.ora or spfile]              
**********************************************************************                        
--> remote_os_authent        11.1   DEPRECATED                                        
--> background_dump_dest     11.1   DEPRECATED   replaced by  "diagnostic_dest"       
--> user_dump_dest           11.1   DEPRECATED   replaced by  "diagnostic_dest"       
.                                                                                             
                                                                                              
**********************************************************************                        
Components: [The following database components will be upgraded or installed]                 
**********************************************************************                        
--> Oracle Catalog Views     [upgrade]  VALID                                             
--> Oracle Packages and Types[upgrade]  INVALID                                           
.                                                                                             
**********************************************************************                        
Miscellaneous Warnings                                                                        
**********************************************************************                        
WARNING: --> Database is using a timezone file older than version 14.                         
.... After the release migration, it is recommended that DBMS_DST package                     
.... be used to upgrade the 10.2.0.5.0 database timezone version                              
.... to the latest version which comes with the new release.                                  
WARNING: --> Database contains INVALID objects prior to upgrade.                              
.... The list of invalid SYS/SYSTEM objects was written to                                    
.... registry$sys_inv_objs.                                                                   
.... The list of non-SYS/SYSTEM objects was written to                                        
.... registry$nonsys_inv_objs.                                                                
.... Use utluiobj.sql after the upgrade to identify any new invalid                           
.... objects due to the upgrade.                                                              
.... USER SYS has 19 INVALID objects.                                                         
WARNING: --> JOB_QUEUE_PROCESS value must be updated                                          
.... Your current setting of "1" is too low.                                                  
                                                                                              
.... Starting with Oracle Database 11g Release 2 (11.2), setting                              
.... JOB_QUEUE_PROCESSES to 0 causes both DBMS_SCHEDULER and                                  
.... DBMS_JOB jobs to not run. Previously, setting JOB_QUEUE_PROCESSES                        
.... to 0 caused DBMS_JOB jobs to not run, but DBMS_SCHEDULER jobs were                       
.... unaffected and would still run. This parameter must be updated to                        
.... a value greater than 4  (default value is 1000) prior to upgrade.                        
.... Not doing so will affect the running of utlrp.sql after the upgrade

 

 

I also run the following SQL command and it show me 19 invalid objects:

 

select object_name from dba_objects where status='INVALID';

SNAG-0191.jpg

 

My doubts... are how can I correct this invalid objects!? The upgrade guide and the sap notes doesn´t describe any details about it! Can you guide me please and help me to understand how to correct this invalid objects before I run the DBUA upgrade!?

 

Thank you,

João Dimas


Viewing all articles
Browse latest Browse all 3184

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>