SlideShare ist ein Scribd-Unternehmen logo
1 von 23
Downloaden Sie, um offline zu lesen
Matt Griffin
George Lorch
Tom Diederich
January 15, 2015
Cloud Online Meetup:
High performance MySQL in an
OpenStack cloud
www.percona.com
Agenda
● MySQL guests in the cloud
● Benchmarking the MySQL core of OpenStack
● Supporting the OpenStack community
Questions: In ReadyTalk
Slides: bit.ly/percona-jan2015-cloud-online-meetup
www.percona.com
About us
Percona delivers high performance MySQL to
our clients and the community.
Open Source Software
● Percona Server
● Percona XtraDB Cluster
(Galera)
● Percona XtraBackup
● Percona Toolkit
100% MySQL-compatible
MySQL Services
● Support
● Consulting
● Managed Services
Community
● Events: Percona Live,
OpenStack Live, Percona
University
● MySQL Performance Blog
● Related communities
www.percona.com
Percona & OpenStack
MySQL is the top database
for OpenStack services
MySQL is one of the top
use cases for guests in the
cloud
We have performance
expertise to share with the
developer community and
production users
OpenStack User Survey results, November 2014
http://superuser.openstack.org/articles/openstack-user-
survey-insights-november-2014
www.percona.com
MySQL Guests in the Cloud
(Trove DBaaS)
www.percona.com
Utility user
Needed a MySQL user to perform specific management
functions
Potential risk in an actual user making changes to this user
Created a special type of MySQL user in Percona Server
designed to
● Do specific tasks
● Be protected/hidden
Currently only used by HP Helion
www.percona.com
Options modifiers
Operators can set limits on MySQL configuration changes
to reduce their risk.
e.g., maximum-query_cache_size=4M
Percona extended MySQL’s five included options with:
● minimum
● hidden
● readonly
Enhanced oversight for cloud operators over guest DBs
Available now when using Trove with Percona Server
www.percona.com
Enforcing a storage engine
InnoDB is most likely the best choice… but many other
options exist
An operator can now lock down
End result is enhanced consistency and reliability in guest
environments
Available now when using Trove with Percona Server
www.percona.com
Security and Capacity
Can disable LOAD DATA INFILE and SELECT INTO
OUTFILE
● Both potentially high risk resources to interact with the
file system
● Percona extended –secure-file-priv option
Added Binary and Slow Log size and rotation
● Set tighter control in Percona Server over how database
logs behave and the disk capacity they consume per
instance
Both available now when using Trove with Percona Server
www.percona.com
Percona Server + XtraBackup
Percona Server 5.6 with Percona XtraBackup 2.2.x
enables:
● Changed page tracking
● Reduced locking during backups
Enabled by default when deploying a Trove image
containing Percona Server and Percona XtraBackup
www.percona.com
Percona XtraBackup
Additional benefits of Percona XtraBackup
● Reduced disk usage with enhanced compression
● Higher security with AES 64-256 encryption
● Simpler backups administration
Coming soon
● Asymmetric/public key encryption
● Streaming of backups to Swift (currently in Alpha)
www.percona.com
Additional Resources
OpenStack Summit Paris
Percona Server features for OpenStack and
Trove Ops
George Lorch, Percona
Vipul Sabhaya, HP
www.percona.com
Benchmarking the MySQL Core of
OpenStack
www.percona.com
Objectives
Examine the database communication and load in an
OpenStack environment
Identify database-layer bottlenecks at various levels of
concurrency
Understand the query load placed against the database
server during typical requests to Nova and Neutron
www.percona.com
Benchmarking Setup
Initial setup: 7 AWS instances
● 1 controller nodes
● 1 compute worker node
● 1 network node
● 3 PXC nodes
● 1 Rally benchmark node
c3.8xlarge instance type except
compute
● 24 cores / 60GB RAM / SSD
ephemeral drives
Updated setup: 16 AWS instances
● 1 controller node (we want more
in the future)
● 10 compute worker nodes
● 1 network + queue node
● 3 PXC nodes
● 1 Rally benchmark node
c3.8xlarge instance type except
compute
● 24 cores / 60GB RAM / SSD
ephemeral drives
c3.large
● 2 cores / 3.75GB RAM / SSD
ephemeral drives
www.percona.com
Load Tests
Boot 10,000 servers
● Some increase in response
time
● Some errors (Galera
certification timeouts)
● Database wasn’t the
bottleneck
Then boot/delete 5,000
more servers
● Writing to several nodes
significantly improves
performance
● Some services retry on
certification timeouts (e.g.,
@_retry_on_deadlock in
Nova) but some don’t
● Most operators will probably
not see timeouts in
production
www.percona.com
Lessons Learned I
● SELECT … FOR UPDATE can be an issue for Galera
clusters powering OpenStack
● Hidden behind ‘deadlock’ error
● Better performance when combining Network and
Queue node
● Use pt-query-digest (in Percona Toolkit) to analyze
workloads. “Options” very helpful to filter output. Look
for:
● Slowest transactions (default output)
● Large transactions
www.percona.com
Lessons Learned II
● Database is not the bottleneck
● Controller node’s API functions are saturated earlier
with maxed out CPU but little stress on the database
● Likely many opportunities for database optimizations for
production clouds given identified query-level
bottlenecks
● Targeted indexes will help
● Continue examining OpenStack’s MySQL workload
across services and with future releases
● Future patches coming
www.percona.com
Additional Resources
OpenStack Summit Paris
MySQL and OpenStack Deep Dive
Peter Boros, Percona
Jay Pipes, Mirantis
Ansible playbooks: Set up your own OpenStack benchmarking cluster
on AWS
“OpenStack users shed light on Percona XtraDB Cluster deadlock
issues” by Peter Boros
“Understanding reservations, concurrency, and locking in Nova” by Jay
Pipes
www.percona.com
Supporting the OpenStack
Community
www.percona.com
Contributions in Progress
● Trove clustering
● HA Guide update
● MySQL Performance Blog: OpenStack advice based on
our MySQL expertise
● Peter and Jay’s Ansible playbooks are evolving
www.percona.com
Hands-on tutorials covering
technologies including:
● Trove (DBaaS)
● Barbican (security)
● Ceph (storage)
● Neutron (networking)
Sessions on topics such as:
● Rally benchmarking
● Trove in the real world
● Stories from enterprise users
like Time Warner Cable
● Cloud Foundry PaaS
Early Bird registration ends soon
http://www.percona.
com/live/openstack-live-2015/
www.percona.com
Questions
Matt Griffin matt.griffin@percona.com
George Lorch george.lorch@percona.com
Tom Diederich tom.diederich@percona.com
Slides: bit.ly/percona-jan2015-cloud-online-meetup

Weitere ähnliche Inhalte

Mehr von OpenStack_Online

Platform9 deployment models for OpenStack
Platform9 deployment models for OpenStackPlatform9 deployment models for OpenStack
Platform9 deployment models for OpenStackOpenStack_Online
 
MidoNet gives OpenStack Neutron a Boost
MidoNet gives OpenStack Neutron a BoostMidoNet gives OpenStack Neutron a Boost
MidoNet gives OpenStack Neutron a BoostOpenStack_Online
 
Introduction into Ceph storage for OpenStack
Introduction into Ceph storage for OpenStackIntroduction into Ceph storage for OpenStack
Introduction into Ceph storage for OpenStackOpenStack_Online
 
Automating OpenStack clouds and beyond w/ StackStorm
Automating OpenStack clouds and beyond w/ StackStormAutomating OpenStack clouds and beyond w/ StackStorm
Automating OpenStack clouds and beyond w/ StackStormOpenStack_Online
 
OpenStack Trove Update - Juno, Kilo and Beyond
OpenStack Trove Update - Juno, Kilo and BeyondOpenStack Trove Update - Juno, Kilo and Beyond
OpenStack Trove Update - Juno, Kilo and BeyondOpenStack_Online
 
IBM Cloud OpenStack Services
IBM Cloud OpenStack ServicesIBM Cloud OpenStack Services
IBM Cloud OpenStack ServicesOpenStack_Online
 
What is Trove, the Database as a Service on OpenStack?
What is Trove, the Database as a Service on OpenStack?What is Trove, the Database as a Service on OpenStack?
What is Trove, the Database as a Service on OpenStack?OpenStack_Online
 
Turning OpenStack Swift into a VM storage platform
Turning OpenStack Swift into a VM storage platformTurning OpenStack Swift into a VM storage platform
Turning OpenStack Swift into a VM storage platformOpenStack_Online
 

Mehr von OpenStack_Online (9)

Platform9 deployment models for OpenStack
Platform9 deployment models for OpenStackPlatform9 deployment models for OpenStack
Platform9 deployment models for OpenStack
 
MidoNet gives OpenStack Neutron a Boost
MidoNet gives OpenStack Neutron a BoostMidoNet gives OpenStack Neutron a Boost
MidoNet gives OpenStack Neutron a Boost
 
Introduction into Ceph storage for OpenStack
Introduction into Ceph storage for OpenStackIntroduction into Ceph storage for OpenStack
Introduction into Ceph storage for OpenStack
 
Automating OpenStack clouds and beyond w/ StackStorm
Automating OpenStack clouds and beyond w/ StackStormAutomating OpenStack clouds and beyond w/ StackStorm
Automating OpenStack clouds and beyond w/ StackStorm
 
OpenStack Trove Update - Juno, Kilo and Beyond
OpenStack Trove Update - Juno, Kilo and BeyondOpenStack Trove Update - Juno, Kilo and Beyond
OpenStack Trove Update - Juno, Kilo and Beyond
 
IBM Cloud OpenStack Services
IBM Cloud OpenStack ServicesIBM Cloud OpenStack Services
IBM Cloud OpenStack Services
 
What is Trove, the Database as a Service on OpenStack?
What is Trove, the Database as a Service on OpenStack?What is Trove, the Database as a Service on OpenStack?
What is Trove, the Database as a Service on OpenStack?
 
Turning OpenStack Swift into a VM storage platform
Turning OpenStack Swift into a VM storage platformTurning OpenStack Swift into a VM storage platform
Turning OpenStack Swift into a VM storage platform
 
z/VM and OpenStack
z/VM and OpenStackz/VM and OpenStack
z/VM and OpenStack
 

Kürzlich hochgeladen

Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 

Kürzlich hochgeladen (20)

Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 

High performance MySQL in an OpenStack cloud

  • 1. Matt Griffin George Lorch Tom Diederich January 15, 2015 Cloud Online Meetup: High performance MySQL in an OpenStack cloud
  • 2. www.percona.com Agenda ● MySQL guests in the cloud ● Benchmarking the MySQL core of OpenStack ● Supporting the OpenStack community Questions: In ReadyTalk Slides: bit.ly/percona-jan2015-cloud-online-meetup
  • 3. www.percona.com About us Percona delivers high performance MySQL to our clients and the community. Open Source Software ● Percona Server ● Percona XtraDB Cluster (Galera) ● Percona XtraBackup ● Percona Toolkit 100% MySQL-compatible MySQL Services ● Support ● Consulting ● Managed Services Community ● Events: Percona Live, OpenStack Live, Percona University ● MySQL Performance Blog ● Related communities
  • 4. www.percona.com Percona & OpenStack MySQL is the top database for OpenStack services MySQL is one of the top use cases for guests in the cloud We have performance expertise to share with the developer community and production users OpenStack User Survey results, November 2014 http://superuser.openstack.org/articles/openstack-user- survey-insights-november-2014
  • 5. www.percona.com MySQL Guests in the Cloud (Trove DBaaS)
  • 6. www.percona.com Utility user Needed a MySQL user to perform specific management functions Potential risk in an actual user making changes to this user Created a special type of MySQL user in Percona Server designed to ● Do specific tasks ● Be protected/hidden Currently only used by HP Helion
  • 7. www.percona.com Options modifiers Operators can set limits on MySQL configuration changes to reduce their risk. e.g., maximum-query_cache_size=4M Percona extended MySQL’s five included options with: ● minimum ● hidden ● readonly Enhanced oversight for cloud operators over guest DBs Available now when using Trove with Percona Server
  • 8. www.percona.com Enforcing a storage engine InnoDB is most likely the best choice… but many other options exist An operator can now lock down End result is enhanced consistency and reliability in guest environments Available now when using Trove with Percona Server
  • 9. www.percona.com Security and Capacity Can disable LOAD DATA INFILE and SELECT INTO OUTFILE ● Both potentially high risk resources to interact with the file system ● Percona extended –secure-file-priv option Added Binary and Slow Log size and rotation ● Set tighter control in Percona Server over how database logs behave and the disk capacity they consume per instance Both available now when using Trove with Percona Server
  • 10. www.percona.com Percona Server + XtraBackup Percona Server 5.6 with Percona XtraBackup 2.2.x enables: ● Changed page tracking ● Reduced locking during backups Enabled by default when deploying a Trove image containing Percona Server and Percona XtraBackup
  • 11. www.percona.com Percona XtraBackup Additional benefits of Percona XtraBackup ● Reduced disk usage with enhanced compression ● Higher security with AES 64-256 encryption ● Simpler backups administration Coming soon ● Asymmetric/public key encryption ● Streaming of backups to Swift (currently in Alpha)
  • 12. www.percona.com Additional Resources OpenStack Summit Paris Percona Server features for OpenStack and Trove Ops George Lorch, Percona Vipul Sabhaya, HP
  • 14. www.percona.com Objectives Examine the database communication and load in an OpenStack environment Identify database-layer bottlenecks at various levels of concurrency Understand the query load placed against the database server during typical requests to Nova and Neutron
  • 15. www.percona.com Benchmarking Setup Initial setup: 7 AWS instances ● 1 controller nodes ● 1 compute worker node ● 1 network node ● 3 PXC nodes ● 1 Rally benchmark node c3.8xlarge instance type except compute ● 24 cores / 60GB RAM / SSD ephemeral drives Updated setup: 16 AWS instances ● 1 controller node (we want more in the future) ● 10 compute worker nodes ● 1 network + queue node ● 3 PXC nodes ● 1 Rally benchmark node c3.8xlarge instance type except compute ● 24 cores / 60GB RAM / SSD ephemeral drives c3.large ● 2 cores / 3.75GB RAM / SSD ephemeral drives
  • 16. www.percona.com Load Tests Boot 10,000 servers ● Some increase in response time ● Some errors (Galera certification timeouts) ● Database wasn’t the bottleneck Then boot/delete 5,000 more servers ● Writing to several nodes significantly improves performance ● Some services retry on certification timeouts (e.g., @_retry_on_deadlock in Nova) but some don’t ● Most operators will probably not see timeouts in production
  • 17. www.percona.com Lessons Learned I ● SELECT … FOR UPDATE can be an issue for Galera clusters powering OpenStack ● Hidden behind ‘deadlock’ error ● Better performance when combining Network and Queue node ● Use pt-query-digest (in Percona Toolkit) to analyze workloads. “Options” very helpful to filter output. Look for: ● Slowest transactions (default output) ● Large transactions
  • 18. www.percona.com Lessons Learned II ● Database is not the bottleneck ● Controller node’s API functions are saturated earlier with maxed out CPU but little stress on the database ● Likely many opportunities for database optimizations for production clouds given identified query-level bottlenecks ● Targeted indexes will help ● Continue examining OpenStack’s MySQL workload across services and with future releases ● Future patches coming
  • 19. www.percona.com Additional Resources OpenStack Summit Paris MySQL and OpenStack Deep Dive Peter Boros, Percona Jay Pipes, Mirantis Ansible playbooks: Set up your own OpenStack benchmarking cluster on AWS “OpenStack users shed light on Percona XtraDB Cluster deadlock issues” by Peter Boros “Understanding reservations, concurrency, and locking in Nova” by Jay Pipes
  • 21. www.percona.com Contributions in Progress ● Trove clustering ● HA Guide update ● MySQL Performance Blog: OpenStack advice based on our MySQL expertise ● Peter and Jay’s Ansible playbooks are evolving
  • 22. www.percona.com Hands-on tutorials covering technologies including: ● Trove (DBaaS) ● Barbican (security) ● Ceph (storage) ● Neutron (networking) Sessions on topics such as: ● Rally benchmarking ● Trove in the real world ● Stories from enterprise users like Time Warner Cable ● Cloud Foundry PaaS Early Bird registration ends soon http://www.percona. com/live/openstack-live-2015/
  • 23. www.percona.com Questions Matt Griffin matt.griffin@percona.com George Lorch george.lorch@percona.com Tom Diederich tom.diederich@percona.com Slides: bit.ly/percona-jan2015-cloud-online-meetup