SlideShare a Scribd company logo
Database as a Service on the 
Oracle Database Appliance Platform 
MARC FIELDING 
MARIS ELSINS
Marc Fielding 
‱ Principal consultant with Pythian’s 
© 2014 Pythian Confidential 
2 
Advanced Technology Consulting 
Group 
‱ 13+ years Oracle production 
systems experience starting with 
Oracle 7 
‱ Expertise in the entire enterprise 
application stack 
‱ Blogger and conference presenter 
www.pythian.com/news/author/ 
fielding 
‱ Occasionally on twitter: @mfild
Maris Elsins 
Lead Database Consultant at Pythian 
Located in Riga, Latvia 
DBA since 2005 
Frequent speaker at conferences 
@MarisElsins elsins@pythian.com 
© 2014 Pythian Confidential 
3 
http://bit.ly/getMOSPatch
WHO IS PYTHIAN? 
‱ 200+ leading brands trust us to keep their systems fast, up & 
secure 
‱ Utterly elite DBA & SysAdmin workforce, 9 Oracle ACEs, 2 ACE 
directors, 5 Microsoft MVPs, 1 Cloudera Champion of Big Data 
‱ Oracle, SQL Server, MySQL, Netezza, Cassandra, Hadoop and 
MongoDB plus UNIX SysAdmin and Apps DBA 
‱ Big Data Services counter includes architects, R&D, data science 
and operations capabilities in one easy to buy vehicle 
‱ Industry leading DevOps implementation practice transforms 
customer dev and ops strategies to compete with velocity 
‱ Zero lock-in, utility billing model, easily blended into existing 
teams 
38% 
Pythian has grown an average of 38% every year for 
the past five years 
345 
Pythian employs more than 345 leading minds in 
26 countries worldwide. 
1997 
Pythian was founded in 1997 by Paul Vallee
Velocity 
https://www.flickr.com/photos/fun_flying/2761918512/
Database as a Service on the Oracle Database Appliance Platform
Identifying top IT performers 
‱ Company Survey 
‱ 14 000 companies surveyed 
‱ 110 countries 
‱ Completed 2014 
‱ 40% running 500+ servers 
‱ Source: Nicole Forsgren Velasquez, Jez Humble, Nigel 
Kersten, and Gene Kim, Velocity conference, Santa Clara, 
June 26, 2014
Top IT performers
 
‱ Deploy changes 30x more often 
‱ Have 8000x faster change deployments 
‱ Experience half the deployment failure rate 
‱ Recover from failures 12x faster 
‱ But also 
– Twice as likely to exceed profitability, market 
share, productivity goals 
– 50% higher market capitalization growth
Source: John Jenkins, Amazon.com, Velocity conference 2011
What we need 
‱ Fast, frequent environment builds 
‱ Similar to production 
‱ Without sacrificing 
– Availability 
– Reliability 
– Security 
– Manageability
Tools Available
Database as a Service on the Oracle Database Appliance Platform
Database as a Service on the Oracle Database Appliance Platform
Database as a Service on the Oracle Database Appliance Platform
Database as a Service on the Oracle Database Appliance Platform
Why ODA is interesting? 
‱ Oracle Engineered systems 
‱ Single point of support 
‱ No single point of failure 
‱ Built for Oracle RAC 
‱ Relatively low cost 
– 60K USD list price for an ODA 
– 40K USD list price for storage expansion 
– Provides capacity-on-demand Licensing 
‱ Scalable by purchasing multiple units
Is ODA suitable for DBaaS? 
Photo by Darren Rogers (Daz) on Flickr 
Photo by Lee Morley (spookman01) on Flickr
Is DBaaS possible on ODA? – Hardware 
ODA V1 ODA X3-2 and X4-2 
ODA 
ODA X3-2 
ODA X4-2 
CPU cores 
2 x 12 cores 
3.06 GHz 
2 x 16 cores 
2.9 GHz 
2 x 24 cores 
2.7 GHz 
RAM 
2 x 96 GB 
2 x 256 GB 
2 x 256 GB 
Shared Storage HDD 
(raw) 
12 TB 
4.8G TB* 
18 TB (36TB) 
7.2G TB* 
18 TB (36TB) 
7.2G TB* 
Shared Storage SSD 
(raw) 
292 GB 
800 GB (1.6 TB) 
800 GB (1.6 TB) 
ODA provides the HW suitable 
* Max Useable in +DATA 
for a small-medium private cloud platform
Is DBaaS possible on ODA? – Software 
‱ Oracle Appliance Kit (OAK) 12.1.2.1.0 (Nov 2014) 
– Grid Infrastructure 12.1.0.2 
– Database EE 12.1.0.2 
– EE options: RAC, Multitenant, In-Memory, ... 
– ACFS and Storage snapshots 
– Oracle Linux 5.10 and Oracle VM 3.2.8 
ODA provides the technology backbone 
required for implementation of DBaaS
Is DBaaS possible on ODA? – Tools 
‱ “oakcli” – Oracle Appliance Kit Command Line 
Interface 
– Deploy software to ODA 
– Patch all components of ODA 
– Manage ODA configuration 
– Collect diagnostics information 
– Create DBs 
– Clone DBs (non-CDBs only) 
– *Manage CPU pools 
– *Create and (snap-)Clone VMs 
– *Manage vdisks and vlans 
“oakcli” has been developed to provide 
“as a Service” management functionality
Is ODA suitable for DBaaS? 
Hardware 
Software 
Tools 
? 
Is ODA an “out of the box” 
private could platform for DBaaS 
Photo by yourcottoncandyhammer (dracena) on Flickr
My wishes DBaaS on ODA 
‱ Scope: Bare Metal or Virtualized platform 
‱ Choice of DB version: 12c or 11g 
‱ Choice of DB type: non-CDB or CDB 
‱ Fast / snapshot based provisioning of: 
– A new DB (or a PDB) 
– A clone from existing DB (or a PDB) 
‱ Production 
‱ Development gold image 
‱ Using the rich features of EM 12c + Cloud Management 
Pack 
– The self-service 
– The service catalog 
– Monitoring 
– Chargeback (optional)
Challenges
Challenge #0 
OAK 12.1.2 is a “big jump” since OAK 2.10 
Release date: November 2014 
MOS: Doc Id 888888.1
Challenge #1: The EM 
‱ EM 12c is not ODA-aware 
– ODA is just a cluster of 2 servers to EM 12c 
– no EM 12c plugin for ODA (yet) 
– EM 12c can’t make calls to “oakcli” 
– EM 12c does not provide snap-clone feature for 
PDBs on ACFS (even with Cloud MP) 
– Rumors from #DOAG 2014! 
‱ How do we implement self-service functionality? 
‱ Can we find an alternative to EM 12c?
Challenge #2: Interaction with “oakcli” 
‱ “oakcli” must be executed as root 
‱ Passwords need to be typed in 
‱ No Non-interactive mode 
‱ Can we “hack” it to automate the DB provisioning?
Challenge #3: Customizations 
‱ We can “hack” it! But, we don’t want to “hack” it! 
‱ Customization is a configuration that’s not expected by 
“oakcli” 
‱ Unclear boundaries between customizations and 
supported configurations when manual changes are done 
(non-”oakcli”) are done. I.e. 
– Create database manually (files layout) 
– Create additional ACFS snapshots 
– Change the DB file layout 
‱ Possible impact? 
– patching and upgrades 
– stability 
‱ Any “customization” needs to be thoroughly tested before 
allowing into production (test upgrading too) 
‱ Can affect the supportability
Challenges #4: DB provisioning with “oakcli” 
‱ ODA provisions new databases using “oakcli” 
‱ Very limited configurability, i.e. 
– Non-CDB or CDB 11.2.0.2+ and 12.1.0.2 
– Choice of size (memory-wise) 
– Storage quota 
‱ All non-CDBs are stored in common ACFS volumes 
– Smart use of the “empty snapshot” to segregate DBs 
‱ Each CDB is stored it’s own 3 ACFS volumes 
‱ All CDB data files are in a single ACFS volume 
– All PDBs are in the same bucket 
– Snap-cloning a PDB manually, will take a snapshot of the 
whole ACFS volume, which is not efficient. 
– You can create additional ACFS volume for each PDB to 
avoid unnecessary snapshots of CDB$ROOT
Challenges #5: “oakcli” snap-clones 
‱ Only for DB 11.2.0.4 and 12.1.0.2 
‱ Not supported for Physical standby (yet) 
‱ Could be used to snap-clone PROD to DEV on 
another ODA 
‱ Non-CDBs 
– Done by “oakcli” 
– Clever use of ACFS snapshots 
‱ CDBs 
– No “oakcli” support, but SQLPlus can be used 
– Inefficient ACFS layout
So we can’t use ODA for DBaaS? 
Photo by zeitfaenger.at (kwarz) on Flickr
What we can do on ODA NOW! 
‱ Schema as a Service 
‱ Limited self service possibilities with non-CDBs 
– Provisioning features provided by “oakcli” 
– Administrators need to be involved 
‱ ODA is not ready for DBaaS with PDBs 
– Limited support built in “oakcli” 
– Database 12c features compensates for these limitations 
– Adjust storage layout to support snap-clones for PDBs 
better 
– One CDB per ODA (if possible) to avoid restarts for memory 
re-configuration 
‱ Self-Service 
– EM 12c - not yet 
– Custom built? – Too difficult, too intrusive 
– Multitenant Self-Service Provisioning (MSSP)
Using MSSP with ODA 
‱ “Multitenant Self-Service Provisioning” 
‱ Currently in beta test 
‱ Run on Apex inside CDB$ROOT 
‱ Install into a new CDB 
‱ Provides self-service interface for creating, 
cloning, plugging and unplugging PDBs 
‱ Supports snapshot cloning! 
‱ Supports user quotas! 
‱ No DB management and monitoring L
MSSP: Creating a PDB
MSSP: Creating a PDB
MSSP: Creating a PDB
MSSP: Creating a PDB
MSSP: Creating a PDB
MSSP: Cloning a PDB
MSSP: Cloning a PDB
MSSP: Cloning a PDB
Extending to multiple ODAs 
‱ Benefits 
– Standardized platform 
– Avoiding “surprises” during configuration, patching and 
upgrades 
– Predictable performance and accurate estimates 
‱ Single database is limited to running on 1 ODA 
– Use Data Guard or other replication solutions to extend or 
migrate between ODAs 
– Use NFS to facilitate inter-ODA provisioning 
‱ Self-service challenge 
– Managing multiple ODAs from the same tool 
– One MSSP instance needed per ODA 
‱ Some manual tasks are expected 
‱ Horizontal scaling is not possible – buy an Exadata!
A possible use case (1) 
1. PROD runs on 12c Multitenant 
2. Automated snap-clone 
create pluggable database PRODSNAP from PROD snapshot copy; 
3. PRODSNAP is read-only 
4. Automated PDB cloning over DB link 
create pluggable database DEVGOLD from PRODSNAP@PROD_ODA_PS; 
5. Prepare the DEV Gold image 
– Purging and cleanup 
– Data masking 
– Open it as read only 
– Remove PRODSNAP 
6. Users can clone their environments from 
the DEV Gold using MSSP. 
Frequent refreshing of DEVGOLD will 
exhaust space quickly. Use dedicated 
volume for each clone.
A possible use case (2) 
1. PROD runs on 12c Singletenant or multitenant!!! 
2. DG redo apply to the physical standby 
3. The standby is continuously updated 
4. Storage snapshot 
– Temporarily stop redo apply 
– Sharing the ACFS volume between 2 DBs 
– Possible with manual ACFS snapshot 
5. Create the DEVGOLD 
– DBMS_PDB.RECOVER 
– Plugin the PDB with nocopy 
– Purging and cleanup 
– Data masking 
– Open it as read only 
6. Users can clone their environments from the 
DEVGOLD 
– Does it work “create pluggable 
 snapshot copy”? 
– Works with manual snapshots 
Frequent refreshing of DEVGOLD is possible!
Recommendations and lessons learned 
‱ Start small 
‱ Set expectations for the service levels 
‱ Review tools included with the platform 
‱ Plan the Storage carefully 
– Multiple DB vs ACFS storage snapshots 
– With storage cloning, high-volume data changes 
are expensive 
‱ Controls and resource management are important 
‱ Many out-of-the box tools are inflexible
Conclusions about DBaaS on ODA 
‱ Sufficient SW and HW 
‱ The tools are not ready yet 
‱ Limited DBaaS capabilities at the moment 
– “oakcli” for non-CDB 
– “Create pluggable database .. snapshot copy” SQL for PDBs 
– No ready built Self-service 
‱ Oracle is working on improvements 
– EM 12c Plugin for ODA 
– Support for snap-clones from Physical Standby 
– Frequent OAK releases = new features 
‱ Flexible VM provisioning on the virtualized platform 
gives hope for more flexibility around DBs in future.
fielding@pythian.com 
elsins@pythian.com 
@mfild @MarisElsins @Pythian 
http://pythian.com/blog 
http://is.gd/PythianFacebook 
https://www.linkedin.com/company/pythian 
46 
?

More Related Content

What's hot (20)

PDF
Oracle Database appliance - Value proposition Webcast
Thanos TP
 
PPTX
Exadata 12c New Features RMOUG
Fuad Arshad
 
PDF
Collaborate 2019 - How to Understand an AWR Report
Alfredo Krieg
 
PDF
Optimize and Simplify Oracle 12C RAC using dNFS, ZFS and OISP
Secure-24
 
PPTX
Oracle Database Appliance X5-2
Yasir El Nimr
 
PDF
Oracle Database Appliance Workshop
MarketingArrowECS_CZ
 
PPT
Extreme Availability using Oracle 12c Features: Your very last system shutdown?
Toronto-Oracle-Users-Group
 
PDF
ODA X6-2 family
MarketingArrowECS_CZ
 
PPT
Oracle High Availability
Farooq Hussain
 
PPTX
Oracle Database Appliance
Jay Patel
 
PDF
KoprowskiT - SQLBITS X - 2am a disaster just began
Tobias Koprowski
 
PDF
KoprowskiT_Session2_SDNEvent_SourceControlForDBA
Tobias Koprowski
 
PPTX
Making MySQL highly available using Oracle Grid Infrastructure
Ilmar Kerm
 
PDF
Oracle database high availability solutions
Kirill Loifman
 
PPTX
A Second Look at Oracle RAC 12c
Leighton Nelson
 
PDF
Exadata MAA Best Practices
Rui Sousa
 
PDF
MySQL Performance Metrics that Matter
Morgan Tocker
 
PDF
Oracle Enterprise Manager Cloud Control 12c: how to solve 'ERROR: NMO Not Set...
Marco Vigelini
 
PDF
EDB Postgres with Containers
EDB
 
DOC
Migrating from Single Instance to RAC Data guard
Fuad Arshad
 
Oracle Database appliance - Value proposition Webcast
Thanos TP
 
Exadata 12c New Features RMOUG
Fuad Arshad
 
Collaborate 2019 - How to Understand an AWR Report
Alfredo Krieg
 
Optimize and Simplify Oracle 12C RAC using dNFS, ZFS and OISP
Secure-24
 
Oracle Database Appliance X5-2
Yasir El Nimr
 
Oracle Database Appliance Workshop
MarketingArrowECS_CZ
 
Extreme Availability using Oracle 12c Features: Your very last system shutdown?
Toronto-Oracle-Users-Group
 
ODA X6-2 family
MarketingArrowECS_CZ
 
Oracle High Availability
Farooq Hussain
 
Oracle Database Appliance
Jay Patel
 
KoprowskiT - SQLBITS X - 2am a disaster just began
Tobias Koprowski
 
KoprowskiT_Session2_SDNEvent_SourceControlForDBA
Tobias Koprowski
 
Making MySQL highly available using Oracle Grid Infrastructure
Ilmar Kerm
 
Oracle database high availability solutions
Kirill Loifman
 
A Second Look at Oracle RAC 12c
Leighton Nelson
 
Exadata MAA Best Practices
Rui Sousa
 
MySQL Performance Metrics that Matter
Morgan Tocker
 
Oracle Enterprise Manager Cloud Control 12c: how to solve 'ERROR: NMO Not Set...
Marco Vigelini
 
EDB Postgres with Containers
EDB
 
Migrating from Single Instance to RAC Data guard
Fuad Arshad
 

Viewers also liked (6)

PDF
Oracle Databases on AWS - Getting the Best Out of RDS and EC2
Maris Elsins
 
PDF
Oracle RAC Internals - The Cache Fusion Edition
Markus Michalewicz
 
PDF
Disaster Recovery using AWS -Architecture blueprints
Harish Ganesan
 
PPTX
Broken Linux Performance Tools 2016
Brendan Gregg
 
PDF
Cloud Instances Price Comparison: AWS vs Azure vs Google vs IBM
RightScale
 
PDF
What is Artificial Intelligence | Artificial Intelligence Tutorial For Beginn...
Edureka!
 
Oracle Databases on AWS - Getting the Best Out of RDS and EC2
Maris Elsins
 
Oracle RAC Internals - The Cache Fusion Edition
Markus Michalewicz
 
Disaster Recovery using AWS -Architecture blueprints
Harish Ganesan
 
Broken Linux Performance Tools 2016
Brendan Gregg
 
Cloud Instances Price Comparison: AWS vs Azure vs Google vs IBM
RightScale
 
What is Artificial Intelligence | Artificial Intelligence Tutorial For Beginn...
Edureka!
 
Ad

Similar to Database as a Service on the Oracle Database Appliance Platform (20)

PPT
Kb 40 kevin_klineukug_reading20070717[1]
shuwutong
 
PPTX
Cost Effectively Run Multiple Oracle Database Copies at Scale
NetApp
 
PPTX
001 hbase introduction
Scott Miao
 
PDF
VMworld 2013: Virtualizing Databases: Doing IT Right
VMworld
 
PDF
Vijfhart thema-avond-oracle-12c-new-features
mkorremans
 
PPTX
Citrix Synergy 2014: Going the CloudPlatform Way
Iliyas Shirol
 
PPTX
Oracle OpenWo2014 review part 03 three_paa_s_database
Getting value from IoT, Integration and Data Analytics
 
PPTX
Citrix Synergy 2014 - Syn233 Building and operating a Dev Ops cloud: best pra...
Citrix
 
PPTX
Running Oracle EBS in the cloud (DOAG TECH17 edition)
Andrejs Prokopjevs
 
PPTX
Severalnines Training: MySQLÂź Cluster - Part IX
Severalnines
 
PPTX
Handling Massive Writes
Liran Zelkha
 
PPTX
2019 - OOW - Database Migration Methods from On-Premise to Cloud
Marcus Vinicius Miguel Pedro
 
PDF
Running E-Business Suite Database on Oracle Database Appliance
Maris Elsins
 
PDF
Using Oracle Multitenant to efficiently manage development and test databases
Marc Fielding
 
PPTX
Running Oracle EBS in the cloud (OAUG Collaborate 18 edition)
Andrejs Prokopjevs
 
PPTX
MySQL Options in OpenStack
Tesora
 
PPTX
The Evolution of the Oracle Database - Then, Now and Later (Fontys Hogeschool...
Lucas Jellema
 
PPTX
SQL Saturday San Diego
Kellyn Pot'Vin-Gorman
 
PPT
NoSQL_Night
Clarence J M Tauro
 
Kb 40 kevin_klineukug_reading20070717[1]
shuwutong
 
Cost Effectively Run Multiple Oracle Database Copies at Scale
NetApp
 
001 hbase introduction
Scott Miao
 
VMworld 2013: Virtualizing Databases: Doing IT Right
VMworld
 
Vijfhart thema-avond-oracle-12c-new-features
mkorremans
 
Citrix Synergy 2014: Going the CloudPlatform Way
Iliyas Shirol
 
Oracle OpenWo2014 review part 03 three_paa_s_database
Getting value from IoT, Integration and Data Analytics
 
Citrix Synergy 2014 - Syn233 Building and operating a Dev Ops cloud: best pra...
Citrix
 
Running Oracle EBS in the cloud (DOAG TECH17 edition)
Andrejs Prokopjevs
 
Severalnines Training: MySQLÂź Cluster - Part IX
Severalnines
 
Handling Massive Writes
Liran Zelkha
 
2019 - OOW - Database Migration Methods from On-Premise to Cloud
Marcus Vinicius Miguel Pedro
 
Running E-Business Suite Database on Oracle Database Appliance
Maris Elsins
 
Using Oracle Multitenant to efficiently manage development and test databases
Marc Fielding
 
Running Oracle EBS in the cloud (OAUG Collaborate 18 edition)
Andrejs Prokopjevs
 
MySQL Options in OpenStack
Tesora
 
The Evolution of the Oracle Database - Then, Now and Later (Fontys Hogeschool...
Lucas Jellema
 
SQL Saturday San Diego
Kellyn Pot'Vin-Gorman
 
NoSQL_Night
Clarence J M Tauro
 
Ad

More from Maris Elsins (12)

PDF
An AWS DMS Replication Journey from Oracle to Aurora MySQL
Maris Elsins
 
PDF
Mining AWR V2 - Trend Analysis
Maris Elsins
 
PDF
OUG Harmony 2012 - Using SQL Plan Baselines for Performance Testing
Maris Elsins
 
PPTX
LVOUG meetup #4 - Case Study 10g to 11g
Maris Elsins
 
PPTX
Surviving the Crisis With the Help of Oracle Database Resource Manager
Maris Elsins
 
PPTX
Concurrent Processing Performance Analysis for Apps DBAs
Maris Elsins
 
PPTX
Simplify Consolidation with Oracle Database 12c
Maris Elsins
 
PPTX
10 ways to improve your rman script
Maris Elsins
 
PPTX
Wildcard13 - warmup slides for the "Roundtable discussion with Oracle Profess...
Maris Elsins
 
PDF
Whitepaper: Running Oracle e-Business Suite Database on Oracle Database Appli...
Maris Elsins
 
PDF
Internals of concurent managers
Maris Elsins
 
PDF
Using SQL Plan Management for Performance Testing
Maris Elsins
 
An AWS DMS Replication Journey from Oracle to Aurora MySQL
Maris Elsins
 
Mining AWR V2 - Trend Analysis
Maris Elsins
 
OUG Harmony 2012 - Using SQL Plan Baselines for Performance Testing
Maris Elsins
 
LVOUG meetup #4 - Case Study 10g to 11g
Maris Elsins
 
Surviving the Crisis With the Help of Oracle Database Resource Manager
Maris Elsins
 
Concurrent Processing Performance Analysis for Apps DBAs
Maris Elsins
 
Simplify Consolidation with Oracle Database 12c
Maris Elsins
 
10 ways to improve your rman script
Maris Elsins
 
Wildcard13 - warmup slides for the "Roundtable discussion with Oracle Profess...
Maris Elsins
 
Whitepaper: Running Oracle e-Business Suite Database on Oracle Database Appli...
Maris Elsins
 
Internals of concurent managers
Maris Elsins
 
Using SQL Plan Management for Performance Testing
Maris Elsins
 

Recently uploaded (20)

PDF
Go Concurrency Real-World Patterns, Pitfalls, and Playground Battles.pdf
Emily Achieng
 
PPTX
The Project Compass - GDG on Campus MSIT
dscmsitkol
 
PPTX
Essential Content-centric Plugins for your Website
Laura Byrne
 
PDF
Evolution: How True AI is Redefining Safety in Industry 4.0
vikaassingh4433
 
PDF
“NPU IP Hardware Shaped Through Software and Use-case Analysis,” a Presentati...
Edge AI and Vision Alliance
 
PDF
Kit-Works Team Study_20250627_í•œë‹Źë§Œì—ë§Œë“ ì‚Źë‚Žì„œëč„슀킀링(양닀윗).pdf
Wonjun Hwang
 
PDF
How do you fast track Agentic automation use cases discovery?
DianaGray10
 
PPTX
Role_of_Artificial_Intelligence_in_Livestock_Extension_Services.pptx
DrRajdeepMadavi
 
PDF
Modern Decentralized Application Architectures.pdf
Kalema Edgar
 
PPTX
Talbott's brief History of Computers for CollabDays Hamburg 2025
Talbott Crowell
 
PDF
UiPath DevConnect 2025: Agentic Automation Community User Group Meeting
DianaGray10
 
PDF
Next Generation AI: Anticipatory Intelligence, Forecasting Inflection Points ...
dleka294658677
 
PDF
“Squinting Vision Pipelines: Detecting and Correcting Errors in Vision Models...
Edge AI and Vision Alliance
 
PDF
Software Development Company Keene Systems, Inc (1).pdf
Custom Software Development Company | Keene Systems, Inc.
 
DOCX
Cryptography Quiz: test your knowledge of this important security concept.
Rajni Bhardwaj Grover
 
PDF
Bitkom eIDAS Summit | European Business Wallet: Use Cases, Macroeconomics, an...
Carsten Stoecker
 
DOCX
Python coding for beginners !! Start now!#
Rajni Bhardwaj Grover
 
PDF
NASA A Researcher’s Guide to International Space Station : Fundamental Physics
Dr. PANKAJ DHUSSA
 
PPTX
CapCut Pro PC Crack Latest Version Free Free
josanj305
 
PDF
NASA A Researcher’s Guide to International Space Station : Earth Observations
Dr. PANKAJ DHUSSA
 
Go Concurrency Real-World Patterns, Pitfalls, and Playground Battles.pdf
Emily Achieng
 
The Project Compass - GDG on Campus MSIT
dscmsitkol
 
Essential Content-centric Plugins for your Website
Laura Byrne
 
Evolution: How True AI is Redefining Safety in Industry 4.0
vikaassingh4433
 
“NPU IP Hardware Shaped Through Software and Use-case Analysis,” a Presentati...
Edge AI and Vision Alliance
 
Kit-Works Team Study_20250627_í•œë‹Źë§Œì—ë§Œë“ ì‚Źë‚Žì„œëč„슀킀링(양닀윗).pdf
Wonjun Hwang
 
How do you fast track Agentic automation use cases discovery?
DianaGray10
 
Role_of_Artificial_Intelligence_in_Livestock_Extension_Services.pptx
DrRajdeepMadavi
 
Modern Decentralized Application Architectures.pdf
Kalema Edgar
 
Talbott's brief History of Computers for CollabDays Hamburg 2025
Talbott Crowell
 
UiPath DevConnect 2025: Agentic Automation Community User Group Meeting
DianaGray10
 
Next Generation AI: Anticipatory Intelligence, Forecasting Inflection Points ...
dleka294658677
 
“Squinting Vision Pipelines: Detecting and Correcting Errors in Vision Models...
Edge AI and Vision Alliance
 
Software Development Company Keene Systems, Inc (1).pdf
Custom Software Development Company | Keene Systems, Inc.
 
Cryptography Quiz: test your knowledge of this important security concept.
Rajni Bhardwaj Grover
 
Bitkom eIDAS Summit | European Business Wallet: Use Cases, Macroeconomics, an...
Carsten Stoecker
 
Python coding for beginners !! Start now!#
Rajni Bhardwaj Grover
 
NASA A Researcher’s Guide to International Space Station : Fundamental Physics
Dr. PANKAJ DHUSSA
 
CapCut Pro PC Crack Latest Version Free Free
josanj305
 
NASA A Researcher’s Guide to International Space Station : Earth Observations
Dr. PANKAJ DHUSSA
 

Database as a Service on the Oracle Database Appliance Platform

  • 1. Database as a Service on the Oracle Database Appliance Platform MARC FIELDING MARIS ELSINS
  • 2. Marc Fielding ‱ Principal consultant with Pythian’s © 2014 Pythian Confidential 2 Advanced Technology Consulting Group ‱ 13+ years Oracle production systems experience starting with Oracle 7 ‱ Expertise in the entire enterprise application stack ‱ Blogger and conference presenter www.pythian.com/news/author/ fielding ‱ Occasionally on twitter: @mfild
  • 3. Maris Elsins Lead Database Consultant at Pythian Located in Riga, Latvia DBA since 2005 Frequent speaker at conferences @MarisElsins [email protected] © 2014 Pythian Confidential 3 http://bit.ly/getMOSPatch
  • 4. WHO IS PYTHIAN? ‱ 200+ leading brands trust us to keep their systems fast, up & secure ‱ Utterly elite DBA & SysAdmin workforce, 9 Oracle ACEs, 2 ACE directors, 5 Microsoft MVPs, 1 Cloudera Champion of Big Data ‱ Oracle, SQL Server, MySQL, Netezza, Cassandra, Hadoop and MongoDB plus UNIX SysAdmin and Apps DBA ‱ Big Data Services counter includes architects, R&D, data science and operations capabilities in one easy to buy vehicle ‱ Industry leading DevOps implementation practice transforms customer dev and ops strategies to compete with velocity ‱ Zero lock-in, utility billing model, easily blended into existing teams 38% Pythian has grown an average of 38% every year for the past five years 345 Pythian employs more than 345 leading minds in 26 countries worldwide. 1997 Pythian was founded in 1997 by Paul Vallee
  • 7. Identifying top IT performers ‱ Company Survey ‱ 14 000 companies surveyed ‱ 110 countries ‱ Completed 2014 ‱ 40% running 500+ servers ‱ Source: Nicole Forsgren Velasquez, Jez Humble, Nigel Kersten, and Gene Kim, Velocity conference, Santa Clara, June 26, 2014
  • 8. Top IT performers
 ‱ Deploy changes 30x more often ‱ Have 8000x faster change deployments ‱ Experience half the deployment failure rate ‱ Recover from failures 12x faster ‱ But also – Twice as likely to exceed profitability, market share, productivity goals – 50% higher market capitalization growth
  • 9. Source: John Jenkins, Amazon.com, Velocity conference 2011
  • 10. What we need ‱ Fast, frequent environment builds ‱ Similar to production ‱ Without sacrificing – Availability – Reliability – Security – Manageability
  • 16. Why ODA is interesting? ‱ Oracle Engineered systems ‱ Single point of support ‱ No single point of failure ‱ Built for Oracle RAC ‱ Relatively low cost – 60K USD list price for an ODA – 40K USD list price for storage expansion – Provides capacity-on-demand Licensing ‱ Scalable by purchasing multiple units
  • 17. Is ODA suitable for DBaaS? Photo by Darren Rogers (Daz) on Flickr Photo by Lee Morley (spookman01) on Flickr
  • 18. Is DBaaS possible on ODA? – Hardware ODA V1 ODA X3-2 and X4-2 ODA ODA X3-2 ODA X4-2 CPU cores 2 x 12 cores 3.06 GHz 2 x 16 cores 2.9 GHz 2 x 24 cores 2.7 GHz RAM 2 x 96 GB 2 x 256 GB 2 x 256 GB Shared Storage HDD (raw) 12 TB 4.8G TB* 18 TB (36TB) 7.2G TB* 18 TB (36TB) 7.2G TB* Shared Storage SSD (raw) 292 GB 800 GB (1.6 TB) 800 GB (1.6 TB) ODA provides the HW suitable * Max Useable in +DATA for a small-medium private cloud platform
  • 19. Is DBaaS possible on ODA? – Software ‱ Oracle Appliance Kit (OAK) 12.1.2.1.0 (Nov 2014) – Grid Infrastructure 12.1.0.2 – Database EE 12.1.0.2 – EE options: RAC, Multitenant, In-Memory, ... – ACFS and Storage snapshots – Oracle Linux 5.10 and Oracle VM 3.2.8 ODA provides the technology backbone required for implementation of DBaaS
  • 20. Is DBaaS possible on ODA? – Tools ‱ “oakcli” – Oracle Appliance Kit Command Line Interface – Deploy software to ODA – Patch all components of ODA – Manage ODA configuration – Collect diagnostics information – Create DBs – Clone DBs (non-CDBs only) – *Manage CPU pools – *Create and (snap-)Clone VMs – *Manage vdisks and vlans “oakcli” has been developed to provide “as a Service” management functionality
  • 21. Is ODA suitable for DBaaS? Hardware Software Tools ? Is ODA an “out of the box” private could platform for DBaaS Photo by yourcottoncandyhammer (dracena) on Flickr
  • 22. My wishes DBaaS on ODA ‱ Scope: Bare Metal or Virtualized platform ‱ Choice of DB version: 12c or 11g ‱ Choice of DB type: non-CDB or CDB ‱ Fast / snapshot based provisioning of: – A new DB (or a PDB) – A clone from existing DB (or a PDB) ‱ Production ‱ Development gold image ‱ Using the rich features of EM 12c + Cloud Management Pack – The self-service – The service catalog – Monitoring – Chargeback (optional)
  • 24. Challenge #0 OAK 12.1.2 is a “big jump” since OAK 2.10 Release date: November 2014 MOS: Doc Id 888888.1
  • 25. Challenge #1: The EM ‱ EM 12c is not ODA-aware – ODA is just a cluster of 2 servers to EM 12c – no EM 12c plugin for ODA (yet) – EM 12c can’t make calls to “oakcli” – EM 12c does not provide snap-clone feature for PDBs on ACFS (even with Cloud MP) – Rumors from #DOAG 2014! ‱ How do we implement self-service functionality? ‱ Can we find an alternative to EM 12c?
  • 26. Challenge #2: Interaction with “oakcli” ‱ “oakcli” must be executed as root ‱ Passwords need to be typed in ‱ No Non-interactive mode ‱ Can we “hack” it to automate the DB provisioning?
  • 27. Challenge #3: Customizations ‱ We can “hack” it! But, we don’t want to “hack” it! ‱ Customization is a configuration that’s not expected by “oakcli” ‱ Unclear boundaries between customizations and supported configurations when manual changes are done (non-”oakcli”) are done. I.e. – Create database manually (files layout) – Create additional ACFS snapshots – Change the DB file layout ‱ Possible impact? – patching and upgrades – stability ‱ Any “customization” needs to be thoroughly tested before allowing into production (test upgrading too) ‱ Can affect the supportability
  • 28. Challenges #4: DB provisioning with “oakcli” ‱ ODA provisions new databases using “oakcli” ‱ Very limited configurability, i.e. – Non-CDB or CDB 11.2.0.2+ and 12.1.0.2 – Choice of size (memory-wise) – Storage quota ‱ All non-CDBs are stored in common ACFS volumes – Smart use of the “empty snapshot” to segregate DBs ‱ Each CDB is stored it’s own 3 ACFS volumes ‱ All CDB data files are in a single ACFS volume – All PDBs are in the same bucket – Snap-cloning a PDB manually, will take a snapshot of the whole ACFS volume, which is not efficient. – You can create additional ACFS volume for each PDB to avoid unnecessary snapshots of CDB$ROOT
  • 29. Challenges #5: “oakcli” snap-clones ‱ Only for DB 11.2.0.4 and 12.1.0.2 ‱ Not supported for Physical standby (yet) ‱ Could be used to snap-clone PROD to DEV on another ODA ‱ Non-CDBs – Done by “oakcli” – Clever use of ACFS snapshots ‱ CDBs – No “oakcli” support, but SQLPlus can be used – Inefficient ACFS layout
  • 30. So we can’t use ODA for DBaaS? Photo by zeitfaenger.at (kwarz) on Flickr
  • 31. What we can do on ODA NOW! ‱ Schema as a Service ‱ Limited self service possibilities with non-CDBs – Provisioning features provided by “oakcli” – Administrators need to be involved ‱ ODA is not ready for DBaaS with PDBs – Limited support built in “oakcli” – Database 12c features compensates for these limitations – Adjust storage layout to support snap-clones for PDBs better – One CDB per ODA (if possible) to avoid restarts for memory re-configuration ‱ Self-Service – EM 12c - not yet – Custom built? – Too difficult, too intrusive – Multitenant Self-Service Provisioning (MSSP)
  • 32. Using MSSP with ODA ‱ “Multitenant Self-Service Provisioning” ‱ Currently in beta test ‱ Run on Apex inside CDB$ROOT ‱ Install into a new CDB ‱ Provides self-service interface for creating, cloning, plugging and unplugging PDBs ‱ Supports snapshot cloning! ‱ Supports user quotas! ‱ No DB management and monitoring L
  • 41. Extending to multiple ODAs ‱ Benefits – Standardized platform – Avoiding “surprises” during configuration, patching and upgrades – Predictable performance and accurate estimates ‱ Single database is limited to running on 1 ODA – Use Data Guard or other replication solutions to extend or migrate between ODAs – Use NFS to facilitate inter-ODA provisioning ‱ Self-service challenge – Managing multiple ODAs from the same tool – One MSSP instance needed per ODA ‱ Some manual tasks are expected ‱ Horizontal scaling is not possible – buy an Exadata!
  • 42. A possible use case (1) 1. PROD runs on 12c Multitenant 2. Automated snap-clone create pluggable database PRODSNAP from PROD snapshot copy; 3. PRODSNAP is read-only 4. Automated PDB cloning over DB link create pluggable database DEVGOLD from PRODSNAP@PROD_ODA_PS; 5. Prepare the DEV Gold image – Purging and cleanup – Data masking – Open it as read only – Remove PRODSNAP 6. Users can clone their environments from the DEV Gold using MSSP. Frequent refreshing of DEVGOLD will exhaust space quickly. Use dedicated volume for each clone.
  • 43. A possible use case (2) 1. PROD runs on 12c Singletenant or multitenant!!! 2. DG redo apply to the physical standby 3. The standby is continuously updated 4. Storage snapshot – Temporarily stop redo apply – Sharing the ACFS volume between 2 DBs – Possible with manual ACFS snapshot 5. Create the DEVGOLD – DBMS_PDB.RECOVER – Plugin the PDB with nocopy – Purging and cleanup – Data masking – Open it as read only 6. Users can clone their environments from the DEVGOLD – Does it work “create pluggable 
 snapshot copy”? – Works with manual snapshots Frequent refreshing of DEVGOLD is possible!
  • 44. Recommendations and lessons learned ‱ Start small ‱ Set expectations for the service levels ‱ Review tools included with the platform ‱ Plan the Storage carefully – Multiple DB vs ACFS storage snapshots – With storage cloning, high-volume data changes are expensive ‱ Controls and resource management are important ‱ Many out-of-the box tools are inflexible
  • 45. Conclusions about DBaaS on ODA ‱ Sufficient SW and HW ‱ The tools are not ready yet ‱ Limited DBaaS capabilities at the moment – “oakcli” for non-CDB – “Create pluggable database .. snapshot copy” SQL for PDBs – No ready built Self-service ‱ Oracle is working on improvements – EM 12c Plugin for ODA – Support for snap-clones from Physical Standby – Frequent OAK releases = new features ‱ Flexible VM provisioning on the virtualized platform gives hope for more flexibility around DBs in future.
  • 46. [email protected] [email protected] @mfild @MarisElsins @Pythian http://pythian.com/blog http://is.gd/PythianFacebook https://www.linkedin.com/company/pythian 46 ?