Showing posts with label Oracle 12c. Show all posts
Showing posts with label Oracle 12c. Show all posts

Tuesday, September 22, 2015

Useful links to get a fair idea about Oracle 12c Multi tenant architecture

Oracle 12c Multitenant : Overview of Container Databases (CDB) and Pluggable Databases (PDB)

Multitenant : Overview of Container Databases (CDB) and Pluggable Databases (PDB)

Oracle 12c Release 1 (12.1) introduced the Multitenant option. This article provides a basic overview of the multitenant option, with links to more detailed articles on the functionality.
  • Overview
  • Creating Pluggable Databases (PDBs)
  • Unpluging and Plugging in Pluggable Databases (PDBs)
  • Views
  • Multitenant Articles
  • Non-CDB Architecture Deprecated

Overview

The multitenant option represents one of the biggest architectural changes in the history of the Oracle database. The option introduced the concepts of the Container Database (CDB) and Pluggable Database (PDB).
  • Container Database (CDB) : On the surface this seems very similar to a conventional Oracle database, as it contains most of the working parts you will be already familiar with (controlfiles, datafiles, undo, tempfiles, redo logs etc.). It also houses the data dictionary for those objects that are owned by the root container and those that are visible to all PDBs.
  • Pluggable Database (PDB) : Since the CDB contains most of the working parts for the database, the PDB only needs to contain information specific to itself. It does not need to worry about controlfiles, redo logs and undo etc. Instead it is just made up of datafiles and tempfiles to handle it's own objects. This includes it's own data dictionary, containing information about only those objects that are specific to the PDB.
Multitenant Overview
This split of the data dictionary between common objects, in the root container, and PDB-specific objects, in the PDB's data dictionary, is very important, because this separation is what gives the multitenant option its flexibility. From the perspective of the PDB, the data dictionary is the union of the root and PDB data dictionaries, so internally the PDB feels very much like a normal Oracle database. For example, the DBA_% and ALL_% views within the PDB appears the same as any non-CDB database.

Creating Pluggable Databases (PDBs)

Since the bulk of the working parts are already present in the root container, creating a new PDB is a comparatively quick and simple task. When creating a completely new PDP, the PDB is created as a copy of a seed PDB, so it only takes as long as the files take to copy.
Multitenant Create From Seed
Instead of creating a new PDB from the seed, you can clone an existing PDB.
Multitenant Clone
It is also possible to create clones in a remote CDB.
Multitenant Remote Clone
.

Unpluging and Plugging in Pluggable Databases (PDBs)

One of the most powerful features of the multitenant option is the ability to unplug a PDB from a CDB and plug it back into another CDB.
Multitenant Unplug Plug
Not only does this allow databases to be moved easily, but it also paves the way for quick patching and upgrading to future versions. A PDB can be unplugged from a 12.1 CBD and plugged into a 12.2 CDB, effectively upgrading it in seconds. 
Conversion of a non-CDB database to a pluggable database involves getting a description the non-CDB database and using this to plug it into a CDB as a new PDB. 

Views

The introduction of the multitenant option brings with it an extra layer of data dictionary views, allowing reporting across the root container and the pluggable databases (PDBs). Ignoring editions for the moment, prior releases had the following hierarchy.
DBA_ : All objects in the database.
|
--ALL_ : Objects accessible by the current user, including those owned by the current user.
  |
  --USER_ : Objects owned by the current user.
With Oracle 12c, an extra layer is added to the hierarchy.

CDB_ : All objects in all containers (root and all PDBs).
|
--DBA_ : All objects in the current container (root or PDB).
  |
  --ALL_ : Objects accessible by the current user in the current container (root or PDB), including those owned by the current user.
    |
    --USER_ : Objects owned by the current user in the current container (root or PDB).

Non-CDB Architecture Deprecated in Oracle 12c R2 releases


Non-CDB Architecture Deprecated


Non-CDB is (Single instance database) which is currently used widely by everyone


From Oracle database 12c version 12.1.0.2, the non-CDB architecture is deprecated.

"The non-CDB architecture is deprecated in Oracle Database 12c, and may be desupported and unavailable in a release after Oracle Database 12c Release 2. Oracle recommends use of the CDB architecture."
It is still supported and will not disappear immediately, but you should be considering the implications of this move now.

Let's get Started Now - It's time for the change
The multitenant architecture introduces a lot of changes for DBAs. If you upgrade to non-CDB in 12cR1, you may be "forced" to change to CDB in 12cR2, making your 12cR2 upgrade a bigger change than it needs to be. 
Maybe it's better to put the effort in upfront and switch now?
This is quite a subjective point and will depend on your time scales, training needs and the level of testing your applications require before making this change.

Prepare Yourself for the Future

The multitenant architecture is the future of the Oracle database.
 In the coming years, the DBAs who invest in learning the new architecture will stand out and those that don't will fall by the wayside.
Even if your decision is to go with the non-CDB approach in 12.1, you *must* start learning about the multitenant architecture now or you may end up making some really bad choices in the future. At a minimum, you need to start making sure your working practices minimize the impact that a move to multitenant architecture will make in future.

Wednesday, June 17, 2015

Oracle 12c OEM issue

Problem  – OEM12C agent had been down for a few days on a non-production server and more than the maximum number of files had been created ready to be uploaded.
emctl status agent
Oracle Enterprise Manager Cloud Control 12c Release 2
Copyright (c) 1996, 2012 Oracle Corporation.  All rights reserved.
---------------------------------------------------------------
Agent is Not Running
emctl start agent
Oracle Enterprise Manager Cloud Control 12c Release 2
Copyright (c) 1996, 2012 Oracle Corporation.  All rights reserved.
Starting agent ........................................................................................................................... started but not ready.

emctl status agent
Oracle Enterprise Manager Cloud Control 12c Release 2
Copyright (c) 1996, 2012 Oracle Corporation.  All rights reserved.
---------------------------------------------------------------
Agent Version     : 12.1.0.2.0
OMS Version       : 12.1.0.2.0
Protocol Version  : 12.1.0.1.0
Agent Home        : /app/oracle/product/gc12.1/agent12c
Agent Binaries    : /app/oracle/product/gc12.1/core/12.1.0.2.0
Agent Process ID  : 2930
Parent Process ID : 2806
Agent URL         ::1830/emd/main/
Repository URL   ::4900/empbs/upload
Started at        : 2014-03-11 12:45:03
Started by user   : oracle
Last Reload       : (none)
Last successful upload                       : 2014-03-11 12:48:27
Last attempted upload                        : 2014-03-11 12:48:27
Total Megabytes of XML files uploaded so far : 1.07
Number of XML files pending upload           : 3,118
Size of XML files pending upload(MB)         : 8.51
Available disk space on upload filesystem    : 26.60%
Collection Status                            : [COLLECTIONS_HALTED(
  UPLOAD_SYSTEM Threshold (UploadMaxNumberXML: 5000) exceeded with 5001 files)]
Heartbeat Status                             : Ok
Last attempted heartbeat to OMS              : 2014-03-11 12:48:11
Last successful heartbeat to OMS             : 2014-03-11 12:48:11
Next scheduled heartbeat to OMS              : 2014-03-11 12:49:11
Edit $ORACLE_HOME/sysman/config/emd.properties and change the entry to 6000 from 5000 for the line
UploadMaxNumberXML=5000
Then instead of the time-consuming process of stopping and starting the agent
Emctl reload agent
That works very quickly and the files were processed few in a few minutes and then I just re-edited the properties file back again and performed a reload

Tuesday, June 16, 2015

Oracle RAC upgrade - 11g (11.2.0.3) to 12c (12.1.0.2)

Upgrade Grid Infrastructure 11g (11.2.0.3) to 12c (12.1.0.2)

I have recently tested the upgrade to RAC Grid Infrastructure 12.1.0.2 on my test RAC Oracle Virtualbox Linux 6.5 x86-64 environment.
The upgrade went very smoothly but we have to take a few things into account – some things have changed in 12.1.0.2 as compared to Grid Infrastructure 12.1.0.1.
The most notable change regards the Grid Infrastructure Management Repository (GIMR).
In 12.1.0.1 we had the option of installing the GIMR database – MGMTDB. But in 12.1.0.2 it is mandatory and the MGMTDB database is automatically created as part of the upgrade or initial installation process of 12.10.2 Grid Infrastructure.
The GIMR primarily stores historical Cluster Health Monitor metric data. It runs as a container database on a single node of the RAC cluster.
The problem I found is that the datafiles for the MGMTDB database are created on the same ASM disk group which holds the OCR and Voting Disk and there is a prerequisite that there is at least 4 GB of free space in that ASM disk group – or an error INS-43100 will be returned as shown in the figure below.
I had to cancel the upgrade process and add another disk to the +OCR ASM disk group to ensure that at least 4 GB of free space was available and after that the upgrade process went through very smoothly.



On both the nodes of the RAC cluster we will create the directory structure for the 12.1.0.2 Grid Infrastructure environment as this is an out-of-place upgrade.
Also it is very important to check the health of the RAC cluster before the upgrade (via the crsctl check cluster -all command) and also run the cluvfy.sh script to verify all the prerequisites for the 12c GI upgrade are in place.
[oracle@rac1 bin]$ crsctl query crs softwareversion rac1
Oracle Clusterware version on node [rac1] is [11.2.0.3.0]
[oracle@rac1 bin]$ crsctl query crs softwareversion rac2
Oracle Clusterware version on node [rac2] is [11.2.0.3.0]
[oracle@rac1 grid]$ ./runcluvfy.sh stage -pre crsinst -upgrade -rolling -src_crshome /u01/app/11.2.0/grid -dest_crshome /u02/app/12.1.0/grid -dest_version 12.1.0.2.0




[oracle@rac1 ~]$ crsctl check cluster -all
**************************************************************
rac1:
CRS-4537: Cluster Ready Services is online
CRS-4529: Cluster Synchronization Services is online
CRS-4533: Event Manager is online
**************************************************************
rac2:
CRS-4537: Cluster Ready Services is online
CRS-4529: Cluster Synchronization Services is online
CRS-4533: Event Manager is online
**************************************************************
[oracle@rac1 ~]$ crsctl query crs releaseversion
Oracle High Availability Services release version on the local node is [12.1.0.2.0]
[oracle@rac1 ~]$ crsctl query crs softwareversion
Oracle Clusterware version on node [rac1] is [12.1.0.2.0]
[oracle@rac1 ~]$ crsctl query crs activeversion -f
Oracle Clusterware active version on the cluster is [12.1.0.2.0]. The cluster upgrade state is [NORMAL]. The cluster active patch level is [0].
[oracle@rac1 ~]$ ps -ef |grep pmon
oracle 1278 1 0 14:53 ? 00:00:00 mdb_pmon_-MGMTDB
oracle 16354 1 0 14:22 ? 00:00:00 asm_pmon_+ASM1
oracle 17217 1 0 14:23 ? 00:00:00 ora_pmon_orcl1
[root@rac1 bin]# ./oclumon manage -get reppath
CHM Repository Path = +OCR/_MGMTDB/FD9B43BF6A646F8CE043B6A9E80A2815/DATAFILE/sysmgmtdata.269.873212089
[root@rac1 bin]# ./srvctl status mgmtdb -verbose
Database is enabled
Instance -MGMTDB is running on node rac1. Instance status: Open.
[root@rac1 bin]# ./srvctl config mgmtdb
Database unique name: _mgmtdb
Database name:
Oracle home:
Oracle user: oracle
Spfile: +OCR/_MGMTDB/PARAMETERFILE/spfile.268.873211787
Password file:
Domain:
Start options: open
Stop options: immediate
Database role: PRIMARY
Management policy: AUTOMATIC
Type: Management
PDB name: rac_cluster
PDB service: rac_cluster
Cluster name: rac-cluster
Database instance: -MGMTDB

Thursday, August 22, 2013

Oracle 12c: Move Datafile online

Renaming or relocating Oracle datafiles prior to Oracle 11g was not straight forward process. You had to perform 4 steps.

1. Take the tablespace offline.

2. Rename or relocate using OS

3. Issue ” ALTER DATABASE RENAME FILE” command. All that this command did was update the control files.

4. Bring the tablespace online.

Starting with Oracle12c, All you need is one single command and the best thing is that this is done online. In fact this command will work only on online datafiles. The new command is “ALTER DATABASE MOVE DATAFILE ‘file1′ TO ‘file2′;

This command copies/renames the datafile to new location, updates the controlfile and deletes the old datafile. You also have options to retain the old datafile with “KEEP” option but as far the database goes, the retained file is not part of database.

See example below

15:52:56 SQL> create tablespace myts datafile ‘/mydb06/oradata/mydb/myts01.dbf’ size 20G;

Tablespace created.

Elapsed: 00:00:55.01

15:54:48 SQL> alter database move datafile ‘/mydb06/oradata/mydb/myts01.dbf’ to ‘/mydb05/oradata/mydb/myts01.dbf’;

Database altered.

Elapsed: 00:05:32.34 ==> 5 minutes to copy & rename the file

16:37:32 SQL> select name , status from v$datafile where name like ‘%ts%’;

NAME STATUS
———————————————————————————-
/mydb05/oradata/mydb/myts01.dbf ONLINE

Elapsed: 00:00:00.02

Major Drawback

Renaming files using offline (pre-12c) approach is much faster if the datafiles need to be just renamed on the same filesystem and not relocated. With the new approach, Oracle makes a copy of datafile irrespective of whether KEEP option is specified or not. This can be achieved very fast with OS “mv” command using the offline(pre-12c) approach. So if you can afford to take the files offline and all you want is rename and not relocate, use the offline approach as it is very fast.

16:37:51 SQL> alter database move datafile ‘/mydb05/oradata/mydb/myts01.dbf’ to ‘/mydb05/oradata/mudb/mytabs01.dbf’;

Database altered.

Elapsed: 00:05:46.57
16:54:26 SQL>
-bash-3.2$ ls -latr
-rw-r—– 1 oracle dba 21474844672 Aug 11 16:08 myts01.dbf
-rw-r—– 1 oracle dba 21474844672 Aug 11 16:51 mytabs01.dbf
-bash-3.2$

Things to know before using this command
Dataguard
Move operations on the primary or standby is independent of each other

Flashback
Flashback operations will retain the new location of datafile irrespective of the flashback time.

OS
Old files are not deleted on Windows

Monday, August 19, 2013

Oracle 12c: How to change open mode of all databases (PDB)

When you need to modify the open mode of all your PDBs at the same time (look at
this post if you want to change the open mode of only a specific pluggable database)
you can use ALTER PLUGGABLE DATABASE command and the ALL option.
As usual you have to ensure that the current container is the root.

 SQL> SELECT SYS_CONTEXT ('USERENV', 'CON_NAME') FROM DUAL;
 SYS_CONTEXT('USERENV','CON_NAME')
 --------------------------------------------------------------------------------
 CDB$ROOT
The following statement for example changes the open mode of all your pluggable
databases at the same time.

SQL>ALTER PLUGGABLE DATABASE ALL CLOSE IMMEDIATE;
 Pluggable database altered.

 SQL> select NAME, OPEN_MODE, CON_ID from V$PDBS;

 NAME OPEN_MODE CON_ID
 ------------------------------ ---------- ----------
 PDB$SEED READ ONLY 2
 PDB001 MOUNTED 3
 PDB002 MOUNTED 4

When you need to change the open mode of all pluggable database except for listed
ones you can include also the EXCEPT option as in the following example:

 SQL> ALTER PLUGGABLE DATABASE ALL EXCEPT PDB001 OPEN READ WRITE;

 Pluggable database altered.

 SQL> select NAME, OPEN_MODE, CON_ID from V$PDBS;

 NAME OPEN_MODE CON_ID
 ------------------------------ ---------- ----------
 PDB$SEED READ ONLY 2
 PDB001 MOUNTED 3
 PDB002 READ WRITE 4

To open all my pluggable databases I can simply execute the following command. It
doesn't take care that PDB002 is already open in READ WRITE mode: any error is
returned because the pluggable databases are in different open mode.

 SQL> ALTER PLUGGABLE DATABASE ALL OPEN READ WRITE;

 Pluggable database altered.

 SQL> select NAME, OPEN_MODE, CON_ID from V$PDBS;

NAME OPEN_MODE CON_ID
 ------------------------------ ---------- ----------
 PDB$SEED READ ONLY 2
 PDB001 READ WRITE 3
 PDB002 READ WRITE 4

However, if any of your pluggable databases are in READ ONLY mode, then the
statement returns the error "ORA-65019: pluggable database PDB001 already
open" as you can see:

SQL> ALTER PLUGGABLE DATABASE ALL CLOSE IMMEDIATE;

Pluggable database altered.

SQL> select NAME, OPEN_MODE, CON_ID from V$PDBS;
NAME OPEN_MODE CON_ID
 ------------------------------ ---------- ----------
 PDB$SEED READ ONLY 2
 PDB001 MOUNTED 3
 PDB002 MOUNTED 4

 SQL> ALTER PLUGGABLE DATABASE PDB001 OPEN READ ONLY;

 Pluggable database altered.
SQL> select NAME, OPEN_MODE, CON_ID from V$PDBS;
 NAME OPEN_MODE CON_ID
 ------------------------------ ---------- ----------
 PDB$SEED READ ONLY 2
PDB001 READ ONLY 3
 PDB002 MOUNTED 4
 SQL> ALTER PLUGGABLE DATABASE ALL OPEN READ WRITE;
 ALTER PLUGGABLE DATABASE ALL OPEN READ WRITE
 *
ERROR at line 1:
ORA-65019: pluggable database PDB001 already open
Even if the statement fails for pluggable database PDB001 it was able to openPDB002 as requested:
view plainprint?
 SQL> select NAME, OPEN_MODE, CON_ID from V$PDBS;

 NAME OPEN_MODE CON_ID
 ------------------------------ ---------- ----------
 PDB$SEED READ ONLY 2
 PDB001 READ ONLY 3
 PDB002 READ WRITE 4

To avoid the error ORA-65019 you can include the FORCE option in your
command:

 SQL> ALTER PLUGGABLE DATABASE ALL OPEN READ WRITE FORCE;

 Pluggable database altered.

 SQL> select NAME, OPEN_MODE, CON_ID from V$PDBS;

 NAME OPEN_MODE CON_ID
 ------------------------------ ---------- ----------
 PDB$SEED READ ONLY 2
 PDB001 READ WRITE 3
 PDB002 READ WRITE 4

To shutdown all your pluggable databases except one you can use the following
command:

SQL> alter pluggable database all except PDB002 close immediate;

 Pluggable database altered.

 SQL> select name, open_mode from V$PDBS;

 NAME OPEN_MODE
 ------------------------------ ----------
 PDB$SEED READ ONLY
 PDB001 MOUNTED
 PDB002 READ WRITE

To list some of your pluggable databases you can use the comma as in the
following example where I need to open all my pluggable databases (PDB001 and
PDB002) except those listed (just PDB001 and PDB002!!). Nothing happens of
course.


 SQL> alter pluggable database all except PDB002,PDB001 open;

Pluggable database altered.

 SQL> select name, open_mode from V$PDBS;6.
NAME OPEN_MODE
 ------------------------------ ----------
PDB$SEED READ ONLY
 PDB001 MOUNTED
 PDB002 READ WRITE

Thursday, August 15, 2013

Oracle 12c: What Happened to All the background Process

Got this from Johannes Ahrands Blog.. Very interesting..

Multi-Process Multi-Threaded Oracle

If you are running Oracle databases on Unix or Linux you probably know that there are many processes even if no user is connected. But if you run Oracle on Microsoft Windows you only see one processes and all Actions are connected to it as threads.
With Oracle 12c it’s now possibe to run an instance with very few processes and all tasks are running as threads. This is named “Multi-Threaded Oracle“.

How does it work?

To enable multi threading you have to set the Parameter threaded_execution to “TRUE“. After the instance restart only few processes still exist (for example pmon). But every user processes still runs with a dedicated process. This can be changed with the listener Parameter “DEDICATED_THROUGH_BROKER_LISTENER=ON“.  Now you will only see very few processes with the ps command.
But there is a little pitfall: if the instance is running in Multi-Threaded mode you can no longer connect to the database with an OS authentication like sqlplus / as sysdba. Instead you have to use username and password all the time. This is a restriction especially for scripts running on the same box or executed via ssh.

Example

Let’s first look at the “normal” processlist for an Oracle 12c database:
% ps -ef|grep WAGNER1
oracle 8994 1 0 12:36 ? 00:00:00 ora_pmon_WAGNER1
oracle 8996 1 0 12:36 ? 00:00:00 ora_psp0_WAGNER1
oracle 8998 1 1 12:36 ? 00:00:51 ora_vktm_WAGNER1
oracle 9002 1 0 12:36 ? 00:00:00 ora_gen0_WAGNER1
oracle 9004 1 0 12:36 ? 00:00:00 ora_mman_WAGNER1
oracle 9008 1 0 12:36 ? 00:00:00 ora_diag_WAGNER1
oracle 9010 1 0 12:36 ? 00:00:00 ora_dbrm_WAGNER1
oracle 9012 1 0 12:36 ? 00:00:02 ora_dia0_WAGNER1
oracle 9014 1 0 12:36 ? 00:00:00 ora_dbw0_WAGNER1
oracle 9016 1 0 12:36 ? 00:00:00 ora_lgwr_WAGNER1
oracle 9018 1 0 12:36 ? 00:00:00 ora_ckpt_WAGNER1
oracle 9020 1 0 12:36 ? 00:00:00 ora_smon_WAGNER1
oracle 9022 1 0 12:36 ? 00:00:00 ora_reco_WAGNER1
oracle 9024 1 0 12:36 ? 00:00:00 ora_lreg_WAGNER1
oracle 9026 1 0 12:36 ? 00:00:03 ora_mmon_WAGNER1
oracle 9028 1 0 12:36 ? 00:00:02 ora_mmnl_WAGNER1
oracle 9030 1 0 12:36 ? 00:00:00 ora_d000_WAGNER1
oracle 9032 1 0 12:36 ? 00:00:00 ora_s000_WAGNER1
oracle 9044 1 0 12:37 ? 00:00:00 ora_tmon_WAGNER1
oracle 9046 1 0 12:37 ? 00:00:00 ora_tt00_WAGNER1
oracle 9048 1 0 12:37 ? 00:00:00 ora_smco_WAGNER1
oracle 9050 1 0 12:37 ? 00:00:00 ora_fbda_WAGNER1
oracle 9052 1 0 12:37 ? 00:00:00 ora_w000_WAGNER1
oracle 9054 1 0 12:37 ? 00:00:00 ora_aqpc_WAGNER1
oracle 9056 1 0 12:37 ? 00:00:01 ora_cjq0_WAGNER1
oracle 9060 1 0 12:37 ? 00:00:00 ora_p000_WAGNER1
oracle 9062 1 0 12:37 ? 00:00:00 ora_p001_WAGNER1
oracle 9064 1 0 12:37 ? 00:00:00 ora_p002_WAGNER1
oracle 9066 1 0 12:37 ? 00:00:00 ora_p003_WAGNER1
oracle 9098 1 0 12:37 ? 00:00:00 ora_qm02_WAGNER1
oracle 9102 1 0 12:37 ? 00:00:00 ora_q002_WAGNER1
oracle 9104 1 0 12:37 ? 00:00:00 ora_q003_WAGNER1
oracle 9283 1 0 12:47 ? 00:00:00 ora_w001_WAGNER1
oracle 9520 1 0 13:07 ? 00:00:00 ora_w002_WAGNER1
...
Now the instance parameter is set to true and the instance will be restarted:
SQL> alter system set threaded_execution=TRUE scope=spfile;
System altered.
SQL> shutdown immediate
...
SQL> startup
ORA-01017: invalid username/password; logon denied
As you can see it’s no longer possible to use the OS authentication but you have to use a username and password instead.
% sqlplus sys/manager as sysdba
And the process list looks like follows:
% ps -ef|grep WAGNER
oracle 19286 1 0 10:39 ? 00:00:00 ora_pmon_WAGNER1
oracle 19288 1 0 10:39 ? 00:00:00 ora_psp0_WAGNER1
oracle 19290 1 1 10:39 ? 00:00:02 ora_vktm_WAGNER1
oracle 19294 1 0 10:39 ? 00:00:00 ora_u004_WAGNER1
oracle 19300 1 3 10:39 ? 00:00:05 ora_u005_WAGNER1
oracle 19306 1 0 10:39 ? 00:00:00 ora_dbw0_WAGNER1
oracle 19369 1 0 10:41 ? 00:00:00 oracleWAGNER1 (LOCAL=NO)
oracle 19373 1 0 10:42 ? 00:00:00 oracleWAGNER1 (LOCAL=NO)
oracle 19376 1 0 10:42 ? 00:00:00 oracleWAGNER1 (LOCAL=NO)
The instance now has only 6 background processes but the user processes are still dedicated.
With the new parameter in the listener this can be changed as well:
% cat listener.ora
DEDICATED_THROUGH_BROKER_LISTENER=ON
...
% lsnrctl stop
% lsnrctl start

% ps -ef |grep WAGNER
oracle 19286 1 0 10:39 ? 00:00:00 ora_pmon_WAGNER1
oracle 19288 1 0 10:39 ? 00:00:00 ora_psp0_WAGNER1
oracle 19290 1 1 10:39 ? 00:00:12 ora_vktm_WAGNER1
oracle 19294 1 0 10:39 ? 00:00:00 ora_u004_WAGNER1
oracle 19300 1 1 10:39 ? 00:00:09 ora_u005_WAGNER1
oracle 19306 1 0 10:39 ? 00:00:00 ora_dbw0_WAGNER1
All the user processes have been gone and running as threads within the context of process 19300 (ora_u005_WAGNER1). This can be validated with the view v$processes:
SQL> SELECT spid, stid, pname, execution_type, program  
FROM v$process
ORDER BY execution_type, stid;

SPID STID PNAME EXECUTION_ PROGRAM
------- -------- ----- ---------- --------------------------------------
NONE PSEUDO
19300 19510 W001 THREAD oracle@wagner.carajandb.intern (W001)
19300 19515 THREAD oracle@wagner.carajandb.intern
19300 19516 THREAD oracle@wagner.carajandb.intern

Oracle 12c Deprecated Parameters and Features( from Oracle documentation)

Deprecated and Desupported Features for Oracle Database 12c

Oracle Database 12c introduces behavior changes for your database in addition to new features. Changes in behavior include deprecated and desupported initialization parameters, options, syntax, and the deprecation and desupport of features and components.
This chapter describes behavior changes where features have been deprecated or desupported in this release. This chapter does not describe new features introduced in Oracle Database 12c, nor does it describe changes in earlier releases of Oracle Database.
This chapter contains the following topics:
See Also:

8.1 Oracle Database Changes

Oracle Database 12c introduces changes that affect Oracle Database in general.
This section contains these topics:

8.1.1 Deprecation of catupgrd.sql Script and Introduction of New catctl.pl Utility

Oracle Database 12c introduces the new Parallel Upgrade Utility, catctl.pl. This utility replaces the catupgrd.sql script that was used in earlier releases. Although you can still use the catupgrd.sql script, it is deprecated starting with Oracle Database 12c and will be removed in future releases. Oracle recommends database upgrades be performed with the new Parallel Upgrade Utility, catctl.pl.
If you choose to run the catupgrd.sql script instead of running catctl.pl, doing so now requires an additional input parameter as follows:
SQL> catupgrd.sql PARALLEL=NO
If you run catupgrd.sql without the parameter, then Oracle displays the following error message:
NOTE

The catupgrd.sql script is being deprecated in the 12.1 release of
Oracle Database. Customers are encouraged to use catctl.pl as
the replacement for catupgrd.sql when upgrading the database dictionary.

cd $ORACLE_HOME/rdbms/admin
$ORACLE_HOME/perl/bin/perl catctl.pl -n 4 catupgrd.sql

Refer to the Oracle Database Upgrade Guide for more information.

This database upgrade procedure must be called with the following
argument when invoking from the SQL prompt:

@catupgrd.sql PARALLEL=NO
See Also:
"About the New Parallel Upgrade Utility for Oracle Database" for information about catctl.pl and how to run it

8.1.2 Desupport of Oracle Enterprise Manager Database Control

Starting with Oracle Database 12c, Oracle Enterprise Manager Database Control is desupported and is no longer available. Oracle introduces Oracle Enterprise Manager Database Express (Oracle EM Express) as a replacement. Oracle EM Express is installed when you upgrade to Oracle Database 12c.
See Also:

8.1.3 Changes for Deinstallation and Cleanup of Oracle Base

The following topics discuss changes for deinstallation and cleanup of Oracle Base:

8.1.3.1 Change for Standalone Deinstallation Tool

Starting with Oracle Database 12c, the deinstallation standalone utility is replaced with a deinstall option using Oracle Universal Installer (OUI). You can also run the deinstallation tool using the runInstaller command on Linux and UNIX (or setup.exe on Windows) with the -deinstall and -home options from the base directory of the installation media for Oracle Database, Oracle Database Client, or Oracle Grid Infrastructure.
See Also:

8.1.3.2 Desupport of CLEANUP_ORACLE_BASE Property

In Oracle Database 12c, the CLEANUP_ORACLE_BASE property is removed and does not support an Oracle base removal during silent or response file mode deinstalls.

8.1.3.3 Deprecation of -cleanupOBase

The -cleanupOBase flag of the deinstallation tool is deprecated in this release.
See Also:
Oracle Database Installation Guide for your operating system

8.1.4 Deprecated Parameters

In Oracle Database 12c, some database parameters are deprecated.
To obtain a current list of deprecated parameters, run the following query in SQL*Plus:
SQL> SELECT name from v$parameter 
WHERE isdeprecated = 'TRUE' ORDER BY name;
The query returns a list of the deprecated parameters as of the date and time that you run it. The following example shows the query results that appear:
active_instance_count
background_dump_dest
buffer_pool_keep
buffer_pool_recycle
commit_write
cursor_space_for_time
fast_start_io_target
global_context_pool_size
instance_groups
lock_name_space
log_archive_local_first
log_archive_start
max_enabled_roles
parallel_automatic_tuning
parallel_io_cap_enabled
parallel_server
parallel_server_instances
plsql_v2_compatibility
remote_os_authent
resource_manager_cpu_allocation
sec_case_sensitive_logon
serial_reuse
sql_trace
standby_archive_dest
user_dump_dest

8.1.4.1 SEC_CASE_SENSITIVE_LOGON

The SEC_CASE_SENSITIVE_LOGON initialization parameter is deprecated in this release. See Oracle Database Reference for information about the SEC_CASE_SENSITIVE_LOGON initialization parameter.

8.1.4.2 FILE_MAPPING

The FILE_MAPPING initialization parameter is deprecated. It is still supported for backward compatibility. See Oracle Database Reference for information about the FILE_MAPPING initialization parameter.

8.1.5 Deprecated Views

The following views are deprecated in Oracle Database 12c:
See Also:
Oracle Database Administrator's Guide for information about specifying Scheduler job credentials

8.1.6 Deprecation of Oracle Streams

Oracle Streams is deprecated in Oracle Database 12c and may be desupported and unavailable in a later Oracle Database release. Use Oracle GoldenGate to replace all replication features of Oracle Streams.
Note:
Oracle Database Advanced Queuing is independent of Oracle Streams and continues to be enhanced.
See Also:
Oracle GoldenGate documentation for information

8.1.7 Deprecation of Advanced Replication

Oracle Database Advanced Replication is deprecated in Oracle Database 12c. Use Oracle GoldenGate to replace all features of Advanced Replication, including multimaster replication, updatable materialized views, hierarchical materialized views, and deployment templates.
See Also:
Oracle GoldenGate documentation for information

8.1.8 Deprecation of Single-Character SRVCTL CLI Options

The Server Control Utility (SRVCTL) command line interface (CLI) supports long GNU-style options in addition to short CLI options used in earlier releases. Starting with Oracle Database 12c, single-character options are deprecated and may be desupported in a later release.

8.1.9 Desupported Features on Microsoft Windows Platforms

In Oracle Database 12c, some features have been deprecated or desupported for the Windows platform. The following topics discuss these changes:

8.1.9.1 Desupport of Oracle COM Automation on Windows

Oracle Database 12c does not contain Oracle COM Automation. This was deprecated in Oracle Database 11g, which is the last database release that contains the database component Oracle COM Automation. Oracle recommends that you migrate your Oracle COM applications to current technology such as the .NET Framework.
See Also:
My Oracle Support Note 1175293.1 "Obsolescence Notice: Oracle COM Automation" on http://support.oracle.com

8.1.9.2 Desupport of Oracle Objects for OLE

Oracle Database 12c does not contain Oracle Objects for OLE. This was deprecated in Oracle Database 11g. You can migrate your code to the OLE DB data access standard and ActiveX Data Objects (ADO), or you can migrate your applications to .NET (or Java or another application architecture) and use another driver.
See Also:
My Oracle Support Note 1175303.1 "Obsolescence Notice: Oracle Objects for OLE" on http://support.oracle.com

8.1.9.3 Desupport of Oracle Counters for Windows Performance Monitor

Oracle Database 12c does not contain Oracle Counters for Windows Performance Monitor. This was deprecated in Oracle Database 11g. The counters were not installed by default in earlier releases, and the counters only work on Windows. For monitoring, Oracle recommends that you use Oracle Enterprise Manager Cloud Control.
See Also:
My Oracle Support Note 1175297.1 "Obsolescence Notice: Oracle Counters for Windows Performance Monitor" on http://support.oracle.com

8.1.10 Desupport of Oracle Cluster File System (OCFS) on Windows

Starting with Oracle Database 12c, Oracle Cluster File System (OCFS) is desupported on Windows. Support and distribution of OCFS on Linux (OCFS and OCFS2) remains unaffected by this desupport notice.
Databases currently using OCFS on Windows to host either the Oracle cluster files (Oracle Cluster Registry and voting files) or database files or both need to have these files migrated off OCFS before upgrading to Oracle Database 12c.
See Also:

8.1.10.1 About Upgrading Oracle Database Release 10.2 or 11.1 and OCFS and RAW Devices

If you are upgrading an Oracle Database release 10.2.0.5 or release 11.1.0.7 environment that stores Oracle Clusterware files on OCFS on Windows or RAW devices, then you cannot directly upgrade to Oracle Database 12c. You must first perform an interim upgrade to Oracle Database release 11.2 and migrate the Oracle Clusterware files to Oracle Automatic Storage Management (Oracle ASM). Then you can upgrade from release 11.2 to Oracle Database 12c.
See Also:

8.1.11 Deprecation of Stored List of Administrative Users for Cluster Administration

Starting with Oracle Database 12c, the method of cluster administration using a stored list of administrative users is being replaced with more comprehensive management of administrative user roles by configuring the access control list of the policy set.
See Also:
Oracle Clusterware Administration and Deployment Guide for more information about cluster administration

8.1.12 Desupport for Raw Storage Devices

Starting with Oracle Database 12c, block file storage on raw devices is not supported. You must migrate any data files stored on raw devices to Oracle ASM, a cluster file system, or Network File System (NFS).
This also affects the OCR and voting files for Oracle Clusterware. You cannot store the OCR or voting files on raw devices. Oracle Clusterware files must be moved to Oracle ASM before upgrading.

8.1.13 Change to VARCHAR2, NVARCHAR2, and RAW Datatypes

Starting with Oracle Database 12c, the maximum size of the VARCHAR2, NVARCHAR2, and RAW datatypes has been increased to 32767 bytes when the COMPATIBLE initialization parameter is set to 12.0 and the MAX_STRING_SIZE initialization parameter is set to EXTENDED.
See Also:
Oracle Database SQL Language Reference for more information about MAX_STRING_SIZE

8.1.14 Changes for Oracle JDBC and SQLJ

In Oracle Database 12c, some features are deprecated or desupported that affect JDBC, UCP, SQLJ, JPublisher, and Java in the Database (Oracle JVM). The JDBC Javadoc also contains a page for all the deprecated APIs.
The following features are deprecated or desupported in this release for Oracle JDBC and SQLJ:

8.1.14.1 Deprecated Oracle Update Batching

Oracle Update Batching is deprecated in Oracle Database 12c. Use Standard Update Batching instead.
The following APIs are deprecated and marked deprecated in the JDBC Javadoc:
  • OraclePreparedStatement.setExecuteBatch()
  • OraclePreparedStatement.getExecuteBatch()
  • OracleCallableStatement.setExecuteBatch()
See Also:
Oracle Database JDBC Developer's Guide for information on Oracle Update Batching

8.1.14.2 Deprecated EndToEndMetrics related APIs

EndToEndMetrics -related APIs are deprecated in Oracle Database 12c. Use Universal Connection Pool instead.
The following APIs are deprecated and marked deprecated in the JDBC Javadoc:
  • getEndToEndMetrics
  • getEndToEndECIDSequenceNumber
  • setEndToEndMetrics
  • setApplicationContext
  • clearAllApplicationContext
See Also:
Oracle Database JDBC Developer's Guide and the JDBC Javadoc for information about Universal Connection Pool

8.1.14.3 Deprecated Stored Outlines

Stored outlines are deprecated in Oracle Database 12c. Use plan baselines instead.
See Also:
Oracle Database SQLJ Developer's Guide for information about plan baselines

8.1.14.4 Deprecated Concrete Classes in oracle.sql Package

The concrete classes in the oracle.sql package are deprecated in Oracle Database 12c. These are replaced with new interfaces in the oracle.jdbc package.
See Also:
Oracle Database JDBC Developer's Guide for information about the new interfaces for oracle.jdbc

8.1.14.5 Deprecated defineColumnType Method

The JDBC method defineColumnType is deprecated in this release.

8.1.14.6 Deprecated CONNECTION_PROPERTY_STREAM_CHUNK_SIZE Property

The JDBC property CONNECTION_PROPERTY_STREAM_CHUNK_SIZE is deprecated in this release.

8.1.14.7 Desupported Implicit Connection Caching

Implicit Connection Caching is desupported in Oracle Database 12c. Use Universal Connection Pool instead.

8.1.15 Changes for Oracle Call Interface

The following Oracle Call Interface (OCI) features are deprecated in Oracle Database 12c, and may be desupported in a future release:
  • OCI deployment parameters in sqlnet.ora are deprecated. These include the following parameters:
    • OCI client result cache parameters: OCI_RESULT_CACHE_MAX_SIZE, OCI_RESULT_CACHE_MAX_RSET_SIZE, and OCI_RESULT_CACHE_MAX_RSET_ROWS

8.1.16 Deprecation of Oracle Restart

Oracle Restart is deprecated in Oracle Database 12c. Oracle Restart is currently restricted to manage single-instance Oracle databases and Oracle ASM instances only, and is subject to desupport in future releases. Oracle continues to provide Oracle ASM as part of the Oracle Grid Infrastructure installation for Standalone and Cluster deployments.

8.2 Oracle Business Intelligence and Data Warehousing Changes

Oracle Database 12c provides changes to business intelligence and data warehousing applications and features.
This section includes these topics:

8.2.1 Oracle Warehouse Builder (OWB) Not Installed with Oracle Database

Starting with Oracle Database 12c, Oracle Warehouse Builder (OWB) is not installed as part of the software for Oracle Database. An installer for Oracle Warehouse Builder is available on Oracle Technology Network. OWB components that may exist from earlier releases are not upgraded as part of the Oracle Database upgrade process.

8.2.2 Desupport of Change Data Capture

Oracle Change Data Capture is not included in Oracle Database 12c and has been replaced with Oracle GoldenGate.
See Also:
Oracle GoldenGate documentation for information

8.2.3 Desupported Features in Oracle Data Mining

The following Oracle Data Mining features are desupported in Oracle Database 12c:
  • The Oracle Data Mining Java API is no longer available. The programmatic interfaces to Oracle Data Mining 12c consist of two PL/SQL packages, DBMS_DATA_MINING and DBMS_DATA_MINING_TRANSFORM, and a family of SQL language functions for scoring data.
    See Also:
    Oracle Data Mining User's Guide for information about the Data Mining PL/SQL packages
  • The Adaptive Bayes Network (ABN) algorithm is no longer available. The Decision Tree algorithm replaces ABN in Oracle Data Mining 12c.
    See Also:
    Oracle Data Mining Concepts for information about the Decision Tree algorithm

8.2.4 Changes to Upgrading Oracle Data Mining Models

Starting with Oracle Database 12c, Oracle is desupporting the Data Mining Java API and the Adaptive Bayes Network (ABN) algorithm. Therefore, models created by the Oracle Data Mining Java API cannot be upgraded from Oracle Database release 11g to Oracle Database 12c. All other models and metadata are upgraded automatically during the upgrade from release 11g to Oracle Database 12c. ABN models can be upgraded, but you cannot use them in an Oracle Database 12c database. You must drop ABN models either before the upgrade or afterward. You can replace ABN models by building new classification models in the Oracle Database 12c database.
See Also:
Oracle Data Mining User's Guide for information about the Data Mining API and data mining models

8.2.5 Desupport of OLAP Catalog (AMD)

Starting with Oracle Database 12c, the Common Warehouse Metamodel (CWM) standard is desupported for the OLAP catalog (AMD). This support was deprecated in Oracle Database 11g Release 2 (11.2). If your existing database has CWM metadata in the OLAP catalog and you upgrade to Oracle Database 12c, then the upgraded database has the AMD component. If the database you upgrade does not have the AMD component, then the upgraded Oracle Database 12c database also does not have the AMD component because new installations for Oracle Database 12c do not include AMD. If your database has the AMD component and you want to remove it, then run the ORACLE_HOME/olap/admin/catnoamd.sql script before or after upgrading.
Note:
If the OLAP catalog exists in the database you are upgrading, you may see AMD OLAP Catalog OPTION OFF and invalid CWM OLAP objects. You can safely ignore the invalid OLAP objects as they are not needed.
See Also:

8.3 Oracle Database Security Changes

Oracle Database 12c includes changes to security features in Oracle Database Vault and Oracle Data Guard and other areas. This section contains these topics:

8.3.1 Changes to Security Auditing Features

The auditing functionality has been redesigned in Oracle Database 12c. When you create a new database with Oracle Database 12c, the full set of auditing enhancement features are automatically available. If you upgrade from an earlier release, then you are given the option of using some of the new audit features and the audit functionality from the release from which you upgraded. Oracle strongly recommends that you migrate to the full set of the latest audit features.
See Also:

8.3.2 Deprecations for Oracle Label Security

The following Oracle Label Security features are deprecated in Oracle Database 12c, and may be desupported in a future release:

8.3.3 Deprecated DBMS_NETWORK_ACL_ADMIN PL/SQL package Procedures

In Oracle Database 12c, the following procedures from the DBMS_NETWORK_ACL_ADMIN PL/SQL package are deprecated:
  • CREATE_ACL
  • ADD_PRIVILEGE
  • DELETE_PRIVILEGE
  • ASSIGN_ACL
  • UNASSIGN_ACL
  • DROP_ACL
  • ASSIGN_WALLET_ACL
  • UNASSIGN_WALLET_ACL
  • CHECK_PRIVILEGE
  • CHECK_PRIVILEGE_ACLID
See Also:
Oracle Database Security Guide for inormation about managing fine-grained access in PL/SQL Packages and Types

8.3.4 Deprecation of IGNORECASE and SEC_CASE_SENSITIVE_LOGON

The IGNORECASE argument of ORAPWD and the SEC_CASE_SENSITIVE_LOGON system parameter are deprecated in Oracle Database 12c. By default, passwords in Oracle Database 12c are case sensitive.
See Also:
Oracle Database Security Guide for more information about configuring authentication and password protection

8.3.5 Deprecation of SQLNET.ALLOWED_LOGON_VERSION Parameter

The SQLNET.ALLOWED_LOGON_VERSION parameter is deprecated in Oracle Database 12c. This parameter has been replaced with two new Oracle Net Services parameters:

8.3.5.1 Upgrading a System that Did Not Have SQLNET.ALLOWED_LOGON_VERSION Parameter Setting

If you are upgrading a system that did not have a SQLNET.ALLOWED_LOGON_VERSION parameter setting (that is, it was using the default 8), then you might need to set the value of the SQLNET.ALLOWED_LOGON_VERSION_SERVER to 8 in the upgraded Oracle Database 12c server to maintain compatibility with clients on earlier releases. Otherwise, if no setting for SQLNET.ALLOWED_LOGON_VERSION_SERVER (or the deprecated SQLNET.ALLOWED_LOGON_VERSION) parameter is made in the upgraded Oracle Database 12c server, then the new default value becomes 11 in the new Oracle Database 12c.
The effect of the new default value of 11 for SQLNET.ALLOWED_LOGON_VERSION_SERVER in Oracle Database 12c is that clients using Oracle Database release 10g and later can connect to the Oracle Database 12c server. Clients using releases earlier than Oracle Database release 11.2.0.3 that have not applied critical patch update CPUOct2012 or later patches must use the 10g password version.
Using a setting of 12a is most secure. However, this setting only permits Oracle Database 12c clients to connect.
See Also:
Oracle Database Readme for the topic "Protection Against Password-Guessing Attacks" and Oracle Database Net Services Reference for information about SQLNET.ALLOWED_LOGON_VERSION_SERVER

8.3.6 AUDIT_ADMIN and AUDIT_VIEWER Roles Note

In Oracle Database 12c, two roles may exist in your database that affect upgrading: AUDIT_ADMIN and AUDIT_VIEWER.
The Pre-Upgrade Information Tool and DBUA perform a pre-upgrade check to make sure such users or roles do not exist in the database. Oracle recommends that you do not use these names in your databases. If these users or roles exist, then you should rename or drop them as appropriate before upgrading to Oracle Database 12c.
See Also:
Oracle Database Security Guide for information on configuring privilege and role authorization for database security

8.3.7 Deprecation of Windows NTS Authentication Using the NTLM Protocol

Windows users can no longer authenticate using the NTS adaptor on Windows clients and servers that require the NT Lan Manager (NTLM) protocol. Because of security vulnerabilities, NTLM is deprecated as of Oracle Database 12c. Windows users can still use Kerberos. NTLM is still used for local user authentication, and in cases in which the database service runs as a local user.
See Also:
Oracle Database Platform Guide for Microsoft Windows for information on changes that affect the Windows platform in this release

8.3.8 Deprecation of Public Key Infrastructure for Transparent Data Encryption

Public Key Infrastructure (PKI) is deprecated for Transparent Data Encryption (TDE) in Oracle Database 12c. To configure TDE, use the ADMINISTER KEY MANAGEMENT SQL statement. Other implementations of PKI are not affected.
See Also:
Oracle Database Advanced Security Administrator's Guide for information about configuring TDE

8.3.9 Desupported Cipher Suites for Secure Sockets Layer (SSL)

Oracle Advanced Security has desupported the following cipher suites in Oracle Database 12c:
  • SSL_DH_anon_WITH_DES_CBC_SHA
  • SSL_RSA_EXPORT_WITH_DES40_CBC_SHA
  • SSL_RSA_EXPORT_WITH_RC4_40_MD5
  • SSL_RSA_WITH_DES_CBC_SHA
See Also:
Oracle Database Security Guide for information about the supported SSL cipher suites

8.3.10 Desupport of Database Rules Manager (RUL) and Expression Filter (EXF)

Starting with Oracle Database 12c, the Expression Filter (EXF) and Database Rules Manager (RUL) features are desupported. If you are using Rules Manager, Oracle recommends that you consider migrating to Oracle Business Rules, a component of Oracle Fusion Middleware. The Continuous Query Notification feature of Oracle Database replaces Expression Filter.
This script is executed by the upgrade process. If you want to remove these components before upgrading, then you can run the catnoexf.sql script before the upgrade. The catnoexf.sql script is located under ORACLE_HOME/rdbms/admin/.
See Also:
Support note 1244535.1 Rules Manager and Expression Filter Features of Oracle Database on My Oracle Support at http://support.oracle.com/

8.3.11 Changes for Oracle Data Guard Broker

As part of Oracle Data Guard Broker's support for Separation of Duty features, the following broker properties are deprecated in Oracle Database 12c with no replacements:
  • LsbyASkipCfgPr
  • LsbyASkipErrorCfgPr
  • LsbyASkipTxnCfgPr
  • LsbyDSkipCfgPr
  • LsbyDSkipErrorCfgPr
  • LsbyDSkipTxnCfgPr
  • LsbySkipTable
  • LsbySkipTxnTable

8.3.12 Changes for Oracle Data Pump Export Utility

The XML_CLOBS option of the Oracle Data Pump Export DATA_OPTIONS parameter is deprecated.
See Also:
Oracle Database Utilities for information about the Export DATA_OPTIONS parameter

8.3.13 Changes for Oracle Database Vault

Starting with Oracle Database 12c, the Database Vault Configuration Assistant (DVCA) and Database Vault Administrator (DVA) are being deprecated. Use Oracle Enterprise Manager Cloud Control for Oracle Database Vault configuration and administration.
Additional Oracle Database Vault features are being deprecated in this release as follows:

8.3.13.1 Deprecated Default Rule Sets

The following rule sets have been deprecated for this release:
  • Allow Oracle Data Pump Operation rule set
  • Allow Scheduler Job rule set
See Also:
Oracle Database Vault Administrator's Guide for information on default rule sets

8.3.13.2 Deprecated Default Realms

The Oracle Data Dictionary realm and Oracle Enterprise Manager realm are deprecated in this release. The objects formerly protected by the Oracle Data Dictionary realm have been migrated to new realms.
See Also:
Oracle Database Vault Administrator's Guide for information about new realms and default realms

8.3.13.3 Deprecated API

The DVSYS.DBMS_MACADM.SYNC_RULES procedure has been deprecated because its functionality has been built into the rule creation functionality.
See Also:
Oracle Database Vault Administrator's Guide for information on rule creation

8.3.14 Changes for Oracle Database Semantic Technologies

The following features are deprecated for Oracle Database Semantic Technologies in Oracle Database 12c:

8.3.14.1 VPD Support in Oracle Database Semantic Technologies

Transition existing Semantic Technologies applications that depend on Virtual Private Database (VPD) to use Oracle Label Security (OLS) instead.
See Also:
Oracle Database Semantic Technologies Developer's Guide for information about fine-grained access control for RDF data

8.3.14.2 Version-Enabled Models Support In Oracle Database Semantic Technologies

The specific alternative to using Workspace Manager with semantic data depends on the purpose of the application. For information about use cases and recommended alternatives, see My Oracle Support Note 1468273.1.
See Also:
Oracle Database Semantic Technologies Developer's Guide for information about Workspace Manager support for RDF data

8.4 Oracle Globalization Support Changes

Oracle Database 12c provides changes to how Oracle supports globalization.
This section contains the following topic:

8.4.1 Desupport of CSSCAN and CSALTER

With the introduction of Oracle Database Migration Assistant for Unicode (DMU), Oracle is proceeding with the desupport of the legacy database tools, CSSCAN and CSALTER. DMU provides a complete end-to-end Unicode migration solution for database administrators. Starting with Oracle Database 12c, DMU is included with Oracle Database, and the CSSCAN and CSALTER tools are no longer included nor supported.
See Also:

8.5 Oracle Multimedia Changes

In Oracle Database 12c, ORDImage support for DICOM is deprecated.
See Also:
Oracle Multimedia Reference for information about ORDImage

8.6 Oracle Net Services Changes

In this release, Oracle Net Services has deprecated or no longer supports some features, parameters, and commands. This section contains the following topics:

8.6.1 Desupport of Oracle Net Connection Pooling

In Oracle Database 12c, Oracle Net connection pooling is no longer supported. Oracle Net connection pooling was deprecated in Oracle Database 11g. This includes the DISPATCHERS attributes TICKS, SESSIONS, and CONNECTIONS.
See Also:
Support note 1469466.1 about Oracle Net Connection Pooling on My Oracle Support at http://support.oracle.com/

8.6.2 Desupport of Oracle Names

Oracle Names has not been supported as a naming method since Oracle Database 11g. You must migrate to directory naming.
See Also:
Oracle Database Net Services Administrator's Guide for additional information about migrating to directory naming

8.6.3 Desupport of Oracle Net Listener Password

In Oracle Database 12c, the Oracle Net Listener password feature is no longer supported. This does not cause a loss of security because authentication is enforced through local operating system authentication.
See Also:
Oracle Database Net Services Reference for more information about Oracle Net Listener security

8.6.4 Desupport of SQLNET.KERBEROS5_CONF_MIT Parameter for Oracle Net Services

The SQLNET.KERBEROS5_CONF_MIT networking parameter is no longer supported in sqlnet.ora. This parameter was used to specify that MIT Kerberos configuration format was used. Starting with Oracle Database 12c, only the current Kerberos configuration is supported.
See Also:
Oracle Database Net Services Reference for information on Kerberos parameters for the sqlnet.ora file

8.6.5 Desupport of Oracle Names Control Utility for Oracle Net Services

The Oracle Names Control Utility is desupported and has not been available starting with Oracle Database 10g. This includes all the related control utility commands. Oracle Database clients cannot use a Names Server to resolve connect strings. Migrate your applications to Oracle Internet Directory with LDAP directory naming.
See Also:
Oracle Database Net Services Reference for information about configuring the directory naming method

8.6.6 Deprecated NT LAN Manager (NTLM) Protocol for Oracle Net Services

The NT LAN Manager (NTLM) protocol for domain authentication is deprecated in the Oracle Windows adapter. Only Kerberos authentication is used for the NTS adapter.
Tip:
Oracle Database Net Services Reference for information on Kerberos parameters for the sqlnet.ora file

8.7 Oracle XML Database Changes

In addition to being installed with the Oracle Database software, Oracle XML Database has changed features in Oracle Database 12c.

8.7.1 Oracle XML DB is Mandatory and Cannot Be Uninstalled

Starting with Oracle Database 12c, Oracle XML DB is a mandatory component of Oracle Database. You cannot uninstall Oracle XML DB, and there is no option to exclude it when you create an Oracle database. Oracle XML DB is automatically installed or upgraded when you upgrade an existing database to Oracle Database 12c.

8.7.2 Deprecated Features for Oracle XML Database

The following features are deprecated in this release, and may be desupported in a future release. See Oracle XML DB Developer's Guide for a complete list and more information.
  • CLOB storage of XMLType, also known as unstructured storage, is deprecated. Use binary XML storage of XMLType instead.
    If you need to preserve insignificant whitespace then store two copies of your original XML document: one as an XMLType instance for database use and XML processing, the other as a CLOB instance to provide document fidelity.
  • Creation of an XMLIndex index over an XML fragment stored as a CLOB instance embedded in object-relational XMLType data is deprecated. If you need to index the data in such a fragment then store the document using binary XML storage, not object-relational storage.
  • The following PL/SQL subprograms in package DBMS_XMLSCHEMA are deprecated:
    • generateSchema
    • generateSchemas
    There are no replacements for these constructs and there is no workaround for this change.
  • PL/SQL package DBMS_XDB_CONFIG is new. All Oracle XML DB configuration functions, procedures, and constants have been moved from package DBMS_XDB to DBMS_XDB_CONFIG. They are deprecated for package DBMS_XDB. Oracle recommends that you use them in package DBMS_XDB_CONFIG instead.
    These are the subprograms that are deprecated in package DBMS_XDB:
    • ADDHTTPEXPIREMAPPING
    • ADDMIMEMAPPING
    • ADDSCHEMALOCMAPPING
    • ADDSERVLET
    • ADDSERVLETMAPPING
    • ADDSERVLETSECROLE
    • ADDXMLEXTENSION
    • CFG_GET
    • CFG_REFRESH
    • CFG_UPDATE
    • DELETEHTTPEXPIREMAPPING
    • DELETEMIMEMAPPING
    • DELETESCHEMALOCMAPPING
    • DELETESERVLET
    • DELETESERVLETMAPPING
    • DELETESERVLETSECROLE
    • DELETEXMLEXTENSION
    • GETFTPPORT
    • GETHTTPPORT
    • GETLISTENERENDPOINT
    • SETFTPPORT
    • SETHTTPPORT
    • SETLISTENERENDPOINT
    • SETLISTENERLOCALACCESS
    These are the constants that are deprecated in package DBMS_XDB:
    • XDB_ENDPOINT_HTTP
    • XDB_ENDPOINT_HTTP2
    • XDB_PROTOCOL_TCP
    • XDB_PROTOCOL_TCPS
    See Also:
    Oracle Database PL/SQL Packages and Types Reference, Chapter "DBMS_XDB_CONFIG"
  • All Oracle SQL functions for updating XML data are deprecated. Oracle recommends that you use XQuery Update instead. These are the deprecated XML updating functions:
    • updateXML
    • insertChildXML
    • insertChildXMLbefore
    • insertChildXMLafter
    • insertXMLbefore
    • insertXMLafter
    • appendChildXML
    • deleteXML
    See Also:
    Oracle XML DB Developer's Guide for the appendix that describes Oracle SQL functions for updating XML data that are deprecated and recommendations for replacements
  • Oracle SQL function sys_xmlgen is deprecated. Oracle recommends that you use the SQL/XML generation functions instead.
    See Also:
    Oracle XML DB Developer's Guide for information about SQL functions that you can use to construct XML data
  • The following Oracle XQuery functions are deprecated. Use the corresponding standard XQuery functions instead, that is, the functions with the same names but with namespace prefix fn.
    • ora:matches – use fn:matches instead
    • ora:replace – use fn:replace instead
  • The following Oracle constructs that provide support for XML translations are deprecated.
    • PL/SQL package DBMS_XMLTRANSLATIONS
    • Oracle XPath function ora:translate
    • XML Schema annotations xdb:maxOccurs, xdb:srclang, and xdb:translate
    There are no replacements for these constructs and there is no workaround for this change.
    See Also:
    Oracle XML DB Developer's Guide for more information
  • The following XML Schema annotations are deprecated:
    • xdb:defaultTableSchema
    • xdb:maintainOrder
    • xdb:mapUnboundedStringToLob
    • xdb:maxOccurs
    • xdb:SQLCollSchema
    • xdb:SQLSchema
    • xdb:srclang
    • xdb:storeVarrayAsTable
    • xdb:translate
    There are no replacements for these constructs, and there is no workaround for this change.
  • The value xml_clobs for export parameter data_options is deprecated starting with Oracle Database 12c.
    See Also:
    Oracle XML DB Developer's Guide for information about exporting and importing XMLType Tables

8.8 Oracle Text Changes

Oracle Database 12c introduces changes for Oracle Text.

8.8.1 Desupport of CTXXPATH in Oracle Text and Oracle XML DB

CTXSYS.CTXXPATH index is desupported as of Oracle Database 12c. This does not affect CTXCAT. Use XMLIndex indexes instead.
See Also:
Oracle XML DB Developer's Guide for more information about XMLIndex

8.8.2 Desupport of ALTER INDEX OPTIMIZE for Text Indexes

The ALTER INDEX OPTIMIZE [token index_token | fast | full [maxtime (time | unlimited)] operation is not supported for Oracle Database 12c. To optimize your index, use CTX_DDL.OPTIMIZE_INDEX.
See Also:
Oracle Text Reference for information about OPTIMIZE_INDEX

8.8.3 Desupport of SYNC [MEMORY memsize] for Text Indexes

The SYNC [MEMORY memsize] operation is not supported for Oracle Database 12c. To synchronize your index, use CTX_DDL.SYNC_INDEX.