Oracle Database 12c para la comunidad GeneXus - Engineered for clouds

949 views

Published on

Oracle Database 12c para la comunidad GeneXus - Engineered for clouds

Published in: Technology, News & Politics
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
949
On SlideShare
0
From Embeds
0
Number of Embeds
118
Actions
Shares
0
Downloads
20
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Oracle Database 12c para la comunidad GeneXus - Engineered for clouds

  1. 1. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.1
  2. 2. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.3 Oracle Database 12c Engineered for Cloud Martín Páez Arquitecto de Soluciones – Oracle Indirect Sales martin.paez@oracle.com
  3. 3. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.4 Agenda  Rethinking Architecture for the Database Cloud  Multitenant Architecture  Capabilities Enabled  Managing Shared Resources  Upgrading to Multitenant  Use Cases
  4. 4. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.5 Agenda  Rethinking Architecture for the Database Cloud  Multitenant Architecture  Capabilities Enabled  Managing Shared Resources  Upgrading to Multitenant  Use Cases
  5. 5. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.6 Pressures Increase Agility Reduce Costs • Capital Costs • Operating Costs Non-stop operations DBA challenges: • Patching, upgrades • Provisioning Pressures Requirements Increase Agility Performance, scalability Reduce Costs • Capital Costs • Operating Costs Reliability, availability Non-stop operations Security, tenant isolation DBA challenges: • Patching, upgrades • Provisioning No application changes Pressures Requirements Trends Increase Agility Performance, scalability Private Cloud Reduce Costs • Capital Costs • Operating Costs Reliability, availability Massively Powerful Servers (Exadata) Non-stop operations Security, tenant isolation Virtualization DBA challenges: • Patching, upgrades • Provisioning No application changes Simplification • Standardized Services • Self-Service Industry Today
  6. 6. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.7 Private Database Cloud Architectures Oracle Database 11g Dedicated Databases share servers and OS Virtual Machines share servers Schema Consolidation share servers, OS and database Increasing Consolidation
  7. 7. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.8 Private Database Cloud Architectures Oracle Database 12c Dedicated Databases share servers and OS Virtual Machines share servers Multitenant Database share servers, OS and database Increasing Consolidation
  8. 8. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.9 Oracle Database Architecture Requires memory, processes and database files System Resources
  9. 9. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.10 New Multitenant Architecture Memory and processes required at multitenant container level only System Resources
  10. 10. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.11 New Multitenant Architecture Memory and processes required at multitenant container level only System Resources
  11. 11. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.12 Agenda  Rethinking Architecture for the Database Cloud  Multitenant Architecture  Capabilities Enabled  Managing Shared Resources  Upgrading to Multitenant  Use Cases
  12. 12. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.13 Multitenant Architecture Components of a Multitenant Container Database (CDB) Pluggable Databases (PDBs) PDBs Root CDB
  13. 13. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.14 Multitenant Architecture  Multitenant architecture can currently support up to 252 PDBs  A PDB feels and operates identically to a non-CDB  You cannot tell, from the viewpoint of a connected client, if you’re using a PDB or a non-CDB Database Link
  14. 14. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.15 Unplug / plug Simply unplug from the old CDB…
  15. 15. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.16 Unplug / plug …and plug in to the new CDB…  Moving between CDBs is a simple case of moving a PDB’s metadata  An unplugged PDB carries with it lineage, patch, encryption key info etc
  16. 16. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.18 Common Data Dictionary Before 12.1: dilution over time Database Created Data Dictionary User Data Meta Data Mature Database Data Dictionary User Data Meta Data Tables, Code, Data added Data Dictionary User Data Meta Data
  17. 17. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.19 OBJ$ TAB$ SOURCE$ … Oracle Data and User Data OBJ$ TAB$ SOURCE$ … EMP DEPT … OBJ$ TAB$ SOURCE$ …  Multitenant fix: Horizontally- partitioned data dictionary  Only Oracle system definition remains  Data dictionary is diluted by customer’s metadata
  18. 18. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.21 Multitenant Architecture – Dynamics  PDBs share common SGA and background processes  Foreground sessions see only the PDB they connect to
  19. 19. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.22 0 0.5 1 1.5 2 2.5 3 CRM HCM ERP BI GB Pluggable Database MEMORY 0 0.5 1 1.5 2 2.5 3 CRM HCM ERP BI DW GB Pluggable Database MEMORY Multitenant Scalability  Only small increments in memory as additional PDBs are added 0 0.5 1 1.5 2 2.5 3 CRM HCM ERP GB Pluggable Database MEMORY
  20. 20. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.23 Files in the CDB  Each PDB has its own set of tablespaces including SYSTEM and SYSAUX  PDBs share UNDO, REDO and control files, (s)pfile  By default the CDB has a single TEMP tablespace but PDBs may create their own Namespaces
  21. 21. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.24 Users  Local users are the successors for customer-created users in a non-CDB  A local user is defined only in a PDB  A local user can administer a PDB  A common user is defined in the root and is represented in every PDB  A common user can log into any PDB where it has “Create Session” and can therefore administer a PDB  The Oracle system is owned by common users
  22. 22. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.26 Agenda  Rethinking Architecture for the Database Cloud  Multitenant Architecture  Capabilities Enabled  Managing Shared Resources  Upgrading to Multitenant  Use Cases
  23. 23. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.27 Manage Many as One with Multitenant Backup databases as one; recover at pluggable database level One Backup Point-in-time recovery At pluggable database level
  24. 24. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.28 Manage Many as One with Multitenant One standby database covers all pluggable databases
  25. 25. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.29 Multitenant for Simplified Upgrades Apply changes once, all pluggable databases updated Upgrade in-place
  26. 26. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.30 Multitenant for Patching Flexible choice when patching & upgrading databases
  27. 27. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.31 Expand Cluster to Support Flexible Consolidation Model Services Single SGA per CDB Instance Improved Agility With Changing Workloads Node1 CDB Instance 1 Node2 CDB Instance 2 Multitenant Container Database (CDB)
  28. 28. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.32 Expand Cluster to Support Flexible Consolidation Model Services Single SGA per CDB Instance Node1 CDB Instance 1 Node2 CDB Instance 2 Node3 CDB Instance 3 Improved Agility With Changing Workloads Multitenant Container Database (CDB)
  29. 29. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.33 GOLD SILVER BRONZE RAC, Data Guard, Daily Incrementals Data Guard, Daily Incrementals Weekly Full Backups PDB migrates through SLAs as it becomes more mission critical Unprecedented Agility with Pluggable Portability
  30. 30. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.34 Multitenant for Provisioning  PDBs can be cloned from remote CDBs  PDBs can be cloned from within the same CDB Fast cloning of PDBs
  31. 31. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.36 Multitenant for Fast Provisioning Pluggable databases can be quickly provisioned from seed 0 5 10 15 20 25 Non CDB PDB Clone PDB using Copy-on-Write File System Time Taken to Provision New Database
  32. 32. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.38 Advantages of Multitenant Architecture Reduced CapEx & OpEx, Increased Agility, Easy Adoption Self-contained PDB for each application  Applications run unchanged  Rapid provisioning (via clones)  Portability (via pluggability) Shared memory and background processes  More applications per server Common operations performed at CDB level  Manage many as one (upgrade, HA, backup)  Granular control when appropriate
  33. 33. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.39 Agenda  Rethinking Architecture for the Database Cloud  Multitenant Architecture  Capabilities Enabled  Managing Shared Resources  Upgrading to Multitenant  Use Cases
  34. 34. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.40 Managing Shared Resources Resource management in multitenant environment High Priority Medium Priority Low Priority
  35. 35. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.43 Manage CPU Pluggable Database Shares Guaranteed CPU Maximum CPU HCM 2 2/4 = 50% 100% CRM 1 1/4 = 25% 100% ERP 1 1/4 = 25% 100% 2 Shares 1 Share 1 Share A CDB Resource Plan uses shares to specify how CPU is distributed between PDBs
  36. 36. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.44 Agenda  Rethinking Architecture for the Database Cloud  Multitenant Architecture  Capabilities Enabled  Managing Shared Resources  Upgrading to Multitenant  Use Cases
  37. 37. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.45 Upgrading to Multitenant Step 1: Upgrade databases in-place Upgrade in Place
  38. 38. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.46 Upgrading to Multitenant Step 2: Plug-in upgraded databases
  39. 39. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.47 Upgrading to Multitenant  No application changes required. Step 3. Change applications to work with MultitenantStep 3. Change applications to work with Multitenant
  40. 40. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.48 Migrate using Replication ① Provision new PDB from Seed ② Replicate using technologies such as Oracle GoldenGate or Data Pump New in 12.1, you ask that full database export and full database import make maximum use of transportable tablespaces in the single expdb and impdb commands. (Backported to 11.2.0.3.)
  41. 41. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.49 Agenda  Rethinking Architecture for the Database Cloud  Multitenant Architecture  Capabilities Enabled  Managing Shared Resources  Upgrading to Multitenant  Use Cases
  42. 42. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.50 1. Multitenant for Test and Development Fast, flexible copy and snapshot of pluggable databases
  43. 43. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.51 2. Consolidation of Disparate Applications Shared overhead of memory and processes System Resources
  44. 44. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.52 RAC, Data Guard, Daily Incrementals Data Guard Daily Incrementals Pick from standard sizes and service levels 3. Self-Service Database as a Service (DBaaS) ✔ GOLD SILVER BRONZE Weekly Full Backups ✔
  45. 45. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.53 RAC, Data Guard, Daily Incrementals Data Guard Daily Incrementals Pick from standard sizes and service levels 3. Self-Service Database as a Service (DBaaS) ✔ GOLD SILVER BRONZE Weekly Full Backups ✔
  46. 46. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.54 4. Multitenant. Perfect for SaaS. Multitenancy implemented by the Database, not the Application
  47. 47. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.55 5. Multitenant. Perfect for ISVs. Packaged apps and reference data are easily distributed
  48. 48. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.56 Use Cases 1. Development / Testing – start here! 2. Consolidation of Disparate Applications 3. Database as a Service (DBaaS) on Private Cloud 4. Software as a Service (SaaS) 5. ISVs: Distribution of Packaged Apps and Data 6. …many others!
  49. 49. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.58 Benefit Capability Enabled Minimize CapEx • More applications per server Minimize OpEx • Manage many as one • Standardized procedures & service levels • Cloning for development / testing Maximize Agility • Rapid provisioning • Portability through “pluggability” • Scalability with RAC Ease of Adoption • Applications run unchanged Key Benefits
  50. 50. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.59
  51. 51. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.60
  52. 52. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.61

×