This document summarizes James Kreuziger's presentation on optimizing MySQL for Cascade Server. The presentation covered choosing a MySQL version and configuration, testing tools, and the results of testing different MySQL configurations and key block sizes on storage space usage and load performance. It was aimed at Cascade administrators and provided an overview of topics like hardware requirements, the InnoDB buffer pool, and recommended resources for MySQL configuration and optimization.
MySQL Performance Tuning. Part 1: MySQL Configuration (includes MySQL 5.7)Aurimas Mikalauskas
Is my MySQL server configured properly? Should I run Community MySQL, MariaDB, Percona or WebScaleSQL? How many innodb buffer pool instances should I run? Why should I NOT use the query cache? How do I size the innodb log file size and what IS that innodb log anyway? All answers are inside.
Aurimas Mikalauskas is a former Percona performance consultant and architect currently writing and teaching at speedemy.com. He's been involved with MySQL since 1999, scaling and optimizing MySQL backed systems since 2004 for companies such as BBC, EngineYard, famous social networks and small shops like EstanteVirtual, Pine Cove and hundreds of others.
Additional content mentioned in the presentation can be found here: http://speedemy.com/17
Percona Cluster ( Galera ) is one of the best database solution that provides synchronous replication. The feature like automatic recovery, GTID and multi threaded replication makes it powerful along with ( XtraDB and Xtrabackup ).
The good solution for MySQL HA.
MySQL Performance Tuning. Part 1: MySQL Configuration (includes MySQL 5.7)Aurimas Mikalauskas
Is my MySQL server configured properly? Should I run Community MySQL, MariaDB, Percona or WebScaleSQL? How many innodb buffer pool instances should I run? Why should I NOT use the query cache? How do I size the innodb log file size and what IS that innodb log anyway? All answers are inside.
Aurimas Mikalauskas is a former Percona performance consultant and architect currently writing and teaching at speedemy.com. He's been involved with MySQL since 1999, scaling and optimizing MySQL backed systems since 2004 for companies such as BBC, EngineYard, famous social networks and small shops like EstanteVirtual, Pine Cove and hundreds of others.
Additional content mentioned in the presentation can be found here: http://speedemy.com/17
Percona Cluster ( Galera ) is one of the best database solution that provides synchronous replication. The feature like automatic recovery, GTID and multi threaded replication makes it powerful along with ( XtraDB and Xtrabackup ).
The good solution for MySQL HA.
High performance and high availability proxies for MySQLMydbops
This is presented at LSPE meet up on 17-06-2017.
ProxySQL and MaxScale are the next-generation database proxy that manages security, scalability, high availability and data streaming in scale-out deployments
ProxySQL and MaxScale have been most widely adapted in industry these days. They can be used in smaller platforms to bigger platforms. The Objective of this talk is to make awareness about the next-gen database proxies and their value addition.
MyDBOPS Team has presented on Oracle MySQL user Camp ( 29-07-2016 ). This presentation is about Grafana and Prometheus for MySQL alerting and Dashboard setup.
Angular.js is a popular client side javascript framework. Marcello will demonstrate how to use Angular.js to work with Cascade to build a fast onepage website. Angular.js can also replace some xsl and velocity code when building websites. Content that comes from Cascade can be published as json or xml which is then used by Angular services to generate page content, dynamic navigation and more.
High performance and high availability proxies for MySQLMydbops
This is presented at LSPE meet up on 17-06-2017.
ProxySQL and MaxScale are the next-generation database proxy that manages security, scalability, high availability and data streaming in scale-out deployments
ProxySQL and MaxScale have been most widely adapted in industry these days. They can be used in smaller platforms to bigger platforms. The Objective of this talk is to make awareness about the next-gen database proxies and their value addition.
MyDBOPS Team has presented on Oracle MySQL user Camp ( 29-07-2016 ). This presentation is about Grafana and Prometheus for MySQL alerting and Dashboard setup.
Angular.js is a popular client side javascript framework. Marcello will demonstrate how to use Angular.js to work with Cascade to build a fast onepage website. Angular.js can also replace some xsl and velocity code when building websites. Content that comes from Cascade can be published as json or xml which is then used by Angular services to generate page content, dynamic navigation and more.
Block Choosers, Configuration Blocks, Metadata Sets, Indexing and XSLThannonhill
This presentation will allow you to learn how to configure blocks to bundle up blocks to store site-specific information, index block to pick up site-specific information stored in Configuration blocks, create template-level formats to redistribute information to div elements, and convert XSLT library to process blocks
Web Governance Crash Course: Creating a Sustainable Digital Transformationhannonhill
When creating a digital strategy you have to define a path to reach your goals in a sustainable way with collaboration and accountability from everyone. We’ve experienced the silos, the shrinking resources, the lack of defined processes and the growing complexity.
In this webinar, Charlie will highlight how to leverage the power of Cascade Server to help create and manage content for a responsive website. Cascade Server’s powerful Data Definitions give you the ability to provide a large number of different page layouts and content configurations from a single Template, Configuration Set, Content Type, and Format. Adding in Smart Fields to provide additional options for configuring content keeps things simple while still offering maximum flexibility.
Slides presented at Great Indian Developer Summit 2016 at the session MySQL: What's new on April 29 2016.
Contains information about the new MySQL Document Store released in April 2016.
Going thru the era of IoT that involves lots more and much bigger data, we need a faster database. MySQL 5.7 gives you 3x speed of its predecessor and able to reach 1.6m qps on our select benchmark.
Scaling with sync_replication using Galera and EC2Marco Tusa
Challenging architecture design, and proof of concept on a real case of study using Syncrhomous solution.
Customer asks me to investigate and design MySQL architecture to support his application serving shops around the globe.
Scale out and scale in base to sales seasons.
Transitioning From SQL Server to MySQL - Presentation from Percona Live 2016Dylan Butler
What if you were asked to support a database platform that you had never worked with before? First you would probably say no, but after you lost that fight, then what? That is exactly how I came to support MySQL. Over the last year my team has worked to learn MySQL, architect a production environment, and figure out how to support it alongside our other platforms (Microsoft SQL Server and Oracle). Along the way, I have also come to appreciate the unique offering of this platform and see it as an important part of our environment going forward.
To make things even more challenging, our first MySQL databases were the backend for a critical, web based application that needed to be highly available across multiple data centers. This meant that we did not have the luxury of standing up a simpler environment to start with and building confidence there. Our final architecture ended up using a five node Percona XtraDB Cluster spread across three data centers.
This session will focus on lessons learned along the way, as well as challenges related to supporting more than one database platforms. It should be interesting to anyone who is new to MySQL, anyone who is being asked to support more than one database platform, or anyone who wants to see how an outsider views the platform.
How does Apache Pegasus (incubating) community develop at SensorsDataacelyc1112009
A presentation in ApacheCon Asia 2022 from Dan Wang and Yingchun Lai.
Apache Pegasus is a horizontally scalable, strongly consistent and high-performance key-value store.
Know more about Pegasus https://pegasus.apache.org, https://github.com/apache/incubator-pegasus
MySQL performance can be improved by tuning queries, server options, and hardware. Traditionally it was an area of responsibility of three different roles: Development, DBA and System Administrators. Now DevOps handle these all. But there is a gap. Knowledge, gained by MySQL DBAs after years or focus on the single product is hard to gain when you focus on more than one. This is why I am doing this session. I will show minimal, but the most effective, set of options which will improve MySQL performance. For illustrations, I will use real user stories, gained by my Support experience, and Kubernetes operators, now available from all main MySQL eco-system vendors: Oracle, MariaDB, and Percona.
Presented at Open Source Summit Europe 2020: https://sched.co/eCGf
In the ever-evolving landscape of technology, enterprise software development is undergoing a significant transformation. Traditional coding methods are being challenged by innovative no-code solutions, which promise to streamline and democratize the software development process.
This shift is particularly impactful for enterprises, which require robust, scalable, and efficient software to manage their operations. In this article, we will explore the various facets of enterprise software development with no-code solutions, examining their benefits, challenges, and the future potential they hold.
Enhancing Research Orchestration Capabilities at ORNL.pdfGlobus
Cross-facility research orchestration comes with ever-changing constraints regarding the availability and suitability of various compute and data resources. In short, a flexible data and processing fabric is needed to enable the dynamic redirection of data and compute tasks throughout the lifecycle of an experiment. In this talk, we illustrate how we easily leveraged Globus services to instrument the ACE research testbed at the Oak Ridge Leadership Computing Facility with flexible data and task orchestration capabilities.
Enterprise Resource Planning System includes various modules that reduce any business's workload. Additionally, it organizes the workflows, which drives towards enhancing productivity. Here are a detailed explanation of the ERP modules. Going through the points will help you understand how the software is changing the work dynamics.
To know more details here: https://blogs.nyggs.com/nyggs/enterprise-resource-planning-erp-system-modules/
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...Juraj Vysvader
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I didn't get rich from it but it did have 63K downloads (powered possible tens of thousands of websites).
We describe the deployment and use of Globus Compute for remote computation. This content is aimed at researchers who wish to compute on remote resources using a unified programming interface, as well as system administrators who will deploy and operate Globus Compute services on their research computing infrastructure.
Introducing Crescat - Event Management Software for Venues, Festivals and Eve...Crescat
Crescat is industry-trusted event management software, built by event professionals for event professionals. Founded in 2017, we have three key products tailored for the live event industry.
Crescat Event for concert promoters and event agencies. Crescat Venue for music venues, conference centers, wedding venues, concert halls and more. And Crescat Festival for festivals, conferences and complex events.
With a wide range of popular features such as event scheduling, shift management, volunteer and crew coordination, artist booking and much more, Crescat is designed for customisation and ease-of-use.
Over 125,000 events have been planned in Crescat and with hundreds of customers of all shapes and sizes, from boutique event agencies through to international concert promoters, Crescat is rigged for success. What's more, we highly value feedback from our users and we are constantly improving our software with updates, new features and improvements.
If you plan events, run a venue or produce festivals and you're looking for ways to make your life easier, then we have a solution for you. Try our software for free or schedule a no-obligation demo with one of our product specialists today at crescat.io
Custom Healthcare Software for Managing Chronic Conditions and Remote Patient...Mind IT Systems
Healthcare providers often struggle with the complexities of chronic conditions and remote patient monitoring, as each patient requires personalized care and ongoing monitoring. Off-the-shelf solutions may not meet these diverse needs, leading to inefficiencies and gaps in care. It’s here, custom healthcare software offers a tailored solution, ensuring improved care and effectiveness.
Do you want Software for your Business? Visit Deuglo
Deuglo has top Software Developers in India. They are experts in software development and help design and create custom Software solutions.
Deuglo follows seven steps methods for delivering their services to their customers. They called it the Software development life cycle process (SDLC).
Requirement — Collecting the Requirements is the first Phase in the SSLC process.
Feasibility Study — after completing the requirement process they move to the design phase.
Design — in this phase, they start designing the software.
Coding — when designing is completed, the developers start coding for the software.
Testing — in this phase when the coding of the software is done the testing team will start testing.
Installation — after completion of testing, the application opens to the live server and launches!
Maintenance — after completing the software development, customers start using the software.
Code reviews are vital for ensuring good code quality. They serve as one of our last lines of defense against bugs and subpar code reaching production.
Yet, they often turn into annoying tasks riddled with frustration, hostility, unclear feedback and lack of standards. How can we improve this crucial process?
In this session we will cover:
- The Art of Effective Code Reviews
- Streamlining the Review Process
- Elevating Reviews with Automated Tools
By the end of this presentation, you'll have the knowledge on how to organize and improve your code review proces
AI Pilot Review: The World’s First Virtual Assistant Marketing SuiteGoogle
AI Pilot Review: The World’s First Virtual Assistant Marketing Suite
👉👉 Click Here To Get More Info 👇👇
https://sumonreview.com/ai-pilot-review/
AI Pilot Review: Key Features
✅Deploy AI expert bots in Any Niche With Just A Click
✅With one keyword, generate complete funnels, websites, landing pages, and more.
✅More than 85 AI features are included in the AI pilot.
✅No setup or configuration; use your voice (like Siri) to do whatever you want.
✅You Can Use AI Pilot To Create your version of AI Pilot And Charge People For It…
✅ZERO Manual Work With AI Pilot. Never write, Design, Or Code Again.
✅ZERO Limits On Features Or Usages
✅Use Our AI-powered Traffic To Get Hundreds Of Customers
✅No Complicated Setup: Get Up And Running In 2 Minutes
✅99.99% Up-Time Guaranteed
✅30 Days Money-Back Guarantee
✅ZERO Upfront Cost
See My Other Reviews Article:
(1) TubeTrivia AI Review: https://sumonreview.com/tubetrivia-ai-review
(2) SocioWave Review: https://sumonreview.com/sociowave-review
(3) AI Partner & Profit Review: https://sumonreview.com/ai-partner-profit-review
(4) AI Ebook Suite Review: https://sumonreview.com/ai-ebook-suite-review
Need for Speed: Removing speed bumps from your Symfony projects ⚡️Łukasz Chruściel
No one wants their application to drag like a car stuck in the slow lane! Yet it’s all too common to encounter bumpy, pothole-filled solutions that slow the speed of any application. Symfony apps are not an exception.
In this talk, I will take you for a spin around the performance racetrack. We’ll explore common pitfalls - those hidden potholes on your application that can cause unexpected slowdowns. Learn how to spot these performance bumps early, and more importantly, how to navigate around them to keep your application running at top speed.
We will focus in particular on tuning your engine at the application level, making the right adjustments to ensure that your system responds like a well-oiled, high-performance race car.
Essentials of Automations: The Art of Triggers and Actions in FMESafe Software
In this second installment of our Essentials of Automations webinar series, we’ll explore the landscape of triggers and actions, guiding you through the nuances of authoring and adapting workspaces for seamless automations. Gain an understanding of the full spectrum of triggers and actions available in FME, empowering you to enhance your workspaces for efficient automation.
We’ll kick things off by showcasing the most commonly used event-based triggers, introducing you to various automation workflows like manual triggers, schedules, directory watchers, and more. Plus, see how these elements play out in real scenarios.
Whether you’re tweaking your current setup or building from the ground up, this session will arm you with the tools and insights needed to transform your FME usage into a powerhouse of productivity. Join us to discover effective strategies that simplify complex processes, enhancing your productivity and transforming your data management practices with FME. Let’s turn complexity into clarity and make your workspaces work wonders!
GraphSummit Paris - The art of the possible with Graph TechnologyNeo4j
Sudhir Hasbe, Chief Product Officer, Neo4j
Join us as we explore breakthrough innovations enabled by interconnected data and AI. Discover firsthand how organizations use relationships in data to uncover contextual insights and solve our most pressing challenges – from optimizing supply chains, detecting fraud, and improving customer experiences to accelerating drug discoveries.
Check out the webinar slides to learn more about how XfilesPro transforms Salesforce document management by leveraging its world-class applications. For more details, please connect with sales@xfilespro.com
If you want to watch the on-demand webinar, please click here: https://www.xfilespro.com/webinars/salesforce-document-management-2-0-smarter-faster-better/
Zoom is a comprehensive platform designed to connect individuals and teams efficiently. With its user-friendly interface and powerful features, Zoom has become a go-to solution for virtual communication and collaboration. It offers a range of tools, including virtual meetings, team chat, VoIP phone systems, online whiteboards, and AI companions, to streamline workflows and enhance productivity.
Graspan: A Big Data System for Big Code AnalysisAftab Hussain
We built a disk-based parallel graph system, Graspan, that uses a novel edge-pair centric computation model to compute dynamic transitive closures on very large program graphs.
We implement context-sensitive pointer/alias and dataflow analyses on Graspan. An evaluation of these analyses on large codebases such as Linux shows that their Graspan implementations scale to millions of lines of code and are much simpler than their original implementations.
These analyses were used to augment the existing checkers; these augmented checkers found 132 new NULL pointer bugs and 1308 unnecessary NULL tests in Linux 4.4.0-rc5, PostgreSQL 8.3.9, and Apache httpd 2.2.18.
- Accepted in ASPLOS ‘17, Xi’an, China.
- Featured in the tutorial, Systemized Program Analyses: A Big Data Perspective on Static Analysis Scalability, ASPLOS ‘17.
- Invited for presentation at SoCal PLS ‘16.
- Invited for poster presentation at PLDI SRC ‘16.
1. Optimizing MySQL for
Cascade Server
James Kreuziger
Strategic Communications
@jkreuzig
#csuc14
1
2. The standard “a little bit about myself”
• Graduate of UC Irvine (96) with a B.S. in Physics
• Staff member for the last 16 years
• First 8 years as a scientific programmer on grant funded research
• Last 8 years in communications department building websites
• Hobbies
– Soccer referee
• USSF Grade 6 State Referee
• AYSO National Referee
• Southern California Soccer Officials Association (High School Soccer)
• NISOA Referee (National Intercollegiate Soccer Officials Association)
2
3. Overview
• Who is this presentation for?
• What we won’t cover today
• Terminology
• Hardware requirements
• Which version of MySQL to run
• Which flavor of MySQL to run
• Default MySQL configuration
• Configuring MySQL for your workload
• Tools for testing
• Testing and results
• Questions
• Resources
3
5. Who is this presentation for?
On a daily basis, I wear many hats:
• Cascade administrator
• Database administrator
• System administrator
• Apache administrator
• Google Search Appliance
• And the catch all:
OTHER DUTIES AS ASSIGNED
5
6. Who is this presentation for?
You should be here if:
• Cascade administrators
• Want to migrate from another db
• You have installed MySQL for
other reasons, but haven’t done
any other configuration.
Not really for:
• Large MySQL installation dba’s
• You are running MySQL in the
cloud
6
7. Optimizing MySQL for Cascade Server
• Who is this presentation for?
• What we won’t cover today
7
8. What we won’t cover today
• Configuration of Cascade Server
• MySQL replication or cluster setups
• Memcached
8
9. Optimizing MySQL for Cascade Server
• Who is this presentation for?
• What we won’t cover today
• Terminology
9
10. Terminology
Query Cache – From the MySQL Documentation[1]
“The query cache stores the text of a SELECT statement together with the
corresponding result that was sent to the client. If an identical statement is
received later, the server retrieves the results from the query cache rather than
parsing and executing the statement again. The query cache is shared among
sessions, so a result set generated by one client can be sent in response to the
same query issued by another client.”
The key here is “identical statement”. Every space, term
and even the capitalization of the statement has to be the
same.
1. http://dev.mysql.com/doc/refman/5.5/en/query-cache.html 10
11. Terminology cont.
Innodb Buffer Pool – From the MySQL Documentation[2]
“InnoDB maintains a storage area called the buffer pool for caching data and
indexes in memory”
VERY important. Probably one of the most important
configuration options. If you make only one change to your
configuration, this (in my opinion) is the most important.
2. http://dev.mysql.com/doc/refman/5.5/en/innodb-buffer-pool.html 11
12. Terminology cont.
Row – An entry in a database table
Page - The default size at which data is moved between disk and memory
(default = 16K for MySQL)[3]. It’s the smallest unit of on disk storage.
– In MySQL, the max a row can be is roughly 50% of the page size (8000 bytes default) not
including VARBINAY, VARCHAR, BOLOB or TEXT columns.
Why is the max row size restricted to 50% of the page size?
– To allow one page to store at least 2 columns.
3. http://dev.mysql.com/doc/refman/5.5/en/glossary.html#glos_page 12
13. Optimizing MySQL for Cascade Server
• Who is this presentation for?
• What we won’t cover today
• Terminology
• Hardware requirements
13
14. Hardware requirements
Hannon Hill requirements for running MySQL for Cascade[4]
• MySQL 5.0 / 5.1 / 5.5
• Memory for database server:
– 2 GB RAM (minimum)
– 4 GB RAM (recommended)
I’d recommend a quad-core server with a minimum 16 GB
RAM for your database server.
4. http://www.hannonhill.com/products/requirements.html 14
15. Optimizing MySQL for Cascade Server
• Who is this presentation for?
• What we won’t cover today
• Terminology
• Hardware requirements
• Which version of MySQL to run
15
16. Which version of MySQL to run
• 5.0
• 5.1
• 5.5
• 5.6? Not yet officially supported
4. http://www.hannonhill.com/products/requirements.html 16
17. Optimizing MySQL for Cascade Server
• Who is this presentation for?
• What we won’t cover today
• Terminology
• Hardware requirements
• Which version of MySQL to run
• Which flavor of MySQL to run
17
18. Which flavor of MySQL to run
• Oracle MySQL
• MariaDB
– Soon to be the default database server for RedHat and by default, CentOS
– http://ideas.hannonhill.com/forums/52559-ideas-for-cascade-server/suggestions/
6065138-add-support-for-mariadb
• Percona Server
– My favorite
– Percona XtraDB is a drop in replacement for innodb[5]
– XtraDB available in MariaDB as well.
Note: Only Oracle MySQL is listed as currently supported. Try these
others at your own risk.
5. http://www.percona.com/software/percona-xtradb 18
19. Optimizing MySQL for Cascade Server
• Who is this presentation for?
• What we won’t cover today
• Terminology
• Hardware requirements
• Which version of MySQL to run
• Which flavor of MySQL to run
• Default MySQL configuration
19
20. Default MySQL configuration
These are the Hannon Hill recommendations[6]
• InnoDB storage engine
• max_allowed_packet=16M
• key_buffer=16M
• Character set is defined when creating the database
6. http://www.hannonhill.com/kb/Database-Config/ 20
21. Optimizing MySQL for Cascade Server
• Who is this presentation for?
• What we won’t cover today
• Terminology
• Hardware requirements
• Which version of MySQL to run
• Which flavor of MySQL to run
• Default MySQL configuration
• Configuring MySQL for your workload
21
22. Configuring MySQL for your workload
The my.cnf file
Innodb should be the default storage engine
• innodb_file_per_table = 1
• log_bin = <directory where binary log files live>
• Cache (query caches and other caches)
– binlog_cache_size
– thread_cache_size
– query_cache_size
– query_cache_limit
22
23. Configuring MySQL for your workload
cont.
• Buffers
– innodb_buffer_pool - VERY important. Probably one of the most
important configuration options. The bigger you can make this,
the better. 80% of available memory is a good starting point. If
you have 128 GB+ memory available on your machine, you may
even be able to push it higher (90%)
You can make this too big. If your entire dataset can fit into
the inoodb_buffer_pool, it’s probably too big.
23
24. Configuring MySQL for your workload
cont.
• Storage
– If you have the option, store your data and binary log files on
separate physical disks
“But I don’t want to read all the documentation. I just want
to get started with a good, solid configuration file that
meets my needs.”
• Percona configuration tool – https://tools.percona.com/
24
25. Optimizing MySQL for Cascade Server
• Who is this presentation for?
• What we won’t cover today
• Terminology
• Hardware requirements
• Which version of MySQL to run
• Which flavor of MySQL to run
• Default MySQL configuration
• Configuring MySQL for your workload
• Tools for testing
25
26. Tools for testing
• Hardware monitoring – Vmware vSphere web client
– If you have the option, store your data and binary log files on
separate physical disks
26
27. Tools for testing cont.
• Monitoring MySQL
– MySQL Workbench - http://mysqlworkbench.org/
27
28. Tools for testing cont.
• jmeter – Open Source load testing tool written in java
- http://jmeter.apache.org/
28
29. Tools for testing cont.
• Blazemeter – jmeter in the cloud.
• http://blazemeter.com
29
30. Optimizing MySQL for Cascade Server
• Who is this presentation for?
• What we won’t cover today
• Terminology
• Hardware requirements
• Which version of MySQL to run
• Which flavor of MySQL to run
• Default MySQL configuration
• Configuring MySQL for your workload
• Tools for testing
• Testing and results
30
32. Testing and results cont.
• MySQL Setup
– Default MySQL server configuration (Hannon Hill
recommendations)
• cascade-test-stripped.cnf
– My configuration
• cascade-my-test.cnf (most comments have been stripped out)
– Cascade database configuration options – Can be set at
database creation/restore, or using ALTER TABLE
• KEY_BLOCK_SIZE
– 16K
– 8K
– 4K
– 2K or 1K – Not tested. Not useful for a Cascade database instance. Row sizes
won’t compress.
32
33. Testing and results cont.
• Storage testing
– Examine the file sizes of the .ibd (innodb) files. These are the
storage files for the data and indexes for each table. The size
shown in the OS corresponds to how much space each table is
taking.
– Could determine this through MySQL system tables, but results
would be comparable and it would take more time.
– Use ALTER TABLE to change all tables
• KEY_BLOCK_SIZE=16
• KEY_BLOCK_SIZE=8
• KEY_BLOCK_SIZE=4
33
35. Testing and results cont.
• Load testing
– jmeter running on a 27” iMac, Quad Core, 32 GB RAM
• Allocated 10GB memory, otherwise it crashes
– Test plan - Cascade-Test.jmx
• 20 minute test
• 10 minute ramp up time
• 15 users
• Login, publishing (pages and directories), editing, opening, changing sites,
deleting messages, logoff
• Plan was to exercise Cascade with a typical number of active users (15)
and different MySQL configurations.
35
36. Testing and results cont.
• Load testing results
– KEY_BLOCK_SIZE=16, 30 users
• Too many errors
– KEY_BLOCK_SIZE=16, 15 users
• 346.5 ms average. response time
– KEY_BLOCK_SIZE=8, 15 users
• 339.5 ms average response time
– KEY_BLOCK_SIZE=4, 15 users (single run)
• 331 ms average response time
– KEY_BLOCK_SIZE=16, 15 users, minimal configuration
• 389 ms average response time
Note: I didn’t test compression on the minimal configuration, as it
wasn’t enabled.
36
37. Optimizing MySQL for Cascade Server
• Who is this presentation for?
• What we won’t cover today
• Terminology
• Hardware requirements
• Which version of MySQL to run
• Which flavor of MySQL to run
• Default MySQL configuration
• Configuring MySQL for your workload
• Tools for testing
• Testing and results
• Questions
37
38. Optimizing MySQL for Cascade Server
• Who is this presentation for?
• What we won’t cover today
• Terminology
• Hardware requirements
• Which version of MySQL to run
• Which flavor of MySQL to run
• Default MySQL configuration
• Configuring MySQL for your workload
• Tools for testing
• Testing and results
• Questions
• Resources
38
39. Resources
• Book
– High Performance MySQL, 3rd Edition - Baron Schwartz, Peter
Zaitsev, and Vadim Tkachenko
– http://www.highperfmysql.com/
• Percona
– http://www.percona.com/
– Percona Tools https://tools.percona.com/
– YouTube https://www.youtube.com/user/PerconaMySQL
• MariaDB
– https://mariadb.org/
• Oracle MySQL
– http://dev.mysql.com/doc/refman/5.5/en/ - Best overall
documentation
39