Unlocking Oracle 12c: Multitenant, In-Memory, and Security Features Explained
This article examines Oracle Database 12c’s key innovations—including multitenant architecture, the Database In‑Memory option, enhanced security controls, and integrated big‑data analytics—while sharing real‑world production experiences, benefits, and practical limitations for enterprises adopting cloud‑ready databases.
1. Multitenant Architecture
Oracle Database 12c introduces a Container Database (CDB) that can host multiple Pluggable Databases (PDBs). The CDB holds shared metadata, background processes, and system resources, while each PDB appears to applications as a regular Oracle database. Benefits include:
Centralized patching and upgrades – a single patch applied to the CDB updates all PDBs.
Single‑level backup and recovery – RMAN backup of the CDB automatically includes every PDB.
Rapid provisioning – new PDBs can be created by cloning an existing PDB or by plugging in a seed database.
Resource contention must be managed explicitly. 12c provides Resource Manager plans that can be defined per‑PDB to control CPU, I/O, and undo allocation. Example query to view undo usage per PDB:
SELECT con_id, name, tablespace_name, used_ublk, max_ublk
FROM v$undostat
WHERE con_id = (SELECT con_id FROM v$pdbs WHERE pdb_name = 'YOUR_PDB');Shared processes (e.g., PMON, SMON) and undo tablespaces can be configured to serve several PDBs, improving utilization during peak periods, but a failure of a shared process can affect all PDBs on the same node.
2. Database In‑Memory (IMDB) Option
The In‑Memory option adds a dual‑format engine that stores tables simultaneously in row format (for OLTP) and columnar format (for analytics). The optimizer routes queries transparently:
Analytical queries are executed against the columnar in‑memory representation, gaining column‑store compression and vector‑based execution.
Transactional queries continue to use the traditional row format, preserving ACID guarantees.
Only selected tables, partitions, or columns need to be populated in memory; the rest can remain on flash or disk. The feature is compatible with Multitenant, Data Guard, and all security options, and requires no application changes.
3. Deep‑Defense Security Enhancements
12c adds three major security controls that operate at the database layer:
Data Redaction – Define policies that mask sensitive column values (e.g., ID numbers, credit‑card data) at query time without altering the application code.
Unified Auditing – Policy‑based, context‑aware audit that consolidates all audit trails into a single repository and introduces new audit roles for fine‑grained management.
Privilege Analysis – Tracks session‑level privileges and role usage, enabling the design of a least‑privilege role model and providing reports on unused or excessive privileges.
4. Integrated Big‑Data Analytics
Oracle 12c provides a database‑warehouse platform that can store massive data volumes and expose them through standard SQL and statistical languages such as R. This eliminates the need for ETL pipelines that move data between a data warehouse, data marts, and Hadoop clusters. Users can query operational tables and big‑data tables in a single statement, leveraging the same security and governance policies.
5. Production Experience and Practical Observations
After two years of production use, the following operational benefits and limitations were observed:
Rapid PDB creation – New databases can be provisioned in minutes via cloning or plugging in a seed, and a single console can monitor the status of all PDBs.
Extended VARCHAR2/NVARCHAR2 length – 12c raises the maximum size from 4 KB to 32 KB. Although the data is stored out‑of‑line like a LOB, developers can treat it as a regular VARCHAR2 column, avoiding explicit LOB handling.
Shared resources – Processes, undo tablespaces, and memory can be shared across PDBs, improving utilization during peak workloads.
Key limitations to consider:
Undo tablespace usage is visible only per PDB; there is no aggregate view of total undo consumption across the CDB, requiring manual aggregation.
A failure of a shared background process (e.g., a node‑level crash) can bring down all PDBs on that node, and recovery may involve restarting additional services, extending downtime.
When planning a cloud‑centric deployment, evaluate each 12c feature against business requirements and weigh the operational trade‑offs described above.
dbaplus Community
Enterprise-level professional community for Database, BigData, and AIOps. Daily original articles, weekly online tech talks, monthly offline salons, and quarterly XCOPS&DAMS conferences—delivered by industry experts.
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.
