1. DBaaS- Database as a
Service in a DBA World
Kellyn Pot’Vin, Sr. Technical Consultant
2. Who I am
Westminster, Colorado
Oracle ACE Director, Sr. Technical Specialist, Oak Table
Member and Women in Technology Evangelist
Specialize in performance/management of large enterprise
environments
Performance tuning, Exadata, VLDB and Enterprise
Manager expertise
Board of directors for RMOUG, Director of Training Days and
Database Track Lead for KSCOPE 2014
Blog: DBAKevlar.com
Twitter: @DBAKevlar
3. What is DBaaS?
Database as a Service (DBaaS) is an architectural and
operational approach enabling DBAs to deliver database
functionality as a service to internal and/or external customers.
Database as a Service architectures support the following
required capabilities:
Customer side provisioning and management of database
instances using on-demand, self-service mechanisms
Automation of monitoring with provider-defined service
definitions, attributes and quality SLAs
Fine-grained metering of database usage enabling showback reporting or charge-back for both internal and external
functionality for each individual consumer
4. It Can’t Possibly Happen…
http://petewhodoesnottweet.com/2013/11/01/em-hits-a-million/
5. Why DBaaS?
DBaaS standardizes and optimizes the platform requirements
which eliminates the need to deploy, manage and support
dedicated database hardware and software for each project’s
multiple development, testing, production, and failover
environments.
DBaaS architectures are inherently designed for elasticity and
resource pooling. They deliver production and non-production
database services that support average daily workload
requirements and are not impacted by:
Resource Limitations
Time Sensitive Projects
Hardware limitations/budgets
7. Embracing DBaaS as a DBA
The Great DBA…
Automates everything
Desires new learning opportunities
Desires a secure, controlled setup for a self-service portal
Approaches challenges and answers with simple, robust
options to answer.
DBaaS OFFERS THIS..
9. Summary of Moving Parts
How much do you already use in
your everyday DBA work
How can this be used to create a
new and better way to automate
resource allocation so the DBA
can do more with less?
13. Schema as a Service
Datapump
of Schema
Service
Template
Service
Template
Import
Just
Objects,
No Data
Import with
Objects and
Data
Target
Database
14. Setting up DBaaS
The Cloud Administrator will
Define roles and users in the Self
Service Portal.
Installing the agent to manage all
“unmanaged hosts” so selfdiscovery of any DBaaS
environments that are created.
Set quotas, privileges.
Software library will allow
automation.
Provisioning will set who will be
granted and how much allocated to
each customer, administrator
and/or business unit.
15. Self Service Portal Design
Oracle Home is utilized by
one or multiple service
templates.
Templates serve DBaaS
options to Self Service
Portal for customers.
Role is designated to “Self
Service Administrator” but
often DBA.
22. Database Cloud
From the Middleware and Database
Cloud Home:
• Create PaaS Infrastracture Zone to
use IaaS
23. Setting up PaaS
• Set up PaaS for Development, Test, etc.
• Keep it simple- simple designs are easier to manage.
• Solid chargeback designs will ensure that simplicity in
PaaS design is effective for business.
27. Setting up Pools and Profiles
In the Setup Menu
Database Pools contains a set of
resources that can be used to provision a
database instance within a PaaS
Profiles are information collected from a
database to set up the database part of a
service template.
31. Quotas for Requestor
Quotas dictates how many resources overall a user of the Self
Service Portal has.
Allocated by Role and assigned to user• Memory
• Storage
• CPU
• How many Databases at a given time
• How many schemas
33. Understanding DBaaS Roles
Storage Roles
View Any, Register, View, Manage Any and Full
Target Privileges
Snap clone, Full
Storage Administrator Role
EM Storage Administrator, EM Storage Operator
37. Control of Template Resources
Set Parameters
Turn on Auditing
Configure values for memory, recovery and Undo
Decide if the SSA Admin has ability to edit values
38. Custom Script Option
Run Custom scripts as part of templates
*This is also part of Schema as a Service
46. A Mature DBaaS Catalog
Catalogs offer external customers options to choose from.
Services are really just service templates, (discussed later)
Note that these each [most likely] share resources, (i.e. same
underlying machines virtually allocated.)
48. The Future
Purchase multiple Exadata machines, using OVM , (may
change to Nimbula product since acquisition) create large
VM hosts to private clouds with DBaaS.
Using VMs from third party vendors, create large, private
clouds for use with DBaaS.
Simplify Development, Test, QA requests for database
refreshes, new environments
Simplify cloning procedures for any environment
Supply afterhours support and maintenance automation.