Beta 12c
-
Upload
bobby-curtis -
Category
Technology
-
view
157 -
download
1
description
Transcript of Beta 12c
ORACLE DATABASE 12C:A BETA TESTER’S PERSPECTIVE
Presented By:Bobby Curtis, MBA
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
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]
BETA TESTING
• Beta 3 Testing : January 14-18, 2013
• IOUG, ODTUG, UKOUG, AUSOUG
• Upgrades, Downgrades, and other features
• How to get involved
WHY ARE WE HERE TODAY?
BLOG POSTS…
• 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…
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
MATURE TOOLS
DBUA: ENHANCEMENTS• Upgrade from 10.2, 11.1 and 11.2• Move database across 12.1 Oracle Homes
DBUA: PRE-UPGRADE SCRIPTS
• $ORACLE_HOME/rdbms/admin/preupgrade.sql – executed using existing 11g Home• Results in: $ORACLE_HOME/cfgtoollogs/$ORACLE_SID/preupgrade
DBUA: PRE-UPGRADE CHECKS
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
DBUA – PARALLEL UPGRADENEW Parallel Upgrade
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)
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
• 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
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
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
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
• 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
• 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
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
• 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
• 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
• 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
• 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
SQL DEVELOPER
exec DBMS_XDB_CONFIG.SETHTTPPORT(<port_number>);
EM EXPRESS
Release 12.1.0.2.0 BP2 Update 1
ORACLE ENTERPRISE MANAGER 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
• 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
Blog: http://www.dbasolved.comTwitter: @curtisbl294Email: [email protected]
Thank You for Attending
Evaluations are in the back!
http://www.biascorp.com
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]