SlideShare una empresa de Scribd logo
1 de 71
Using Oracle12c Pluggable
Databases to Archive / Log Data
2014 Great Lakes Oracle Conference
#gloc14
Michael J. Gangler – Oracle Database DBA – Database Specialist
Tuesday - May 13, 2014 - Session 2 – 11:45am – 12:45pm
About Michael J. Gangler
Oracle Technology since 1987
Started with Oracle Version 5.1c
Database Specialist – Jstor /
Ithaka
Database experience with
FOCUS, IMS
DB/DC, DB2, Sybase, and
MSSQL, and MySQL databases as
well as Oracle experience.
mjgangler
Mgangler
mjgangler@gmail.com
Upcoming Events
Southeast Michigan Oracle Professionals
 2nd Tuesday – Every Month – 6:00pm – 8:00pm
 Secure-24 office’s - 26955 Northwestern Hwy, Suite
200, Sourthfield, MI.
 www.meetup.com/SouthEast-Michigan-Oracle-
Professionals/
November 12 – Wed– Michigan Oracle Users Summit
 Schoolcraft Co. Community College
 Full day -Includes database, Oracle applications, PeopleSoft
and Hyperion user groups
 www.mous.us
Audience Background
What is your Oracle background?
• 1 – 3 years
• 4 – 8 years
• 8+ years?
How many are working with Oracle 12c now ?
How many are using the Multi-Tenet (CDB) Option ?
Any Microsoft SqlServer Experience ?
Goals / Non-Goals
• Goals
– Present new ways / reasons to use Oracle 12c Multi-Tenet
databases
– Present ways to reduce memory and storage (disk) usage
– Focus on process of consolidating databases
• Non-Goals
– Learn ALL aspects of Oracle12c Multi-Tenet DB’s
– Learn Tips that will make you an expert
Agenda
• Pre-Oracle 12c Configuration and database setup
• Oracle 12c Pluggable database – Brief Explanation
• Oracle 12c Pluggable database – Setup
• Getting Data from Old DB’s to New DB’s
• Compression
• Results - Non-pluggable DB versus Oracle 12c Pluggable database setup
• Lessons learned
Pre-12c Configuration
• Electronic Journals for College Students
• All web usage is recorded for Publishers and
Librarians
• Raw Data stored in Archive database(s) for
Reports and Warehouse
• Non-existent planning for Old Raw log data
• Many reports / warehouse use all Archive
databases(s) at the same time.
Pre-12c Configuration
Database Information
• Machine – Solaris x86, 65gb Memory, 16
CPU’s, 16TB – SAS Storage
• 7 archive databases (2008 – 2014)
• 3 - Oracle – Version 10g
• 4 – Oracle – Version 11g
• Each Database – 1.5tb – 2.0tb (14tb total)
• SGA / Memory – 10G – 2gb (6 gb Total)
• SGA / Memory – 11G – 8gb (32gb Total)
Server
Archive Database Server
Solaris x86
16 Cpu’s
65gb Memory
12T – SAS Storage
2008 Logs
Oracle Version 10
1.4Tb
2gb SGA
2009 Logs
Oracle Version 10
1.4Tb
2gb SGA
2010Logs
Oracle Version 10
2.0Gb
8gb SGA
2011 Logs
Oracle Version 11
1.9Tb
8gb SGA
2012 Logs
Oracle Version 11
1.9Tb
8gb SGA
2013 Logs
Oracle Version 11
2.0Tb
8gb SGA
2014 Logs
Oracle Version 11
700gb
8gb SGA
Current Log Database Setup
44 Gb Memory Used
13 Tb Storage Used
Pre-12c Configuration – Log Processing
• Logs from 3 datacenters are copied to current
Archive database (Nightly).
• ETL / Warehouse process runs daily
• Usage Reports are generated out of
ETL/Warehouse process.
Pre-12c Configuration – Log Processing
Pre-12c Configuration – Issues
• Oracle databases using 10g not supported (3
databases).
• Only 65gb of total Memory on Solaris x86
machine.
• Can only run 4 database’s at 1 time (Due to
Memory limitations).
• Solaris x86 machine near end of life / Support.
• Non-existent plan for older archive DB’s.
Oracle 12c Pluggable database – Brief Explanation
• Similar to a SqlServer
– 1 Instance
– Multiple Databases within Instance
• CDB – Container Database – Instance Level
• PDB – Pluggable Database – Many
applications/databases within Container
• PDB’s Share SGA with other PDB’s
Non-CDB Architecture
Single database User database cannot be easily
copied separately from system data
SGA is dedicated to a single database
Database
Operating System
Data files
Data files
Data files
Data files
Oracle
Database
Instance
System Global Area (SGA)
Shared
Pool
Library
Cache
Data Dictionary
Cache
Database Buffer Cache
Large Pool
UGA I/O Buffer Area
Redo Log Buffer
PGA PGA
Multitenant Architecture
Many-to-one database consolidation using one
container database (CDB) to many pluggable
databases (PDBs) Enables the DBA to easily
create, clone, and move databases
All of the PDBs share the same SGA
Container Database
Operating System
CREATE PLUGGABLE DATABASE … USING
Data files
Data files
Data files
Data files
XML
Meta
file
New Seed
Oracle
Database
Instance
System Global Area (SGA)
Shared
Pool
Library
Cache
Data Dictionary
Cache
Database Buffer Cache
Large Pool
UGA I/O Buffer Area
Redo Log Buffer
PGA PGA
Non-CDB Data Dictionary
Data Dictionary
stores both
system data
and user data
Not easy to
copy just user
data
OBJ$ TAB$ SOURCE$
…
EMP DEPT
…
NON-CDB
Multitenant Partitioned Data Dictionary
User metadata
for each PDB
stored
separately
Enables
plug/unplug
operation
User data
separate from
system data
OBJ$ TAB$ SOURCE$
…
EMP DEPT
…
OBJ$ TAB$ SOURCE$
…
PDBROOT
Archive Log Consolidation – Multitenant
• Multiple Archive Log
DB’s in a single
instance
– Shared SGA
– Single patch level
– Backup / restore (fairly)
simple
– Resource management
works across PDBs
– Each PDB represents a
different Year Archive
Storage
Array
Database
Server
Database
Storage
OS
Container Database
Why Multi-Tenet 12C Database ?
• All Archive DB’s have same user names, table
space names and Partitions.
• Limited Machine Memory
• Machine is at end of life for support
• Many Oracle Databases – end of life support
(Oracle v10)
• Utilize Oracle 12C Compression to reduce disk
storage.
Why Not use Multiple Users /
Schemas in Oracle 12c ?
• Code / Application changes required due to
Archive Database have same user names
• Lots of manual intervention due to tables
using same tablespace and user names.
– Manual steps required to recreate all the tables
with new Tablespaces and partitions
– Partition names would need to be changed for
each user.
– Import – required many tablespace name changes
Oracle 12c – Create Container DB Options
• DBCA
• Cloud Control (12.1.0.3) – 12c
– Provisioning
– Procedure Library
• Manual – i.e. Create Database….
Oracle 12c Multi-Tenant Setup
Create 12.1.0.1 Container Database
1. Launch DBCA
$cd $ORACLE_HOME/bin
$./dbca
2. Select create database click next
Oracle 12c Multi-Tenant Setup
Here you can select to create database with default options or choose advance mode to have more control over how the database is created.
Click next
In my case I choose advance mode.
Oracle 12c Multi-Tenant Setup
Select the template that you want to use and click next
In my case I like to choose custom database. Note: the template called testdbs is one I created not one of Oracle's templates.
Oracle 12c Multi-Tenant Setup
Set the global database and SID name. Select create as container database you can choose to have the CDB empty or include creating a PDB
or PDBs. Click next
In my case I choose to create CDB empty.
Oracle 12c – Create Container DB Options
• DBCA
• Cloud Control (12.1.0.3) – 12c
– Provisioning
– Procedure Library
• Manual – i.e. Create Database….
Oracle 12c – Cloud 12c – Procedure /
Template Setup
Enterprise/Provisioning – Create Database Template
Select Create Oracle Database
Oracle 12c – Cloud 12c – Provisioning
Provision Pluggable Database console - Cloud Control 12C – 12.1.0.3 or Greater
Oracle 12c – Create Container DB Options
• DBCA
• Cloud Control (12.1.0.3) – 12c
– Provisioning
– Procedure Library
• Manual – i.e. Create Database….
Oracle 12c – Manual Create – Part II
Oracle 12c – Manual Container Create
Create database 12cplugdb
…….
ENABLE PLUGGABLE DATABASE
SEED FILE_NAME_CONVERT =
('/u01/app/oracle/oradata/newcdb/',
'/u01/app/oracle/oradata/pdbseed/')
SYSTEM DATAFILES SIZE 125M AUTOEXTEND ON NEXT 10M
MAXSIZE UNLIMITED
SYSAUX DATAFILES SIZE 100M USER_DATA TABLESPACE usertbs
DATAFILE '/u01/app/oracle/oradata/pdbseed/usertbs01.dbf' SIZE
200M
REUSE AUTOEXTEND ON MAXSIZE UNLIMITED;
Oracle 12c – Pluggable Create Options
• DBCA – During Create container DB
• Cloud Control (12.1.0.3) – 12c
– Provisioning
– Procedure Library
• Manual – i.e. Create Database….
Oracle 12c – DBCA – Pluggable DB
Set the global database and SID name. Select create as container database you can choose to have the CDB empty or include creating a PDB
or PDBs. Click next
Create the pluggable db (PDB) with this DBCA Screen
Oracle 12c – Pluggable Create Options
• DBCA – During Create container DB
• Cloud Control (12.1.0.3) – 12c
– Provisioning
– Procedure Library
• Manual – i.e. Create Database….
Oracle 12c – Cloud 12c – Provisioning
Provision Pluggable Database console - Cloud Control 12C – 12.1.0.3 or Greater
Create Pluggable Databases
Oracle 12c – Pluggable Create Options
• DBCA – During Create container DB
• Cloud Control (12.1.0.3) – 12c
– Provisioning
– Procedure Library
• Manual – i.e. Create Database….
Oracle 12c – Manual Pluggable Create
SYS_hist2010.jstor.org>connect sys/PW@hist2010.jstor.org as sysdba
Connected.
create pluggable database hist2010 admin user hist2010_admin identified by PW
storage (maxsize 2g max_shared_temp_size 100m)
default tablespace hist2010_default_data
datafile '/u01/app/oracle/historical_db/histdb08/ajpa2010.hist2010_default_data.01.dbf'
size 1g autoextend on
path_prefix =
('/u01/app/oracle/historical_db/histdb08/pdbseed/','/u01/app/oracle/historical_db/histdb08/
ajpa2010/ajpa2010pdb/’)
Oracle 12c – Manual Pluggable Create
SYS_hist2010.jstor.org>connect sys/PW@hist2010.jstor.org as sysdba
From Root / Container DB
SYS_histdb08>show con_name
CON_NAME
------------------------------
CDB$ROOT
SYS_histdb08>show pdbs
CON_ID CON_NAME OPEN MODE RESTRICTED
---------- ------------------------------ ---------- ----------
2 PDB$SEED READ ONLY NO
3 HIST201R MOUNTED
4 HIST2010 MOUNTED
Oracle 12c – Manual Pluggable Create
SYS_hist2010.jstor.org>connect sys/PW@hist2010.jstor.org as sysdba
SYS_hist2010.jstor.org>startup
Pluggable Database opened.
SYS_hist2010.jstor.org>show pdbs
CON_ID CON_NAME OPEN MODE RESTRICTED
---------- ------------------------------ ---------- ----------
4 HIST2010 READ WRITE NO
Oracle 12c Listener setup
SID_LIST_LISTENER12C =
(SID_LIST =
(SID_DESC =
(SID_NAME=CLRExtProc)
(ORACLE_HOME = /u01/app/oracle/product/12.1.0/db_1)
(PROGRAM = extproc)
)
(SID_DESC =
(SID_NAME = hist2012)
(ORACLE_HOME = /u01/app/oracle/product/12.1.0/db_1)
)
(SID_DESC =
(SID_NAME = hist201r)
(ORACLE_HOME = /u01/app/oracle/product/12.1.0/db_1)
)
(SID_DESC =
(SID_NAME = hist2010)
(ORACLE_HOME = /u01/app/oracle/product/12.1.0/db_1)
)
)
LISTENER12C =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = machine_archive.jstor.org)(PORT = 2521))
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC2512))
)
)
ADR_BASE_LISTENER = /u01/app/oracle
Oracle 12c Listener setup
SID_LIST_LISTENER12C =
(SID_LIST =
(SID_DESC =
(SID_NAME=CLRExtProc)
(ORACLE_HOME = /u01/app/oracle/product/12.1.0/db_1)
(PROGRAM = extproc)
)
(SID_DESC =
(SID_NAME = ajpa2014)
(ORACLE_HOME = /u01/app/oracle/product/12.1.0/db_1)
)
(SID_DESC =
(SID_NAME = hist201r)
(ORACLE_HOME = /u01/app/oracle/product/12.1.0/db_1)
)
(SID_DESC =
(SID_NAME = hist2010)
(ORACLE_HOME = /u01/app/oracle/product/12.1.0/db_1)
)
)
Oracle 12c Listener setup
LISTENER12C =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = machine_archive.jstor.org)(PORT =
2521))
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC2512))
)
)
ADR_BASE_LISTENER = /u01/app/oracle
Agenda
• Pre-Oracle 12c Configuration and database setup
• Oracle 12c Pluggable database – Brief Explanation
• Oracle 12c Pluggable database – Setup
• Getting Data from Old DB’s to New DB’s
• Compression
• Results - Non-pluggable DB versus Oracle 12c Pluggable database setup
• Lessons learned
Getting Old Data into Oracle 12c PDB
• Cloud Control (12.1.0.3) – 12c
– Provisioning console – 11.2.0.3 databases or
Higher
• “dbms_pdb” – Oracle 12c non-cdb databases
only !
• Manual – Datapump - Oracle 10g and above
Getting Old Data into Oracle 12c PDB
Cloud Control (12.1.0.3) – 12c
Getting Old Data into Oracle 12c PDB
Cloud Control (12.1.0.3) – 12c
Data Pump Option – 11.2.0.3 or Greater
Getting Old Data into Oracle 12c PDB
Cloud Control (12.1.0.3) – 12c
dbms_pdb– 12.1.0.3 or Greater
Getting Old Data into Oracle 12c PDB
• Cloud Control (12.1.0.3) – 12c
– Provisioning console – 11.2.0.3 databases or
Higher
• “dbms_pdb” – Oracle 12c non-cdb databases
only !
• Manual – Datapump - Oracle 10g and above
Getting Old Data into Oracle 12c PDB
Manual – Datapump
Options
1. Convert to later version
1. Convert to 11g/12c
2. Export/Import (Datapump)
2. Oracle 10g/11g  to 12c
1. Export / Import (Datapump)
Getting Old Data into Oracle 12c PDB
Manual - Option #2 – Exp/Imp Only
Datapump – Options
 Export to file and then import
Disadvantage – Large file to move around/create
 Using Network option on Export/Import
(Datapump)
No export file created – done over db link.
Disadvantage – Slower than creating file
Getting Old Data into Oracle 12c PDB
Manual - Option #2 – Data Pump Only
2010 Archive – Oracle 10g – 2.0Tb -- Move
Precreated 2010 PDB in New Oracle 12c CDB
Precreated tables, tablespaces, users
Emptied recycle bin (2010 Archive DB)
Added Oracle 12c db in tnsnames.ora file (Archive
2010 Database)
Created Database link (oracle 12c)
- Pointing to 2010 Archive DB
Getting Old Data into Oracle 12c PDB
Manual - Option #2 – Data Pump Only
2010 Archive – Oracle 10g – 2.0Tb -- Move
impdp hist2010_admin/PW@hist2010.jstor.org
network_link="ajpa2010.jstor.org"
directory=hist2010_data_pump_dir
schemas=('LITERATUM_ARCHIVE')
logfile=import_2010_20130905.log
metrics=Y status=0 parallel=3
TRANSFORM=DISABLE_ARCHIVE_LOGGING:Y
exclude=TABLE:"='LOG_SESSION'"
TRANSFORM=SEGMENT_ATTRIBUTES:N TRACE=400300
TABLE_EXISTS_ACTION=APPEND
Getting Old Data into Oracle 12c PDB
Manual - Option #2 – Data Pump Only
2010 Archive – Oracle 10g – 2.0Tb – Move
Options explained
• impdp ora12c/PW@hist2010.jstor.org (use 12c tnsname)
• network_link – Database link –source database link
• directory=hist2010_data_pump_dir – Directory Object
• schemas=('LITERATUM_ARCHIVE') - Only 1 Schema desired
• logfile=import_2010_20130905.log – Log file
Getting Old Data into Oracle 12c PDB
Manual - Option #2 – Data Pump Only
2010 Archive – Oracle 10g – 2.0Tb – Move
• metrics=Y – Display # of objects and elapsed Time
• status=0 – frequency in Seconds job status should be
displayed
• parallel=3 – Degree of parallelism
• TRANSFORM=DISABLE_ARCHIVE_LOGGING:Y – Disables Redo
Logs
– ** Note ** ignores if in forced logging mode
Getting Old Data into Oracle 12c PDB
Manual - Option #2 – Data Pump Only
2010 Archive – Oracle 10g – 2.0Tb – Move
• exclude=TABLE:"='LOG_SESSION'" - Ignores table
“Log Session
• TRANSFORM=SEGMENT_ATTRIBUTES:N – Ignore
Segment attributes
• TRACE=400300 – Sets trace level for debugging
• TABLE_EXISTS_ACTION=APPEND – Append data if data
already exists
• Version=10.2.0.4 – Can only be used with network_link
Issues with 10.2.0.4 import
• Slow without Parallel option
• Memory issues
• Issues with Log_session table LOB and Oracle
10g.
Getting Old Data into Oracle 12c PDB
Manual - Option #2 – Data Pump Only
2011 Archive – Oracle 11g – 1.8Tb – Move
(Same as 2010 Archive).
• Precreated 2011 PDB in New Oracle 12c CDB
• Precreated tables, tablespaces, users
• Emptied recycle bin (2011 Archive DB)
• Added Oracle 12c db in tnsnames.ora file (Archive 2011
Database)
• Created Database link (oracle 12c)
– Pointing to 2011 Archive DB
Getting Old Data into Oracle 12c PDB
Manual - Option #2 – Data Pump Only
2011 Archive – Oracle 11g – 1.8Tb -- Move
impdp hist2011_admin/PW@hist2011.jstor.org
network_link="ajpa2011.jstor.org"
directory=hist2011_data_pump_dir
schemas=('LITERATUM_ARCHIVE')
logfile=import_2011_20130905.log
metrics=Y status=0 parallel=3
Version=11.2.0.3
TRANSFORM=DISABLE_ARCHIVE_LOGGING:Y
TABLE_EXISTS_ACTION=APPEND
Getting Old Data into Oracle 12c PDB
Manual - Option #2 – Data Pump Only
2011 Archive – Oracle 11g – 1.8Tb -- Move
Same as 2010 datapump, but without :
• exclude=TABLE:"='LOG_SESSION'"
• TRANSFORM=SEGMENT_ATTRIBUTES:N
• TRACE=400300
Issues with 11.2.0.3 import
• Slow without Parallel option
• No Memory issues
• No Issues with Log_session table LOB and
Oracle 10g.
• Worked better with 11g database.
Agenda
• Pre-Oracle 12c Configuration and database setup
• Oracle 12c Pluggable database – Brief Explanation
• Oracle 12c Pluggable database – Setup
• Getting Data from Old DB’s to New DB’s
• Compression
• Results - Non-pluggable DB versus Oracle 12c Pluggable database setup
• Lessons learned
Compression with Data pump
• Use impdp command line option (or use DBMS_DATAPUMP)
• Use the TABLE_COMPRESSION_CLAUSE:
The allowable values for the TABLE_COMPRESSION_CLAUSE include the following.
• NONE : The table compression clause is omitted, so the table takes on the compression
characteristics of the tablespace.
• NOCOMPRESS : Disables table compression.
• COMPRESS : Enables basic table compression.
• ROW STORE COMPRESS BASIC : Same as COMPRESS.
• ROW STORE COMPRESS BASIC : Same as COMPRESS.
• ROW STORE COMPRESS ADVANCED : Enables advanced compression, also known as
OLTP compression.
• COLUMN STORE COMPRESS FOR QUERY : Hybrid Columnar Compression (HCC) available
in Exadata and ZFS storage appliances.
• COLUMN STORE COMPRESS FOR ARCHIVE : Hybrid Columnar Compression (HCC)
available in Exadata and ZFS storage appliances.
Compression with Data pump
• Use impdp command line option (or use DBMS_DATAPUMP)
• Use the TABLE_COMPRESSION_CLAUSE:
TABLE_COMPRESSION_CLAUSE=NONE
TABLE_COMRPESSION_CLAUSE=NOCOMPRESS
TABLE_COMPRESSION_CLAUSE=COMPRESS BASIC
TABLE_COMPRESSION_CLAUSE=COMPRESS ROW STORE
COMPRESS ADVANCED (used for OLTP)
Compression with Data pump
Warehouse compression (low is faster load):
*** HCC – Only for exadata and ZFS ***
TABLE_COMPRESSION_CLAUSE=COMPRESS COLUMN
STORE COMPRESS FOR QUERY LOW
TABLE_COMPRESSION_CLAUSE=COMPRESS COLUMN
STORE COMPRESS FOR QUERY HIGH
Compression with Data pump
Archive compression (low is faster load):
*** HCC – Only for exadata and ZFS ***
TABLE_COMPRESSION_CLAUSE=COMPRESS COLUMN
STORE COMPRESS FOR ARCHIVE LOW
TABLE_COMPRESSION_CLAUSE=COMPRESS COLUMN
STORE COMPRESS FOR ARCHIVE HIGH
Compression with Data pump
Turned off compression during data pump
(impdp) to improve performance.
Compressed Partitions after import:
select 'alter table '||table_name||' move
partition '||partition_name||' compress
for all_operations;' from
user_tab_partitions
order by table_name
/
Compression Results
2010
• 2010 Old way – Space used – 2.0 Tb
• 2010 Oracle 12c – Space Used – 1.2Tb (30%)
2011
• 2011 Old Way – Space Used – 1.8 Tb
• 2011 Oracle 12c – Space Used – 1.4 Tb (25%)
2
1.4
1.8
1.4
2
1.6
0
0.5
1
1.5
2
2.5
2010
Oracle
10G DB
2010
Oracle
12C DB
(30%)
2011
Oracle
11G DB
2011
Oracle
12C DB
(22%)
2012
Oracle
11G DB
2012
Oracle
12C DB
(20%)
Storage-TB
Database
Storage Comparison – Old / New
Lessons Learned
• Pluggable database basics
• Data pump basics – (impdp)
• Compression with data pump
• Database consolidation options
• Oracle 12c results
References Used
http://www.dbi-services.com/index.php/blog/entry/discovering-oracle-12c-targets-cdb-pdb-in-
enterprise-manager-cloud-12c
http://db12c.blogspot.com/2013/07/consolidating-to-oracle-12c-
multitenant.html#method1_step4
http://allthingsoracle.com/experts/tim-gorman/
http://docs.oracle.com/cd/E16655_01/server.121/e17639/dp_import.htm#SUTIL939
http://uhesse.com/2014/01/20/speed-up-import-with-transformdisable_archive_logging-in-
oracle-12c/
Collaborate 14 Presentations:
2014_704_Browning_ppt.ppt.pptx
2014_725_niemiec_ppt.pptx
2014_150_Hotka_ppt.pdf
Thank You for Attending
• Please complete session evaluation – guidebook
• Twitter – #gloc14
• Questions ??????
• Reach Me :
– Email: mjgangler@gmail.com
– Twitter: @mjgangler
– Blog: mjgangler.wordpress.com
– Aim: mgangler

Más contenido relacionado

La actualidad más candente

Fast, Flexible Application Development with Oracle Database Cloud Service
Fast, Flexible Application Development with Oracle Database Cloud ServiceFast, Flexible Application Development with Oracle Database Cloud Service
Fast, Flexible Application Development with Oracle Database Cloud ServiceGustavo Rene Antunez
 
Oracle 12c Multitenant architecture
Oracle 12c Multitenant architectureOracle 12c Multitenant architecture
Oracle 12c Multitenant architecturenaderattia
 
Exploring Oracle Database 12c Multitenant best practices for your Cloud
Exploring Oracle Database 12c Multitenant best practices for your CloudExploring Oracle Database 12c Multitenant best practices for your Cloud
Exploring Oracle Database 12c Multitenant best practices for your Clouddyahalom
 
RMAN in 12c: The Next Generation (PPT)
RMAN in 12c: The Next Generation (PPT)RMAN in 12c: The Next Generation (PPT)
RMAN in 12c: The Next Generation (PPT)Gustavo Rene Antunez
 
Oracle database 12c introduction- Satyendra Pasalapudi
Oracle database 12c introduction- Satyendra PasalapudiOracle database 12c introduction- Satyendra Pasalapudi
Oracle database 12c introduction- Satyendra Pasalapudipasalapudi123
 
RMAN in 12c: The Next Generation (WP)
RMAN in 12c: The Next Generation (WP)RMAN in 12c: The Next Generation (WP)
RMAN in 12c: The Next Generation (WP)Gustavo Rene Antunez
 
Oracle Database 12c Multitenant for Consolidation
Oracle Database 12c Multitenant for ConsolidationOracle Database 12c Multitenant for Consolidation
Oracle Database 12c Multitenant for ConsolidationYudi Herdiana
 
How DBAs can garner the power of the Oracle Public Cloud?
How DBAs can garner the  power of the Oracle Public  Cloud?How DBAs can garner the  power of the Oracle Public  Cloud?
How DBAs can garner the power of the Oracle Public Cloud?Gustavo Rene Antunez
 
Oracle database 12c intro
Oracle database 12c introOracle database 12c intro
Oracle database 12c intropasalapudi
 
My First 100 days with a MySQL DBMS
My First 100 days with a MySQL DBMSMy First 100 days with a MySQL DBMS
My First 100 days with a MySQL DBMSGustavo Rene Antunez
 
12 Things about Oracle WebLogic Server 12c
12 Things	 about Oracle WebLogic Server 12c12 Things	 about Oracle WebLogic Server 12c
12 Things about Oracle WebLogic Server 12cGuatemala User Group
 
DBA 101 : Calling all New Database Administrators (PPT)
DBA 101 : Calling all New Database Administrators (PPT)DBA 101 : Calling all New Database Administrators (PPT)
DBA 101 : Calling all New Database Administrators (PPT)Gustavo Rene Antunez
 
OOW 17 - database consolidation using the oracle multitenant architecture
OOW 17 - database consolidation using the oracle multitenant architectureOOW 17 - database consolidation using the oracle multitenant architecture
OOW 17 - database consolidation using the oracle multitenant architecturePini Dibask
 
Reduce planned database down time with Oracle technology
Reduce planned database down time with Oracle technologyReduce planned database down time with Oracle technology
Reduce planned database down time with Oracle technologyKirill Loifman
 
Install oracle binaris or clonse oracle home
Install oracle binaris or clonse oracle homeInstall oracle binaris or clonse oracle home
Install oracle binaris or clonse oracle homeSatishbabu Gunukula
 

La actualidad más candente (20)

Fast, Flexible Application Development with Oracle Database Cloud Service
Fast, Flexible Application Development with Oracle Database Cloud ServiceFast, Flexible Application Development with Oracle Database Cloud Service
Fast, Flexible Application Development with Oracle Database Cloud Service
 
Oracle 12c Multitenant architecture
Oracle 12c Multitenant architectureOracle 12c Multitenant architecture
Oracle 12c Multitenant architecture
 
Exploring Oracle Database 12c Multitenant best practices for your Cloud
Exploring Oracle Database 12c Multitenant best practices for your CloudExploring Oracle Database 12c Multitenant best practices for your Cloud
Exploring Oracle Database 12c Multitenant best practices for your Cloud
 
RMAN in 12c: The Next Generation (PPT)
RMAN in 12c: The Next Generation (PPT)RMAN in 12c: The Next Generation (PPT)
RMAN in 12c: The Next Generation (PPT)
 
Oracle Database 12c : Multitenant
Oracle Database 12c : MultitenantOracle Database 12c : Multitenant
Oracle Database 12c : Multitenant
 
Oracle database 12c introduction- Satyendra Pasalapudi
Oracle database 12c introduction- Satyendra PasalapudiOracle database 12c introduction- Satyendra Pasalapudi
Oracle database 12c introduction- Satyendra Pasalapudi
 
Presentation day1oracle 12c
Presentation day1oracle 12cPresentation day1oracle 12c
Presentation day1oracle 12c
 
RMAN in 12c: The Next Generation (WP)
RMAN in 12c: The Next Generation (WP)RMAN in 12c: The Next Generation (WP)
RMAN in 12c: The Next Generation (WP)
 
Presentation day2 oracle12c
Presentation day2 oracle12cPresentation day2 oracle12c
Presentation day2 oracle12c
 
Presentationday3oracle12c
Presentationday3oracle12cPresentationday3oracle12c
Presentationday3oracle12c
 
Oracle Database 12c Multitenant for Consolidation
Oracle Database 12c Multitenant for ConsolidationOracle Database 12c Multitenant for Consolidation
Oracle Database 12c Multitenant for Consolidation
 
How DBAs can garner the power of the Oracle Public Cloud?
How DBAs can garner the  power of the Oracle Public  Cloud?How DBAs can garner the  power of the Oracle Public  Cloud?
How DBAs can garner the power of the Oracle Public Cloud?
 
Oracle database 12c intro
Oracle database 12c introOracle database 12c intro
Oracle database 12c intro
 
My First 100 days with a MySQL DBMS
My First 100 days with a MySQL DBMSMy First 100 days with a MySQL DBMS
My First 100 days with a MySQL DBMS
 
Oracle 12c
Oracle 12cOracle 12c
Oracle 12c
 
12 Things about Oracle WebLogic Server 12c
12 Things	 about Oracle WebLogic Server 12c12 Things	 about Oracle WebLogic Server 12c
12 Things about Oracle WebLogic Server 12c
 
DBA 101 : Calling all New Database Administrators (PPT)
DBA 101 : Calling all New Database Administrators (PPT)DBA 101 : Calling all New Database Administrators (PPT)
DBA 101 : Calling all New Database Administrators (PPT)
 
OOW 17 - database consolidation using the oracle multitenant architecture
OOW 17 - database consolidation using the oracle multitenant architectureOOW 17 - database consolidation using the oracle multitenant architecture
OOW 17 - database consolidation using the oracle multitenant architecture
 
Reduce planned database down time with Oracle technology
Reduce planned database down time with Oracle technologyReduce planned database down time with Oracle technology
Reduce planned database down time with Oracle technology
 
Install oracle binaris or clonse oracle home
Install oracle binaris or clonse oracle homeInstall oracle binaris or clonse oracle home
Install oracle binaris or clonse oracle home
 

Destacado

Installing oracle database 12c as container database with three pluggable dat...
Installing oracle database 12c as container database with three pluggable dat...Installing oracle database 12c as container database with three pluggable dat...
Installing oracle database 12c as container database with three pluggable dat...Marco Vigelini
 
The first bug on Oracle Database 12c: how to create a pdb by cloning a remote...
The first bug on Oracle Database 12c: how to create a pdb by cloning a remote...The first bug on Oracle Database 12c: how to create a pdb by cloning a remote...
The first bug on Oracle Database 12c: how to create a pdb by cloning a remote...Marco Vigelini
 
1 z0 060 - oracle certification
1 z0 060 - oracle certification1 z0 060 - oracle certification
1 z0 060 - oracle certificationadam_jhon
 
What is new on 12c for Backup and Recovery? Presentation
What is new on 12c for Backup and Recovery? PresentationWhat is new on 12c for Backup and Recovery? Presentation
What is new on 12c for Backup and Recovery? PresentationFrancisco Alvarez
 
Oracle 12c New Features_RMAN_slides
Oracle 12c New Features_RMAN_slidesOracle 12c New Features_RMAN_slides
Oracle 12c New Features_RMAN_slidesSaiful
 
Überblick Oracle Datenbank Hochverfügbarkeit
Überblick Oracle Datenbank HochverfügbarkeitÜberblick Oracle Datenbank Hochverfügbarkeit
Überblick Oracle Datenbank HochverfügbarkeitIleana Somesan
 
Oracle database 12c new features
Oracle database 12c new featuresOracle database 12c new features
Oracle database 12c new featuresRemote DBA Services
 
Best New Features of Oracle Database 12c
Best New Features of Oracle Database 12cBest New Features of Oracle Database 12c
Best New Features of Oracle Database 12cPini Dibask
 
Oracle Basics and Architecture
Oracle Basics and ArchitectureOracle Basics and Architecture
Oracle Basics and ArchitectureSidney Chen
 
Oracle Database Overview
Oracle Database OverviewOracle Database Overview
Oracle Database Overviewhonglee71
 

Destacado (10)

Installing oracle database 12c as container database with three pluggable dat...
Installing oracle database 12c as container database with three pluggable dat...Installing oracle database 12c as container database with three pluggable dat...
Installing oracle database 12c as container database with three pluggable dat...
 
The first bug on Oracle Database 12c: how to create a pdb by cloning a remote...
The first bug on Oracle Database 12c: how to create a pdb by cloning a remote...The first bug on Oracle Database 12c: how to create a pdb by cloning a remote...
The first bug on Oracle Database 12c: how to create a pdb by cloning a remote...
 
1 z0 060 - oracle certification
1 z0 060 - oracle certification1 z0 060 - oracle certification
1 z0 060 - oracle certification
 
What is new on 12c for Backup and Recovery? Presentation
What is new on 12c for Backup and Recovery? PresentationWhat is new on 12c for Backup and Recovery? Presentation
What is new on 12c for Backup and Recovery? Presentation
 
Oracle 12c New Features_RMAN_slides
Oracle 12c New Features_RMAN_slidesOracle 12c New Features_RMAN_slides
Oracle 12c New Features_RMAN_slides
 
Überblick Oracle Datenbank Hochverfügbarkeit
Überblick Oracle Datenbank HochverfügbarkeitÜberblick Oracle Datenbank Hochverfügbarkeit
Überblick Oracle Datenbank Hochverfügbarkeit
 
Oracle database 12c new features
Oracle database 12c new featuresOracle database 12c new features
Oracle database 12c new features
 
Best New Features of Oracle Database 12c
Best New Features of Oracle Database 12cBest New Features of Oracle Database 12c
Best New Features of Oracle Database 12c
 
Oracle Basics and Architecture
Oracle Basics and ArchitectureOracle Basics and Architecture
Oracle Basics and Architecture
 
Oracle Database Overview
Oracle Database OverviewOracle Database Overview
Oracle Database Overview
 

Similar a Using oracle12c pluggable databases to archive

Things learned from OpenWorld 2013
Things learned from OpenWorld 2013Things learned from OpenWorld 2013
Things learned from OpenWorld 2013Connor McDonald
 
Database as a Service on the Oracle Database Appliance Platform
Database as a Service on the Oracle Database Appliance PlatformDatabase as a Service on the Oracle Database Appliance Platform
Database as a Service on the Oracle Database Appliance PlatformMaris Elsins
 
COUG_AAbate_Oracle_Database_12c_New_Features
COUG_AAbate_Oracle_Database_12c_New_FeaturesCOUG_AAbate_Oracle_Database_12c_New_Features
COUG_AAbate_Oracle_Database_12c_New_FeaturesAlfredo Abate
 
An Introduction To Oracle Database
An Introduction To Oracle DatabaseAn Introduction To Oracle Database
An Introduction To Oracle DatabaseMeysam Javadi
 
Eouc 12 on 12c osama mustafa
Eouc 12 on 12c osama mustafaEouc 12 on 12c osama mustafa
Eouc 12 on 12c osama mustafaOsama Mustafa
 
Less01 db architecture
Less01 db architectureLess01 db architecture
Less01 db architectureImran Ali
 
Migrating to Database 12c Multitenant - New Opportunities To Get It Right!
Migrating to Database 12c Multitenant - New Opportunities To Get It Right!Migrating to Database 12c Multitenant - New Opportunities To Get It Right!
Migrating to Database 12c Multitenant - New Opportunities To Get It Right!Performance Tuning Corporation
 
Overview of Oracle Product Portfolio (focus on Platform) - April, 2017
Overview of Oracle Product Portfolio (focus on Platform) - April, 2017Overview of Oracle Product Portfolio (focus on Platform) - April, 2017
Overview of Oracle Product Portfolio (focus on Platform) - April, 2017Lucas Jellema
 
Nabil Nawaz Oracle Oracle 12c Data Guard Deep Dive Presentation
Nabil Nawaz Oracle Oracle 12c Data Guard Deep Dive PresentationNabil Nawaz Oracle Oracle 12c Data Guard Deep Dive Presentation
Nabil Nawaz Oracle Oracle 12c Data Guard Deep Dive PresentationNabil Nawaz
 
Oracle 10g introduction
Oracle 10g introductionOracle 10g introduction
Oracle 10g introductionsagaroceanic11
 
Database 12c is ready for you... Are you ready for 12c?
Database 12c is ready for you... Are you ready for 12c?Database 12c is ready for you... Are you ready for 12c?
Database 12c is ready for you... Are you ready for 12c?Performance Tuning Corporation
 
Optimize and Simplify Oracle 12C RAC using dNFS, ZFS and OISP
Optimize and Simplify Oracle 12C RAC using dNFS, ZFS and OISPOptimize and Simplify Oracle 12C RAC using dNFS, ZFS and OISP
Optimize and Simplify Oracle 12C RAC using dNFS, ZFS and OISPSecure-24
 

Similar a Using oracle12c pluggable databases to archive (20)

Oracle DBA
Oracle DBAOracle DBA
Oracle DBA
 
PHP Oracle
PHP OraclePHP Oracle
PHP Oracle
 
ora_sothea
ora_sotheaora_sothea
ora_sothea
 
Things learned from OpenWorld 2013
Things learned from OpenWorld 2013Things learned from OpenWorld 2013
Things learned from OpenWorld 2013
 
Oracle administration classes in mumbai
Oracle administration classes in mumbaiOracle administration classes in mumbai
Oracle administration classes in mumbai
 
Database as a Service on the Oracle Database Appliance Platform
Database as a Service on the Oracle Database Appliance PlatformDatabase as a Service on the Oracle Database Appliance Platform
Database as a Service on the Oracle Database Appliance Platform
 
COUG_AAbate_Oracle_Database_12c_New_Features
COUG_AAbate_Oracle_Database_12c_New_FeaturesCOUG_AAbate_Oracle_Database_12c_New_Features
COUG_AAbate_Oracle_Database_12c_New_Features
 
An Introduction To Oracle Database
An Introduction To Oracle DatabaseAn Introduction To Oracle Database
An Introduction To Oracle Database
 
Creating database
Creating databaseCreating database
Creating database
 
Eouc 12 on 12c osama mustafa
Eouc 12 on 12c osama mustafaEouc 12 on 12c osama mustafa
Eouc 12 on 12c osama mustafa
 
Less01 db architecture
Less01 db architectureLess01 db architecture
Less01 db architecture
 
Migrating to Database 12c Multitenant - New Opportunities To Get It Right!
Migrating to Database 12c Multitenant - New Opportunities To Get It Right!Migrating to Database 12c Multitenant - New Opportunities To Get It Right!
Migrating to Database 12c Multitenant - New Opportunities To Get It Right!
 
Overview of Oracle Product Portfolio (focus on Platform) - April, 2017
Overview of Oracle Product Portfolio (focus on Platform) - April, 2017Overview of Oracle Product Portfolio (focus on Platform) - April, 2017
Overview of Oracle Product Portfolio (focus on Platform) - April, 2017
 
Nabil Nawaz Oracle Oracle 12c Data Guard Deep Dive Presentation
Nabil Nawaz Oracle Oracle 12c Data Guard Deep Dive PresentationNabil Nawaz Oracle Oracle 12c Data Guard Deep Dive Presentation
Nabil Nawaz Oracle Oracle 12c Data Guard Deep Dive Presentation
 
Lecture2 oracle ppt
Lecture2 oracle pptLecture2 oracle ppt
Lecture2 oracle ppt
 
What's next after Upgrade to 12c
What's next after Upgrade to 12cWhat's next after Upgrade to 12c
What's next after Upgrade to 12c
 
Oracle 10g introduction
Oracle 10g introductionOracle 10g introduction
Oracle 10g introduction
 
Super hybrid2016 tdc
Super hybrid2016 tdcSuper hybrid2016 tdc
Super hybrid2016 tdc
 
Database 12c is ready for you... Are you ready for 12c?
Database 12c is ready for you... Are you ready for 12c?Database 12c is ready for you... Are you ready for 12c?
Database 12c is ready for you... Are you ready for 12c?
 
Optimize and Simplify Oracle 12C RAC using dNFS, ZFS and OISP
Optimize and Simplify Oracle 12C RAC using dNFS, ZFS and OISPOptimize and Simplify Oracle 12C RAC using dNFS, ZFS and OISP
Optimize and Simplify Oracle 12C RAC using dNFS, ZFS and OISP
 

Más de Secure-24

2019 odtug webinar-20190129
2019 odtug webinar-201901292019 odtug webinar-20190129
2019 odtug webinar-20190129Secure-24
 
Gloc gangler 2018._v4
Gloc gangler 2018._v4Gloc gangler 2018._v4
Gloc gangler 2018._v4Secure-24
 
2016_1201_gangler_ppt
2016_1201_gangler_ppt2016_1201_gangler_ppt
2016_1201_gangler_pptSecure-24
 
Granting Oracle Schema Permissions when Objects not created Yet
Granting Oracle Schema Permissions when Objects not created YetGranting Oracle Schema Permissions when Objects not created Yet
Granting Oracle Schema Permissions when Objects not created YetSecure-24
 
Using RPM's to Automagically to install Oracle Agents to EM12C
Using RPM's to Automagically to install Oracle Agents to EM12CUsing RPM's to Automagically to install Oracle Agents to EM12C
Using RPM's to Automagically to install Oracle Agents to EM12CSecure-24
 
2015 582 gangler_ppt - ms
2015 582 gangler_ppt - ms2015 582 gangler_ppt - ms
2015 582 gangler_ppt - msSecure-24
 
EM12C High Availability without SLB and RAC
EM12C High Availability without SLB and RACEM12C High Availability without SLB and RAC
EM12C High Availability without SLB and RACSecure-24
 
2008 2086 Gangler
2008 2086 Gangler2008 2086 Gangler
2008 2086 GanglerSecure-24
 
Mgangler Virtualization
Mgangler VirtualizationMgangler Virtualization
Mgangler VirtualizationSecure-24
 

Más de Secure-24 (9)

2019 odtug webinar-20190129
2019 odtug webinar-201901292019 odtug webinar-20190129
2019 odtug webinar-20190129
 
Gloc gangler 2018._v4
Gloc gangler 2018._v4Gloc gangler 2018._v4
Gloc gangler 2018._v4
 
2016_1201_gangler_ppt
2016_1201_gangler_ppt2016_1201_gangler_ppt
2016_1201_gangler_ppt
 
Granting Oracle Schema Permissions when Objects not created Yet
Granting Oracle Schema Permissions when Objects not created YetGranting Oracle Schema Permissions when Objects not created Yet
Granting Oracle Schema Permissions when Objects not created Yet
 
Using RPM's to Automagically to install Oracle Agents to EM12C
Using RPM's to Automagically to install Oracle Agents to EM12CUsing RPM's to Automagically to install Oracle Agents to EM12C
Using RPM's to Automagically to install Oracle Agents to EM12C
 
2015 582 gangler_ppt - ms
2015 582 gangler_ppt - ms2015 582 gangler_ppt - ms
2015 582 gangler_ppt - ms
 
EM12C High Availability without SLB and RAC
EM12C High Availability without SLB and RACEM12C High Availability without SLB and RAC
EM12C High Availability without SLB and RAC
 
2008 2086 Gangler
2008 2086 Gangler2008 2086 Gangler
2008 2086 Gangler
 
Mgangler Virtualization
Mgangler VirtualizationMgangler Virtualization
Mgangler Virtualization
 

Último

Connecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfConnecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfNeo4j
 
Scale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterScale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterMydbops
 
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Alkin Tezuysal
 
React Native vs Ionic - The Best Mobile App Framework
React Native vs Ionic - The Best Mobile App FrameworkReact Native vs Ionic - The Best Mobile App Framework
React Native vs Ionic - The Best Mobile App FrameworkPixlogix Infotech
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxLoriGlavin3
 
Testing tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesTesting tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesKari Kakkonen
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxLoriGlavin3
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsNathaniel Shimoni
 
QCon London: Mastering long-running processes in modern architectures
QCon London: Mastering long-running processes in modern architecturesQCon London: Mastering long-running processes in modern architectures
QCon London: Mastering long-running processes in modern architecturesBernd Ruecker
 
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfSo einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfpanagenda
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxLoriGlavin3
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...Nikki Chapple
 
Zeshan Sattar- Assessing the skill requirements and industry expectations for...
Zeshan Sattar- Assessing the skill requirements and industry expectations for...Zeshan Sattar- Assessing the skill requirements and industry expectations for...
Zeshan Sattar- Assessing the skill requirements and industry expectations for...itnewsafrica
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Farhan Tariq
 
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better StrongerModern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better Strongerpanagenda
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxLoriGlavin3
 
Data governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationData governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationKnoldus Inc.
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 

Último (20)

Connecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfConnecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdf
 
Scale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterScale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL Router
 
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
 
React Native vs Ionic - The Best Mobile App Framework
React Native vs Ionic - The Best Mobile App FrameworkReact Native vs Ionic - The Best Mobile App Framework
React Native vs Ionic - The Best Mobile App Framework
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
 
Testing tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesTesting tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examples
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directions
 
QCon London: Mastering long-running processes in modern architectures
QCon London: Mastering long-running processes in modern architecturesQCon London: Mastering long-running processes in modern architectures
QCon London: Mastering long-running processes in modern architectures
 
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfSo einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
 
Zeshan Sattar- Assessing the skill requirements and industry expectations for...
Zeshan Sattar- Assessing the skill requirements and industry expectations for...Zeshan Sattar- Assessing the skill requirements and industry expectations for...
Zeshan Sattar- Assessing the skill requirements and industry expectations for...
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...
 
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better StrongerModern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
 
Data governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationData governance with Unity Catalog Presentation
Data governance with Unity Catalog Presentation
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 

Using oracle12c pluggable databases to archive

  • 1. Using Oracle12c Pluggable Databases to Archive / Log Data 2014 Great Lakes Oracle Conference #gloc14 Michael J. Gangler – Oracle Database DBA – Database Specialist Tuesday - May 13, 2014 - Session 2 – 11:45am – 12:45pm
  • 2. About Michael J. Gangler Oracle Technology since 1987 Started with Oracle Version 5.1c Database Specialist – Jstor / Ithaka Database experience with FOCUS, IMS DB/DC, DB2, Sybase, and MSSQL, and MySQL databases as well as Oracle experience. mjgangler Mgangler mjgangler@gmail.com
  • 3. Upcoming Events Southeast Michigan Oracle Professionals  2nd Tuesday – Every Month – 6:00pm – 8:00pm  Secure-24 office’s - 26955 Northwestern Hwy, Suite 200, Sourthfield, MI.  www.meetup.com/SouthEast-Michigan-Oracle- Professionals/ November 12 – Wed– Michigan Oracle Users Summit  Schoolcraft Co. Community College  Full day -Includes database, Oracle applications, PeopleSoft and Hyperion user groups  www.mous.us
  • 4. Audience Background What is your Oracle background? • 1 – 3 years • 4 – 8 years • 8+ years? How many are working with Oracle 12c now ? How many are using the Multi-Tenet (CDB) Option ? Any Microsoft SqlServer Experience ?
  • 5. Goals / Non-Goals • Goals – Present new ways / reasons to use Oracle 12c Multi-Tenet databases – Present ways to reduce memory and storage (disk) usage – Focus on process of consolidating databases • Non-Goals – Learn ALL aspects of Oracle12c Multi-Tenet DB’s – Learn Tips that will make you an expert
  • 6. Agenda • Pre-Oracle 12c Configuration and database setup • Oracle 12c Pluggable database – Brief Explanation • Oracle 12c Pluggable database – Setup • Getting Data from Old DB’s to New DB’s • Compression • Results - Non-pluggable DB versus Oracle 12c Pluggable database setup • Lessons learned
  • 7. Pre-12c Configuration • Electronic Journals for College Students • All web usage is recorded for Publishers and Librarians • Raw Data stored in Archive database(s) for Reports and Warehouse • Non-existent planning for Old Raw log data • Many reports / warehouse use all Archive databases(s) at the same time.
  • 8. Pre-12c Configuration Database Information • Machine – Solaris x86, 65gb Memory, 16 CPU’s, 16TB – SAS Storage • 7 archive databases (2008 – 2014) • 3 - Oracle – Version 10g • 4 – Oracle – Version 11g • Each Database – 1.5tb – 2.0tb (14tb total) • SGA / Memory – 10G – 2gb (6 gb Total) • SGA / Memory – 11G – 8gb (32gb Total)
  • 9. Server Archive Database Server Solaris x86 16 Cpu’s 65gb Memory 12T – SAS Storage 2008 Logs Oracle Version 10 1.4Tb 2gb SGA 2009 Logs Oracle Version 10 1.4Tb 2gb SGA 2010Logs Oracle Version 10 2.0Gb 8gb SGA 2011 Logs Oracle Version 11 1.9Tb 8gb SGA 2012 Logs Oracle Version 11 1.9Tb 8gb SGA 2013 Logs Oracle Version 11 2.0Tb 8gb SGA 2014 Logs Oracle Version 11 700gb 8gb SGA Current Log Database Setup 44 Gb Memory Used 13 Tb Storage Used
  • 10. Pre-12c Configuration – Log Processing • Logs from 3 datacenters are copied to current Archive database (Nightly). • ETL / Warehouse process runs daily • Usage Reports are generated out of ETL/Warehouse process.
  • 11. Pre-12c Configuration – Log Processing
  • 12. Pre-12c Configuration – Issues • Oracle databases using 10g not supported (3 databases). • Only 65gb of total Memory on Solaris x86 machine. • Can only run 4 database’s at 1 time (Due to Memory limitations). • Solaris x86 machine near end of life / Support. • Non-existent plan for older archive DB’s.
  • 13. Oracle 12c Pluggable database – Brief Explanation • Similar to a SqlServer – 1 Instance – Multiple Databases within Instance • CDB – Container Database – Instance Level • PDB – Pluggable Database – Many applications/databases within Container • PDB’s Share SGA with other PDB’s
  • 14. Non-CDB Architecture Single database User database cannot be easily copied separately from system data SGA is dedicated to a single database Database Operating System Data files Data files Data files Data files Oracle Database Instance System Global Area (SGA) Shared Pool Library Cache Data Dictionary Cache Database Buffer Cache Large Pool UGA I/O Buffer Area Redo Log Buffer PGA PGA
  • 15. Multitenant Architecture Many-to-one database consolidation using one container database (CDB) to many pluggable databases (PDBs) Enables the DBA to easily create, clone, and move databases All of the PDBs share the same SGA Container Database Operating System CREATE PLUGGABLE DATABASE … USING Data files Data files Data files Data files XML Meta file New Seed Oracle Database Instance System Global Area (SGA) Shared Pool Library Cache Data Dictionary Cache Database Buffer Cache Large Pool UGA I/O Buffer Area Redo Log Buffer PGA PGA
  • 16. Non-CDB Data Dictionary Data Dictionary stores both system data and user data Not easy to copy just user data OBJ$ TAB$ SOURCE$ … EMP DEPT … NON-CDB
  • 17. Multitenant Partitioned Data Dictionary User metadata for each PDB stored separately Enables plug/unplug operation User data separate from system data OBJ$ TAB$ SOURCE$ … EMP DEPT … OBJ$ TAB$ SOURCE$ … PDBROOT
  • 18. Archive Log Consolidation – Multitenant • Multiple Archive Log DB’s in a single instance – Shared SGA – Single patch level – Backup / restore (fairly) simple – Resource management works across PDBs – Each PDB represents a different Year Archive Storage Array Database Server Database Storage OS Container Database
  • 19. Why Multi-Tenet 12C Database ? • All Archive DB’s have same user names, table space names and Partitions. • Limited Machine Memory • Machine is at end of life for support • Many Oracle Databases – end of life support (Oracle v10) • Utilize Oracle 12C Compression to reduce disk storage.
  • 20. Why Not use Multiple Users / Schemas in Oracle 12c ? • Code / Application changes required due to Archive Database have same user names • Lots of manual intervention due to tables using same tablespace and user names. – Manual steps required to recreate all the tables with new Tablespaces and partitions – Partition names would need to be changed for each user. – Import – required many tablespace name changes
  • 21. Oracle 12c – Create Container DB Options • DBCA • Cloud Control (12.1.0.3) – 12c – Provisioning – Procedure Library • Manual – i.e. Create Database….
  • 22. Oracle 12c Multi-Tenant Setup Create 12.1.0.1 Container Database 1. Launch DBCA $cd $ORACLE_HOME/bin $./dbca 2. Select create database click next
  • 23. Oracle 12c Multi-Tenant Setup Here you can select to create database with default options or choose advance mode to have more control over how the database is created. Click next In my case I choose advance mode.
  • 24. Oracle 12c Multi-Tenant Setup Select the template that you want to use and click next In my case I like to choose custom database. Note: the template called testdbs is one I created not one of Oracle's templates.
  • 25. Oracle 12c Multi-Tenant Setup Set the global database and SID name. Select create as container database you can choose to have the CDB empty or include creating a PDB or PDBs. Click next In my case I choose to create CDB empty.
  • 26. Oracle 12c – Create Container DB Options • DBCA • Cloud Control (12.1.0.3) – 12c – Provisioning – Procedure Library • Manual – i.e. Create Database….
  • 27. Oracle 12c – Cloud 12c – Procedure / Template Setup Enterprise/Provisioning – Create Database Template Select Create Oracle Database
  • 28. Oracle 12c – Cloud 12c – Provisioning Provision Pluggable Database console - Cloud Control 12C – 12.1.0.3 or Greater
  • 29. Oracle 12c – Create Container DB Options • DBCA • Cloud Control (12.1.0.3) – 12c – Provisioning – Procedure Library • Manual – i.e. Create Database….
  • 30. Oracle 12c – Manual Create – Part II
  • 31. Oracle 12c – Manual Container Create Create database 12cplugdb ……. ENABLE PLUGGABLE DATABASE SEED FILE_NAME_CONVERT = ('/u01/app/oracle/oradata/newcdb/', '/u01/app/oracle/oradata/pdbseed/') SYSTEM DATAFILES SIZE 125M AUTOEXTEND ON NEXT 10M MAXSIZE UNLIMITED SYSAUX DATAFILES SIZE 100M USER_DATA TABLESPACE usertbs DATAFILE '/u01/app/oracle/oradata/pdbseed/usertbs01.dbf' SIZE 200M REUSE AUTOEXTEND ON MAXSIZE UNLIMITED;
  • 32. Oracle 12c – Pluggable Create Options • DBCA – During Create container DB • Cloud Control (12.1.0.3) – 12c – Provisioning – Procedure Library • Manual – i.e. Create Database….
  • 33. Oracle 12c – DBCA – Pluggable DB Set the global database and SID name. Select create as container database you can choose to have the CDB empty or include creating a PDB or PDBs. Click next Create the pluggable db (PDB) with this DBCA Screen
  • 34. Oracle 12c – Pluggable Create Options • DBCA – During Create container DB • Cloud Control (12.1.0.3) – 12c – Provisioning – Procedure Library • Manual – i.e. Create Database….
  • 35. Oracle 12c – Cloud 12c – Provisioning Provision Pluggable Database console - Cloud Control 12C – 12.1.0.3 or Greater Create Pluggable Databases
  • 36. Oracle 12c – Pluggable Create Options • DBCA – During Create container DB • Cloud Control (12.1.0.3) – 12c – Provisioning – Procedure Library • Manual – i.e. Create Database….
  • 37. Oracle 12c – Manual Pluggable Create SYS_hist2010.jstor.org>connect sys/PW@hist2010.jstor.org as sysdba Connected. create pluggable database hist2010 admin user hist2010_admin identified by PW storage (maxsize 2g max_shared_temp_size 100m) default tablespace hist2010_default_data datafile '/u01/app/oracle/historical_db/histdb08/ajpa2010.hist2010_default_data.01.dbf' size 1g autoextend on path_prefix = ('/u01/app/oracle/historical_db/histdb08/pdbseed/','/u01/app/oracle/historical_db/histdb08/ ajpa2010/ajpa2010pdb/’)
  • 38. Oracle 12c – Manual Pluggable Create SYS_hist2010.jstor.org>connect sys/PW@hist2010.jstor.org as sysdba From Root / Container DB SYS_histdb08>show con_name CON_NAME ------------------------------ CDB$ROOT SYS_histdb08>show pdbs CON_ID CON_NAME OPEN MODE RESTRICTED ---------- ------------------------------ ---------- ---------- 2 PDB$SEED READ ONLY NO 3 HIST201R MOUNTED 4 HIST2010 MOUNTED
  • 39. Oracle 12c – Manual Pluggable Create SYS_hist2010.jstor.org>connect sys/PW@hist2010.jstor.org as sysdba SYS_hist2010.jstor.org>startup Pluggable Database opened. SYS_hist2010.jstor.org>show pdbs CON_ID CON_NAME OPEN MODE RESTRICTED ---------- ------------------------------ ---------- ---------- 4 HIST2010 READ WRITE NO
  • 40. Oracle 12c Listener setup SID_LIST_LISTENER12C = (SID_LIST = (SID_DESC = (SID_NAME=CLRExtProc) (ORACLE_HOME = /u01/app/oracle/product/12.1.0/db_1) (PROGRAM = extproc) ) (SID_DESC = (SID_NAME = hist2012) (ORACLE_HOME = /u01/app/oracle/product/12.1.0/db_1) ) (SID_DESC = (SID_NAME = hist201r) (ORACLE_HOME = /u01/app/oracle/product/12.1.0/db_1) ) (SID_DESC = (SID_NAME = hist2010) (ORACLE_HOME = /u01/app/oracle/product/12.1.0/db_1) ) ) LISTENER12C = (DESCRIPTION_LIST = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = machine_archive.jstor.org)(PORT = 2521)) (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC2512)) ) ) ADR_BASE_LISTENER = /u01/app/oracle
  • 41. Oracle 12c Listener setup SID_LIST_LISTENER12C = (SID_LIST = (SID_DESC = (SID_NAME=CLRExtProc) (ORACLE_HOME = /u01/app/oracle/product/12.1.0/db_1) (PROGRAM = extproc) ) (SID_DESC = (SID_NAME = ajpa2014) (ORACLE_HOME = /u01/app/oracle/product/12.1.0/db_1) ) (SID_DESC = (SID_NAME = hist201r) (ORACLE_HOME = /u01/app/oracle/product/12.1.0/db_1) ) (SID_DESC = (SID_NAME = hist2010) (ORACLE_HOME = /u01/app/oracle/product/12.1.0/db_1) ) )
  • 42. Oracle 12c Listener setup LISTENER12C = (DESCRIPTION_LIST = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = machine_archive.jstor.org)(PORT = 2521)) (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC2512)) ) ) ADR_BASE_LISTENER = /u01/app/oracle
  • 43. Agenda • Pre-Oracle 12c Configuration and database setup • Oracle 12c Pluggable database – Brief Explanation • Oracle 12c Pluggable database – Setup • Getting Data from Old DB’s to New DB’s • Compression • Results - Non-pluggable DB versus Oracle 12c Pluggable database setup • Lessons learned
  • 44. Getting Old Data into Oracle 12c PDB • Cloud Control (12.1.0.3) – 12c – Provisioning console – 11.2.0.3 databases or Higher • “dbms_pdb” – Oracle 12c non-cdb databases only ! • Manual – Datapump - Oracle 10g and above
  • 45. Getting Old Data into Oracle 12c PDB Cloud Control (12.1.0.3) – 12c
  • 46. Getting Old Data into Oracle 12c PDB Cloud Control (12.1.0.3) – 12c Data Pump Option – 11.2.0.3 or Greater
  • 47. Getting Old Data into Oracle 12c PDB Cloud Control (12.1.0.3) – 12c dbms_pdb– 12.1.0.3 or Greater
  • 48. Getting Old Data into Oracle 12c PDB • Cloud Control (12.1.0.3) – 12c – Provisioning console – 11.2.0.3 databases or Higher • “dbms_pdb” – Oracle 12c non-cdb databases only ! • Manual – Datapump - Oracle 10g and above
  • 49. Getting Old Data into Oracle 12c PDB Manual – Datapump Options 1. Convert to later version 1. Convert to 11g/12c 2. Export/Import (Datapump) 2. Oracle 10g/11g  to 12c 1. Export / Import (Datapump)
  • 50. Getting Old Data into Oracle 12c PDB Manual - Option #2 – Exp/Imp Only Datapump – Options  Export to file and then import Disadvantage – Large file to move around/create  Using Network option on Export/Import (Datapump) No export file created – done over db link. Disadvantage – Slower than creating file
  • 51. Getting Old Data into Oracle 12c PDB Manual - Option #2 – Data Pump Only 2010 Archive – Oracle 10g – 2.0Tb -- Move Precreated 2010 PDB in New Oracle 12c CDB Precreated tables, tablespaces, users Emptied recycle bin (2010 Archive DB) Added Oracle 12c db in tnsnames.ora file (Archive 2010 Database) Created Database link (oracle 12c) - Pointing to 2010 Archive DB
  • 52. Getting Old Data into Oracle 12c PDB Manual - Option #2 – Data Pump Only 2010 Archive – Oracle 10g – 2.0Tb -- Move impdp hist2010_admin/PW@hist2010.jstor.org network_link="ajpa2010.jstor.org" directory=hist2010_data_pump_dir schemas=('LITERATUM_ARCHIVE') logfile=import_2010_20130905.log metrics=Y status=0 parallel=3 TRANSFORM=DISABLE_ARCHIVE_LOGGING:Y exclude=TABLE:"='LOG_SESSION'" TRANSFORM=SEGMENT_ATTRIBUTES:N TRACE=400300 TABLE_EXISTS_ACTION=APPEND
  • 53. Getting Old Data into Oracle 12c PDB Manual - Option #2 – Data Pump Only 2010 Archive – Oracle 10g – 2.0Tb – Move Options explained • impdp ora12c/PW@hist2010.jstor.org (use 12c tnsname) • network_link – Database link –source database link • directory=hist2010_data_pump_dir – Directory Object • schemas=('LITERATUM_ARCHIVE') - Only 1 Schema desired • logfile=import_2010_20130905.log – Log file
  • 54. Getting Old Data into Oracle 12c PDB Manual - Option #2 – Data Pump Only 2010 Archive – Oracle 10g – 2.0Tb – Move • metrics=Y – Display # of objects and elapsed Time • status=0 – frequency in Seconds job status should be displayed • parallel=3 – Degree of parallelism • TRANSFORM=DISABLE_ARCHIVE_LOGGING:Y – Disables Redo Logs – ** Note ** ignores if in forced logging mode
  • 55. Getting Old Data into Oracle 12c PDB Manual - Option #2 – Data Pump Only 2010 Archive – Oracle 10g – 2.0Tb – Move • exclude=TABLE:"='LOG_SESSION'" - Ignores table “Log Session • TRANSFORM=SEGMENT_ATTRIBUTES:N – Ignore Segment attributes • TRACE=400300 – Sets trace level for debugging • TABLE_EXISTS_ACTION=APPEND – Append data if data already exists • Version=10.2.0.4 – Can only be used with network_link
  • 56. Issues with 10.2.0.4 import • Slow without Parallel option • Memory issues • Issues with Log_session table LOB and Oracle 10g.
  • 57. Getting Old Data into Oracle 12c PDB Manual - Option #2 – Data Pump Only 2011 Archive – Oracle 11g – 1.8Tb – Move (Same as 2010 Archive). • Precreated 2011 PDB in New Oracle 12c CDB • Precreated tables, tablespaces, users • Emptied recycle bin (2011 Archive DB) • Added Oracle 12c db in tnsnames.ora file (Archive 2011 Database) • Created Database link (oracle 12c) – Pointing to 2011 Archive DB
  • 58. Getting Old Data into Oracle 12c PDB Manual - Option #2 – Data Pump Only 2011 Archive – Oracle 11g – 1.8Tb -- Move impdp hist2011_admin/PW@hist2011.jstor.org network_link="ajpa2011.jstor.org" directory=hist2011_data_pump_dir schemas=('LITERATUM_ARCHIVE') logfile=import_2011_20130905.log metrics=Y status=0 parallel=3 Version=11.2.0.3 TRANSFORM=DISABLE_ARCHIVE_LOGGING:Y TABLE_EXISTS_ACTION=APPEND
  • 59. Getting Old Data into Oracle 12c PDB Manual - Option #2 – Data Pump Only 2011 Archive – Oracle 11g – 1.8Tb -- Move Same as 2010 datapump, but without : • exclude=TABLE:"='LOG_SESSION'" • TRANSFORM=SEGMENT_ATTRIBUTES:N • TRACE=400300
  • 60. Issues with 11.2.0.3 import • Slow without Parallel option • No Memory issues • No Issues with Log_session table LOB and Oracle 10g. • Worked better with 11g database.
  • 61. Agenda • Pre-Oracle 12c Configuration and database setup • Oracle 12c Pluggable database – Brief Explanation • Oracle 12c Pluggable database – Setup • Getting Data from Old DB’s to New DB’s • Compression • Results - Non-pluggable DB versus Oracle 12c Pluggable database setup • Lessons learned
  • 62. Compression with Data pump • Use impdp command line option (or use DBMS_DATAPUMP) • Use the TABLE_COMPRESSION_CLAUSE: The allowable values for the TABLE_COMPRESSION_CLAUSE include the following. • NONE : The table compression clause is omitted, so the table takes on the compression characteristics of the tablespace. • NOCOMPRESS : Disables table compression. • COMPRESS : Enables basic table compression. • ROW STORE COMPRESS BASIC : Same as COMPRESS. • ROW STORE COMPRESS BASIC : Same as COMPRESS. • ROW STORE COMPRESS ADVANCED : Enables advanced compression, also known as OLTP compression. • COLUMN STORE COMPRESS FOR QUERY : Hybrid Columnar Compression (HCC) available in Exadata and ZFS storage appliances. • COLUMN STORE COMPRESS FOR ARCHIVE : Hybrid Columnar Compression (HCC) available in Exadata and ZFS storage appliances.
  • 63. Compression with Data pump • Use impdp command line option (or use DBMS_DATAPUMP) • Use the TABLE_COMPRESSION_CLAUSE: TABLE_COMPRESSION_CLAUSE=NONE TABLE_COMRPESSION_CLAUSE=NOCOMPRESS TABLE_COMPRESSION_CLAUSE=COMPRESS BASIC TABLE_COMPRESSION_CLAUSE=COMPRESS ROW STORE COMPRESS ADVANCED (used for OLTP)
  • 64. Compression with Data pump Warehouse compression (low is faster load): *** HCC – Only for exadata and ZFS *** TABLE_COMPRESSION_CLAUSE=COMPRESS COLUMN STORE COMPRESS FOR QUERY LOW TABLE_COMPRESSION_CLAUSE=COMPRESS COLUMN STORE COMPRESS FOR QUERY HIGH
  • 65. Compression with Data pump Archive compression (low is faster load): *** HCC – Only for exadata and ZFS *** TABLE_COMPRESSION_CLAUSE=COMPRESS COLUMN STORE COMPRESS FOR ARCHIVE LOW TABLE_COMPRESSION_CLAUSE=COMPRESS COLUMN STORE COMPRESS FOR ARCHIVE HIGH
  • 66. Compression with Data pump Turned off compression during data pump (impdp) to improve performance. Compressed Partitions after import: select 'alter table '||table_name||' move partition '||partition_name||' compress for all_operations;' from user_tab_partitions order by table_name /
  • 67. Compression Results 2010 • 2010 Old way – Space used – 2.0 Tb • 2010 Oracle 12c – Space Used – 1.2Tb (30%) 2011 • 2011 Old Way – Space Used – 1.8 Tb • 2011 Oracle 12c – Space Used – 1.4 Tb (25%)
  • 68. 2 1.4 1.8 1.4 2 1.6 0 0.5 1 1.5 2 2.5 2010 Oracle 10G DB 2010 Oracle 12C DB (30%) 2011 Oracle 11G DB 2011 Oracle 12C DB (22%) 2012 Oracle 11G DB 2012 Oracle 12C DB (20%) Storage-TB Database Storage Comparison – Old / New
  • 69. Lessons Learned • Pluggable database basics • Data pump basics – (impdp) • Compression with data pump • Database consolidation options • Oracle 12c results
  • 71. Thank You for Attending • Please complete session evaluation – guidebook • Twitter – #gloc14 • Questions ?????? • Reach Me : – Email: mjgangler@gmail.com – Twitter: @mjgangler – Blog: mjgangler.wordpress.com – Aim: mgangler