This section of the Readme contains the following sub-sections:
Section 2.1, “Nomenclature Changes”
Section 2.2, “Compatibility, Upgrading, Downgrading, and Installation”
Section 2.3, “Features Not Available or Restricted in 11.2.0.2″
Section 2.4, “Default Behavior Changes”
Section 2.5, “Automatic Storage Management”
Section 2.7, “Oracle Enterprise Manager Database Control”
Section 2.8, “Database Security”
Section 2.9, “Encryption and Integrity”
Section 2.10, “Java and Web Services”
Section 2.11, “Media Management Software”
Section 2.12, “Oracle Application Express”
Section 2.13, “Oracle Client Applications”
Section 2.14, “Oracle Configuration Manager”
Section 2.15, “Oracle Data Mining”
Section 2.16, “Oracle Internet Directory”
Section 2.17, “Oracle Multimedia”
Section 2.18, “Oracle Net Services”
Section 2.19, “Oracle Real Application Clusters”
Section 2.20, “Oracle Grid Infrastructure for a Cluster”
Section 2.21, “Oracle Real Application Testing”
Section 2.22, “Oracle ODBC Driver”
Section 2.24, “Oracle Spatial”
Section 2.25, “Oracle SQL Developer”
Section 2.27, “Oracle Ultra Search”
Section 2.28, “Oracle Warehouse Builder”
Section 2.29, “Oracle Workflow”
Section 2.36, “Summary Management”
Section 2.37, “Oracle Streams”
Section 2.38, “Documentation Addendum”
2.1 Nomenclature Changes
Note the following nomenclature changes:
- Flash Recovery Area has been renamed to Fast Recovery Area.
- The name Oracle interMedia was changed to Oracle Multimedia in Oracle Database 11g Release 1 (11.1). The feature remains the same, only the name has changed.
2.2 Compatibility, Upgrading, Downgrading, and Installation
For late-breaking updates and best practices about preupgrade, post-upgrade, compatibility, and interoperability discussions, see Note 785351.1 on My Oracle Support (formerly OracleMetaLink at
https://metalink.oracle.com/) that links to the “Upgrade Companion” web site for Oracle Database 11g Release 2.Caution:
After installation is complete, do not manually remove or run
cronjobs that remove/tmp/.oracle or /var/tmp/.oracledirectories or their files while Oracle software is running. If you remove these files, then Oracle software can encounter intermittent hangs. Oracle Grid Infrastructure for a cluster and Oracle Restart installations fail with the following error:CRS-0184: Cannot communicate with the CRS daemon.2.2.1 Multiple Interconnects and Oracle ACFS
If you have Oracle ACFS file systems on Oracle Grid Infrastructure for a cluster 11g release 2 (11.2.0.1), you upgrade Oracle Grid Infrastructure for a cluster to 11g release 2 (11.2.0.2), and you take advantage of Redundant Interconnect Usage and add one or more additional private interfaces to the private network, then you must restart the Oracle ASM instance on each upgraded cluster member node (reference Bug 9969133).
2.2.2 Deinstallation Restrictions
The following sections describe deinstallation and deconfiguration restrictions. See Section 2.39.2, “Deinstallation Tool Known Bugs” for additional information.
2.2.2.1 Deinstall Upgraded 11.2 Oracle RAC and Oracle Grid Infrastructure for a Cluster Homes
After you deconfigure and deinstall an upgraded Oracle Database 11g Release 2 (11.2) Oracle RAC home and to deconfigure and deinstall an 11.2 Oracle Grid Infrastructure for a cluster home, you must detach any pre-11.2 Oracle RAC software homes from the central Inventory (reference Bug 8666509).
Detach the pre-11.2 Oracle RAC homes from the central inventory with the following command:
$ORACLE_HOME/oui/bin/runInstaller -detachHome ORACLE_HOME_NAME=pre-11.2_ORACLE_HOME_NAME ORACLE_HOME=pre-11.2_ORACLE_HOME2.2.2.2 Error When Running Deinstallation from an Existing Oracle Home With the -home Option
If you try to run the
deinstalltool from the product home with the-homeoption, then the deinstallation fails with the following error message:$ ./deinstall -home /scratch/user_dir/oracle/product/11.2.0/dbhome_1 Error: invalid argument -home. Since the tool is run from inside an Oracle Home it will deinstall the home the tool is installed in. You cannot specify another home.Because the
deinstalltool is run from within an Oracle home, thedeinstalltool cannot be run with the-homeoption. Thedeinstalltool can only be run as./deinstallfrom within an Oracle home.2.2.3 Time Zone File Version
Oracle Database 11g Release 2 (11.2) ships with time zone file versions 1 through 14. If your older database is using a time zone file version greater than 14, then you must obtain the corresponding time zone file patch for 11.2 prior to upgrading your database.
You can use
SELECT VERSION FROM V$TIMEZONE_FILEto identify the time zone file version when upgrading your Oracle Database 10g or 11g databases. The Pre-Upgrade Information Tool (utlu112i.sqland its counterpart used by the Database Upgrade Assistant) provides a warning if the time zone file version is not version 11. The warning recommends running theDBMS_DSTpackage to upgrade the database time zone version to the latest and to updateTIMESTAMP WITH TIME ZONEdata as well. The Pre-Upgrade Information Tool also populates three new database properties (DST_PRIMARY_TT_VERSION,DST_SECONDARY_TT_VERSION, andDST_UPGRADE_STATE) insys.database_propertiesthat are pertinent to the time zone version and its upgrade.DST_PRIMARY_TT_VERSIONproperty records the actual time zone version in use. The other two database properties will be used when you upgrade your time zone version usingDBMS_DSTpackage.Note that, in this release, you have the option to retain your current time zone version after migrating to 11.2. For example, whether your application uses any
TIMESTAMP WITH TIME ZONEtype, you do not need to run theDBMS_DSTpackage to upgrade your time zone version to the latest one available.2.2.4 Oracle ASM Rolling Upgrade
Oracle Automatic Storage Management (Oracle ASM) rolling upgrade check does not allow rolling upgrade to be done from 11.1.0.6 to any later release (reference Bug 6872001). The following message is reported in the alert log:
Rolling upgrade from 11.1.0.6 (instance instance-number) to 11.x.x.x is not supported
ORA-15156is signalled by LMON which will then terminate the instance.When trying to upgrade Oracle ASM from 11.1.0.6 to a later release of Oracle ASM, apply the patch for this bug to 11.1.0.6 instances before rolling upgrade starts. This patch can be applied to 11.1.0.6 instances in a rolling fashion.
2.2.5 UTC Time Zone Error When Upgrading From 9.2 to 11.2
When running upgrade scripts from Oracle9i Database Release 2 (9.2) to Oracle Database 11g Release 2 (11.2), you may encounter the following error:
ORA-27465: invalid value UTC for attribute DEFAULT_TIMEZONEThis error occurs because the default time zone file for release 9.2 does not have the coordinated universal time (UTC) zone. This message is produced by Oracle Scheduler that, by default, selects the UTC time zone and checks it against the default time zone file of release 9.2. This error message is expected and you can ignore it.
2.2.6 Tablespace and Fast Recovery Area Sizing
Note:
Fast Recovery was previously known as Flash Recovery.
The Oracle Database 11g Pre-Upgrade Information Utility (
utlu112i.sql) estimates the additional space that is required in theSYSTEMtablespace and in any tablespaces associated with the components that are in the database (for example,SYSAUX,DRSYS). For a manual upgrade, be sure to run this utility on your existing database prior to upgrading.The tablespace size estimates may be too small, especially if Oracle XML DB is installed in your database. However, to avoid potential space problems during either a manual upgrade or an upgrade using the Database Upgrade Assistant (DBUA), you can set one data file for each tablespace to
AUTOEXTEND ON MAXSIZE UNLIMITEDfor the duration of the upgrade.If you are using file systems for data file storage, then be sure there is adequate space in the file systems for tablespace growth during the upgrade.
If you are using a Fast Recovery Area, then check that the size available is sufficient for the redo generated during the upgrade. If the size is inadequate, then an
ORA-19815error will be written to the alert log, and the upgrade will stop until additional space is made available.2.2.7 Memory Target for Oracle Database Instances
Running Database Configuration Assistant (DBCA) defaults to this Automatic Memory Management option. In the case of upgrade or manual database creation,
MEMORY_TARGETcan be specified in the initialization parameter file.2.2.8 Upgrading a Database With Oracle Data Mining (ODM)
If you upgrade a database with the Data Mining option from 11.2.0.1 to 11.2.0.2, make sure that the
DMSYSschema does not exist in your 11.2.0.1 database (reference Bug 9694190). If it does, you should drop theDMSYSschema and its associated objects from the database as follows:SQL> CONNECT / AS SYSDBA; SQL> DROP USER DMSYS CASCASE; SQL> DELETE FROM SYS.EXPPKGACT$ WHERE SCHEMA = 'DMSYS'; SQL> SELECT COUNT(*) FROM DBA_SYNONYMS WHERE TABLE_OWNER = 'DMSYS';If the above SQL returns non-zero rows, create and run a SQL script as shown in the following example:
SQL> SET HEAD OFF SQL> SPOOL dir_path/DROP_DMSYS_SYNONYMS.SQL SQL> SELECT 'Drop public synonym ' ||'"'||SYNONYM_NAME||'";' FROM DBA_SYNONYMS WHERE TABLE_OWNER = 'DMSYS'; SQL> SPOOL OFF SQL> @dir_path/DROP_DMSYS_SYNONYMS.SQL SQL> EXIT;If you upgrade a database from 10g to 11.2, all Data Mining metadata objects are migrated from
DMSYStoSYS. After the upgrade, when you determine that there is no need to perform a downgrade, set the initialization parameterCOMPATIBLEto 11.2 and drop theDMSYSschema and its associated objects as described above.2.2.9 Compatibility with Oracle9i Database Release 2
Connecting the Oracle Database 11g Release 2 (11.2) client or server to Oracle9i Database release (9.2.0.4 and above) is supported. Similarly, connecting Oracle9i client (release 9.2.0.4 and above) to Oracle Database 11g Release 2 (11.2) is supported.
2.2.10 Enabling Automated Backups
While installing Oracle Database, the Specify Backup and Recovery Options screen may appear truncated if your system does not have the required fonts installed. If your system has only fixed-width fonts, then you may not be able to fully specify the required information in the Backup Job Credentials area of the screen. To work around this issue, do not select Enable Automated Backups on this screen. After the installation is complete, use Oracle Enterprise Manager 11g Database Control to enable automated backups.
2.2.11 Upgrading a Database With SQL Access Advisor Tasks
Due to internal structural changes to the SQL Access Advisor repository, a database upgrade resets all of the existing SQL Access Advisor tasks to their initial state. This action effectively deletes all of the recommendation information for tasks that have been successfully completed prior to the upgrade.
After upgrading, the recommendation information can be restored by reexecuting the existing SQL Access Advisor tasks.
2.2.12 Downgrade to Release 11.1.0.6
If you anticipate downgrading back to release 11.1.0.6, then apply the patch for Bug 7634119. This action avoids the following
DBMS_XS_DATA_SECURITY_EVENTSerror:PLS-00306: wrong number or types of arguments in call to 'INVALIDATE_DSD_CACHE' DBMS_XS_DATA_SECURITY_EVENTS PL/SQL: Statement ignoredApply this patch prior to running
catrelod.sql.2.2.13 Rolling Upgrade for Oracle Clusterware
In Oracle Database 11g Release 2 (11.2), there is a new prerequisite check during the rolling Oracle Clusterware upgrade cycle. On failure of this prerequisite check, the Oracle Database Upgrade Guide documents the following:
- When upgrading Oracle Clusterware from Oracle Clusterware 10g Release 2 (10.2) to Oracle Clusterware 11g Release 2 (11.2), you must first apply the patchset version 10.2.0.3.0 or later to your existing Oracle Clusterware before it can be upgraded.
Follow the rolling upgrade procedure in Appendix F.5.1 of the Oracle Grid Infrastructure Installation Guide.
Apart from this proposed solution, there is an alternative. You can upgrade all of the nodes of the cluster simultaneously in a non-rolling manner. Choosing this solution voids the 10.2.0.3.0 patchset requirement.
2.2.14 Upgrading With Objects in the Recycle Bin
The recycle bin must be empty during an upgrade to avoid possible
ORA-00600deadlock errors, as well as to minimize the time required to perform the upgrade (reference Bug 8632581).To avoid this deadlock, use the
PURGE DBA_RECYCLEBINstatement to remove items and their associated objects from the recycle bin and release their storage space prior to upgrading your database.2.2.15 ACFS Registry May Be in an Inconsistent State After Installing or Upgrading to 11.2.0.2.0 or After a CRS Stack Restart
The
ora.acfs.registryresource may be in an inconsistent state after installing or upgrading to 11.2.0.2.0 or after a CRS stack restart (reference Bug 9878976, Bug 9876173 and Bug 9864447):
- After completing a new 11.2.0.2.0 installation, if the voting disk or the Oracle Cluster Registry (OCR) or both are on Oracle ASM, then
ora.registry.acfswill have the following values:./crsctl status resource ora.registry.acfs NAME=ora.registry.acfs TYPE=ora.registry.acfs.type TARGET=ONLINE, ONLINE STATE=ONLINE, ONLINE(Note that
ora.asmwill be inSTATE ONLINE,TARGET ONLINE.)However, if the voting disk or the Oracle Cluster Registry (OCR) or both are not on Oracle ASM, then
ora.registry.acfswill have the following values:./crsctl status resource ora.registry.acfs NAME=ora.registry.acfs TYPE=ora.registry.acfs.type TARGET=ONLINE , ONLINE STATE=OFFLINE, OFFLINE(Note that
ora.asmwill be inSTATE OFFLINE,TARGET OFFLINE.)- After completing an upgrade from 11.2.0.1.0 to 11.2.0.2.0,
TARGETandSTATEforora.registry.acfswill be set to the value they were in 11.2.0.1.0, prior to upgrading to 11.2.0.2.0.- At any time, if the CRS stack is restarted, ora.registry.acfs will have the following values:
./crsctl status resource ora.registry.acfs NAME=ora.registry.acfs TYPE=ora.registry.acfs.type TARGET=ONLINE , ONLINE STATE=ONLINE, ONLINE(Note that
ora.asmwill be inSTATE ONLINE,TARGET ONLINE.)It is not necessary to take any action, however, if desired, to disable ACFS, enter the command
acfsroot unregister, which will remove theora.registry(andora.drivers) resources completely.2.2.16 ACFS File Systems Must be Manually Unmounted Prior to Upgrade, Deinstallation, or Direct Shutdown of CRS Stack or Oracle ASM
ACFS file systems must be manually unmounted prior to upgrade, deinstallation, or direct shutdown of CRS stack or Oracle ASM. Also manually unmount non-ACFS file systems which are running over ADVM. This is also recommended when rebooting the system (reference Bug 8594128, Bug 9798538 and Bug 9547527).
When doing an upgrade, deinstallation, or direct shutdown of the CRS stack or Oracle ASM, to ensure that the CRS stack (or Oracle ASM) comes down cleanly, you must unmount all Oracle ACFS file systems manually prior to the CRS stack shutdown. Use the
lsofandfusercommands (Linux and UNIX) or thehandleandwmiccommands (Windows) to identify processes which are active on the ACFS file systems. Then, to ensure that these processes are no longer active, unmount all ACFS file systems and issue CRS stack shutdown. Otherwise errors may be issued during CRS stack shutdown relating to activity on Oracle ACFS file systems which will preclude successful shutdown of the CRS stack.2.2.17 Data Pump Export Operations Do Not Work if the DMSYS Schema is Not Removed as Part of the Upgrade to 11.2.0.2
Data Pump Export operations do not work if the
DMSYSschema is not removed as part of the upgrade to 11.2.0.2 (reference Bug 10007411). The reported error is similar to the following:Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA ORA-39126: Worker unexpected fatal error in KUPW$WORKER.GET_TABLE_DATA_OBJECTS [] ORA-31642: the following SQL statement fails: BEGIN "DMSYS"."DBMS_DM_MODEL_EXP".SCHEMA_CALLOUT(:1,0,1,'10.01.00.05.00'); END; ORA-06512: at "SYS.DBMS_SYS_ERROR", line 86 ORA-06512: at "SYS.DBMS_METADATA", line 1245 ORA-04063: package body "DMSYS.DBMS_DM_MODEL_EXP" has errors ORA-06508: PL/SQL: could not find program unit being called: "DMSYS.DBMS_DM_MODEL_EXP"The pre-upgrade checks for 11.2.0.2 report the action that should be taken before the upgrade:
The DMSYS schema exists in the database. Prior to performing an upgrade Oracle recommends that the DMSYS schema, and its associated objects be removed from the database. Refer to the Oracle Data Mining Administration Guide for the instructions on how to perform this task.Until this step is taken, Data Pump Export will not work.
2.2.18 catrelod.sql Fails if the Time Zone File Version Used by the Database Does Not Exist in Oracle Home
The following error is returned when
catrelod.sqlis run as part of the downgrade process if you previously installed a recent version of the time zone file and used theDBMS_DSTPL/SQL package to upgradeTIMESTAMP WITH TIME ZONEdata to that version (reference Bug 9803834):ORA-00600: internal error code, arguments: [qcisSetPlsqlCtx:tzi init], [], [], [], [], [], [], [], [], [], [], []See Step 2 of ‘Downgrade the Database’ in Chapter 6 of the Oracle Database Upgrade Guide for more details.
If you previously installed a recent version of the time zone file and used the
DBMS_DSTPL/SQL package to upgradeTIMESTAMP WITH TIME ZONEdata to that version, then you must install the same version of the time zone file in the release to which you are downgrading. For example, the latest time zone files that are supplied with Oracle Database 11g Release 2 (11.2) are version 14. If, after the database upgrade, you had usedDBMS_DSTto upgrade theTIMESTAMP WITH TIME ZONEdata to version 14, then install the version 14 time zone file in the release to which you are downgrading. This ensures that yourTIMESTAMP WITH TIME ZONEdata is not logically corrupted during retrieval. To find which version your database is using, queryV$TIMEZONE_FILE.Also see the Oracle Database Globalization Support Guide for more information on installing time zone files.
2.2.19 Error Downgrading from 11.2.0.2 to 10.2.0.5
During 10.2.0.5 downgrade from 11.2.0.2,
catrelod.sqlfails with the following internal error (reference Bug 9975586):ORA-00600: internal error code, arguments: [17069]To workaround this problem, add the following to the initialization parameter file:
event='logon trace name kra_options level 7'If using
spfile, issue the following command:alter system set event='logon trace name kra_options level 7' scope=spfile;Restart the instance and continue running the downgrade script. After downgrade, remove the event from the initialization parameter file.
2.3 Features Not Available or Restricted in 11.2.0.2
The following is a list of components that are not available or are restricted in this release of Oracle Database 11g Release 2 (11.2.0.2):
- Oracle ACFS encryption does not support initialization with the
-poption to create Public-Key Cryptography Standards (PKCS) (password-protected) storage for keys (reference Bug 10069735 and Bug 10069698).- Database Smart Flash Cache is supported on Solaris and Oracle Enterprise Linux only.
- Using Internet Protocol Version 6 (IPv6) is not supported with the following:
- Oracle RAC and Oracle Clusterware
- Oracle Fail Safe
- Oracle Ultra Search has been desupported and is not shipping with Oracle Database 11g Release 2 (11.2).
- Downgrading from Oracle Database 11g Release 2 (11.2) to release 10.2.0.3 or release 10.2.0.4 is not supported with Oracle Database Vault.
- Automatic Storage Management Cluster File System (ACFS) resources are not supported for Oracle Restart configurations on all platforms. ACFS drivers must be manually unloaded and loaded; ACFS file systems must be manually unmounted and mounted (after the Oracle ASM instance is running); ACFS database home file systems can be placed into the ACFS mount registry to be mounted along with other registered ACFS file systems.
- ACFS Replication is not supported in Oracle Restart.
- Refer to Section 2.11.1 for globalization restrictions within Oracle Secure Backup.
- Refer to Section 2.15 for features that are no longer available in Oracle Data Mining.
The following sections discuss additional restrictions.
2.4 Default Behavior Changes
This section describes some of the differences in behavior between Oracle Database 11g Release 2 (11.2) and previous releases. The majority of the information about upgrading and downgrading is already included in the Oracle Database Upgrade Guide.
2.4.1 Direct Insert Behavior Change
Direct insert requires memory for every partition loaded. The memory usage is even greater if the partitions are compressed. In previous releases, a direct insert would continue to allocate memory as rows were encountered for previously untouched partitions until all of the partitions were loaded or until it ran out of memory. In this case, the insert fails.
Starting in Oracle Database 11g Release 2 (11.2), direct insert limits the memory that is allocated. If direct insert reaches the limit and it acquires rows for partitions that have not been loaded during the insert, then direct load stores those rows in the temporary tablespace. Once all rows have been passed in, direct load will load the rows it stored in the temporary tablespace.
2.4.2 Audit Default Behavior Changes
Default Audit behavior changes include:
- Audit filename is now prefixed with the instance name and ends with a sequence number. For example:
instanceName_ora_pid_seqNumber.aud / instanceName_ora_pid_seqNumber.xml- An existing audit file is never appended to. If an audit file already exists, the sequence number is incremented and written to
instanceName_ora_pid_seqNumber+1.aud.- There is a preconfigured threshold for audit file growth. The audit file associated with an active session remains open until one of the following limits is reached:
- After the audit record is written, the audit file size becomes 10 megabytes or more.
- After the audit record is written, the audit file age becomes 5 days or more.
Once one of these thresholds is reached, a new audit file with an incremented sequence number is opened for further audit records.
- There are no updates to
AUD$anymore.
- All logoff (action# 101) audit records are written separately.
- If an event is audited
BY SESSION, then every occurrence of the event becomes a new audit record inAUD$.2.4.3 FILE_ACCESS_ROLE Default Behavior Change
The default behavior of the CTX system parameter
FILE_ACCESS_ROLEhas changed (reference Bug 8360111). Customers with existing Oracle Text indexes that use the file or URL datastore must take action to continue to use the indexes without error. The changes are as follows:
- If
FILE_ACCESS_ROLEis null (the default), then access is not allowed. By default, users who were previously able to create indexes of this type will not be able to create these indexes after the change.FILE_ACCESS_ROLEis now checked for index synchronization and document service operations. By default, users will not be able to synchronize indexes of this type or use document service calls such asctx_doc.highlightwho were allowed to prior to this change.- Only SYS will be allowed to modify
FILE_ACCESS_ROLE. Callingctx_adm.set_parameter (FILE_ACESS_ROLE,role_name)as a user other than SYS will now raise the new error:DRG-10764: only SYS can modify FILE_ACCESS_ROLE- Users can set
FILE_ACCESS_ROLEtoPUBLICto explicitly disable this check (which was the previous default behavior).2.4.4 Support for Raw Devices
Oracle Universal Installer (OUI) and Database Configuration Assistant (DBCA) do not support raw devices (or block devices on Linux). However, command-line utilities such as SQL*Plus and CRSCTL do support raw or block devices.
2.4.5 Oracle Clusterware and Oracle ASM Installed Into Oracle Grid Infrastructure for a Cluster Home
Oracle Clusterware and Automatic Storage Management (Oracle ASM) are installed into a single Oracle home called the
Grid_home. This installation is referred to as the Oracle Grid Infrastructure for a cluster installation.When upgrading, you must upgrade both Oracle Clusterware and Oracle ASM at the same time.
2.4.6 Deprecated Parameters in the Oracle ASM Instance
The following initialization parameters are deprecated in the Oracle ASM instance:
CLUSTER_DATABASEparameterIf the
INSTANCE_TYPEis Oracle ASM and the Oracle RAC option is turned on, then you do not have to specify theCLUSTER_DATABASEparameter. In this case, theCLUSTER_DATABASEparameter defaults toTRUE.COMPATIBLEparameterDo not set the
COMPATIBLEparameter in an Oracle ASM instance. To advance the disk group compatibility, change theCOMPATIBLE.[RDBMS|ASM|ADVM]attributes of the disk group.2.4.7 Fixed Views
All parameter views (for example,
V$PARAMETER) in the Oracle ASM instance only report parameters that are relevant to the Oracle ASM instance.2.4.8 Offset for CLOB and NCLOB APIs
Starting with Oracle Database 10g Release 1 (10.1), APIs that write to a
CLOBorNCLOBcause errorORA-22831when the offset specified for the beginning of the write is not on a character boundary of the existingLOBdata.
LOBAPIs use UCS2 codepoint semantics for the amount and offset parameters onCLOBsorNCLOBswhen the database default or national character set is multibyte. The specified offset is not on a character boundary if it points to the low (second) surrogate of a surrogate pair. In such situations, errorORA-22831occurs and the data is not written. Thus, this prevents the corruption of the character in the targetLOB.Contact Oracle Support Services to configure the database so that it does not return
ORA-22831.2.4.9 JOB_QUEUE_PROCESSES Parameter
Starting with Oracle Database release 11.2.0.1, setting
JOB_QUEUE_PROCESSESto0causes bothDBMS_SCHEDULERandDBMS_JOBjobs 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. As of 11.1, the parameter was changed from basic to non-basic and the default value was changed from0to1000.2.4.10 Use of the Append Hint Runs Out of Memory When Loading Many Partitions
Use of direct-path
INSERTto load a large number of partitions can exceed memory limits, especially when data compression is specified (reference Bug 6749894). Starting in 11.2, the number of partitions loaded at the same time will be limited, based on thePGA_AGGREGATE_TARGETinitialization parameter, to preserve memory. Rows that are not stored in the partitions that are currently being loaded are saved in the temporary tablespace. After all rows are loaded for the current set of partitions, other partitions are loaded from rows that are saved in the temporary tablespace.This behavior helps prevent the direct-path
INSERTfrom terminating because of insufficient memory.2.4.11 Non-Uniform Memory Access Optimizations and Support Disabled in 11.2
With Oracle Database 11g Release 2 (11.2), non-uniform memory access support is disabled by default. This restriction applies to all platforms and operating systems (reference Bug 8450932).
Non-uniform memory access optimizations and support in the Oracle Database are only available for specific combinations of Oracle version, operating systems, and platforms. Work with Oracle Support Services and your hardware vendor to enable non-uniform memory access support.
2.4.12 View Changes for Advanced Compression
The
COMPRESS_FORcolumn in various table views, such asuser_tablesanddba_tables, returns different values in 11.2 as compared to 11.1. The new values returned from aCOMPRESS_FORcolumn areBASICorOLTP. In 11.1, the value wasDIRECT LOAD ONLYandFOR ALL OPERATIONS, respectively.2.5 Automatic Storage Management
The following sections describe information pertinent to Automatic Storage Management (Oracle ASM) in Oracle Database 11g Release 2 (11.2).
2.6 Downgrading a Database Having Database Control Configured
Consider the following when downgrading the database while having DB Control configured (reference Bug 9922349):
- If you are upgrading from 11.2.0.1 to 11.2.0.2 and then plan to downgrade to 11.2.0.1, you need to apply the following patches in order to downgrade DB Control as part of the database downgrade:
- 11.2.0.1 PSU2 bundle
- One-off patch for Bug 8795792
- One-off patch for Bug 10013976
- One-off patch for Bug 9902401 (needed only if you are doing an in-place upgrade from 11.2.0.1 to 11.2.0.2 in the same Oracle home).
Without these patches, the
emdwgrdutility would fail withIMPORT(impdp) errors when restoring DB Control data.- When running
emdwgrdon 11.2.0.1 Oracle RAC databases, you may need to pass an additional parameter,-serviceAlias, if you do not have system identifier (SID) aliases defined intnsnames.ora. This is also needed for single instance if SID and database names are different. For example:emdwgrd -save [-cluster] -sid SID [-serviceAlias tns_alias] -path save_directory emdwgrd -restore -tempTablespace TEMP [-cluster] -sid SID [-serviceAlias tns_alias] -path save_directory- In the case of in-place downgrade from 11.2.0.2 to 11.2.0.1 using the same Oracle home, you do not need to run
emca -restorebefore runningemdwngrd -restore.2.7 Oracle Enterprise Manager Database Control
The following sections describe information for Database Control in Oracle Database 11g Release 2 (11.2).
2.7.1 Reorganize Objects
The following applies to Reorganize Objects:
- The database can be adversely affected if metadata changes occur between the time the reorganization script is generated and the time it is completed.
- The database can be adversely affected if an offline reorganization is attempted while DDL is in progress against the tables being reorganized.
- Before using the Reorganize Objects wizard or the Make Tablespace Locally Managed wizard in Enterprise Manager, Oracle recommends that you back up your database.
2.7.2 Editing Multiple Objects
Enterprise Manager only supports having one browser window open for editing an object. For example, Enterprise Manager only supports editing one tablespace at a time.
Note:
If a window is read-only, then you may have multiple browser windows open.
2.7.3 Large Number of Database Objects May Require Increase in Heap Size
Enterprise Manager DB Control is configured with 192 MB (32-Bit)/384 MB (64-Bit) of heap memory. However, certain Enterprise Manager DB Control functionality (for example, Change Manager) may require higher memory settings if the database contains a large number of objects.
Memory settings can be increased using the following
emctlcommand:emctl config dbconsole -heap_size MemorySizeValue MEnterprise Manager DB Control must be restarted for the new settings to take effect.
2.7.4 New Oracle Database 11g Release 2 Features Supported by Enterprise Manager DB Control 11.2 Only
Management support for new features available with Oracle Database 11g Release 2 (11.2.0.2), such as Oracle RAC One Node Database and Oracle Database QoS Management, is available in Enterprise Manager DB Control 11.2.0.2 only.
2.8 Database Security
Note the following changes in Database Security.
2.8.1 Configure and Use SSL Certificates to Setup Authentication
Note:
This affects the security in the connection between the Oracle Clusterware and the mid-tier or JDBC client.
JDBC or Oracle Universal Connection Pool’s (UCP) Oracle RAC features like Fast Connection Failover (FCF) subscribe to notifications from the Oracle Notification Service (ONS) running on the Oracle RAC nodes. The connections between the ONS server in the database tier and the notification client in the mid-tier are usually not authenticated. It is possible to configure and use SSL certificates to setup the authentication but the steps are not clearly documented.
The workaround is as follows:
- Create an Oracle Wallet to store the SSL certificate using the
orapkiinterface:
cd $ORA_CRS_HOME/opmn/confmkdir sslwalletorapki wallet create -wallet sslwallet -auto_loginWhen prompted, provide
ONS_Walletas the password.orapki wallet add -wallet sslwallet -dn "CN=ons_test,C=US" -keysize 1024 -self_signed -validity 9999 -pwd ONS_Walletorapki wallet export -wallet sslwallet -dn "CN=ons_test,C=US" -cert sslwallet/cert.txt -pwd ONS_Wallet- Update the ONS configuration file on all nodes in the database tier to specify the location of the wallet created in Step 1:
- Open the file
ORA_CRS_HOME/opmn/conf/ons.config- Add the
walletfileparameter to theons.configfile:
walletfile=ORA_CRS_HOME/opmn/conf/sslwallet- Restart the ONS servers with the
srvctl:srvctl stop nodeapps srvctl start nodeapps- If you are running a client-side ONS daemon on the mid-tier, there are two possible configurations:
- ONS started from OPMN (like in OracleAS 10.1.3.x) which uses
opmn.xmlfor its configuration.- ONS started standalone (like using
onsctl), which usesons.configfor its configuration.For case (1), refer to the OPMN Administrator’s Guide for the Oracle Application Server release. This involves modifying the
opmn.xmlfile to specify the wallet location.For case (2), refer to the section titled Configuration of ONS in Appendix B of the Oracle Database JDBC Developer’s Guide to modify the ons.config file to specify the wallet location created in Step 1.
- If you are running remote ONS configuration without a client-side ONS daemon, refer to the “Remote ONS Subscription” subsection of the “Configuring ONS for Fast Connection Failover” subsection of the “Using Fast Connection Failover” section of the “Fast Connection Failover” chapter in the Oracle Database JDBC Developer’s Guide.
Alternatively, you can specify the following string as the
setONSConfigurationargument:propertiesfile=location_of_a_Java_properties_fileThe Java properties file should contain one or more of the ONS Java properties listed below, but at least the
oracle.ons.nodesproperty. The values for these Java properties would be similar to those specified in the “Remote ONS Subscription” subsection previously noted in this step:oracle.ons.nodes oracle.ons.walletfile oracle.ons.walletpassword2.9 Encryption and Integrity
Note the following changes in the areas of encryption and integrity.
2.9.1 Encrypted Tablespaces
- You cannot encrypt an existing tablespace with an
ALTER TABLESPACEstatement. However, you can use Data Pump or SQL statements such asCREATE TABLE AS SELECTorALTER TABLE MOVEto move existing table data into an encrypted tablespace.- When recovering a database with encrypted tablespaces (for example, after a
SHUTDOWN ABORTor a catastrophic error that brings down the database instance), you must open the wallet after database mount and before database open so the recovery process can decrypt data blocks and redo.- The master encryption key for Transparent Data Encryption (TDE) tablespace encryption can leverage Hardware Security Modules (HSM) for full key management (for example, create, store, rotate, and retire). In 11.1.0.7, it was only possible to create and store the TDE tablespace encryption master key in HSM, not rotate. Master key for the TDE tablespace encryption can also be migrated from Oracle Wallet to HSM.
2.10 Java and Web Services
Note the following items when working with Java.
2.10.1 Oracle JVM
Oracle Database 11g Release 2 (11.2) includes a fully functional Java Virtual Machine (JVM), as well as the Java class libraries for Sun’s Java Development Kit (JDK) 5.0. When combined with Oracle’s JDBC and SQLJ, this release provides an enterprise class platform, Oracle JVM, for developing and deploying server-based Java applications. Refer to the Oracle JVM Readme file located at:
$ORACLE_HOME/relnotes/readmes/README_javavm.txt2.10.2 Announcing Oracle Universal Connection Pool (UCP) and Deprecation of JDBC Implicit Connection Cache in Favor of UCP
Starting with Oracle Database 11g Release 1 (11.1.0.7), Oracle has released the new Universal Connection Pool for JDBC. For more details, see the Oracle Universal Connection Pool for JDBC Developer’s Guide at the following Web page:
http://www.oracle.com/technology/tech/java/sqlj_jdbc/UCP_dev_guide.pdfConsequently, Oracle is deprecating the existing JDBC connection pool (that is, Implicit Connection Cache) that was introduced in Oracle Database 10g Release 1. Your applications will continue to work until formal desupport in a future release at which time a desupport notice will be posted.
Oracle encourages you to plan to adopt UCP for new applications and plan to change existing applications as indicated in Transitioning to Oracle Universal Connection Pool (UCP) at the following Web page:
http://www.oracle.com/technology/tech/java/sqlj_jdbc/pdf/ucp_transition_guide.pdfUCP download and code samples are located at the following Web page:
http://www.oracle.com/technology/software/tech/java/sqlj_jdbc/htdocs/ucp.html2.10.3 JDBC
The Oracle JDBC product supports the latest Java/JDBC standards. For more details, refer to the JDBC Readme file located at:
$ORACLE_HOME/relnotes/readmes/README_jdbc.txt2.10.4 Web Services
As an alternative to Oracle Net, Oracle Database Web services provides nonconnected access to the database through standard Web services mechanisms. These include XML, SOAP, and WSDL, and can turn the database into a Web services provider. Similarly, the database itself can act as a Web service consumer and run external Web services. Important features of Web services include:
- A JAX-RPC based SOAP Client library supports invocation of external Web services from within the database, and applies the power of SQL to the results.
- Web Services Call-In: Deploying a JPublisher-generated Java class against Oracle Application Server 10g enables you to run database operations such as Java and PL/SQL procedures and packages, SQL queries, and DML operations.
- Web Services Call-Out: Deploying a JPublisher-generated Web services client from a WSDL and its PL/SQL wrapper supports invocation of external Web services from within the database.
2.11 Media Management Software
For environments that consist of a single server, Oracle offers Oracle Secure Backup Express to back up your Oracle Database and other critical Oracle infrastructure to tape. Oracle Secure Backup is fully integrated with Recovery Manager (RMAN) to provide data protection services. For larger environments, Oracle Secure Backup is available as a separately licensable product to back up many database servers and file systems to tape. Oracle Secure Backup release 10.3 is shipping with this Oracle Database 11g Release 2 (11.2). For more information on Oracle Secure Backup, refer to
http://www.otn.oracle.com/products/secure-backup/index.html2.11.1 Globalization Restrictions Within Oracle Secure Backup
The following globalization restrictions apply to Oracle Secure Backup:
- The Oracle Secure Backup Web Tool and command line interface are available in English only, and are not globalized. All messages and documentation are in English.
- Oracle Secure Backup does not support file names or RMAN backup names that are encoded in character sets that do not support null byte termination, such as Unicode UTF-16. Note that this restriction affects file names, not backup contents. Oracle Secure Backup can back up Oracle databases in any character set.
2.12 Oracle Application Express
Note the following items when working with Oracle Application Express.
To learn more about Oracle Application Express, refer to the Oracle Application Express Release Notes and the Oracle Application Express Installation Guide.
2.12.1 Checking for the Most Current Release
Oracle Application Express is released more frequently than Oracle Database. To view additional information about the most current release, refer to:
http://www.otn.oracle.com/products/database/application_express/2.12.2 Configuring Oracle HTTP Server
When configuring Oracle HTTP Server for Oracle Application Express in a new installation, the database user
APEX_PUBLIC_USERmust be an unlocked account. To unlock the account for database userAPEX_PUBLIC_USER, complete the following:
- Start SQL*Plus and connect as
SYSto the database where Oracle Application Express is installed. For example:$ $ORACLE_HOME/bin/sqlplus SQL> CONNECT SYS as SYSDBA Enter password: SYS_password- Run the following command:
SQL> ALTER USER APEX_PUBLIC_USER ACCOUNT UNLOCK2.12.3 Database Compatible Parameter and Enabling Network Services
To run the examples in the Oracle Application Express Post-Installation tasks in the section titled “Enabling Network Services in Oracle Database 11g” in the Oracle Database Installation Guide, the
COMPATIBLEinitialization parameter of the database must be set to at least 11.1.0.0.0. By default, an Oracle Database 11g database will already have the parameter set properly, but a database upgraded to 11g from a prior version may not.Refer to the section titled “Creating and Configuring an Oracle Database” in the Oracle Database Administrator’s Guide for information about changing database initialization parameters.
2.13 Oracle Client Applications
Oracle Client 11g contains advanced features for diagnosing issues, including the ability to dump diagnostic information when important errors are detected. By default, these dumps are restricted to a small subset of available information to ensure that application data is not dumped. However, in many installations, secure locations for dump files may be configured, ensuring the privacy of such logs. In such cases, it is recommended that you turn on full dumps; this can greatly speed the resolution of issues. Enable full dumps by adding the following line to the
sqlnet.orafile that is used by your Oracle client installation:DIAG_RESTRICTED=falseTo verify that diagnosability features are working correctly, take the following steps:
- Upgrade your application to use Oracle Database 11g client libraries.
- Start your application.
- Check the file
sqlnet.login your application’sTNS_ADMINdirectory for error messages indicating that diagnosability could not be started (normally this is due to invalid directory names or permissions).Refer to the Oracle Call Interface Programmer’s Guide for details.
2.14 Oracle Configuration Manager
Note the following for Oracle Configuration Manager.
2.14.1 cron Configuration Issue
If you are denied access to
cron, then the configuration of Oracle Configuration Manager fails with the following error:$ORACLE_HOME/ccr/bin/setupCCR ** Installing base package ** Deploying core - Version 10.2.5.0.0 Error encountered in package deployment.After the installation is complete, set the environment variable
CCR_DISABLE_CRON_ENTRYtoTRUEand try the configuration of Oracle Configuration Manager again using the following command:$ORACLE_HOME/ccr/bin/setupCCR2.15 Oracle Data Mining
Oracle Data Mining scoring functions in Oracle Database 11g Release 2 are also available in Oracle Exadata Storage Server Software. Scoring capabilities in the storage layer permit very large data sets to be mined quickly, thus further increasing the competitive advantage already gained from Oracle in-database analytics. For information about Oracle Exadata Storage Server Software, see
http://www.oracle.com/technology/products/bi/db/exadata/index.html.The Data Mining Option, as an embedded feature of the database, is automatically installed with the Oracle Enterprise Edition Database. When installing the database with the Data Mining Option, choose the Data Warehouse configuration type for the most appropriate default initialization parameters.
In Oracle Database 11g, Data Mining models are implemented as data dictionary objects in the
SYSschema. TheDMSYSschema no longer exists.Data Mining users must have the
CREATE MINING MODELprivilege to create mining models in their own schema. Additional privileges are required for other data mining activities, as described in the Oracle Data Mining Administrator’s Guide.New data dictionary views for Oracle Data Mining were introduced in Oracle Database 11g Release 1 (11.1):
USER/ALL/DBA_MINING_MODELSUSER/ALL/DBA_MINING_MODEL_ATTRIBUTESUSER/ALL/DBA_MINING_MODEL_SETTINGSDemo programs that illustrate the Data Mining APIs (PL/SQL and Java) are installed with Oracle Database Examples. Instructions are in the Oracle Data Mining Administrator’s Guide.
The Oracle Data Mining Scoring Engine Option, a separately installed database option in Oracle Database 10g, is not available in Oracle Database 11g. All functionality of the Data Mining Scoring Engine Option is offered in the Data Mining Option.
The Basic Local Alignment Search Tool (BLAST), previously supported by Oracle Data Mining, is not available in Oracle 11g.
2.16 Oracle Internet Directory
The Oracle Internet Directory product ships only with Oracle Application Server, not the Oracle Database 11g Release 1 (11.1) product set. The following information is included because Oracle Network functionality may use Oracle Internet Directory. Many of the administrative activities for Oracle Internet Directory have been consolidated into a single tool, Oracle Internet Directory Configuration Assistant (OIDCA). OIDCA should be used with Enterprise User Security and Network Names features under these conditions:
- Enterprise User Security
- Enterprise User Security only works with Identity Management Realms in this release. You must convert Oracle Contexts used in prior releases to Identity Management Realms using the OIDCA tool.
- Use OIDCA when creating or updating the
ldap.oraconfiguration file for discovering the Oracle Internet Directory server in the environment. When created with OIDCA,ldap.orais located in the$ORACLE_HOME/ldap/admindirectory on Linux and UNIX operating systems and in theORACLE_HOME\ldap\admindirectory on Windows operating systems.- Network Names
- Use OIDCA when creating, upgrading, and deleting Oracle Contexts.
- Use OIDCA when converting an Oracle Context from an earlier release to an Identity Management Realm.
- Use OIDCA when setting up the
ldap.oraconfiguration file for discovering the Oracle Internet Directory server in the environment.Note the following items when working with Oracle Internet Directory.
2.16.1 Using the Oracle Internet Directory Configuration Assistant
The Oracle Internet Directory Configuration Assistant (OIDCA) enables you to create, upgrade, and delete an Oracle Context, configure the file
ldap.ora, and convert an Oracle Context to an Identity Management Realm.The OIDCA syntax is:
oidca oidhost=host nonsslport=port | sslport=SSL Port dn=binddn pwd=bindpwd propfile=properties fileTo see the usage of OIDCA, enter
oidca -helpat the command prompt.2.16.2 Creating an Oracle Context
The following syntax is used to create an Oracle Context in OIDCA; the parameters are described in the subsequent table.
oidca oidhost=host nonsslport=port sslport=SSL Port dn=binddn pwd=bindpwd mode=CREATECTX contextdn=OracleContext DN
Parameters Description oidhostOID server host; if not specified, default is localhostnonsslportOID server port; if not specified, default is 389sslportOID SSL port; if not specified, default is 636dnOID user, such as cn=orcladminpwdOID user password modeMode of the OIDCA; set to CREATECTXcontextdnDN under which OracleContextmust be created, such asdc=acme,dc=comNote the following points:
- The
contextdnmust exist for this operation to be successful.- This valid DN should not exist in OID:
"cn=oraclecontext,dc=acme, dc=com".- This valid DN must exist in OID:
"dc=acme,dc=com".- The parameters
modeandcontextdncan also be passed as a properties file.- Specify the parameter
nonsslport=portif you want to perform the operation using non-SSL mode.- Specify the parameter
sslport=sslportif you want to perform the operation using SSL mode.- Either the
nonsslportor thesslportparameter must be specified, but not both.
- The OIDCA verifies that
contextdnhas a valid DN syntax and that the entry exists in Oracle Internet Directory. Note that the OIDCA cannot create a rootOracleContextexplicitly. If there is no root Oracle Context, then OIDCA exits with an error.- If DN exists, then OIDCA verifies that the Oracle Context already exists.
- If the Oracle Context already exists and is up-to-date, then OIDCA exits with the message
Oracle Context already exists and is up to date.- If the Oracle Context already exists, but it is an older version, then OIDCA exits with the message
Oracle Context already exists and is of an older version.- If the Oracle Context does not exist, then OIDCA creates the Oracle Context under this DN.
2.16.3 Upgrading an Oracle Context
To upgrade an
OracleContextinstance, use the following syntax; the parameters are listed in the subsequent table.oidca oidhost=host nonsslport=port sslport=SSL Port dn=binddn pwd=bindpwd mode=UPGRADECTX contextdn=OracleContext DN
Parameters Description oidhostOID server host; if not specified, default is localhostnonsslportOID server port; if not specified, default is 389sslportOID SSL port; if not specified, default is 636dnOID user, such as cn=orcladminpwdOID user password modeMode of the OIDCA; always set to UPGRADECTXcontextdnDN under which OracleContextmust be created, such asdc=acme,dc=comNote the following points:
- The
contextdnmust contain anOracleContextfor this operation to be successful.- The DNs
"cn=oraclecontext,dc=acme,dc=com"and"dc=acme,dc=com"are both valid.- The parameters
modeandcontextdncan also be passed as a properties file.- Specify the parameter
nonsslport=portif you want to perform the operation using a non-SSL mode.- Specify the parameter
sslport=sslportif you want to perform the operation using SSL mode.- Either the
nonsslportor thesslportparameter must be specified, but not both.
- OIDCA verifies that the
contextdnhas valid DN syntax and thatOracleContextexists in Oracle Internet Directory. OIDCA cannot upgrade a rootOracleContextexplicitly. If there is no rootOracleContext, then OIDCA sends an error message.- If
OracleContextexists undercontextdn,
- The OIDCA checks if the
OracleContextbelongs to a realm, in which case it exits with the appropriate message. Note thatOracleContextinstances that belong to a realm cannot be upgraded.- The OIDCA verifies that the
OracleContextis up-to-date, then exits with the messageOracle Context already exists and is up to date.- If the
OracleContextis not up-to-date, then the OIDCA upgrades theOracleContextunder this DN.2.16.4 Deleting an Oracle Context
To delete an
OracleContext, use the following syntax; the parameters are listed in the subsequent table.oidca oidhost=host nonsslport=port sslport=SSL Port dn=binddn pwd=bindpwd mode=DELETECTX contextdn=OracleContext DN
Parameters Description oidhostOID server host; if not specified, default is localhostnonsslportOID server port; if not specified, default is 389sslportOID SSL port; if not specified, default is 636dnOID user, such as cn=orcladminpwdOID user password modeMode of the OIDCA; always set to DELETECTXcontextdnDN under which OracleContext must be created, such as dc=acme,dc=comNote the following points:
- The
contextdnmust contain anOracleContextfor this operation to be successful.- The DNs
"cn=oraclecontext,dc=acme,dc=com"and"dc=acme,dc=com"are both valid.- The parameters
modeandcontextdncan also be passed as a properties file.- Specify the parameter
nonsslport=portif you want to perform the operation using a non-SSL mode.- Specify the parameter
sslport=sslportif you want to perform the operation using SSL mode.- Either the
nonsslportor thesslportparameter must be specified, but not both.
- OIDCA verifies that the
contextdnhas valid DN syntax and thatOracleContextexists in Oracle Internet Directory.- If
OracleContextexists undercontextdn,
- The OIDCA checks if the
OracleContextbelongs to a realm, in which case it exits with the appropriate message. Note thatOracleContextinstances that belong to a realm cannot be deleted.- If
OracleContextdoes not belong to a realm, then OIDCA deletes it.2.16.5 Configuring the File ldap.ora
To configure the file
ldap.ora, use the following syntax; the parameters are listed in the subsequent table.oidca oidhost=host nonsslport=port sslport=SSL Port adminctx=Administrative context mode=LDAPORA dirtype=OID or AD -update
Parameters Description oidhostOID server host; if not specified, default is localhost.nonsslportOID server port; determined using discovery APIs. sslportOID SSL port; determined using discovery APIs. modeMode of the OIDCA; always set to LDAPORA.dirtypeDirectory type; possible values are OIDandAD; mandatory attribute.adminctxDefault administrative context, such as dc=acme,dc=com. If not specified, then determined using discovery.-updateIf this flag is specified, then overwrite existing ldap.ora; if not, then createldap.oraonly if it does not already exist.Note the following points:
- Either the non-SSL or the SSL port must be specified. The other port is discovered.
- The parameters
mode,dirtype, andadminctxcan also be passed in within a properties file.
- Using the Discovery API, the OIDCA determines all the parameters not specified on the command line.
- The OIDCA checks for the
ldap.oralocation using Discovery APIs.
- If
ldap.oraexists and the-updateparameter is not specified, then exit with messageldap.ora exists.- If
ldap.oraexists and the-updateparameter is not specified, then update the existingldap.orausing Discovery API.- If
ldap.oradoes not exist, then create a newldap.orafile in a location in the following order:LDAP_ADMIN $ORACLE_HOME/ldap/admin2.16.6 Converting an Oracle Context to an Identity Management Realm
Oracle Database 10g entries must be stored in Oracle Internet Directory release 9.0.4 server. An Identity Management Realm release 9.0.4 is also required for Enterprise User Security, a feature of the Oracle Database 10g.
To convert an existing
OracleContextto an Identity Management Realm, use the following syntax. The parameters are listed in the subsequent table. Note that the root of theOracleContextobject is not converted.oidca oidhost=host nonsslport=port sslport=SSL Port dn=binddn pwd=bindpwd mode=CTXTOIMR contextdn=OracleContext DN
Parameters Description oidhostOID server host; default is localhostnonsslportOID server port; default is 389sslportOID SSL port; default is 636dnOID user, such as cn=orcladminpwdOID user password modeMode of the OIDCA; always set to CTXTOIMRcontextdnDN under which OracleContextmust be created, such asdc=acme,dc=comNote the following points:
- The
OracleContextmust exist under the specifiedcontextdn.- The DNs
"cn=oraclecontext,dc=acme,dc=com"and"dc=acme, dc=com"are both valid.- The parameters
modeandcontextdncan also be passed in a properties file.- Specify the parameter
nonsslport=portif you want to perform the operation using a non-SSL mode.- Specify the parameter
sslport=sslportif you want to perform the operation using SSL mode.- Either the
nonsslportor thesslportparameter must be specified, but not both.
- The OIDCA checks if
contextdnhas valid DN syntax, and if it contains a validOracleContext.- If
OracleContextexists undercontextdn,
- The OIDCA checks if the
OracleContextbelongs to a realm. If it does, then it exits with an appropriate error message.- If
OracleContextdoes not belong to a realm, then OIDCA upgrades it to the latest version, and converts it to a realm.Note also:
- If the nickname attribute is not
cn, then configure it as a user configuration attribute using the Oracle Internet Directory Self-Service Console.- If you want to use the Oracle Internet Directory Self-Service Console to manage the users and groups in the converted realm, then you must set up the administrative privileges appropriately. For details, refer to the Oracle Fusion Middleware Administrator’s Guide for Oracle Internet Directory.
2.17 Oracle Multimedia
The name Oracle interMedia was changed to Oracle Multimedia in Oracle Database 11g Release 1 (11.1). The feature remains the same, only the name has changed. References to Oracle interMedia were replaced with Oracle Multimedia, however some references to Oracle interMedia or interMedia may still appear in graphical user interfaces, code examples, and related documents in the Oracle Database documentation library for 11g Release 2 (11.2).
With Oracle Database 11g Release 2 (11.2), the Oracle Multimedia DICOM feature has been made available in Oracle Database Standard Edition. It was previously only available in Oracle Database Enterprise Edition.
For additional information, refer to the Oracle Multimedia Readme file located at:
$ORACLE_HOME/ord/im/admin/README.txt2.18 Oracle Net Services
Oracle Database provides limited support for Internet Protocol Version 6 (IPv6) addressing and connectivity. For details, see Oracle Database Net Services Administrator’s Guide.
2.19 Oracle Real Application Clusters
Note the following items when working with Oracle RAC.
2.19.1 Moving ORADISM to Local Nodes from NFS on an Oracle Home
If you install an Oracle RAC database into a shared Oracle home on an NFS device, then you must copy the ORADISM binary (
oradism) into a local directory on each node (reference Bug 7210614).It is possible to install Oracle Clusterware and Oracle RAC on NFS without encountering this problem. Refer to the Oracle Grid Infrastructure Installation Guide for Linux for more information.
To move
oradism, take the following steps:
- Copy the
$ORACLE_HOME/bin/oradismbinary to an identical directory path on all cluster nodes. The path (for example,/u01/local/binin the example in Step 2) must be local and not NFS. For example:cp -a $ORACLE_HOME/bin/oradism /u01/local/bin- Run the following commands, as the root user, to set ownership and permissions of the
oradismexecutable:$ chown root /u01/local/bin/oradism $ chmod 4750 /u01/local/bin/oradism- Create a symbolic link from the NFS shared home to the local
oradismdirectory path. This needs to be done from one node only. Each node can then reference its ownoradismusing thesymlinkfrom the shared Oracle home. For example:$ cd /nfs/app/oracle/product/11.2.0/db_1/bin $ rm -f oradism $ ln -s /u01/local/bin/oradism oradism2.19.2 Creating Server Pools
Create an initial, user-defined server pool immediately after the Oracle Grid Infrastructure for a cluster installation if you plan to use a policy-managed Oracle RAC database. As the Grid software owner, use the following SRVCTL command located in the path
Grid_home/bin:srvctl add srvpool -g srvpool_name -u max2.19.3 Using the Same Cluster for Administrator-Managed and Policy-Managed Databases
If you are creating an administrator-managed database on a cluster that already hosts policy-managed databases, then you must carefully select the nodes for the administrator-managed database (reference Bug 10027250). This is because the nodes that you select for an administrator-managed database that are in policy-managed server pools will be moved into the Generic server pool as part of this process. If you select nodes that already run other policy-managed database instances, then DBCA prompts you with a message that lists the instances and services that will be shut down when DBCA creates the administrator-managed database. If you select the
Yesbutton on the dialog box when DBCA asks “Do you want to continue?,” then your policy-managed database instances and services will be shut down as a result of the administrator-managed database creation process.Note: This is also true if you use the
srvctl add instancecommand, which gives a similar error message indicating that the databases would be shut down. If you also use the force option (-f) with thesrvctl add instancecommand, then this is the same as choosingYeson the DBCA dialog. Doing this shuts down any policy-managed databases that are running on the node before moving the node into the Generic server pool.2.19.4 Adding a Node in a Cluster
When adding a node in a cluster running a policy-managed database, Oracle Clusterware tries to start the new instance before the cloning procedure completes. The following steps should be used to add the node:
- Run
addNodefor the Oracle Grid Infrastructure for a cluster to add the new node. Do not run the root scripts when prompted; you will run them later.- Install the Oracle RAC database software using a software-only installation. Ensure Oracle is linked with the Oracle RAC option.
- Complete the root script actions for the Database home.
- Complete the root scripts action for the Oracle Clusterware home and then finish the installation.
2.20 Oracle Grid Infrastructure for a Cluster
Note the following items when working with Oracle Clusterware and Automatic Storage Management (Oracle ASM), which are installed with an Oracle Grid Infrastructure for a cluster installation.
2.20.1 Changing Host Names
Avoid changing host names after you complete the Oracle Grid Infrastructure for a cluster installation. Nodes with changed host names must be deleted from the cluster and added back with the new name.
2.20.2 ACFS and Oracle Clusterware Stack Shut Down
When attempting to shut down Oracle Clusterware, the Oracle Clusterware stack may report that it did not successfully stop on selected nodes (reference Bug 8703150 and Bug 8651848). If the database home is on ACFS, then you may receive the following error:
CRS-5014: Agent orarootagent.bin timed out starting process acfsmount for actionThis error can be ignored.
Alternatively, the Oracle Clusterware stack may report that it did not successfully stop on selected nodes due to the inability to shut down the ACFS resources. If this occurs, take the following steps:
- Ensure that all file system activity to ACFS mount points is quiesced by shutting down programs or processes and retry the shutdown.
- If your ACFS resources report a state of
UNKNOWN, remove files named*_checkfrom the systemtempdirectory and retry the stack shutdown.- If the
ora.registry.acfsresource check function times out, or the resource exhibits a state ofUNKNOWNorINTERMEDIATE, then this may indicate an inability to access the Oracle Cluster Registry (OCR). The most common cause of this is a network failure. The commandsacfsutil registryandocrcheckmay give you a better indicator of the specific error. Clear this error and attempt to stop Oracle Clusterware again.2.21 Oracle Real Application Testing
The following sections describe Oracle Real Application Testing issues.
2.21.1 Reading SQL Trace Files to Construct a SQL Tuning Set
Oracle Database supports the added functionality to read SQL trace files from Oracle Database 9i to construct a SQL tuning set that can be used as an input source for SQL Performance Analyzer. After being constructed, you can use SQL Performance Analyzer to execute the SQL tuning set on Oracle Database 10g Release 2 remotely over a database link. This functionality is provided so that you can use the Oracle Real Application Testing option to test the effect on SQL response time of a database upgrade from Oracle Database 9i to Oracle Database 10g Release 2. For details, refer to the Oracle Database Real Application Testing Addendum.
2.22 Oracle ODBC Driver
The Oracle ODBC Driver Readme file is located at:
$ORACLE_HOME/odbc/html/ODBCRelnotesUS.htm2.23 Oracle OLAP
Consider the following when working with Oracle OLAP:
- SQL Aggregation Management is a group of PL/SQL subprograms in
DBMS_CUBEthat support the rapid deployment of cube materialized views from existing relational materialized views. Cube materialized views are cubes that have been enhanced to use the automatic refresh and query rewrite features of Oracle Database. A single cube materialized view can replace many of the relational materialized views of summaries on a fact table, providing uniform response time to all summary data.In the process of creating the cube materialized views,
DBMS_CUBEalso creates a fully functional analytic workspace including a cube and the cube dimensions. The cube stores the data for a cube materialized view, instead of the table that stores the data for a relational materialized view. A cube can also support a wide range of analytic functions that enhance the database with information-rich content.- Enhanced logging capabilities are provided through the new PL/SQL package
DBMS_CUBE_LOGthat offers four different logs. Both Analytic Workspace Manager users and database administrators can view the progress of an analytic workspace build inCUBE_BUILD_LOG, find load errors inCUBE_REJECTED_RECORDS, check the validity of dimension hierarchies inCUBE_DIMENSION_COMPILE, and follow OLAP engine events inCUBE_OPERATIONS_LOG.- The OLAP Option, as an embedded feature of the database, is automatically installed with the Oracle Enterprise Edition Database. When installing the database with the OLAP Option, choose the Data Warehouse configuration type for the most appropriate default initialization parameters.
- Analytic Workspace Manager 11.2.0 should be used when running Oracle Database 11g Release 2 in either Oracle Database 10g or Oracle Database 11g compatibility modes. An Oracle Database 10g format analytic workspace may be created by choosing the Oracle Database 10g cube type when creating a new analytic workspace.
- OLAP 10g clients connecting to 10g style analytic workspaces in an Oracle Database 11g Release 2 database instance should upgrade their Java to version 1.5, as well as upgrade their OLAP API version to 11.2.0.
- Oracle Business Intelligence Beans 10g and Oracle Discoverer for OLAP 10g can be used with 10g format analytic workspaces in Oracle Database 11g. They cannot be used with 11g format analytic workspaces. To upgrade the OLAP API client JARs, include these new JARs in the Java class search list before the Intelligence Beans or Discoverer JAR files or both.
- The OLAPSYS schema and the CWM metadata contained within the schema are deprecated in Oracle Database 11g Release 2. The OLAP API can still query relational tables (ROLAP mode) using data dictionary metadata. For more information, refer to My Oracle Support Tech Note 445311.1.
2.24 Oracle Spatial
The Oracle Spatial readme file supplements the information in the following manuals: Oracle Spatial Developer’s Guide, Oracle Spatial Topology and Network Data Models Developer’s Guide, and Oracle Spatial GeoRaster Developer’s Guide. The Oracle Spatial readme file is located at:
$ORACLE_HOME/md/doc/README.txt2.25 Oracle SQL Developer
The Oracle SQL Developer readme file is located at:
$ORACLE_HOME/sqldeveloper/readme.html2.26 Oracle Text
Note the following items when working with Oracle Text. You should also check entries for the Oracle Text Application Developer’s Guide in the Documentation Addendum.
2.26.1 Query Compatible Syntax Values
Chapter 6, titled “CTX_CLS Package”, in the Oracle Text Reference states under the section titled “Query Compatible Syntax” that the
doc_idcolumn is a number. This is correct; however, the values stored in this column must be in the range0-4294967295. The values must be stored in an unsigned 32-bit value. This range also pertains tocatid,catdocid, andrescatid.2.26.2 Oracle Text Supplied Knowledge Bases
An Oracle Text knowledge base is a hierarchical tree of concepts used for theme indexing,
ABOUTqueries, and deriving themes for document services. The following Oracle Text services require that a knowledge base be installed:
- Index creation using a
BASIC_LEXERpreference whereINDEX_THEMES=YESSYNCing of an index whereINDEX_THEMES=YESCTX_DOC.THEMEsCTX_DOC.POLICY_THEMEsCTX_DOC.GISTCTX_DOC.POLICY_GISTCTX_QUERY.HFEEDBACKCTX_QUERY.EXPLAIN, if usingABOUTorTHEMESwithTRANSFORMCTX_DOC.SNIPPET(if using theABOUToperator)CTX_DOC.POLICY_SNIPPET(if using theABOUToperator)CONTAINSqueries that useABOUTorTHEMESwithTRANSFORM- The Knowledge Base Extension Compiler,
ctxkbtc- Clustering and classification services, if themes are specified
If you plan to use any of these Oracle Text features, then you should install the supplied knowledge bases, English and French, from the Oracle Database Examples media, available for download on OTN.
Note that you can extend the supplied knowledge bases, or create your own knowledge bases, possibly in languages other than English and French. For more information about creating and extending knowledge bases, refer to the Oracle Text Reference.
For information about how to install products from the Oracle Database Examples media, refer to the Oracle Database Examples Installation Guide that is specific to your platform.
Supplied Knowledge Bases and Upgrades
Because the supplied knowledge bases are contained on the Oracle Database Examples media, they are not immediately available after an upgrade to Oracle Database 11g Release 1 (11.1). Oracle Text features that depend on the supplied knowledge bases available before the upgrade will not function after the upgrade, so you must install the supplied knowledge bases from the Oracle Database Examples media.
After an upgrade, you must regenerate all user extensions to the supplied knowledge bases. These changes affect all databases installed in the given
$ORACLE_HOME.For more information on upgrading Oracle Text and supplied knowledge bases, refer to the Oracle Database Upgrade Guide, Chapter 4, “After Upgrading a Database”, section “Upgrading Oracle Text”. The Oracle Text Application Developer’s Guide contains both general instructions for upgrading from previous releases of Oracle Text and information on supplied knowledge bases.
2.26.3 Document Filtering Support
Starting with version 11.1.0.7, Oracle Text uses Oracle Outside In HTML Export for document filtering instead of filtering technology licensed from Autonomy, Inc. With the migration to Oracle Outside In HTML Export, several document formats are no longer supported. Refer to Appendix B of the Oracle Text Reference for a complete list of filter-supported document formats as well as for a list of formats that are no longer supported in 11.1.0.7.
2.27 Oracle Ultra Search
Oracle Ultra Search has been desupported and is not shipping with Oracle Database 11g Release 2 (11.2). In March of 2006, Oracle launched Oracle Secure Enterprise Search (SES). Oracle SES is a faster and more secure product built on the technologies originally developed for Ultra Search. Customers using Ultra Search are strongly recommended to migrate to Oracle SES.
See Also:
The Oracle Secure Enterprise Search page on the Oracle Technology Network at:
http://www.oracle.com/technology/products/oses/index.html2.28 Oracle Warehouse Builder
For additional information about Oracle Warehouse Builder (OWB) in Oracle Database 11g Release 2 (11.2), refer to the Oracle Warehouse Builder Release Notes.
2.29 Oracle Workflow
Oracle Workflow is not shipping with Oracle Database 11g Release 2 (11.2).
2.30 Oracle XML DB
The following features are not supported with Oracle XML DB:
- Flashback Archive
- Editioning Views
- Exadata Hybrid Columnar Compression (EHCC)
- SecureFiles LOB Encryption
- Oracle Label Security (OLS) with a hybrid structured and unstructured XMLIndex on the same XML document.
2.30.1 Change in Semantics of xdb:defaultTable Annotation
There is a change in behavior in the semantics of
xdb:defaultTableannotation while registering XML DB schemas in 11.2 as compared to 11.1 (reference Bug 7646934). If you specifyxdb:defaultTable="MY_TAB"without specifyingxdb:sqlInline="false", XML DB creates the table as requested and implicitly marks it as an out-of-line table. This behavior is different from 11.1 where thedefaultTableannotation was ignored when thesqlInlinesetting was missing.2.30.2 VARRAY Storage Default Change
In Oracle Database 11g Release 1 (11.1), the default value for
xdb:storeVarrayAsTablechanged fromFALSEtoTRUEfor XMLType object-relational storage. This default applied to the default table, but not when creating XMLType object-relational tables and columns after the schema registration (reference Bug 6858659). In Oracle Database 11g Release 2 (11.2), allVARRAYdata elements are created as tables by default. This provides a significant performance increase at query time. In addition, note the following:
- Tables created prior to 11.2 are not affected by this. The upgrade process retains storage parameters. This only affects tables created in 11.2 or later.
- You can retain the pre-11.2 default of
VARRAYstorage as LOBs if you have smallVARRAYdata elements and you read and or write the fullVARRAYall at once. You have two options to revert to the pre-11.2 behavior:
- Re-register the schema with
xdb:storeVarrayAsTable=FALSE. This affects the default and non-default tables.- Or, when creating the table (for non default tables), you can use the
STORE ALL VARRAYS AS LOBSclause to override the default for allVARRAYdata elements in the XMLType. This clause can only be used during table creation. It will return an error if used in thetable_propsat schema registration time.- For schemas registered prior to 11.2 (when the default storage for
VARRAYdata elements wasLOB), you can useSTORE ALL VARRAYS AS TABLESclause to override the default for allVARRAYdata elements in the XMLType.2.31 PL/SQL
Note the following when working with PL/SQL.
2.31.1 Secure Database By Default Changes
The
PUBLIC EXECUTEprivilege for theDBMS_RANDOMPL/SQL package will be deprecated in future Oracle Database releases (reference Bug 7591837). Users who need to run this PL/SQL package should be given explicitEXECUTEprivileges.2.31.2 DBMS_SCHEDULER PL/SQL Package
Consider the following when working with the
DBMS_SCHEDULERPL/SQL package.2.31.2.1 Event-Based Jobs
The Oracle Scheduler supports event-based jobs. These are jobs that are started when a message is enqueued into a database queue. When the database queue used for this purpose is a secure queue, the
QUEUE_SPECattribute of event-based jobs and schedules is a pair of the formqueue_name, agent_name. The reason an agent has to be specified is to help the scheduler determine which messages the user can see. In the case of nonsecure queues, if the user has dequeue privileges on a queue, then he or she can dequeue any agent that is subscribed to the queue. This means that he or she can see all of the messages in the queue. In the case of secure queues, the user has to be granted privileges to not only the queue but to agents as well.In addition to granting dequeue privileges, the queue owner has to make a call to
dbms_aqadm.enable_db_access()to enable the user to dequeue as a specific agent. The agent could be subscribed to the queue using a rule that filters messages that the user should not see.The scheduler always subscribes to every queue (secure or otherwise) using its own agent
SCHEDULER$_EVENT_AGENT. Because the scheduler runs as userSYS, it can see all the messages in the queue. In the case of secure queues, however, this should not be done because the purpose of secure queues is to enable the queue owner to provide some type of limited access to the queue by users. Therefore, the scheduler requires an agent name in theQUEUE_SPECattribute. This agent name is used solely for the purpose of determining which messages the user can see. The scheduler does not dequeue messages as this agent. When the scheduler receives a notification that a message has arrived in a secure queue, it performs the following checks for each event-based job that depends on the queue.
- It checks to determine if the job owner has dequeue privileges on the queue.
- It checks to see if the agent name provided in the queue spec can be used by the job owner.
- It checks to see if the agent is currently subscribed to the queue.
- It checks if the incoming message is visible to the agent.
If all of these checks succeed, then the scheduler launches the event-based job. Regardless of whether the checks pass, the message is dequeued using the agent
SCHEDULER$_EVENT_AGENT.When providing an agent for the
QUEUE_SPECattribute, the user can provide an existing agent name or have a new one created for this purpose. In either case, it is the user’s or queue owner’s responsibility to ensure that the agent dequeues its messages.2.31.2.2 Remote Jobs
The Oracle Scheduler supports running jobs on remote hosts and transferring files to or from remote hosts. To achieve this goal, it is first necessary to go through the setup described in the “Enabling and Disabling Remote External Jobs” section of Chapter 28 of the Oracle Database Administrator’s Guide. This feature also requires that Oracle XML DB HTTP Server be enabled on the database.
To check whether Oracle XML DB HTTP Server is enabled, you can use the following command:
SQL> SELECT DBMS_XDB.GETHTTPPORT() FROM DUAL;If this statement returns
0, then you need to enable Oracle XML DB HTTP Server on a non-zero port by logging in asSYSand issuing the following commands:SQL> EXEC DBMS_XDB.SETHTTPPORT (port); SQL> COMMIT;Substitute
portwith Oracle XML DB HTTP Server port you wish to use.2.31.3 DBMS_SQL Package
In Oracle Database 11g Release 1 (11.1), Oracle introduces a number of enhancements to
DBMS_SQLto improve the security of the package:
- Prevent guessing of open cursor numbers
A new error,
ORA-29471, will be raised when anyDBMS_SQLsubprogram is called with a cursor number that does not denote an open cursor. When the error is raised, an alert is issued to the alert log andDBMS_SQLbecomes inoperable for the life of the session.If the actual value for the cursor number in a call to
IS_OPENdoes denote a cursor that is currently open in the session, then the return value isTRUE. If the actual is null, then the return value isFALSE. Otherwise, you get theORA-29471error.Note that the
DBMS_SQL.OPEN_CURSORfunction is the onlyDBMS_SQLsubprogram that has no formal parameter for the cursor number. Rather, it returns a cursor number. Therefore, it is not within the scope of the rules.- Prevent inappropriate use of a cursor
Cursors are now better protected from security breaches that subvert known, existing cursors.
Checks are always made when binding and executing. Optionally, checks may be performed for every single
DBMS_SQLsubprogram call. The check is:
current_useris the same on calling the subprogram in question as it was on calling the most recent parse.- The enabled roles on calling the subprogram must be a superset of the enabled roles on calling the most recent parse.
As is always the case, for definer’s right subprograms, roles are irrelevant.
If either check fails, then
ORA-29470is raised.The mechanism for defining when checks are performed is a new overload for the
OPEN_CURSORsubprogram which takes a formal parameter,security_level, with allowed valuesNULL,1and2.When
security_level = 1(or isNULL), the checks are made only when binding and executing. Whensecurity_level = 2, the checks are always made.This security regime is stricter than in 10.2 and previous releases. As a consequence, users of
DBMS_SQLmay encounter runtime errors on upgrade. While the regime makes for more secure applications, users may want to relax the security checks temporarily as they migrate to 11.1. If so, consult with Oracle Support Services on steps to relax the security checks.2.31.4 UTL_FILE Package
The
UTL_FILEpackage no longer opens a file if that file is a symbolic link. This new restriction closes a known security hole in theUTL_FILEpackage.If this security restriction poses an undue burden during migration, then contact Oracle Support Services for assistance.
2.31.5 Interoperability Between Releases
Interoperability between an 11.1 database or Forms client and a 10.1 or 10.2 database requires a minimum patchset level of 10.1.0.5 (for 10.1) or 10.2.0.2 (for 10.2).
An attempt to reference a 10.1 or 10.2 PL/SQL unit or view under the following circumstances fails with a
PLS-801[55916]error unless the 10.1 or 10.2 environment has been patched to the correct level:
- A PL/SQL unit, anonymous block, trigger, call statement, or SQL statement on an 11.1 database runs a PL/SQL unit on a 10.1 or 10.2 database across a database link.
- A PL/SQL unit, anonymous block, trigger, or call statement on an 11.1 database references a view on a 10.1 or 10.2 database across a database link and the view directly or indirectly references a PL/SQL function or an object type.
- An 11.1 Forms client runs a PL/SQL unit in a 10.1 or 10.2 database using RPC.
To avoid the
PLS-801[55916]error, a minimum patchset level of 10.1.0.5 (for 10.1) or 10.2.0.2 (for 10.2) is required.There is no interoperability problem between 10.1 and 10.2 environments.
2.32 Pro*C
The Pro*C readme file is located at:
$ORACLE_HOME/precomp/doc/proc2/readme.doc2.33 Pro*COBOL
The Pro*COBOL readme file is located at:
$ORACLE_HOME/precomp/doc/procob2/readme.doc2.34 SQLJ
SQLJ in Oracle Database 11g Release 2 (11.2) is supported with JDK 5.0 and JDK 6.0.
2.35 SQL*Plus
The SQL*Plus readme file is located at:
$ORACLE_HOME/sqlplus/doc/README.htm2.36 Summary Management
Note the following items when working with Summary Management.
2.36.1 Query Rewrite
The following items apply to Query Rewrite.
2.36.1.1 Fine Grained Auditing (FGA)
If Fine Grained Auditing (FGA) is enabled on a table in the query, then Query Rewrite will not occur for this query.
2.36.1.2 Use of PARTITION Clause
Query rewrite does not occur for queries that use the
PARTITIONclause in theFROMclause to access table partitions. In order for query rewrite to rewrite such queries, thePARTITIONclauses must first be converted into equivalent selection predicates and added to theWHEREclause.2.36.2 Feature Availability
The following are available in Enterprise Edition:
- Creation and refresh features of materialized views
- Query rewrite and materialized view advice from the SQL Access Advisor
2.36.3 NLS Parameters
When using or refreshing certain materialized views, you must ensure that your NLS parameters are the same as when you created the materialized view. Materialized views that fall under this restriction contain the following constructs:
- Expressions that may return different values, depending on NLS parameter settings
It is recommended to write such expressions in the NLS-independent way. For example:
(date > DATE '2003-01-02')Or:
(rate <= 2.150)- Equijoins where one side of the join is character data
The result of this equijoin depends on collation which can change on a session basis, giving an incorrect result in the case of query rewrite or an inconsistent materialized view after a refresh operation.
- Expressions that generate internal conversion to character data in the select list of a materialized view, or inside an aggregate of a materialized aggregate view
This restriction does not apply to expressions that involve only numeric data; for example,
a+bwhereaandbare numeric values.2.37 Oracle Streams
Note the following when working with Oracle Streams.
2.37.1 Oracle Streams Apply Handler Modifications Necessary for Handling New Error Messages That Replace ORA-1403 Errors
Customized DML and error handlers for Oracle Streams require modification to catch the additional Oracle errors
ORA-26786andORA-26787in place of theORA-01403 No data foundmessage. AnORA-26787error is raised if the row to be updated or deleted does not exist in the target table. An ORA-26786 error is raised when the row exists in the target table, but the values of some columns do not match those of the LCR.2.38 Documentation Addendum
This section contains corrections to the following Oracle Documentation for this release:
- Section 2.38.1, “Oracle Database Heterogeneous Connectivity User’s Guide”
- Section 2.38.2, “Oracle Database PL/SQL Packages and Types Reference”
- Section 2.38.3, “Oracle Database Upgrade Guide”
2.38.1 Oracle Database Heterogeneous Connectivity User’s Guide
The following information should be removed from Chapter 4, “Using Heterogeneous Services Agents”, section “Determining the Heterogeneous Services Parameters”:
- The Distributed Access Manager has a refresh capability available through the menu and toolbar that allows users to rerun queries if necessary and update the data. When the data is refreshed, the tool verifies that the set of registered agents remains the same. If it is not, then the global view is updated. See Oracle Enterprise Manager Administrator’s Guide and online help for more information about the Distributed Access Manager.
2.38.2 Oracle Database PL/SQL Packages and Types Reference
The
listnoparameter of theDBMS_UTILITYwas inadvertently excluded from the Oracle Database PL/SQL Packages and Types Reference. For example, theGET_PARAMETER_VALUEfunction should read as follows:This function gets the value of specified initialization parameter.
Syntax
DBMS_UTILITY.GET_PARAMETER_VALUE ( parnam IN VARCHAR2, intval IN OUT BINARY_INTEGER, strval IN OUT VARCHAR2, listno IN BINARY_INTEGER DEFAULT 1) RETURN BINARY_INTEGER;Parameters
Parameter Description parnamParameter name. intvalValue of an integer parameter or the value length of a string parameter. strvalValue of a string parameter. listnoList item number. If retrieving parameter values for a parameter that can be specified multiple times to accumulate values, use this parameter to get each individual parameter. 2.38.3 Oracle Database Upgrade Guide
In the 11g Release 2 (11.2) Oracle Database Upgrade Guide (Part Number E10819-02), the following text has been updated in the section titled Installing Databases in Multiple Oracle Homes on the Same Computer (reference Bug 9738651):
You may not be able to install earlier releases of Oracle Database on the same computer and have clients connect to these databases. For example, you cannot have Oracle8i, Oracle9i, Oracle Database 10g, and Oracle Database 11g databases in multiple (separate) Oracle homes on the same computer and have Oracle8i, Oracle9i, Oracle Database 10g, and Oracle Database 11g clients connecting to any or all of the databases. You may be able to have a combination of some releases on one system; however, please be sure to obtain the latest information on compatibility and supported configurations.
See also Note 207303.1 on My Oracle Support at
https://support.us.oracle.com/oip/faces/secure/km/DocumentDisplay.jspx?id=207303.12.39 Open Bugs
This section lists known bugs for this release. A supplemental list of bugs may be found as part of the release documentation specific for your platform.
2.39.1 Automatic Storage Management Known Bugs
Increase in Oracle ASM disk group size for Oracle ACFS Database Home may be required.
Workaround: When creating a Database Home on Oracle ACFS, the ASMCA tool will default to a minimum of 6 GB for the ACFS Database Home. However, depending on the status and configuration of the disk group, additional storage may be required. Therefore, the recommendation is to use a minimum of 10 GB for the disk group to avoid any such issues, as reported by these messages:
ORA-15032: not all alterations performed ORA-15041: diskgroup "dg_name" space exhaustedAn 11.2.0.1 Cluster Ready Services (CRS) rolling upgrade to 11.2.0.2 fails when Oracle Cluster Registry (OCR) is on Oracle ASM.
Workaround: Apply the patch for bug 9413827 on 11.2.0.1 Oracle Grid Infrastructure for a cluster home before performing the upgrade.
In 11.2, operating system users other than the Oracle Grid Infrastructure for a cluster home owner cannot execute ASMCMD binary due to Perl binary and library permission being 700.
Workaround: Fix the permissions of the Perl executable and Perl libraries.
Cannot permanently stop the Oracle ASM instance.
Workaround: If the Oracle ASM instance is disabled using SRVCTL, you must unregister Oracle ACFS-related resources to avoid restarting the Oracle ASM instance. Do this by executing the following command as root:
acfsroot unregister2.39.2 Deinstallation Tool Known Bugs
If
Grid_homeis created directly under a root-owned directory, the deinstallation tool cannot remove the top-level home directory. An empty Oracle home directory remains at the end of the deinstallation.Workaround: Run
rmdiroracle_homeusing the root user on all nodes.If the deinstallation tool is launched from Oracle home, it fails to delete the
$ORACLE_HOME/deinstalldirectory. This issue is not seen with the standalone deinstallation tool. An empty$ORACLE_HOME/deinstalldirectory remains at the end of deinstallation.Workaround: Manually delete empty directory
$ORACLE_HOME/deinstalland$ORACLE_HOMEat the end of the deinstallation.The 11.2 deinstallation utility is removing all the homes under Oracle base if these homes are not using the same central inventory and the deinstallation utility finds this home is the only one registered in inventory.
Workaround: While installing 11.2 products:
- Oracle does not recommend using multiple central inventories. Avoid this if possible.
- If for some reason a different central inventory is required, use a different Oracle base directory for each central inventory.
When running the deinstallation tool to deinstall the database, you will be prompted to expand the Oracle home and to select a component. If you select the top level component,
Oracle Database Server, and do not select the Oracle home, OUI does not show the message to run the deinstall utility and proceeds with the deinstallation of the database.Workaround: Run the deinstallation tool to deinstall the Oracle home.
If you are running the deinstall tool from
ORACLE_HOMEthat is installed on shared NFS storage, then you will see errors related to.nfsfiles during ORACLE_HOME clean up.Workaround: To remove the ORACLE_HOME, run the
rm -rf $ORACLE_HOMEcommand after the deinstall tool exits. Alternatively, you can use the standalonedeinstall.zipand specify the location of the ORACLE_HOME.2.39.3 Oracle ACFS Known Bugs
When
acfsutil encr infocommand is run on a file or a directory on which encryption has never been enabled, the command produces no output. Furthermore, whenacfsutil encr infois run on a directory with the recursive (-r) option and encryption has never been enabled on that directory, the command produces no output for the directory or any files contained in that directory.Workaround: When
acfsutil encr infois run on an individual file or directory and the command produces no output, it implies that encryption is not enabled on that file or directory.When
acfsutil encr infois run on a directory with the recursive (-r) option and the command produces no output for the specified directory or one of its subdirectories, it implies that encryption is not enabled on that directory. To see the encryption status of files in that directory, runacfsutil encr infoon each file individuallyIn some situations when
acfsutil encr setoracfsutil sec preparecommands are run from multiple nodes in succession, the.Securitydirectory in the mount point may be created incorrectly.If this happens, two entries will be shown for .
Securitywhen listing the contents of the mount point, and theacfsutil sec preparecommand will fail to add the logging and backup directories to their respective system realms if this command was the last to be run.Workaround: If
acfsutil encr setoracfsutil sec preparecommands are to be performed in succession, executing the commands from the same node will avoid the problem.The problem can also be avoided by listing the contents of the
.Securitydirectory before running the second command.However, if the problem is encountered, it can be resolved by first removing both security and encryption from the file system using
acfsutil encr set -uandacfsutil sec prepare -uand then removing the.Securitydirectory. The removal of the.Securitydirectory will have to be performed twice.Once security and encryption have been removed from the file system and the
.Securitydirectory has been deleted, theacfsutil sec prepareoracfsutil encr setcommands may be run again on the file system.If the standby file system is initialized for replication, but the primary file system is not,
repl terminateof the standby will loop forever.Workaround: Use
acfsutil repl terminate standby immediateto terminate the standby under these conditions.After a certain number of retries, the
acfsrepl_transportdaemon attempts to failover to another node if it cannot communicate with the remote site. If there is no other node for the daemon to failover to, or after a certain number of failover attempts, CRS stops trying to failover and the transport daemon will not be running. Not running the transport daemon causes replication to stall and eventually the file systems can run out of space.Workaround: Run
acfsutil repl bg startmnptafter the communication problem is corrected.Unable to communicate with remote site if the disk group is forced dismounted. The root cause of this issue is that the service name associated with the file system is not being unregistered when the disk group is forced dismounted.
Workaround: Unmount the file system whose disk group was forced dismounted. This will unregister the service, thereby allowing the remote site to choose another node with the disk group and file system mounted for communication.
The following are alert log messages pointing to trace files that do not indicate an actual problem:
ORA-19505: failed to identify file "/scratch/primary/.ACFS/repl/ready/receipt.transport.cord242.12786023 69" ORA-27037: unable to obtain file status Linux-x86_64 Error: 2: No such file or directoryWhen creating an ACFS mount point and adding it to the registry, the mount point is not mounted automatically if the following conditions are met:
- The mount point directory was previously registered with the ACFS Registry.
- The mount point directory had been previously mounted.
- The mount point had then been unmounted and removed from the ACFS Registry.
- The
ora.registry.acfsresource has not been restarted since the mount point was deleted from the registry.Workaround: Remove the mount point directory from the file
/tmp/.usm_state_file.2.39.4 Oracle ADVM Known Bugs
Oracle ADVM does not support mounting ext3 file systems over Oracle ADVM with the mount barrier option enabled. The mount barrier option is enabled by default on SLES10.
Workaround: Mount ext3 file system with
-o barrier=1. For example:mount -o barrier=0 /dev/asm/myvol-131 /mnt2.39.5 Oracle Application Express Known Bugs
Refer to “Open Bugs and Known Issues” in Oracle Application Express Release Notes.
2.39.6 Oracle Clusterware Known Bugs
After a non-rolling clusterware upgrade from 11.2.0.1 to 11.2.0.2, the
CLUSTER_NAMEparameter is not set in theclusterware_home _path/crs/install/crsconfig_params. This affects theaddNodescenario after the upgrade.Workaround: Execute the following:
- Execute
clusterware_home_path/bin/olsnodes -cto get the cluster name.- Edit the
clusterware_home_path/crs/install/crsconfig_paramsand update theCLUSTER_NAMEentry asCLUSTER_NAME=clustername_acquired_in_step1.The
root.shscripts fails after downgrading from 11.2.0.2 to 11.2.0.1.Downgrade using the following steps when Oracle Cluster Registry (OCR) is not on Oracle ASM:
- Stop the Cluster Ready Services (CRS) stack running from the 11.2.0.2 home and verify that it is stopped. For example:
11.2.0.2_Home/bin/crsctl stop crs 11.2.0.2_Home/bin/crsctl check crs- There is no
ocr.loc.bkup. The OCR snapshot11202_crshome/cdata/ocr11.2.0.10should be imported instead. For example:ocrconfig -import 11202_crshome/cdata/ocr11.2.0.10- Restore Oracle Local Registry (OLR) from the backup. For example:
cd /etc/oracle mv olr.loc.bkup olr.loc- Start the Oracle Clusterware stack from the 11.2.0.1 home. For example:
11.2.0.1_home/bin/crsctl start crsDowngrade using the following steps when Oracle Cluster Registry (OCR) and voting disk are on Oracle ASM:
- Stop the 11.2.0.2 Oracle Clusterware stack and verify that it is stopped. For example:
11.2.0.2_Home/bin/crsctl stop crs 11.2.0.2_Home/bin/crsctl check crs- Restore the
olr.loc(or equivalent) to 11.2.0.1 Oracle home (on every node).Restore the
olr.loc(or equivalent) so that it points to the OLR in the 11.2.0.1 Oracle Grid Infrastructure for a cluster home. For example:cd /etc/oracle mv olr.loc.bkup olr.loc- Restore the OCR (on the last node).
If the
compatible.asmattribute for the OCR disk group is set to 11.2.0.2, then you must migrate the OCR to a disk group withcompatible.asmset to 11.2.0.1 usingocrconfig -addandocrconfig -deletecommands before starting the downgrade procedure.Start the 11.2.0.1 Oracle Clusterware stack on one node in exclusive mode by running the following command as root:
crsctl start crs -exclIgnore any errors that display. Check whether
crsdis running. If it is, stop it by running the following command asroot:crsctl stop resource ora.crsd -initFormat OCR with 11.2.0.1 snapshot with the following command:
ocrconfig -import file_nameVerify the integrity of OCR with the following command:
ocrcheckStop Oracle Clusterware with the following command on the node where it is running in exclusive mode:
crsctl stop crs -fStart Oracle Clusterware by running the following command as
rooton all of the nodes:crsctl start crsVerify the OCR integrity of all of the cluster nodes that are configured as part of your cluster by running the following CVU command:
cluvfy comp ocr -n all -verbose- Start the Oracle Clusterware stack from the 11.2.0.1 home on each node. For example:
cd 11.2.0.1_home/bin crsctl start crsWhile verifying
udevattributes during installation, upgrade or manual execution ofcluvfy, an error may be reported even though the expectedudevattributes are defined correctly in the appropriateudevrules file. For example:PRVF-5184 : Check of following Udev attributes of "<node>:<path>" failed: "[Permissions: Found='0600' Expected='0660']"This error is due to the expectation that
udevattributes for the device are expected to be in a specific order in theudevrules file.Workaround: When specifying the device information in the
udevrules file, make sure that theOWNER,GROUPandMODEare specified in this order before any other characteristics are specified. For example, if you want to include theACTIONcharacteristic on theudevline, you should specify the following:KERNEL=="<device>", OWNER="oracle", GROUP="dba", MODE="660", ACTION=="add|change"And, do not specify the following:
KERNEL=="<device>", ACTION=="add|change", OWNER="oracle", GROUP="dba", MODE="660"During Oracle Grid Infrastructure for a cluster installation, when a file created by
ddon NFS is used as Oracle ASM disks, the prerequisite check for Oracle ASM devices reports an error (withPRVF-5150) that the given disk is not a valid path.Workaround: This error can be ignored.
During Oracle Grid Infrastructure for a cluster installation on Oracle Virtual Machine (Oracle VM), when virtual shared disks are used as Oracle ASM devices, the prerequisite check for Oracle ASM devices gives a warning that these devices are not shared. For example:
PRVF-5149 : WARNING: Storage "/dev/xvde1" is not shared on all nodesWorkaround: This warning can be ignored.
When running
addNode.shwith the-silentflag to add a new node to Oracle Clusterware, if there are any failures duringcluvfy stage -pre nodeadd, no error messages will be displayed. TheaddNodeoperation will be terminated and the new node will not be added.Workaround: Run
cluvfy stage -pre nodeaddcommand from an existing node of the cluster. Look at the errors reported and fix them. If you want to ignore the errors and continue with theaddNodeoperation, set the environment variableIGNORE_PREADDNODE_CHECKStoYand retry the addNode operation.During Oracle Grid Infrastructure for a cluster installation or during invocation of the
cluvfy stage -pre crsinstcommand, the prerequisite check for user existence reports an error if the numerical value of the user ID exceeds 6 digits. This is applicable to both the local and NIS users.Workaround: The reported user existence validation error can be ignored.
If the Oracle High Availability Services Daemon (OHASD) crashes and restarts while the Oracle Clusterware stack is already running, subsequent Cluster Verification Utility (CVU) checks may produce the following informational messages:
INFO: PRVF-9656 : The CTSS command to query time offset and reference failed on node nodename with error message "" INFO: Query of CTSS for time offset failedWorkaround: These informational messages can be ignored.
Oracle Grid Infrastructure for a cluster cannot be upgraded to Oracle Grid Infrasturcture 11g Release 2 Patchset 2 from Oracle Clusterware releases 10gR1, 10gR2 and 11gR1 when there are multiple private network interfaces configured in the previous release. This can be verified by running the OIFCFG
getifcommand prior to upgrading, and inspecting the number of interfaces markedcluster_interconnect.Workaround: Execute the steps in the following procedure to upgrade Oracle Grid Infrastructure for a cluster. This example assumes a 2-node (
AandB) cluster:
- Shut down all database instances and Oracle ASM running on nodes
AandBin the 10gR1, 10gR2 or 11gR1 cluster.- On node
A, identify the private network interface used by Oracle Clusterware using the OLSNODES-pcommand. Delete the rest of the private network interfaces markedcluster_interconnectusing OIFCFGdelif -globalif_namecommand.- Start up all database instances and Oracle ASM running on nodes
AandBin the 10gR1, 10gR2 or 11gR1 cluster.- Proceed upgrading the Oracle Grid Infrastructure for the cluster 11g Release 2.
Oracle Grid Infrastructure for a cluster needs multicast communication on 230.0.1.0 addresses working properly between the cluster nodes.
When first attempting to start an 11.2.0.2 cluster node, either during a fresh install or after an upgrade attempt, it is possible that the node will be unable to join the cluster. The Oracle Cluster Synchronization Services (OCSSD) will report a failure to join the existing cluster members.
This will be noted as an inability for the CSS to connect to the other active members of the cluster.
The problem occurs because the clusterware in 11.2.0.2 uses multicast messages to initiate communications on the 230.0.1.0 address. If multicast on these addresses is not enabled for the private interfaces, then the clusterware will be unable to connect to it’s peer nodes.
Workaround: Contact your network IT department and have them validate that multicast communications are working across all nodes of the cluster on the private interconnect. In particular, ensure that multicast communications on the 230.0.1.0 addresses are working properly between the cluster nodes.
If Oracle Cluster Registry (OCR) is on a disk group and that disk group cannot be automatically mounted, it prevents, Cluster Ready Services Daemon (CRSD) from starting (also reference Bug 9799693).
Workaround: You must recover the OCR disk group manually. Determine the reason the disk group has failed to mount, correct the problem and mount the disk group. See also message
CRS-5019for recovery options.If the agent terminates while starting a database or Oracle ASM instance, it is possible that the instance startup will not complete.
Workaround: Stop and restart the instance using
srvctlorsqlplus.The Enterprise Manager configuration fails during DBCA if a policy-managed database’s name contains
'_'or more than 8 characters.Workaround: Choose a database name accordingly.
REMOTE_LISTENERparameter was not changed after aSRVCTL ADD SCAN_LISTENERorSRVCTL REMOVE SCAN_LISTENERcommand.In a future release, Oracle Clusterware may start managing
REMOTE_LISTENERas part of a project to support multiple public networks each with their ownSCAN. But in release 11.2, because of the need to include node VIPs in theREMOTE_LISTENERparameter of pre-11.2 databases that are upgraded, Oracle Clusterware does not have all the data needed to keepREMOTE_LISTENERproperly updated. This is, instead, implemented by DBCA and DBUA, or by manual means.Workaround: To manually change the REMOTE_LISTENER parameter, execute the following:
SQL> ALTER SYSTEM SET REMOTE_LISTENER='t2000-cluster0-scan.t2000-18.oraclecorp.com' sid='*' scope=memory; System altered. SQL> ALTER SYSTEM REGISTER; SQL> SHOW PARAMETER LISTENER; NAME TYPE VALUE ------------------------------------ ----------- ------------------------------ remote_listener string t2000-cluster0-scan.t2000-18.oIf you upgrade a previous Oracle Clusterware release to Oracle Grid Infrastructure for a cluster 11g Release 2 (11.2.0.2), Cluster Verification Utility (CVU) may fail if the Oracle Grid Infrastructure for a cluster installation owner does not have correct permissions or ownership of the raw devices on which the Oracle Cluster Registry and voting disk files are placed.
Workaround: Check CVU output in the installation log file, and change permissions or ownership of raw devices to the settings specified in the log file. Click Retry to run the configuration tool again.
Due to a problem in Oracle Clusterware starting with release 11.1.0.7, with the patches required for Exadata support or 11.1.0.7 CRS bundle Patch 1, in some cases the CSS daemon may fail when the clusterware is brought down on another node, either due to a shutdown command or a failure.
The symptom is an
ASSERTin the CSSD log indicating that a maximum value has been exceeded. For example:Group ID of xxxx exceeds max value for global groupsWorkaround: Oracle recommends that customers running with the Exadata support patches or 11.1.0.7 CRS Bundle Patch 1 apply the patch for this bug to avoid this problem.
This problem may also be seen during an upgrade from 11.1.0.7 with patches as indicated above. To eliminate the potential of an 11.1.0.7 node failing during upgrade, the patch for this bug may be applied to the 11.1.0.7 nodes prior to upgrade.
When upgrading, it is recommended that the upgrade be completed on all nodes without restarting any non-upgraded nodes during the upgrade. If an 11.1.0.7 node does fail while performing the upgrade, it should be upgraded as opposed to restarted.
Oracle resources for 10.1 Oracle RAC Databases may not operate properly after upgrading Oracle Clusterware to 11.2.
the patches should be applied to DB home.
Workaround: Fixes of the following bugs are needed in a release 10.1 database home after Oracle Clusterware 11g Release 2 (11.2) is installed:
- 8373758—TB-CMP: 11107 SERVICE CAN’T BE BROUGHT UP BY 11107 SRVCTL WHEN WITH 11.2 CRS
- 3841387—RACGIMON DOESN’T DUMP TRACE
In Oracle Restart environments, the following commands cannot perform a verification and return an error message if the user equivalence does not exist for the local node:
cluvfy stage -pre hacfg cluvfy stage [-pre | -post] cfs cluvfy stage [-pre | -post] acfscfg cluvfy comp admprv cluvfy stage -pre dbcfg cluvfy stage -pre dbinstWorkaround: Configure SSH in Oracle Restart.
Contact Oracle Support Services to obtain the patches for these bugs and apply the patches to the Oracle Database home.
A deinstallation of Oracle Clusterware should ask you to detach any pre-11.2 Oracle RAC homes from the Oracle inventory.
Workaround: After you deconfigure and deinstall an upgraded 11.2 Oracle RAC home and want to continue with deconfiguration and deinstallation of the Oracle Grid Infrastructure for a cluster home, first detach any pre-11.2 Oracle RAC software homes from the central Inventory.
If two network interfaces are configured as public network interfaces in the cluster, the failure of one public interface on a node does not result in automatic VIP failover to the other public interface.
Workaround: If multiple public networks interfaces are present, then use interface bonding for high availability. At the Oracle Clusterware installer “Specify Network Interface Usage” screen, choose only one (bonded) interface as public. When configuring public networks with
srvctladdnodeappsorsrvctladdvip, specify only a single network interface name in the-Aor-Sargument.Oracle resources for pre-11.2 Oracle RAC databases may not operate properly after upgrading Oracle Clusterware to 11.2.
Workaround: After installing Oracle Clusterware 11g Release 2 (11.2), contact Oracle Support Services to obtain the patches for the following bugs:
- 8373758 – TB-CMP: 11107 SERVICE CAN’T BE BROUGHT UP BY 11107 SRVCTL WHEN WITH 11.2 CRS
- 8441769 – TB_UD: INCORRECT SERVICE INFO REGISTER TO DB, UPGRADE CRS_HOME 11.1.0.7 -> 11.2
- 8406545 – TB-CMP: RESTART OF 11.2 HAS STACK FAILED TO BRING UP 11.1 RAC INSTANCE
- 8262786 – TB-CMP: FAIL TO START 11106 DB INSTANCE WITH 11.2 CRS
Note:
You should apply the patches to the Oracle Database home.
Creating pre-11.2 Oracle RAC database in 11.2 Oracle Grid Infrastructure for a cluster environment using DBCA may fail with following messages. When using a cluster file system as storage, you see the following message:
ORA-00119: invalid specification for system parameter REMOTE_LISTENERWhen using Oracle ASM as storage, you see the following message:
DBCA could not startup the ASM instance configured on this nodeWorkaround: Apply the patch for this bug in pre-11.2 database home. This patch is needed for 10.2.0.4, 11.1.0.6 and 11.1.0.7 database releases. No patch is needed for release 10.2.0.5.
2.39.7 Oracle Data Pump Known Bugs
When a database level, schema level, or queue table database export log generated from an 11.2 database is imported into an 11.2 database,
ORA-1403errors may be raised during an Oracle Streams Advanced Queuing (AQ) procedural import action. Import completes successfully with errors.Workaround: None. The
ORA-1403errors in the import log are not fatal. Import of database objects including AQ queues completes successfully.2.39.8 Oracle Database Vault Known Bugs
Database Vault policy cannot be managed in Enterprise Manager DB Control because the following message is displayed in Database Vault Administration page:
"OPERATOR TARGET" privilege does not exist. "You must have OPERATOR TARGET privilege to perform this operation."Workaround: To manage Database Vault policy using Enterprise Manager, the Database Vault administrator must have the EM Administrator privilege. If you do not want to grant the EM Administrator privilege to the Database Vault administrator, then use the Database Vault Administrator page directly. For additional information, see Oracle Database Vault Administrator’s Guide.
If a user is granted Database Vault scheduler job authorization by
DBMS_MACADM.AUTHORIZE_SCHEDULER_USERAPI, dropping this user does not remove the user from the list of authorized users.Workaround: Invoke the
DBMS_MACADM.UNAUTHORIZE_SCHEDULER_USERAPI call to remove the user’s authorization manually.The
ACTION_NAMEentry in theDVSYS.AUDIT_TRAIL$table displaysRealm Authorization Auditfor a failed realm enforcement if the audit option is set to audit on success and failure. TheRETURNCODEwill show the correct error code that was triggered.Workaround: Use the
RETURNCODEvalue to determine whether a violation has occurred and theACTION_NAMEcolumn to identify whether the audit was generated by a realm enforcement or command rule enforcement.Dropping a user does not automatically remove the user from the list of authorized users for Oracle Data Pump.
Workaround: Invoke the
DBMS_MACADM.UNAUTHORIZE_DATAPUMP_USERAPI call to manually remove the user’s authorization for Oracle Data Pump.2.39.9 Oracle Database Enterprise Edition Known Bugs
Transportable tablespace import does not handle timestamp with timezone version change.
If a transportable dumpfile produced in 11.2.0.2 contains tables with timestamp with timezone columns and the version of the timezone table on the target database is different than that from the source database, the import is be prevented from running.
If a dumpfile produced prior to 11.2.0.2 had a different timezone table version than that of the target, then the import is be prevented from running.
Workaround: Make sure the timezone tables for the import and export databases are the same.
Current implementation of node-specific network interfaces requires complete definition of all networks used by Oracle RAC for that node (that is, either node abides by global network configuration or it defines its own node-specific network configuration).
As a corollary, once the first node-specific network interface is defined for a given node, Oracle RAC will not consider any configured global network interfaces that are already configured and may have applied for the same node.
While this is correct, it presents a problem. If the cluster had a working global network configuration, the moment a user updates it (using
oifcfg) to define a node-specificpublicinterface, a global configuration will not be considered for this node, and it will have only one newly-definedpublicinterface. Any cluster interconnects that existed in the global network configuration, and may still resolve fine for this node, will not be considered valid. Thus, the node loses cluster interconnects and PCW stack goes down on that node.Workaround: If the node belongs to a global cluster network configuration, then if there is an intent to make network configuration node-specific, the first defined node-specific interface must be cluster interconnect, so that node never loses interconnect with other cluster nodes. Then, other node-specific interfaces can be defined as necessary.
The
asmgidwrapscript needs to be called if you are creating a database manually on Oracle ASM to avoid a permission error.Workaround: For a role-separated installation (that is, there is a different user and group for grid and RDBMS), use DBCA to create the database that automatically calls
asmgidwrapscript while creating a database on Oracle ASM. If you choose to create a database manually, the script needs to be called explicitly so the proper group can be set to avoid a permission error.When using 11.1 DBCA to remove a database on a cluster running 11.2 Oracle Clusterware, a
PRKP-1061/CRS-2524error may be displayed because the database resource is locked.Workaround: You can ignore the message. Click OK to continue.
When configuring a database on a cluster that has multiple public subnets defined for its VIPs (for example, using a command similar to
srvctl add vip -k 2 -A ...), the database agent automatically setsLOCAL_LISTENERto the listener on the default network. This may duplicate a listener set inLISTENER_NETWORKS.Workaround: Do not specify listeners in
LISTENER_NETWORKSthat are on the default public subnet.In Oracle Enterprise Manager, the “TIP” obtained from the “Run Analysis” on the Automatic Undo Management page is not correct. For example, the Recommended Undo Tablespace Size should be three times the Minimum Size, to allow for workload fluctuations, but Enterprise Manager shows different values.
Workaround: The “TIP” should read as follows:
Oracle advises that you configure the undo tablespace to be three times the Recommended Undo Tablespace Size to allow for workload fluctuationsIf compression attributes are specified at the table level and in the sub-partition template, newly created interval partitions do not use the compression attributes defined in the sub-partition template, but use the table level compression instead.
Workaround: Redefine compression attributes in sub-partitions.
2.39.10 Oracle Enterprise Manager DB Control Known Bugs
emctlcommands did not return valid results as expected.Workaround: The
emctlcommand needs to be run from an Oracle Database home. Do not invoke this command from the Oracle Grid Infrastructure for a cluster home.If the installation owners for the Oracle Grid Infrastructure for a cluster and Oracle Database are different, then the owners of Oracle ASM binaries and Enterprise Manager Agent binaries are also different. When you start Support Workbench, the error message
Error Operation failed - Operation failedmight appear, because the Enterprise Manager Agent is running as a different user, and Support Workbench does not have permissions for the Oracle ASM target.If DB Control is running in an IPv6 environment, then you cannot use it to monitor Exadata cells and you should not add Exadata cells as targets.
2.39.11 Oracle Database QoS Management
This bug applies to platforms that support the Cluster Health Monitor (CHM) (currently LINUX, LINUX.X64, SOLARIS.SPARC32/64 and SOLARIS.X32/64 in 11.2.0.2). If a CRS-managed database service is in a stopped but not disabled state, it will be started by Oracle Database QoS Management if the server hosting that service is not detected to be in a memory over-committed state. If memory is over-committed, then all enabled services will be stopped even if they were manually started. The desired behavior is to only start services on the transition from a memory over-committed state (red) to a normal state (green). If a service is manually started when the server is in the red state, that service should not be shut down.
Workaround: Stop and disable services that you want to remain in the stopped state or disable QoS Management from the Enterprise Manager Console.
The Oracle Database QoS Management feature that protects servers from memory over commitment is only available on platforms that also support Cluster Health Monitor (CHM). For 11.2.0.2, these platforms are LINUX, LINUX.X64, SOLARIS.SPARC32/64 and SOLARIS.X32/64.
2.39.12 Oracle OLAP Known Bugs
Importing an materialized view-enabled cube or cube dimension whose source table is not part of the target schema fails with an
Object not founderror.Workaround: Disable materialized views for the failing object prior to the import, then reenable them when the source tables are present.
2.39.13 Oracle SQL*Loader Known Bugs
When external table code reads very large files on disks served by NFS, the I/O performance of the read can slow down over time. This is caused by NFS caching blocks from the file in memory as it is read. Since these blocks are not re-read, the time spent maintaining the cache slows down the I/O operations.
Workaround: The current behavior (of not using the
O_DIRECTflags) remains the default. You can enable the use of theO_DIRECTflag in the following ways:
- Enable fix control for this bug and set it to
ONwith the following command:ALTER SESSION SET "_fix_control"='9301862:ON';When fix control is enabled, the external table code looks at the
FILESYSTEMIO_OPTIONSconfiguration parameter and if it is set to eitherDIRECTIOorSETALL, then theORACLE_LOADERaccess driver will specify theO_DIRECTflag when opening data files for reading. If theFILESYSTEMIO_OPTIONSparameter is not set or if it is set to other values, then the access driver will not attempt to useO_DIRECTunless you choose the following option.- Use the new
IO_OPTIONSclause in the access driver to specify direct I/O. The clause is part of the largerRECORDSclause. The syntax is:IO_OPTIONS (DIRECTIO | NODIRECTIO)If
DIRECTIOis specified, then the access driver usesO_DIRECTflag when opening the file. IfNODIRECTIOis specified, then the access driver does not use theO_DIRECTflag. Note that the action specified byIO_OPTIONSis performed regardless of the setting of_fix_controlfor this bug.Note that the first option is a way to enable the use of
O_DIRECTfor all external tables while the second option allowsDIRECTIOto be used or not used for specific external tables.2.39.14 Oracle Universal Installer Known Bugs
cloneoraddNodeoperations may fail if the installer session was restarted while choosing to apply software updates in source Oracle home.Workaround: Change the value for
JRE_LOCATIONproperty inORACLE_HOME/oui/oraparam.inito../../jdk/jre.During the prerequisite checks step of installation, the installer may throw an error with text
-1, and the prerequisite page result showsNo results.Workaround: Reexecute the prerequisites by clicking on the
Check Againbutton.When upgrading to 11.2 Clusterware, the Installer invokes ASMCA in silent mode to upgrade Oracle ASM into Oracle Grid Infrastructure for a cluster home. Oracle ASM upgrade is handled in rolling fashion when upgrading from 11.1.0.7. Prior versions of Oracle ASM instances are upgraded in non-rolling fashion and Oracle ASM-based databases are bounced without any prior warning.
Workaround: You can plan your database outage to be the point where you acknowledge the Installer prompt after executing
root.shon all nodes. At this point, CRS is upgraded in rolling fashion and the Installer will be calling ASMCA to upgrade Oracle ASM, which will bounce databases as part of Oracle ASM upgrade.The Oracle Universal Installer (OUI)
runInstallerscript that resides in the Oracle home ($ORACLE_HOME/oui/bin/runInstaller) cannot be used to install the 11.2.0.1 releases of Oracle Database, Oracle Grid Infrastructure for a cluster, and Oracle Database Client.Workaround: Use Oracle Universal Installer on the respective 11.2.0.1.0 product media to install each product.
If you select the database configuration Desktop Class in Oracle Universal Installer (OUI), listener and database control are configured with
'localhost'as the host name. The Oracle Enterprise Manager DB Controlstartandstopoperations usingemctlmay fail.Workaround: For DB Control start and stop operations that use
emctlin that home, set theORACLE_HOSTNAMEenvironment variable to'localhost'.After adding a new node to a shared Oracle database home using
addNode.sh, the/etc/oratabon the newly added node gets an entry of the source database name that exists on the source node from whereaddNode.shwas run. The/etc/oratabfile on the new node is supposed to get the database entry after the database instance is added for the new node using DBCA.Workaround: Before invoking DBCA from the source node to add a new database instance for the new node, open the
/etc/oratabfile on the new node using an editor and remove the entry made for the source database name.2.39.15 Vendor and Operating System Known Bugs
A connect using
SCANandEZCONNECTon one client machine can be requested to use a specificSCANlistener. Therefore, load balancing by round-robin DNS is not possible.Workaround: Connect to a database using the following configuration specifying
LOAD_BALANCE=onintnsnames.ora:ORCL = (DESCRIPTION = (LOAD_BALANCE=on) (ADDRESS = (PROTOCOL = TCP)(HOST = stscan1)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = srv.world) ) )2.39.16 Oracle Wallet Manager
Oracle Wallet Manager fails to upload wallet to Directory service when the wallet password and the directory user password are different.
Workaround: Use the same password for the wallet and the directory user.
2.39.17 Oracle Warehouse Builder Known Bugs
Refer to “Open Bugs and Known Issues” in Oracle Warehouse Builder Release Notes.
Oracle Warehouse Builder (OWB) 11.2.0.1 Design Center client is not compatible with OWB 11.2.0.2 server-side components. Using OWB 11.2.0.1 Design Center to connect to an 11.2.0.2 OWB repository can cause unpredictable behavior, possibly including repository corruption.
Workaround: To avoid these conflicts, configure OWB 11.2.0.1 to check the version of the target repository at connection time.
Edit
OWB_CLIENT_HOME/owb/bin/admin/Preference.propertieson each client installation, and update theOverrideRuntimeVersionCheckandOverrideRepositoryVersionCheckpreferences as follows:OverrideRuntimeVersionCheck=false OverrideRepositoryVersionCheck=falseThis change to
Preference.propertiesshould be applied to the 11.2.0.1 Design Center installation on every client host.To use OWB Design Center with 11.2.0.2 databases, use the OWB 11.2.0.2 Linux 32-bit Design Center until the OWB 11.2.0.2 Windows 32-bit Design Center is available.
If you cannot use OWB 11.2.0.2 Linux 32-bit Design Center client in your environment, contact Oracle Support Services for further assistance.
2.39.18 Oracle XML Database Known Bugs
Because operator arguments are not checked for tracking changes to database objects, an existing result cache cannot be invalidated when one of those objects is updated.
The
xmlexistsoperator is affected by this problem as well as any operator that accepts a database object as an argument.Workaround: Disable or flush the result cache for queries that involve such operators.
In order to fully optimize some
XMLQUERYorXMLTABLEqueries,OPTIMIZER_FEATURE_ENABLEshould be set to 11.1.0.6 or above.
© 2010, www.oracledatabase12g.com. 版权所有.文章允许转载,但必须以链接方式注明源地址,否则追究法律责任.
相关文章 | Related posts:
- Oracle Database 11g release 2 Partner Briefing
- JDBC Batch Processing With Subquery in Select Clause Returns Incorrect Results With 11G Release 1 Database.
- Oracle Clusterware 11g Release 2 – A First Glimpse Under the Hood
- CLOBs and NCLOBs character set storage in Oracle Release 8i, 9i, 10g and 11g
- Upgrade to Oracle Real Application Clusters 11g Release 2 Key Success Factors
- Database Initialization Parameters for Oracle Applications Release 12
- CRS PSU 10.2.0.4.4 Readme (BUNDLE Patch for Base Bug 9294403)
- Collecting Diagnostic information for Oracle block corruption
- Patch set update 11.2.0.1.1 Readme quote
- Oracle database 11g r2最新安装体验




最新评论