BASEL BERN BRUGG DÜSSELDORF FRANKFURT A.M. FREIBURG I.BR. GENEVA
HAMBURG COPENHAGEN LAUSANNE MUNICH STUTTGART VIENNA ZURICH
Database as a Service
Emiliano Fusaglia
Principal Consultant LS-IMS
The next generation of database infrastructure
#SDF16
Agenda
1. Introduction
What is Database as a Service
DBaaS vs Traditional Database Architecture
2. DBaaS
Option 1 - Virtualization
Option 2 - Grid Infrastructure & Multitenant Database
3. Conclusion
DBaaS Takeaway
#SDF16
Introduction
#SDF16
What is Database as a Service?
DBaaS is a Cloud base approach to manage databases, the database functionality is
delivered as a service to one or more consumers, masking all complexities.
A successful implementation has to satisfy the following characteristics:
Flexible, scalable, secure and on-demand platform, oriented to the self-service.
Consolidated database environment with mutualized HW & SW resources .
The Platform Governance among other functionalities includes: Lifecycle
management, Capacity Planning and Capacity Management.
Industrialization and automation of the repeatable tasks.
Optimized Time-to-market.
Cost Efficiency.
#SDF16
DBaaS vs Traditional Database Architecture
Major differences between the two solutions.
#SDF16
Traditional DB Strategy VS DBaaS
DBaaS vs Traditional DB Architecture
Sales ERP CRM
HRDWH Web
Commodity HW
leveraged by SW
redundancy and
HW consolidation
Expensive dedicated
Servers offering
HW redundancy
#SDF16
Traditional DB Strategy VS DBaaS
DBaaS vs Traditional DB Architecture – Handling Resource
Sales ERP CRM
HRDWH Web
Expensive dedicated
Servers offering
HW redundancy
Commodity HW
leveraged by SW
redundancy and
HW consolidation
#SDF16
DBaaS vs Traditional DB Architecture – Handling Failure
Sales ERP CRM
HRDWH Web
Traditional DB Strategy VS DBaaS
Expensive dedicated
Servers offering
HW redundancy
Commodity HW
leveraged by SW
redundancy and
HW consolidation
#SDF16
CRM
WWW
CRM
Not Scalable
Architecture
Scalable
Architecture
80% busy
80% busy
DBaaS vs Traditional DB Architecture – HW Scalability
Traditional DB Strategy VS DBaaS
#SDF16
DBaaS
#SDF16
DBaaS Option 1
Virtualization
#SDF16
DBaaS on Virtualized Environment
Shared Storage
#SDF16
DBaaS on Virtualized Environment
Pros Cons
Standard architecture for all SW
components.
Licensing restrictions with Oracle
products.
Native scalability, flexibility and high
availability.
I/O performance degradation for high
demanding databases.
Rapid VM provisioning operations. Increased troubleshooting complexity.
Suitable to industrialization and
automation.
DBAs delegate to System Admins
critical database tasks: resource
management, high availability,
scalability and capacity planning.
#SDF16
DBaaS Option 2
Grid Infrastructure &
Multitenant Database
#SDF16
Grid Infrastructure Overview
Oracle offers great native features to build a DBaaS platform:
Grid Infrastructure: ASM & CRS provide solid storage and clustering foundation to
the database infrastructure at no-additional-cost.
RAC & RAC One Node: introduce high availability, scalability and operation flexibility.
Resource Manager and Instance Caging: guarantee capped resource
consumption, and performance stability.
Quality of Service: real time performance analysis, prioritizing the most strategic
services and assuring predictable performance for consolidated applications.
Multitenant: designed for high consolidation density and cloud environments.
#SDF16
Grid Infrastructure Overview
#SDF16
Oracle Multitenant Database – Many as One
11
PMON SMON LGWR DBW0 DIAG …
SYSTEM SYSAUX REDO CTLUNDO
CDB$ROOT
[RW]
TEMP
SYSTEM SYSAUX TEMP
PDB$SEED [RO]
CRM01 [RW]
SYSTEM SYSAUX TEMP
FA01 [RW]
SYSTEM SYSAUX TEMP
CRM DBA
CDBDBA
FA DBA APP DBA
Application Tablespaces Application Tablespaces
Source: Trivadis Course
Oracle 12c New Features
#SDF16
Local PDB Provisioning
11
Source: Trivadis Course
Oracle 12c New Features
CDB$ROOT
[RW]
PDB$SEED
[RO]
CRM
[RW]
COPY
Local Copy of PDB$SEED
CDB$ROOT
[RW]
CRM01
[RO]
COPY
CRM02
[RW]
Local Copy of Application PDB
#SDF16
Remote PDB Provisioning
11
Source: Trivadis Course
Oracle 12c New Features
CDB$ROOT
[RW]
CRM02
[RW]
FA02
[RW]
CDB$ROOT
[RW]
CRM01
[RW]
FA01
[RO]
COPY via Oracle Net Services
CDB 1 CDB 2
#SDF16
Local PDB Provisioning with Snapshot Copy
11
Source: Trivadis Course
Oracle 12c New Features
Source: Trivadis Course
Oracle 12c New Features
CDB$ROOT
[RW]
Local Copy of Application PDB using Snapshot Copy (available on ACFS, ZFSSA and NetApp).
…
SQL> CREATE PLUGGABLE DATABASE crm02 FROM crm01
SNAPSHOT COPY;
Pluggable database created.
SQL> ALTER PLUGGABLE DATABASE crm02 OPEN READ WRITE;
Pluggable database altered.
SQL> ALTER PLUGGABLE DATABASE crm01 CLOSE;
Pluggable database altered.
SQL> ALTER PLUGGABLE DATABASE crm01 OPEN READ WRITE;
Pluggable database altered.
CRM01
[RO]
CRM02
[RW]
Snapshot COPY
#SDF16
Grid Infrastructure & Multitenant improve IT efficiency 1/2
Database storage consumption on most of today’s enterprises.
Production DR
Backup
Reporting UAT Test Development
Data
production
copy available
for reporting
…
Backup Each database requires
8x of DB Storage Space
Anonymized
Production
data
#SDF16
Grid Infrastructure & Multitenant improve IT efficiency 1/2
Optimization of database storage consumption using Oracle DBaaS setup.
Production DR
Backup
Reporting UAT Test Development
Snapshot
Copy of
production
data accessed
for reporting
…
Backup
Snapshot
Copy of UAT
Snapshot
Copy of UAT
Each database requires
3x of DB Storage Space
+DB Snapshots
Anonymized
Production
data
#SDF16
Conclusion
#SDF16
DBaaS Takeaway
From the provisioning phase to the decommissioning one, the DBaaS offers great
advantages:
The consolidated platform permits all applications benefitting of the same features,
reducing time-to-market and increasing efficiency, performance and availability.
No waste of resources avoiding fragmentation and low level of utilization.
Great vertical and horizontal scalability.
Ideal setup to enforce standardization, industrialization, security and automation.
The DBaaS platform offers “engineered & built once, use many”.
Pay-as-you-Grow Architecture.
#SDF16
Emiliano Fusaglia
Principal Consultant
#SDF16
Confirmez votre présence et évaluez la
session avec ce QRC. Un vol en
montgolfière à gagner !

DBaaS - The Next generation of database infrastructure

  • 1.
    BASEL BERN BRUGGDÜSSELDORF FRANKFURT A.M. FREIBURG I.BR. GENEVA HAMBURG COPENHAGEN LAUSANNE MUNICH STUTTGART VIENNA ZURICH Database as a Service Emiliano Fusaglia Principal Consultant LS-IMS The next generation of database infrastructure #SDF16
  • 2.
    Agenda 1. Introduction What isDatabase as a Service DBaaS vs Traditional Database Architecture 2. DBaaS Option 1 - Virtualization Option 2 - Grid Infrastructure & Multitenant Database 3. Conclusion DBaaS Takeaway #SDF16
  • 3.
  • 4.
    What is Databaseas a Service? DBaaS is a Cloud base approach to manage databases, the database functionality is delivered as a service to one or more consumers, masking all complexities. A successful implementation has to satisfy the following characteristics: Flexible, scalable, secure and on-demand platform, oriented to the self-service. Consolidated database environment with mutualized HW & SW resources . The Platform Governance among other functionalities includes: Lifecycle management, Capacity Planning and Capacity Management. Industrialization and automation of the repeatable tasks. Optimized Time-to-market. Cost Efficiency. #SDF16
  • 5.
    DBaaS vs TraditionalDatabase Architecture Major differences between the two solutions. #SDF16
  • 6.
    Traditional DB StrategyVS DBaaS DBaaS vs Traditional DB Architecture Sales ERP CRM HRDWH Web Commodity HW leveraged by SW redundancy and HW consolidation Expensive dedicated Servers offering HW redundancy #SDF16
  • 7.
    Traditional DB StrategyVS DBaaS DBaaS vs Traditional DB Architecture – Handling Resource Sales ERP CRM HRDWH Web Expensive dedicated Servers offering HW redundancy Commodity HW leveraged by SW redundancy and HW consolidation #SDF16
  • 8.
    DBaaS vs TraditionalDB Architecture – Handling Failure Sales ERP CRM HRDWH Web Traditional DB Strategy VS DBaaS Expensive dedicated Servers offering HW redundancy Commodity HW leveraged by SW redundancy and HW consolidation #SDF16
  • 9.
    CRM WWW CRM Not Scalable Architecture Scalable Architecture 80% busy 80%busy DBaaS vs Traditional DB Architecture – HW Scalability Traditional DB Strategy VS DBaaS #SDF16
  • 10.
  • 11.
  • 12.
    DBaaS on VirtualizedEnvironment Shared Storage #SDF16
  • 13.
    DBaaS on VirtualizedEnvironment Pros Cons Standard architecture for all SW components. Licensing restrictions with Oracle products. Native scalability, flexibility and high availability. I/O performance degradation for high demanding databases. Rapid VM provisioning operations. Increased troubleshooting complexity. Suitable to industrialization and automation. DBAs delegate to System Admins critical database tasks: resource management, high availability, scalability and capacity planning. #SDF16
  • 14.
    DBaaS Option 2 GridInfrastructure & Multitenant Database #SDF16
  • 15.
    Grid Infrastructure Overview Oracleoffers great native features to build a DBaaS platform: Grid Infrastructure: ASM & CRS provide solid storage and clustering foundation to the database infrastructure at no-additional-cost. RAC & RAC One Node: introduce high availability, scalability and operation flexibility. Resource Manager and Instance Caging: guarantee capped resource consumption, and performance stability. Quality of Service: real time performance analysis, prioritizing the most strategic services and assuring predictable performance for consolidated applications. Multitenant: designed for high consolidation density and cloud environments. #SDF16
  • 16.
  • 17.
    Oracle Multitenant Database– Many as One 11 PMON SMON LGWR DBW0 DIAG … SYSTEM SYSAUX REDO CTLUNDO CDB$ROOT [RW] TEMP SYSTEM SYSAUX TEMP PDB$SEED [RO] CRM01 [RW] SYSTEM SYSAUX TEMP FA01 [RW] SYSTEM SYSAUX TEMP CRM DBA CDBDBA FA DBA APP DBA Application Tablespaces Application Tablespaces Source: Trivadis Course Oracle 12c New Features #SDF16
  • 18.
    Local PDB Provisioning 11 Source:Trivadis Course Oracle 12c New Features CDB$ROOT [RW] PDB$SEED [RO] CRM [RW] COPY Local Copy of PDB$SEED CDB$ROOT [RW] CRM01 [RO] COPY CRM02 [RW] Local Copy of Application PDB #SDF16
  • 19.
    Remote PDB Provisioning 11 Source:Trivadis Course Oracle 12c New Features CDB$ROOT [RW] CRM02 [RW] FA02 [RW] CDB$ROOT [RW] CRM01 [RW] FA01 [RO] COPY via Oracle Net Services CDB 1 CDB 2 #SDF16
  • 20.
    Local PDB Provisioningwith Snapshot Copy 11 Source: Trivadis Course Oracle 12c New Features Source: Trivadis Course Oracle 12c New Features CDB$ROOT [RW] Local Copy of Application PDB using Snapshot Copy (available on ACFS, ZFSSA and NetApp). … SQL> CREATE PLUGGABLE DATABASE crm02 FROM crm01 SNAPSHOT COPY; Pluggable database created. SQL> ALTER PLUGGABLE DATABASE crm02 OPEN READ WRITE; Pluggable database altered. SQL> ALTER PLUGGABLE DATABASE crm01 CLOSE; Pluggable database altered. SQL> ALTER PLUGGABLE DATABASE crm01 OPEN READ WRITE; Pluggable database altered. CRM01 [RO] CRM02 [RW] Snapshot COPY #SDF16
  • 21.
    Grid Infrastructure &Multitenant improve IT efficiency 1/2 Database storage consumption on most of today’s enterprises. Production DR Backup Reporting UAT Test Development Data production copy available for reporting … Backup Each database requires 8x of DB Storage Space Anonymized Production data #SDF16
  • 22.
    Grid Infrastructure &Multitenant improve IT efficiency 1/2 Optimization of database storage consumption using Oracle DBaaS setup. Production DR Backup Reporting UAT Test Development Snapshot Copy of production data accessed for reporting … Backup Snapshot Copy of UAT Snapshot Copy of UAT Each database requires 3x of DB Storage Space +DB Snapshots Anonymized Production data #SDF16
  • 23.
  • 24.
    DBaaS Takeaway From theprovisioning phase to the decommissioning one, the DBaaS offers great advantages: The consolidated platform permits all applications benefitting of the same features, reducing time-to-market and increasing efficiency, performance and availability. No waste of resources avoiding fragmentation and low level of utilization. Great vertical and horizontal scalability. Ideal setup to enforce standardization, industrialization, security and automation. The DBaaS platform offers “engineered & built once, use many”. Pay-as-you-Grow Architecture. #SDF16
  • 25.
    Emiliano Fusaglia Principal Consultant #SDF16 Confirmezvotre présence et évaluez la session avec ce QRC. Un vol en montgolfière à gagner !