Beta 12c

36
ORACLE DATABASE 12C: A BETA TESTER’S PERSPECTIVE Presented By: Bobby Curtis, MBA

description

Presentation from Kscope 13.

Transcript of Beta 12c

Page 1: Beta 12c

ORACLE DATABASE 12C:A BETA TESTER’S PERSPECTIVE

Presented By:Bobby Curtis, MBA

Page 2: Beta 12c

This document is intended to outline Oracle’s general product direction based on the information compiled from the references listed. It is intended for informational purposes only for learning. The development and release of these functionalities and features including the release dates remain at the sole discretion of Oracle and no documentation is available at this time. The features and commands shown may or may not be accurate when the final database release goes GA (General Availability). Please refer Oracle documentation when it becomes available.

DISCLAIMER

DISCLAIMER

Page 3: Beta 12c

BOBBY CURTIS, MBA• Douglasville, Georgia• Solution Architect, BIAS

Corp.• Implementation Specialist

for Core Technologies• Using Oracle products since

2001• IOUG, ODTUG, GOUSER &

RMOUG• Co-Author: Expert OEM12c –

Apress (2013)

Blog: http://dbasolved.comTwitter: @curtisbl294Email: [email protected], [email protected]

Page 4: Beta 12c

BETA TESTING

• Beta 3 Testing : January 14-18, 2013

• IOUG, ODTUG, UKOUG, AUSOUG

• Upgrades, Downgrades, and other features

• How to get involved

Page 5: Beta 12c

WHY ARE WE HERE TODAY?

Page 6: Beta 12c

BLOG POSTS…

Page 7: Beta 12c

• Multi-Tenancy• CDB vs. PDB• Split Data Dictionary• Compatible: RAC, Resource Manager etc• New Administrator: CDB Administrator

• SQL> SELECT pdb FROM dba_services;• SQL> SELECT

sys_context(‘userenv’,’con_name’) “MY_CONTAINER” FROM dual;

• SQL> SELECT NAME, CON_ID FROM v$active_services ORDER BY 1;

• Unique Service Names for PDBs• Database Administration & Granularity Control• Pluggable Databases Examples: Create PDB

• $ sqlplus sys/pwd@DBSRV/c01p as sysdba• SQL> create pluggable database c01p01p•   2  admin user app_Admin identified by pwd•   3  file_name_convert = ('/pdbseed/',

'/c01p01p/')•   4  /

• Pluggable Databases Examples: Drop PDB• Pluggable Databases Examples: Clone a PDB

WHAT’S IN MICHAEL’S BLOG POST…

Page 8: Beta 12c

1. Mature Tools (DBCA/DBUA)2. Pluggable Databases3. RAC: Flex Cluster 4. RAC: Flex ASM5. Replication6. DataGuard7. SQL Developer8. EM Express vs. OEM9. DBA: Depreciation Of Parameters10.Developer: Enhancements

NEW FEATURES HIGHLIGHTS

Page 9: Beta 12c

MATURE TOOLS

Page 10: Beta 12c

DBUA: ENHANCEMENTS• Upgrade from 10.2, 11.1 and 11.2• Move database across 12.1 Oracle Homes

Page 11: Beta 12c

DBUA: PRE-UPGRADE SCRIPTS

Page 12: Beta 12c

• $ORACLE_HOME/rdbms/admin/preupgrade.sql – executed using existing 11g Home• Results in: $ORACLE_HOME/cfgtoollogs/$ORACLE_SID/preupgrade

DBUA: PRE-UPGRADE CHECKS

Page 13: Beta 12c

DBUA – UPGRADE OPTIONS• Parallel Upgrade – Runs catctl.pl with selected parallelism• Gather Dictionary Statistics before upgrade• Set User Tablespaces Read Only• Update diagnostic and audit file destinations

Page 14: Beta 12c

DBUA – PARALLEL UPGRADENEW Parallel Upgrade

Page 15: Beta 12c

DBCA – NEW FEATURES• New User Interface• Support for Pluggable Databases• One Step Database Creation• EM Database Express Configuration• Simplified OLS and Database Vault Configuration• CVU Integration• Listener Creation (Single Instance)• Password File on ASM Diskgroup• Flex ASM Support• Grid Management Database Creation (GI Home)

Page 16: Beta 12c

DBCA – UI ENHANCEMENTS• Streamlined RAC and Single Instance flows• Simplified flows with reduced number of steps• Look and feel consistent with Oracle Install and Configuration wizards

Page 17: Beta 12c

• Create CDB with zero or more PDBs• Uses catcon.pl to run DB creation scripts for CDB. Catcon.pl creates the

dictionary objects in ROOT and PDB$SEED• All Oracle supplied schemas are always installed in CDB• Option to generate CDB creation scripts

DBCA – CONTAINER DATABASES

Page 18: Beta 12c

DBCA – MANAGEMENT OPTIONS• DB Express replaces DB Control• By default DBCA picks up free port for EM Database Express from 5500 to

5599 range• Override using “DBEXPRESS_HTTPS_PORT” environment variable

before running DBCA/Installer• DBSNMP is used by CVU for periodic database checks• Register Database, ASM and Listener targets to EM Cloud Control

Page 19: Beta 12c

DBCA – CREATE PLUGGABLE DATABASES• Create a new PDB (using PDB$SEED)• Plug using PDB Archive (tar.gz) generated using DBCA Unplug operation• Plug using PDB File Set (PDB XML + RMAN Backup) generated using DBCA

Unplug operation

Page 20: Beta 12c

DBCA – UNPLUG A PLUGGABLE DATABASE• PDB Archive is one tar.gz file consisting all unplugged datafiles and PDB

metadata XML• PDB File Set consists of two files

• RMAN backup of all PDB data files• PDB metadata XML

• PDB File Set is the only supported option when unplugging PDB on ASM

Page 21: Beta 12c

• New with this release of Oracle Database• A few acronyms to account for:

• Non-CDB = Traditional Database• CDB = Container Database• PDB = Pluggable Database

• New SQL • pluggable database• alter session set container

• New Views• CDB Views (933) – CON_ID• PDB Views (2) – PDB_ID (CDB_PDBS)

PLUGGABLE DATABASES

Page 22: Beta 12c

• Faster provisioning – New or Copy• Developers?

• Fast Redeployment – moving platforms

• Patch/Upgrade Faster • Multiples for the cost of doing it once• Patch/Upgrade to later version by

unplug/plug

• Run Multiple Database Instance• Up to 252 instances – single box

PLUGGABLE DATABASES - BENEFITS

Page 23: Beta 12c

Steps:1. Upgrade to 12.1 and drop TEMP2. SQL>exec DBMS_PDB.DESCRIBE (<xml

file>);3. SQL>create pluggable database PDB12

using <xml file> nocopy;4. Connect: Sqlplus “sys/<pwd>@PDB12 as sysdba”

Note:Will need to change service name/connection string

TRADITIONAL TO PLUGGABLE

Page 24: Beta 12c

• New RMAN command• Pluggable Database

• Backup entire CDB and single/multiple PDB• Consistent Point-in-Time• Tablespaces/Data Files from specific PDB

• Beta 3 – PIT now available for PDB

• Bug: 16187090• NoArchivelog/Full Online Backup

RMAN> backup database;• Workaround = Don’t do it

PLUGGABLE DATABASES - RMAN

Page 25: Beta 12c

• New Clusterware based topology• Hub Nodes = Traditional (database)• Leaf Nodes = Lighter weight stack (applications)

• Enables a variety of workload and applications across hundreds of nodes• No additional overhead

• What-If Evaluation• New command to help determine impact to

cluster

• OCR backup to ASM supported

RAC: FLEX CLUSTER

Page 26: Beta 12c

• ASM is decoupled from database servers

• Shared Password File in disk group

• ASM Resync• Allow multiple disks to be

brought online simultaneously

• Control speed of resync

RAC: FLEX ASM

Page 27: Beta 12c

• Far Sync:• NoAffirm Redo Transport• Receipt is acknowledged as soon as redo is received in memory• Standby does not wait for write to standby redo log• Increases primary database performance• Increases maximum availability and SYNC redo transport

• Single Command Role Transitions:• Replacement for multiple commands• Higher availability with simpler and faster role transitions

DATAGUARD

Page 28: Beta 12c

SQL DEVELOPER

Page 29: Beta 12c

exec DBMS_XDB_CONFIG.SETHTTPPORT(<port_number>);

EM EXPRESS

Page 30: Beta 12c

Release 12.1.0.2.0 BP2 Update 1

ORACLE ENTERPRISE MANAGER 12C

Page 31: Beta 12c

SQL> SELECT name FROM v$parameterWHERE isdeprecated = ‘TRUE’ORDER BY name;

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_debug

plsql_v2_compatibility remote_os_authent resource_manager_cpu_allocation sec_case_sensitive_logon serial_reuse sql_trace standby_archive_dest user_dump_dest

DEPRECIATION OF PARAMETERS

Page 32: Beta 12c

• VARCHAR2:• 32767 bytes (max_string_size=extended)• 4000 bytes (max_string_size=standard)

• TRUNCATE TABLE:• Includes a CASCADE function now

• Auditing• Enabled by default

ENHANCEMENTS

Page 33: Beta 12c
Page 34: Beta 12c

Blog: http://www.dbasolved.comTwitter: @curtisbl294Email: [email protected]

[email protected]

Thank You for Attending

Evaluations are in the back!

http://www.biascorp.com

Page 35: Beta 12c

BOBBY CURTIS, MBA• Douglasville, Georgia• Solution Architect, BIAS

Corp.• Implementation Specialist

for Core Technologies• Using Oracle products since

2001• IOUG, ODTUG, GOUSER &

RMOUG• Co-Author: Expert OEM12c –

Apress (2013)

Blog: http://dbasolved.comTwitter: @curtisbl294Email: [email protected], [email protected]

Page 36: Beta 12c