This section contains corrections to the following Oracle Documentation for this release:
Section 4.1, "Oracle Automatic Storage Management Administrator's Guide (E41058)"
Section 4.2, "Oracle Clusterware Administration and Deployment Guide (E48819)"
Section 4.3, "Oracle Database Administrator's Guide (E41484)"
Section 4.4, "Oracle Database Backup and Recovery Reference (E50791)"
Section 4.5, "Oracle Database Backup and Recovery User's Guide (E50658)"
Section 4.6, "Oracle Database Concepts (E41396)"
Section 4.7, "Oracle Database JDBC Java API Reference (E56669)"
Section 4.8, "Oracle Database Net Services Administrator's Guide (E17610)"
Section 4.9, "Oracle Database Net Services Reference (E17611)"
Section 4.10, "Oracle Database New Features Guide (E17906)"
Section 4.11, "Oracle Database Performance Tuning Guide (E49058)"
Section 4.12, "Oracle Database PL/SQL Packages and Types Reference (E41829)"
Section 4.13, "Oracle Database Security Guide (E48135)"
Section 4.14, "Oracle Database Upgrade Guide (E41397)"
Section 4.15, "Oracle Database Utilities (E41528)"
Section 4.16, "Oracle Database Vault Administrator's Guide (E49109)"
Section 4.17, "Oracle Database VLDB and Partitioning Guide (E41057)"
Section 4.18, "Oracle Real Application Clusters Administration and Deployment Guide (E48838)"
Section 4.19, "Oracle Spatial and Graph RDF Semantic Graph Developer's Guide (E51611)"
Section 4.20, "Oracle Text Application Developer's Guide (E41398)"
Section 4.21, "Oracle Text Reference (E41399)"
Note the following changes with regard to the Oracle Automatic Storage Management Administrator's Guide.
In the section "volcreate" under "ASMCMD Volume Management Commands," the following warning applies:
WARNING:
Specifying --redundancy
unprotected means that Oracle ASM mirroring is not available for data recovery with the Oracle ADVM volume. The redundancy setting (normal) of the disk group does not provide mirroring for an unprotected Oracle ADVM volume. The unprotected configuration is not recommended for production environments as intermittent storage access failures can result in the loss of data. Backups are strongly recommended.
Extended partition tables are not supported with Oracle ASM filter driver (ASMFD) in Oracle Automatic Storage Management 12.1.
The ASM_DISKGROUPS
parameter is dynamic. If you are using a server parameter file (SPFILE), then you do not have to manually alter the value of ASM_DISKGROUPS
except in Oracle Flex ASM configuration.
In Oracle Flex ASM configuration, Oracle ASM automatically adds a disk group to the parameter when the disk group is successfully created or mounted. Oracle ASM also automatically removes a disk group from the parameter when the disk group is dropped. However, the SPFILE is not updated on a manual dismount.
In Chapter 3, "Administering Oracle ASM Instances", in the section titled "About Automatic Memory Management for Oracle ASM", the following should be added:
An Oracle ASM instance can automatically increase the values set for MEMORY_TARGET
and MEMORY_MAX_TARGET
if an ORA-04031
error is raised and automatic memory management is enabled. If MEMORY_MAX_TARGET
has been explicitly set to a value, then every time ORA-04031
is raised, the MEMORY_TARGET
value is increased by 10% of the existing MEMORY_TARGET
value or 128 MB, whichever is greater, but not greater than the customer specified MEMORY_MAX_TARGET
value. If MEMORY_MAX_TARGET
is not explicitly set, then both MEMORY_TARGET
and MEMORY_MAX_TARGET
are increased by 10% of the existing MEMORY_TARGET
T value or 128 MB, whichever is greater, for a maximum of five increases. The Oracle ASM instance must be rebooted to use the new MEMORY_TARGET
and MEMORY_MAX_TARGET
settings.
In Chapter 4, "Administering Oracle ASM Disk Groups", in the section titled "THIN_PROVISIONED", the Note should be changed to read as follows:
The THIN_PROVISIONED
attribute is supported only with Oracle ASM Filter Driver (Oracle ASMFD) in Oracle Grid Infrastructure 12.2 and later releases on Linux. For information about Oracle ASMFD, refer to the section titled "Oracle ASM Filter Driver".
Note the following changes with regard to the Oracle Clusterware Administration and Deployment Guide.
In Appendix A, the section titled "cluvfy comp healthcheck", the text indicates that you must create a user CVUSYS
using a script to make the database checks work. This is incorrect. You must create a user DBSNMP
(using uppercase characters) to make the database checks work.
In Chapter 2, the section titled "Administering Grid Naming Service", the procedure was not documented regarding how to change the Grid Naming Service (GNS) subdomain when moving from an IPv4 network to an IPv6 network. The steps are:
Add an IPv6 subnet using the SRVCTL modify network
command.
srvctl modify network ¿subnet ipv6_subnet/ ipv6_prefix_length[/interface] -nettype autoconfig
Update the GNS ___domain.
srvctl stop gns -f srvctl stop scan -f srvctl remove gns -f srvctl add gns -vip gns_vip -___domain gns_subdomain srvctl start gns
Update the Single Client Access Name (SCAN) with a new ___domain.
srvctl remove scan -f srvctl add scan -scanname new_domain srvctl start scan
Convert the network IP type from IPv4 to both IPv4 DHCP and IPv6 autoconfig
.
srvctl modify network -iptype both
Transition the network from using both protocols to using only IPv6 autoconfig
using the following command:
srvctl modify network -iptype ipv6
In Appendix I, in the section titled "About OCRCONFIG", Log Files, the correct text should be:
The OCRCONFIG utility creates a log file in <GI ORACLE_BASE>/diag/crs/<host>/crs.
To change the amount of logging, edit the path in the <GI ORACLE_BASE>/crsdata/<host>/crsdiag/<program>.ini
file (for example, ocrconfig.ini
).
Similar changes also apply to the last paragraph of the section titled "Using the OCRCHECK Utility" and the third paragraph of the section titled "Using the OCRDUMP Utility to View Oracle Cluster Registry Content" in Appendix I.
In Chapter 7, in the section titled "Deleting a Cluster Node on Linux and UNIX Systems", add the following as Steps 9 (or 7) and 10 (or 8):
Step 9 (or 7): After deleting the node where the CRS daemon is down, check if the vip for the deleted node still exists using the following command:
srvctl config vip -node deleted_node
Step 10 (or 8): Remove the vip if it still exists using the following commands:
srvctl stop vip -node deleted_node srvctl remove vip -node deleted_node -f
Also in Chapter 7, in the section titled "Deleting a Cluster Node on Windows Systems", add the same steps as Steps 7 and 8.
Step 4 in the section titled "Adding a Node to a Cluster on Windows Systems" in Chapter 7 must be changed to:
C:\> ORACLE_HOME/bin/srvctl stop instance -node newly_added_node_name
In the Chapter titled "Rapid Home Provisioning," a section with the following text describing how to delete a Rapid Home Provisioning Client should be added:
To delete a Rapid Home Provisioning Client, execute the following steps:
On the Rapid Home Provisioning Server:
To query the list of working copies that have been provisioned on the Rapid Home Provisioning Client cluster, execute the following command:
$ rhpctl query workingcopy -client <client_name>
For each of the working copies listed in the output of the command in Step 1.a, execute the following command:
$ rhpctl delete workingcopy -workingcopy <workingcopy_name>
To query the list of users from the Rapid Home Provisioning Client cluster, execute the following command:
$ rhpctl query user -client <client_name>
To delete the user listed in the output of the command in Step 1.c, execute the following command:
$ rhpctl delete user -user <username> -client <client_name>
On the Rapid Home Provisioning Client cluster, execute the following:
Stop the Rapid Home Provisioning Client daemon with the following command:
$ srvctl stop rhpclient
Delete the Rapid Home Provisioning Client configuration using the following command:
$ srvctl remove rhpclient
On the Rapid Home Provisioning Server cluster, execute the following command to delete the client site configuration:
$ rhpctl delete client -client <client_name>
The cluvfy comp cfs
command is deprecated in release 12.1.0.2. In previous releases, you used cluvfy comp cfs
component verification command to check the integrity of a clustered file system (OCFS2)
In Chapter 9, the section titled "Automatically Manage Restart Attempts Counter for Resources", replace the first three lines with the following:
When a resource fails, Oracle Clusterware attempts to restart the resource the number of times specified in the RESTART_ATTEMPTS
resource attribute. Note that this attribute does not specify the number of attempts to restart a failed resource (always one attempt), but rather the number of times the resource fails locally, before the Clusterware attempts to fail it over. The CRSD process maintains an internal counter to track how often Oracle Clusterware restarts a resource. The number of times Oracle Clusterware has restarted a resource locally is reflected in the RESTART_COUNT
resource attribute.
In Appendix J, the table titled "FILESYSTEMS View Metric Descriptions" in the section titled "OCLUMON Command Reference", add the following entries:
Metric | Description |
---|---|
name | Name of the file system |
mount | Mount point where the file system is mounted |
type | Type of the file system that is mounted, whether it is Local or NTFS or EXT2 |
mft% | Percentage of master file table utilization |
Note the following changes with regard to the Oracle Database Administrator's Guide.
You can ignore references to the -force
option with regard to the SRVCTL remove service
command. The -force
option is not implemented with the remove service
command.
In the sub-section titled "About Selecting a Character Set", note the following additional information related to selected the right character set for your database:
Oracle recommends that you use AL32UTF8 as the database character set and do not use UTF8 as the database character set, because UTF8 is not a proper implementation of the Unicode encoding UTF-8. AL32UTF8 and UTF8 character sets are not compatible with each other because they have different maximum character widths. AL32UTF8 has a maximum character width of 4 bytes, whereas UTF8 has a maximum character width of 3 bytes.
In the sub-section titled "Limitations on Transportable Tablespaces", the following statements are incorrect and are not applicable for Oracle Database 12.1:
Transportable tablespaces cannot transport encrypted tablespaces.
Transportable tablespaces cannot transport tablespaces containing tables with encrypted columns.
In the sub-section titled "Limitations on Transportable Tables", the following statements are incorrect and are not applicable for Oracle Database 12.1:
You cannot transport tables that are in encrypted tablespaces.
You cannot transport tables with encrypted columns.
In the sub-section titled "Adding and Dropping Columns in Compressed Tables", the following statement is incorrect and is not applicable for Oracle Database 12.1:
Basic table compression: You cannot specify a default value for an added column.
In the sub-section titled "DELETE Statements and Join Views", note the following additional information related to the DELETE
statement used for join views in the documented example:
The DELETE
statement is successful, even if it does not use the WHERE
clause.
The DELETE
statement is successful, even if it uses a different column in its WHERE
clause than the one that was used to create the view as a join condition.
The DELETE
statement operates on the second table in the FROM
clause in all the cases, because no primary key is defined on the second table.
If a primary key is defined on the second table, then the DELETE
statement operates on the first table in the FROM
clause.
In the sub-section titled "About Repair Tables or Orphan Key Tables", the following statement is incorrect:
The ADMIN_TABLE
procedure is used to create, purge, or drop a repair table or an orphan key table.
Replace this statement with the following corrected statement:
The ADMIN_TABLES
procedure is used to create, purge, or drop a repair table or an orphan key table.
In the sub-section titled "Cloning a Remote PDB or Non-CDB", it says: "The CDB and the non-CDB must be running Oracle Database 12c Release 1 (12.1.0.2) or later." However, this statement is incomplete. In addition to this functionality being available after release 12.1.0.2, if you want to clone a non-CDB to a CDB, then the non-CDB must be the same Oracle Database release. For example, while you can clone a PDB from an earlier release to a later release, and upgrade the PDB, you cannot clone a non-CDB from an earlier release to a later release, because it is not possible to upgrade the non-CDB as part of a cloning operation. If you attempt to clone an earlier release non-CDB to a later release, then you receive the following error:
ORA-65353: The undo tablespace is missing from the XML mettadata file
Note the following changes with regard to the Oracle Database Backup and Recovery Reference, 12c release 1 (12.1).
The INCREMENTAL FROM SCN
integer
syntax element in the Semantics section of the BACKUP
command should include the following statement:
Backups created using the INCREMENTAL FROM SCN
integer
syntax element are not displayed when you run a LIST
command in the database on which the backups were created.
The FOR STANDBY
syntax element in the Semantics section of the DUPLICATE
command should include the following Note:
Note: You cannot use the SKIP TABLESPACE
, TABLESPACE
, SKIP PLUGGABLE DATABASE
, and PLUGGABLE DATABASE
options when creating a standby database.
Note the following changes with regard to the Oracle Database Backup and Recovery User's Guide, 12c release 1 (12.1).
The content of the entire section titled "Creating and Managing Virtual Private Catalogs" should be replaced with the following content.
13.5 Creating and Managing Virtual Private Catalogs
RMAN provides multiple commands to create and manage virtual private catalogs.
13.5.1 Overview of Virtual Private Catalogs
By default, all of the users of an RMAN recovery catalog have full privileges to read, select, insert, update, and delete any metadata in the catalog. For example, if the administrators of two unrelated databases share the same recovery catalog, each administrator could, whether inadvertently or maliciously, destroy catalog data for the other's database. In many enterprises, this situation is tolerated because the same people manage many different databases and also manage the recovery catalog. But in other enterprises where clear separation of duty exists between administrators of various databases, and between the DBA and the administrator of the recovery catalog, you may desire to restrict each database administrator to modify only backup metadata belonging to those databases that they are responsible for, while still keeping the benefits of a single, centrally-managed, RMAN recovery catalog. This goal can be achieved by implementing virtual private catalogs.
Every RMAN recovery catalog starting with Oracle Database 11g supports virtual private catalogs, but they are not used unless explicitly created. There is no restriction on the number of virtual private catalogs that can be created beneath one recovery catalog. Each virtual private catalog is owned by a database schema user which is different than the user who owns the recovery catalog.
After you set up a virtual private catalog user, the administrator for the recovery catalog grants each virtual private catalog the privilege to use that catalog for one or more databases that are currently registered in the recovery catalog. The administrator of the recovery catalog can also grant the privilege to register new databases while using a virtual private catalog.
Note:
Every virtual private catalog has access to all global stored scripts, and those non-global stored scripts that belong to those databases for which this virtual private catalog has privileges. Virtual private catalogs cannot access non-global stored scripts that belong to databases that they do not have privileges for, and they cannot create global stored scripts.13.5.2 About Using the VPD Model for Virtual Private Catalogs
RMAN uses the Virtual Private Database (VPD) functionality to implement virtual private catalogs.
The VPD functionality is not enabled by default when the RMAN base recovery catalog is created. You need to explicitly enable the VPD model for a base recovery catalog by running the $
ORACLE_HOME
/rdbms/admin/dbmsrmanvpc.sql
script after upgrading the base catalog schema.
The format of the dbmsrmanvpc.sql
script is as follows:
$ORACLE_HOME/rdbms/admin/dbmsrmanvpc.sql [[-vpd | -novpd | -scan ] base_catalog_schema_name[...]] | -all
The RMAN base catalog schema names are provided as command-line parameters when running dbmsrmanvpc.sql
. You can specify a maximum of ten base catalog schema names each time you run the script.
Table 13-2 describes the options that you can use when running the dbmsrmanvpc.sql script. You must use one of the command line options or provide a catalog schema name.
Table 13-2 dbmsrmanvpc.sql Options
dbmsrmanvpc.sql Option Name | Description |
---|---|
-vpd |
Grants the privileges required to support the VPD protected catalog.
Connect to the RMAN base catalog and perform |
-novpd |
Disables VPD functionality by cleaning up the base recovery catalog schema, revoking grants, and removing database objects.
This option can only be used when there are no existing VPC users registered in the base recovery catalog. |
-scan |
Performs a scan of the RMAN base catalog owner schemas and reports on the roles granted and the status of VPC users. |
-all |
Automatically detects the RMAN base catalog schemas and upgrades. |
Example 13-1 Enabling VPD Model for VPC User Schemas
Connect to SQL*Plus and use the following command to enable the VPD model for all the virtual private catalogs of the RMAN base catalog rman_cat
.
SQL> @$ORACLE_HOME/rdbms/admin/dbmsrmanvpc.sql -vpd rman_cat
13.5.3 Creating Virtual Private Catalogs
Creating a virtual private catalog is a multi-step process in which you first create the database user who will own the virtual private catalog and then create the virtual private catalog.
Note:
If the recovery catalog is a virtual private catalog, then the RMAN client connecting to it must be at patch level 10.1.0.6 or 10.2.0.3. Oracle9i RMAN clients cannot connect to a virtual private catalog. This version restriction does not affect RMAN client connections to an Oracle Database 11g base recovery catalog, even if it has some virtual private catalog users.Assume that the following databases are registered in the base recovery catalog: prod1, prod2,
and prod3
. The database user who owns the base recovery catalog is rco
. You want to create database user vpc1
and grant this user access privileges only to prod1
and prod2
. By default, a virtual private catalog owner has no access to the base recovery catalog.
The base RMAN recovery catalog must be created before you create virtual private catalogs.
To create a virtual private catalog:
Create the database user who will own the virtual private catalog and grant access privileges to this user.
Start SQL*Plus and connect to the recovery catalog database with administrator privileges.
Create the user who will own the virtual private catalog.
For example, if you want database user vpc1
to own the virtual private catalog, then execute the following command (replacing password
with a user-defined password):
SQL> CREATE USER vpc1 IDENTIFIED BY password
2 DEFAULT TABLESPACE vpcusers
3 QUOTA UNLIMITED ON vpcusers;
Note:
Create a password that is secure. See Oracle Database Security Guide for more information.Grant the CREATE SESSION
privilege to the user who owns the virtual private catalog and then exit SQL*Plus.
The following example grants the role to user vpc1
:
SQL> GRANT CREATE SESSION TO vpc1; SQL> EXIT;
Start RMAN and connect to the recovery catalog database as the base recovery catalog owner (not the virtual private catalog owner).
The following example connects to the base recovery catalog as rco
:
% rman
RMAN> CONNECT CATALOG rco@catdb;
recovery catalog database Password: password
connected to recovery catalog database
Grant desired privileges to the virtual private catalog owner.
The following example gives user vpc1
access to the metadata for prod1
and prod2
(but not prod3
):
RMAN> GRANT CATALOG FOR DATABASE prod1 TO vpc1; RMAN> GRANT CATALOG FOR DATABASE prod2 TO vpc1;
You can also use a DBID rather than a database name. The virtual private catalog user does not have access to the metadata for any other databases registered in the recovery catalog.
You can also grant the user the ability to register new target databases in the recovery catalog. For example:
RMAN> GRANT REGISTER DATABASE TO vpc1;
Create the virtual private catalog.
Start RMAN and connect to the recovery catalog database as the virtual private catalog owner (not the base recovery catalog owner).
The following example connects to the recovery catalog as vpc1
:
% rman RMAN> CONNECT CATALOG vpc1@catdb;
Create the virtual private catalog.
The following command creates the virtual private catalog:
RMAN> CREATE VIRTUAL CATALOG;
If you intend to use a 10.2 or earlier release of RMAN with this virtual private catalog, then execute the following PL/SQL procedure (where base_catalog_owner
is the database user who owns the base recovery catalog):
SQL> EXECUTE base_catalog_owner.DBMS_RCVCAT.CREATE_VIRTUAL_CATALOG;
(Optional) Enable the VPD model for the virtual private catalog by running the dbmsrmanvpc.sql
script with the vpd
option.
See Also:
About Using the VPD Model for Virtual Private Catalogs for information about dbmsrmanvpc.sql
and its options
Oracle Database Backup and Recovery Reference for details about RMAN version compatibility
13.5.4 Registering a Database with a Virtual Private Catalog
To store backup metadata for a target database in a virtual private catalog, you must register the database with the virtual private catalog.
Create the virtual private catalog before you register a target database with it.
To register database with a virtual private catalog and store backup metadata:
Start RMAN and connect to the recovery catalog database as the virtual private catalog owner (not the base recovery catalog owner). Connect to the database that you want to register as TARGET
.
%rman RMAN> CONNECT TARGET / RMAN> CONNECT CATALOG vpc1@catdb;
Register the database whose metadata must be stored in the virtual private catalog.
The following example registers the database with the virtual private catalog owner vpc1
.
RMAN> REGISTER DATABASE;
Back up the database using the BACKUP
command with the required clauses.
Metadata related to the backup is stored in the virtual private catalog.
13.5.5 Revoking Privileges from a Virtual Private Catalog Owner
After you create a virtual private catalog, you can revoke catalog access privileges as necessary.
Assume that two databases are registered in the base recovery catalog: prod1
and prod2
. As owner of the base recovery catalog, you have granted the vpc1
user access privileges to prod1
. You have also granted this user the right to register databases in his virtual private catalog. Now you want to revoke privileges from vpc1
.
To revoke privileges from a virtual private catalog owner:
Start RMAN and connect to the recovery catalog database as the recovery catalog owner (not the virtual private catalog owner).
The following example connects to the recovery catalog as rco
:
% rman RMAN> CONNECT CATALOG rco@catdb;
Revoke specified privileges from the virtual private catalog owner.
The following command revokes access to the metadata for prod1
from virtual private catalog owner vpc1
:
REVOKE CATALOG FOR DATABASE prod1 FROM vpc1;
You can also specify a DBID rather than a database name. The catalog vpc1
retains all other granted catalog privileges.
You can also revoke the privilege to register new target databases in the recovery catalog. For example:
REVOKE REGISTER DATABASE FROM vpc1;
13.5.6 Dropping a Virtual Private Catalog
When you drop a virtual private catalog, you do not remove the base recovery catalog itself, but only drop the security policies that restrict access to the base recovery catalog.
This section assumes that you have created a virtual private catalog and now want to drop it.
To drop a virtual private catalog:
Start RMAN and connect to the recovery catalog database as the virtual private catalog owner (not the base recovery catalog owner).
The following example connects to the recovery catalog as user vpc1
:
% rman RMAN> CONNECT CATALOG vpc1@catdb;
Drop the catalog.
If you are using an Oracle Database 11g or later RMAN executable, then drop the virtual private catalog with the DROP CATALOG
command:
RMAN> DROP CATALOG;
If you are using an Oracle Database 10g or earlier RMAN executable, then you cannot use the DROP CATALOG
command. Instead, connect SQL*Plus to the catalog database as the virtual private catalog user, then execute the following PL/SQL procedure (where base_catalog_owner
is the database user who owns the base recovery catalog):
SQL> EXECUTE base_catalog_owner.DBMS_RCVCAT.DELETE_VIRTUAL_CATALOG;
13.5.7 Upgrading Virgual Private Catalogs
RMAN uses the Virtual Private Database (VPD) functionality to implement virtual private catalogs. If your database has not been upgraded to Oracle Database 12c release 2 (12.2) or you created a recovery catalog and virtual private catalogs using a version lower than Oracle Database 12c release 1 (12.1.0.2), then you must upgrade these virtual private catalogs. RMAN provides scripts, located in the $ORACLE_HOME
/rdbms/admin
directory, to upgrade virtual private catalogs.
To upgrade virtual private catalogs to Oracle Database 12c release 2 (12.2):
Use SQL*Plus to connect to the recovery catalog database as the SYS
user with SYSDBA
privilege.
Run the dbmsrmansys.sql
script to grant additional privileges that are required for the RECOVERY_CATALOG_OWNER
role.
SQL> @$ORACLE_HOME/rdbms/admin/dbmsrmansys.sql
Connect RMAN to the base recovery catalog, upgrade the base recovery catalog, and then exit RMAN.
Assume that the database user who owns the base recovery catalog is rco
. The following command upgrades the base recovery catalog. The UPGRADE CATALOG
command must be entered twice to confirm the upgrade.
$ rman CATALOG rco@catdb recovery catalog database password: RMAN> UPGRADE CATALOG; RMAN> UPGRADE CATALOG; RMAN> EXIT;
Use SQL*Plus to connect to the recovery catalog database as the SYS
user with SYSDBA
privilege.
Run the dbmsmanvpc.sql
script to upgrade virtual private catalog schemas to the VPD model.
The base recovery catalog schema name must be provided as an input parameter to this script. You can specify a maximum of 10 schema names. Alternately, you can use the -all
option to automatically detect base catalog schemas and upgrade all associated virtual private catalog schemas.
The following command upgrades the virtual private catalog schemas of the base recovery catalog owned by rco
:
SQL> @$ORACLE_HOME/rdbms/admin/dbmsrmanvpc.sql rco
See Also:
About Using the VPD Model for Virtual Private Catalogs for information about the dbmsrmanvpc.sql script and its optionsIn Chapter 18, "Overview of the Multitenant Architecture", the section titled "Overview of Tablespaces and Database Files in a CDB" incorrectly states that each PDB has its own set of undo tablespaces. In Oracle Database 12c Release 1 (12.1), PDBs share a single set undo tablespace.
Starting Oracle Database 11gR2, JDBC clients can use OracleDriver
to establish connections to a database from a java application.
Registering the JDBC drivers is no longer a prerequisite.
In Chapter 13, "Enabling Advanced Features of Oracle Net Services", in the section titled "Configuring Advanced Network Address and Connect Data Information", in the sub-section titled "About the Advanced Connect Data Parameters," the first example should be changed to the following:
SQLNET.COMPRESSION = no SQLNET.COMPRESSION_LEVELS = (low,high)
Note the following changes with regard to the Oracle Database Net Services Reference, 12c release 1 (12.1).
Note the following changes with regard to Section 5.2 titled "sqlnet.ora Profile Parameters".
In the sub-section titled "TCP.VALIDNODE_CHECKING", the following paragraphs need to be added to the Usage Notes:
This parameter and the depending parameters, TCP.INVITED_NODES
and TCP.EXCLUDED_NODES
must be set in the sqlnet.ora
file of the listener. This is important in an Oracle RAC environment where the listener runs out of the Oracle Grid Infrastructure home. Setting the parameter in the database home does not have any effect in Oracle RAC environments. In such environments, the address of all Single Client Access Name (SCANs), Virtual IPs (VIPs), local IP must be included in the TCP.INVITED_NODES
list.
In VLAN environments, the sqlnet.ora
file present in the Oracle Grid Infrastructure home should include all the addresses of all the VLANs. The VLANs perform the network segregation, whereas the INVITED_NODES
allows or restricts access to databases within the VLANs.
If multiple databases within the same VLAN require different INVITED_NODE
lists, then separate listeners are required.
The entire sub-section titled "SSL_VERSION" should be changed to read as follows:
Purpose
To limit allowable SSL or TLS versions used for connections.
Usage Notes
Clients and database servers must use a compatible version. This parameter should only be used when absolutely necessary for backward compatibility. The current default uses TLS version 1.2 which is the version required for multiple security compliance requirements.
If you set SSL_VERSION
to undetermined
, then by default it uses 3.0
.
Default
1.2
Values
Note:
The sqlnet.ora parameterADD_SSLV3_TO_DEFAULT
has no impact on this parameter.undertermined | 3.0 | 1.0 | 1.1 | 1.2
If you want to specify one version or another version, then use "or". The following values are permitted:
1.0 or 3.0 | 1.2 or 3.0 | 1.1 or 1.0 | 1.2 or 1.0 | 1.2 or 1.1 | 1.1 or 1.0 or 3.0 | 1.2 or 1.0 or 3.0 | 1.2 or 1.1 or 1.0 | 1.2 or 1.1 or 3.0 | 1.2 or 1.1 or 1.0 or 3.0
Example
SSL_VERSION=1.2
The remaining version numbers correspond to the TLS versions, such as, TLSv1.0, TLSv1.1, and TLSv1.2.
Note the following changes with regard to Oracle Database Net Services Reference, part number E17611.
In the sub-section titled "HS" in the section titled "Connection Data Section," the Example should be changed to read:
net_service_name=
(DESCRIPTION=
(ADDRESS=...)
(ADDRESS=...)
(CONNECT_DATA=
(SID=sales6)
(HS=ok)))
The (HS=ok)
clause is a top level clause, independent and at the same level as the ADDRESS
or CONNECT_DATA
clause.
In the sub-section titled "Control Parameters", the following section should be added:
SSL_VERSION
Purpose
To limit allowable SSL or TLS versions used for connections.
Usage Notes
Clients and database servers must use a compatible version. This parameter should only be used when absolutely necessary for backward compatibility. The current default uses TLS version 1.2 which is the version required for multiple security compliance requirements.
Default
1.2
Values
undetermined | 3.0 | 1.0| 1.1 | 1.2
If you want to specify one version or another version, then use ”or”. The following values are permitted:
1.0 or 3.0 | 1.2 or 3.0 | 1.1 or 1.0 | 1.2 or 1.0 | 1.2 or 1.1 | 1.1 or 1.0 or 3.0 | 1.2 or 1.0 or 3.0 | 1.2 or 1.1 or 1.0 | 1.2 or 1.1 or 3.0 | 1.2 or 1.1 or 1.0 or 3.0
Example
SSL_VERSION=1.2
The remaining version numbers correspond to the TLS versions, such as, TLSv1.0, TLSv1.1, and TLSv1.2.
In the sub-section titled "INBOUND_CONNECT_TIMEOUT" in the section titled "Oracle Connection Manager Parameters", the first bullet under Values must read as follows:
60 secs
is the default. Use value 0
to disable timeout.
In Chapter 6, the sub-section titled "RECV_BUF_SIZE" in the section titled "Optional Parameters for Address Lists", the documented default value for the RECV_BUF_SIZE
parameter is incorrect. The correct default for Linux 2.6 operating system is 87380 bytes.
In Chapter 7, the sub-section titled "RECV_BUF_SIZE" in the section titled "Protocol Address Parameters", the documented default value for the RECV_BUF_SIZE
parameter is incorrect. The correct default for Linux 2.6 operating system is 87380 bytes.
In the Oracle Database New Features Guide, the section titled "New Predefined PL/SQL Inquiry Directives" incorrectly documented the name of two inquiry directives available in Oracle Database 12c release 1 (12.1). The $$PLSQL_OWNER
and $$PLSQL_TYPE
inquiry directives should be $$PLSQL_UNIT_OWNER
and $$PLSQL_UNIT_TYPE
.
In the Oracle Database Performance Tuning Guide, in the sub-section titled "Restrictions for the Result Cache, within the section titled "Requirements for the Result Cache, in the section titled "Configuring the Result Cache", in Chapter 15, the following note should be added:
Note:
Result cache does not work on an Active Data Guard standby database opened in read-only mode.The listno
parameter of the DBMS_UTILITY
was inadvertently excluded from the Oracle Database PL/SQL Packages and Types Reference. For example, the GET_PARAMETER_VALUE
function 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 |
---|---|
parnam |
Parameter name. |
intval |
Value of an integer parameter or the value length of a string parameter. |
strval |
Value of a string parameter. |
listno |
List 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. |
In Chapter 23, "Administering the Audit Trail", in the sub-section titled "About Writing Unified Audit Trail Records to AUDSYS", it is incorrectly stated that queued-write mode is the default write mode. The correct default write mode is immediate-write mode.
In the Oracle Database Upgrade Guide, the chapter titled "Deprecated and Desupported Features for Oracle Database 12c", should include the following desupport notice:
In Oracle Grid Infrastructure releases before Release 12c (12.1), it was supported to use the crsuser
utility with Oracle Real Application Clusters (Oracle RAC) to modify the database logon properties of the Oracle Database service from LocalSystem
to a user ID.
Oracle introduced the Oracle Home User system privileges role for the DB home in Oracle Grid Infrastructure 12c Release 1 (12.1). This role makes the need for the crsuser
functionality unnecessary. The crsuser
facility was also previously used to create user-defined CRS resources that ran as a Windows user other than LocalSystem
. However, Oracle Grid Infrastructure 12c Release 1 (12.1) and later releases provide that same functionality with crsctl add wallet -type OSUSER
. The crsuser
feature no longer works. It is no longer developed or supported.
For more information about the crsctl add wallet -type OSUSER
command, refer to Oracle Clusterware Administration and Deployment.
Note the following with regard to Oracle Database Utilities, 12c release 1 (12.1).
Note the following with regard to the section titled "Parameters Available in Export's Command-Line Mode".
The following Restriction is added to the ACCESS_METHOD
parameter:
The ACCESS_METHOD
parameter for Data Pump Export is not valid for transportable tablespace jobs.
In the sub-section titled "Excluding Constraints" for the EXCLUDE
parameter, the bullet that reads:
EXCLUDE=CONSTRAINT
excludes all (nonreferential) constraints, except for any constraints needed for successful table creation and loading.
Should be changed to read:
EXCLUDE=CONSTRAINT
excludes all constraints, except for any constraints needed for successful table creation and loading.
The following bullet was inadvertently deleted from the Restrictions for the NETWORK_LINK
parameter:
When transporting a database over the network using full transportable export, auditing cannot be enabled for tables stored in an administrative tablespace (such as SYSTEM
and SYSAUX
) if the audit trail information itself is stored in a user-defined tablespace.
The first bullet in the Restrictions section of the REMAP_DATA
parameter should read as follows:
The data types and sizes of the source argument and the returned value must both match the data type and size of the designated column in the table.
Note the following with regard to the section titled "Parameters Available in Import's Command-Line Mode".
The following Restriction is added to the ACCESS_METHOD
parameter:
The ACCESS_METHOD
parameter for Data Pump Import is not valid for transportable tablespace jobs.
In the sub-section titled "Excluding Constraints" for the EXCLUDE
parameter, the bullet that reads:
EXCLUDE=CONSTRAINT
excludes all (nonreferential) constraints, except for any constraints needed for successful table creation and loading.
Should be changed to read:
EXCLUDE=CONSTRAINT
excludes all constraints, except for any constraints needed for successful table creation and loading.
The following bullet was inadvertently deleted from the Restrictions for NETWORK_LINK
:
When transporting a database over the network using full transportable import, auditing cannot be enabled for tables stored in an administrative tablespace (such as SYSTEM
and SYSAUX
) if the audit trail information itself is stored in a user-defined tablespace.
The default documented for the DIRECT
parameter in the section titled "SQL*Loader Express Mode Parameter Reference" is not FALSE
. There is no default.
The syntax for the FIELD NAMES
clause in the section titled "record_format_info Clause" should appear as follows:
FIELD NAMES {FIRST FILE | FIRST IGNORE | ALL FILES | ALL IGNORE | NONE}
The FILE
keyword was missing from FIRST
and the FILES
keyword was missing from ALL
. The option descriptions following the syntax diagram should also be corrected accordingly.
In the sub-section titled "DBVERIFY Parameters When Validating Blocks of a Single File" in the section titled "Using DBVERIFY to Validate Disk Blocks of a Single Data File", the description for the USERID parameter must read as follows:
Specifies your username and password. This parameter is not necessary for Oracle ASM files.
Note the following changes in the Oracle Database Vault Administrator's Guide part number E49109.
The section titled "What Is Privilege Analysis?" incorrectly states that the privilege analysis feature is included in Oracle Database Vault. See Oracle Database Licensing Information User Manual for current licensing information for privilege analysis.
In the section titled "Deinstalling Oracle Database Vault, the following should be added:
You cannot deinstall Database Vault from databases in a multitenant environment. This procedure only applies to legacy, non-CDB Oracle Database environments.
Note the following changes in Oracle Database VLDB and Partitioning Guide:
It was incorrectly documented that interval partitioning was supported with XMLIndex. XMLIndex only supports range, list, and hash partitioning with schemes.
Deferred segment creation does not apply for subpartitions of a composite interval partitioned table. When an interval partition is created, all subpartitions are materialized.
Note the following changes with regard to the Oracle Real Application Clusters Administration and Deployment Guide.
In Chapter 5, the section titled "Restricted Service Registration", a note should be added with the following information:
The save_config
command cannot make the settings of the valid node checking for registration (VNCR) parameter to persist.
In the Appendix titled "Troubleshooting Oracle RAC", the following section should be added:
Database Fails to Start After Using a New Private NIC
After installing Oracle Clusterware and Oracle Flex ASM, when a new private network interface card (NIC) that was added is used, the database fails to start the ora.storage
resource. Manually update the listener after adding the new NIC for Oracle Flex ASM.
In Appendix A, the section titled "srvctl stop instance", the paragraph and the syntax should read as follows:
The srvctl stop instance
command stops instances and stops any services running on specified instances.
Syntax
srvctl stop instance -db db_unique_name {-node node_name | -instance "instance_name_list"} [-stopoption stop_options] [-force] [-failover]
Parameters
-failover -force
If you specify -failover
, then the services fail over to an available instance when the instance stops.
-force
is required only to forcibly stop the instance and any running services if the stop instance command fails with an error.
In the section titled "Overview of In-Memory Column Store with Oracle RAC", the paragraph that begins with "On an Engineered System an object ..." needs to be changed to read as follows:
On an Engineered System, it is possible to duplicate or mirror objects populated in memory across the In-Memory Column Store (IM column store) in the cluster. This provides the highest level of redundancy. The DUPLICATE
clause is used to control how an object should be duplicated across the IM column stores in the cluster. If you specify just DUPLICATE
, then one mirrored copy of the data is distributed across the IM column stores in the cluster. If you want to duplicate the entire object in each IM column store in the cluster, specify DUPLICATE ALL
.
In Chapter 14, the section titled "Converting Databases to Oracle RAC Using Oracle Enterprise Manager", remove step 4 and replace step 3 with the following:
3. On the Database home page, from the Availability menu, select Convert to Cluster Database.
In Appendix A, the sections titled "srvctl start listener" and "srvctl stop listener", the following text is incorrect in the tables:
"If you do not specify this parameter, then the listener name defaults to LISTENER
for a database listener; LISTENER_ASM
for an Oracle ASM listener; or LISTENER_LEAF
for a Leaf Node listener."
The correct text for "srvctl start listener" should be:
"If you do not specify this parameter, then all the known listeners are started."
The correct text for "srvctl stop listener" should be:
"If you do not specify this parameter, then all the known listeners are stopped."
In the Oracle Spatial and Graph RDF Semantic Graph Developer's Guide, the section titled "Quick Start for Using Semantic Data", ignore step 6. That is, do not create the indexes mentioned in that step.
Note the following changes with regard to Oracle Text Application Developer's Guide, 12c release 1 (12.1).
The first paragraph in the section titled "Using the XML Query Result Set Interface" should be changed to read:
The CTX_QUERY.RESULT_SET()
and CTX_QUERY.RESULT_SET_CLOB_QUERY()
APIs enable you to obtain query results with a single query, rather than running multiple CONTAINS()
queries to achieve the same result. The two APIs are identical except that one uses a VARCHAR2
query parameter, and the other uses a CLOB
query parameter to allow for longer queries.
Note the following changes with regard to Oracle Text Reference, 12c release 1 (12.1).
Note the following changes:
In the sub-section titled "Notes" under the main section titled "ALTER INDEX", the following item should be documented in the bulleted list:
You cannot have embedded blanks in section and field names.
According to Bug 21330358, field names cannot use embedded blanks. For example, my section
is an invalid section name since there is a blank just after my
. This applies to field names that are defined using "".
Although the ALTER INDEX OPTIMIZE
operation for Text Indexes was desupported in Oracle Database 12c release 1 (12.1), it was not removed from the Oracle Text Reference document.
This chapter should include the following section:
Token Limitations
All Oracle Text index types store tokens in a table column of type VARCHAR2 (64 BYTE). This means that the maximum size of an indexed token is 64 characters for single–byte character sets, and is less with multibyte or variable-length character sets. Any longer tokens are truncated at 64 bytes. That does not mean that the token cannot be searched for, but rather that the system cannot distinguish between the two tokens which have the same first 64 bytes.
For the ADD_STOPCLASS
procedure, English is the only language supported for stopclasses.
In the Syntax 1 and Syntax 2 examples for the POLICY_SNIPPET
and SNIPPET
procedures, the default value for max_length
is 150
and not 250
.
This chapter should contain the following new section:
RESULT_SET_CLOB_QUERY
This procedure executes an XML query and generates a result set based on a CLOB
query parameter in XML.
The RESULT_SET_CLOB_QUERY
procedure is identical to the RESULT_SET
procedure except that the data type of its query parameter is CLOB
instead of VARCHAR2
to handle longer queries.
Syntax
CTX_QUERY.RESULT_SET_CLOB_QUERY ( index_name IN VARCHAR2, query IN CLOB, result_set_descriptor IN CLOB, result_set IN OUT CLOB, part_name IN VARCHAR2 DEFAULT );
In Appendix B titled "Oracle Text Supported Document Formats", Oracle Text does not extract text for the following file formats:
IBM Lotus Notes NSF (File ID) 7.x, 8.x
IBM Lotus Notes NSF (Windows, Linux x86-32 and Oracle Solaris 32-bit only with Notes Client or Domino Server) 8.x