The document discusses managing and tuning MySQL. It covers tuning considerations for go-live, planning for outages, upgrading MySQL, using the MySQL Performance Schema to identify bottlenecks and problematic queries, and monitoring metrics to tune performance.
The MySQL sys schema was integrated fully into MySQL Server from version 5.7.7. Whether you are a DBA trying to determine where the resources are being used on your database instance and by whom, or a developer trying to figure out why your MySQL statements are running too slowly, the MySQL sys schema can help. Join this session to learn how to better use the MySQL sys schema to answer your day-to-day questions—from the original developer of the MySQL sys schema. The MySQL sys schema was integrated fully into MySQL Server from version 5.7.7. Whether you are a DBA trying to determine where the resources are being used on your database instance and by whom, or a developer trying to figure out why your MySQL statements are running too slowly, the MySQL sys schema can help. Join this session to learn how to better use the MySQL sys schema to answer your day-to-day questions—from the original developer of the MySQL sys schema.
The 5.5 and 5.6 releases of MySQL introduce several new mechanisms that provide improved monitoring and performance tuning functionality. Examples are performance schemas, InnoDB metrics tables, optimizer trace, and extended explain functionality. This session outlines the vision for monitoring-related functionality in MySQL and presents an overview of the new mechanisms. It shows how these are integrated with MySQL management tools. Furthermore, it discusses how these mechanisms can be utilized by application developers, DBAs, and production engineers for tracking down performance issues and monitoring production systems.
The MySQL sys schema was integrated fully into MySQL Server from version 5.7.7 and has been improved in MySQL 8.0. Whether you are a DBA trying to determine where the resources are being used on your database instance and by whom, or a developer trying to figure out why your MySQL statements are running too slowly, the MySQL sys schema can help. Join this session to learn how to better use the MySQL sys schema to answer your day-to-day questions—from the original developer of the MySQL sys schema.
The MySQL sys schema was integrated fully into MySQL Server from version 5.7.7. Whether you are a DBA trying to determine where the resources are being used on your database instance and by whom, or a developer trying to figure out why your MySQL statements are running too slowly, the MySQL sys schema can help. Join this session to learn how to better use the MySQL sys schema to answer your day-to-day questions—from the original developer of the MySQL sys schema. The MySQL sys schema was integrated fully into MySQL Server from version 5.7.7. Whether you are a DBA trying to determine where the resources are being used on your database instance and by whom, or a developer trying to figure out why your MySQL statements are running too slowly, the MySQL sys schema can help. Join this session to learn how to better use the MySQL sys schema to answer your day-to-day questions—from the original developer of the MySQL sys schema.
The 5.5 and 5.6 releases of MySQL introduce several new mechanisms that provide improved monitoring and performance tuning functionality. Examples are performance schemas, InnoDB metrics tables, optimizer trace, and extended explain functionality. This session outlines the vision for monitoring-related functionality in MySQL and presents an overview of the new mechanisms. It shows how these are integrated with MySQL management tools. Furthermore, it discusses how these mechanisms can be utilized by application developers, DBAs, and production engineers for tracking down performance issues and monitoring production systems.
The MySQL sys schema was integrated fully into MySQL Server from version 5.7.7 and has been improved in MySQL 8.0. Whether you are a DBA trying to determine where the resources are being used on your database instance and by whom, or a developer trying to figure out why your MySQL statements are running too slowly, the MySQL sys schema can help. Join this session to learn how to better use the MySQL sys schema to answer your day-to-day questions—from the original developer of the MySQL sys schema.
The MySQL sys schema was integrated fully into MySQL Server from version 5.7.7. Whether you are a DBA trying to determine where the resources are being used on your database instance and by whom, or a developer trying to figure out why your MySQL statements are running too slowly, the MySQL sys schema can help. Join this session to learn how to better use the MySQL sys schema to answer your day-to-day questions—from the original developer of the MySQL sys schema.
Oracle Traffic Director - a vital part of your Oracle infrastructureSimon Haslam
Load balancing is a critical, but widely overlooked, component of a resilient Fusion Middleware platform. Oracle's premium product in this area is called Traffic Director (OTD), which is a software load balancer, something akin to BIG-IP VE or NetScaler VPX. Previously OTD has only been available on Exalogic or the Oracle Database Appliance (ODA) but, as from the Fusion Middleware 12.2.1 release last October, it is now available on conventional systems as part of the WebLogic multi-tenant license. Therefore, sooner or later, many Oracle infrastructure specialists are likely to have to configure OTD.This presentation will describe the architecture of OTD, the administration differences between 11g and 12c, how it is used on Exalogic and ODA, and how it fits into the wider WebLogic world. We will use examples for SOA, Enterprise Manager and plain WebLogic clusters to highlight OTD features.
This presentaiton was first given by Simon Haslam (eProseed UK) and Jacco Landlust (ING) at the OGh Fusion Middleware Experience event in February 2016.
Zero Downtime for Oracle E-Business Suite on Oracle ExalogicPaulo Fagundes
The following is intended to outline our general product direction. It is intended for
information purposes only, and may not be incorporated into any contract. It is not a
commitment to deliver any material, code, or functionality, and should not be relied upon
in making purchasing decisions. The development, release, and timing of any features or
functionality described for Oracle’s products remains at the sole discretion of Oracle.
Oracle RAC BP for Upgrade & More by Anil Nair and Markus MichalewiczMarkus Michalewicz
This presentation provides reasons and best practices (BP) guidance on when and how to best upgrade to Oracle RAC 12c. It will consider the currently supported patch sets as well as new features that might make it interesting to upgrade at least step by step (Oracle Grid Infrastructure first, then the Oracle Database). Concrete step-by-steps, code and other examples can be found in the appendixes, of which appendix B - "Enhanced OJVM Patching steps" might be of particular interest after going through appendix A: "Grid Infrastructure Upgrade".
Getting to Know MySQL Enterprise MonitorMark Leith
MySQL Enterprise Monitor is the monitoring and management solution for DBAs and developers delivered as part of MySQL Enterprise Edition. It provides background monitoring, alerting, trending, and analysis of the MySQL database and the statement traffic that is running within it.
View this session to learn how to install/configure, customize, and use MySQL Enterprise Monitor to suit your environment. Whether you use a single server or have hundreds of instances, MySQL Enterprise Monitor can provide great insights into how your environment is performing.
Oracle Open World 2014 presentation [CON8127] on Maximizing Oracle RAC Uptime. This presentation discusses tools integrated into the Oracle RAC Stack and shows which tools to use in the various stages of the system's lifecycle to ensure smooth operation.
Using Machine Learning to Debug Oracle RAC IssuesAnil Nair
This deck was used at UKOUG 2018 to explain how Oracle Real Application Clusters (RAC) uses Machine Learning to make the job of Database Administrators easier.
SQL Query Tuning: The Legend of Drunken Query MasterZendCon
Once upon a time, a young application developer embarked on a journey to master the art of database application tuning. Her path led to studying at the feet of the Drunken Query Master. After years studying the arts of join-fu and table-kee-do, she returned to her home. Jay has catalogued the lessons she learned from the Drunken Query Master and shares her knowledge with tutorial goers.
The MySQL sys schema was integrated fully into MySQL Server from version 5.7.7. Whether you are a DBA trying to determine where the resources are being used on your database instance and by whom, or a developer trying to figure out why your MySQL statements are running too slowly, the MySQL sys schema can help. Join this session to learn how to better use the MySQL sys schema to answer your day-to-day questions—from the original developer of the MySQL sys schema.
Oracle Traffic Director - a vital part of your Oracle infrastructureSimon Haslam
Load balancing is a critical, but widely overlooked, component of a resilient Fusion Middleware platform. Oracle's premium product in this area is called Traffic Director (OTD), which is a software load balancer, something akin to BIG-IP VE or NetScaler VPX. Previously OTD has only been available on Exalogic or the Oracle Database Appliance (ODA) but, as from the Fusion Middleware 12.2.1 release last October, it is now available on conventional systems as part of the WebLogic multi-tenant license. Therefore, sooner or later, many Oracle infrastructure specialists are likely to have to configure OTD.This presentation will describe the architecture of OTD, the administration differences between 11g and 12c, how it is used on Exalogic and ODA, and how it fits into the wider WebLogic world. We will use examples for SOA, Enterprise Manager and plain WebLogic clusters to highlight OTD features.
This presentaiton was first given by Simon Haslam (eProseed UK) and Jacco Landlust (ING) at the OGh Fusion Middleware Experience event in February 2016.
Zero Downtime for Oracle E-Business Suite on Oracle ExalogicPaulo Fagundes
The following is intended to outline our general product direction. It is intended for
information purposes only, and may not be incorporated into any contract. It is not a
commitment to deliver any material, code, or functionality, and should not be relied upon
in making purchasing decisions. The development, release, and timing of any features or
functionality described for Oracle’s products remains at the sole discretion of Oracle.
Oracle RAC BP for Upgrade & More by Anil Nair and Markus MichalewiczMarkus Michalewicz
This presentation provides reasons and best practices (BP) guidance on when and how to best upgrade to Oracle RAC 12c. It will consider the currently supported patch sets as well as new features that might make it interesting to upgrade at least step by step (Oracle Grid Infrastructure first, then the Oracle Database). Concrete step-by-steps, code and other examples can be found in the appendixes, of which appendix B - "Enhanced OJVM Patching steps" might be of particular interest after going through appendix A: "Grid Infrastructure Upgrade".
Getting to Know MySQL Enterprise MonitorMark Leith
MySQL Enterprise Monitor is the monitoring and management solution for DBAs and developers delivered as part of MySQL Enterprise Edition. It provides background monitoring, alerting, trending, and analysis of the MySQL database and the statement traffic that is running within it.
View this session to learn how to install/configure, customize, and use MySQL Enterprise Monitor to suit your environment. Whether you use a single server or have hundreds of instances, MySQL Enterprise Monitor can provide great insights into how your environment is performing.
Oracle Open World 2014 presentation [CON8127] on Maximizing Oracle RAC Uptime. This presentation discusses tools integrated into the Oracle RAC Stack and shows which tools to use in the various stages of the system's lifecycle to ensure smooth operation.
Using Machine Learning to Debug Oracle RAC IssuesAnil Nair
This deck was used at UKOUG 2018 to explain how Oracle Real Application Clusters (RAC) uses Machine Learning to make the job of Database Administrators easier.
SQL Query Tuning: The Legend of Drunken Query MasterZendCon
Once upon a time, a young application developer embarked on a journey to master the art of database application tuning. Her path led to studying at the feet of the Drunken Query Master. After years studying the arts of join-fu and table-kee-do, she returned to her home. Jay has catalogued the lessons she learned from the Drunken Query Master and shares her knowledge with tutorial goers.
Join-fu is the art of performance-tuning your application's SQL. Join Jay in a fun, irreverent look at the common ways application developers misuse and abuse their database.
Tuning Linux for your database FLOSSUK 2016Colin Charles
Some best practices about tuning Linux for your database workloads. The focus is not just on MySQL or MariaDB Server but also on understanding the OS from hardware/cloud, I/O, filesystems, memory, CPU, network, and resources.
Webinar slides: MySQL Query Tuning Trilogy: Working with optimizer and SQL tu...Severalnines
This is the final part of our webinar trilogy on MySQL Query Tuning, in which we looked at query tuning process and tools to help with that. We’ve covered topics such as SQL tuning, indexing, the optimizer and how to leverage EXPLAIN to gain insight into execution plans. Part 3: Working with the optimizer and SQL tuning.
AGENDA
Optimizer
- How execution plans are calculated
- InnoDB statistics
Hinting the optimizer
- Index hints
- JOIN order modifications
- Tweakable optimizations
Optimizing SQL
SPEAKER
Krzysztof Książek, Senior Support Engineer at Severalnines, is a MySQL DBA with experience managing complex database environments for companies like Zendesk, Chegg, Pinterest and Flipboard.
15 Ways to Kill Your Mysql Application Performanceguest9912e5
Jay is the North American Community Relations Manager at MySQL. Author of Pro MySQL, Jay has also written articles for Linux Magazine and regularly assists software developers in identifying how to make the most effective use of MySQL. He has given sessions on performance tuning at the MySQL Users Conference, RedHat Summit, NY PHP Conference, OSCON and Ohio LinuxFest, among others.In his abundant free time, when not being pestered by his two needy cats and two noisy dogs, he daydreams in PHP code and ponders the ramifications of __clone().
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
At Percona Live in April 2016, Red Hat's Kyle Bader reviewed the general architecture of Ceph and then discussed the results of a series of benchmarks done on small to mid-size Ceph clusters, which led to the development of prescriptive guidance around tuning Ceph storage nodes (OSDs).
Using MySQL Enterprise Monitor for Continuous Performance ImprovementMark Matthews
MySQL Enterprise Monitor is built from the ground up to support DevOps DBAs and developers. From five scenarios based on real-world issues encountered by customers, learn how you can use the power features of query analysis and statistical visualization in MySQL Enterprise Monitor to diagnose and fix MySQL performance problems. Then learn how to apply these features in a continuous fashion as a valuable addition to your DevOps toolbox.
Performance Schema and Sys Schema in MySQL 5.7Mark Leith
MySQL 5.7 now includes the Sys Schema by default, which builds upon the awesome instrumentation framework laid by Performance Schema.
Performance Schema has had 23 worklogs completed in 5.7 alone, such as memory instrumentation, tying in transactions and stored programs in to the current statement/stage/wait instruments and wait graph, prepared statement instruments, metadata lock information, improved session status and variable reporting, the new structured replication tables, and more.
The Sys schema builds upon this strong foundation with easy reporting views and functions, as well as procedures to help both set up and manage the configuration of Performance Schema, and help diagnose performance issues with your database instances on the whole.
Come along and hear from the original developer of the Sys schema about all of these exciting improvements in MySQL instrumentation for the upcoming MySQL 5.7 release!
Introduction to Distributed Computing & Distributed DatabasesShankar Iyer
Introduces Distributed Databases to students, presents key Distributed Computing theory and how that applies to Distributed Databases architecture and implementation
20190615 hkos-mysql-troubleshootingandperformancev2Ivan Ma
MySQL Troubleshooting in Hong Kong Open Source Conference 2019 - how to use sys.diagnostics(...) and using the dimitri (http://dimitrik.free.fr/) Tools for performance analysis.
Managing Oracle Solaris Systems with Puppetglynnfoster
This presentation covers how to manage Oracle Solaris systems using Puppet. In this presentation we will cover the challenges facing the data center today, what Puppet is, and detail some of the work that was done to integrate Puppet with the core technology foundations included in the Oracle Solaris platform
MySql's NoSQL -- best of both worlds on the same disksDave Stokes
Get the best of both worlds -- SQL access and NoSQL access to the same data using the Memcached protocol. 9x faster than regular SQL, the Memcached protocol use allows applications to drink from the fire hose. Plus now your cache can be stored permanently. Easy and simple to implement.
UiPath Test Automation using UiPath Test Suite series, part 5DianaGray10
Welcome to UiPath Test Automation using UiPath Test Suite series part 5. In this session, we will cover CI/CD with devops.
Topics covered:
CI/CD with in UiPath
End-to-end overview of CI/CD pipeline with Azure devops
Speaker:
Lyndsey Byblow, Test Suite Sales Engineer @ UiPath, Inc.
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfPaige Cruz
Monitoring and observability aren’t traditionally found in software curriculums and many of us cobble this knowledge together from whatever vendor or ecosystem we were first introduced to and whatever is a part of your current company’s observability stack.
While the dev and ops silo continues to crumble….many organizations still relegate monitoring & observability as the purview of ops, infra and SRE teams. This is a mistake - achieving a highly observable system requires collaboration up and down the stack.
I, a former op, would like to extend an invitation to all application developers to join the observability party will share these foundational concepts to build on:
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024Neo4j
Neha Bajwa, Vice President of Product Marketing, 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.
UiPath Test Automation using UiPath Test Suite series, part 6DianaGray10
Welcome to UiPath Test Automation using UiPath Test Suite series part 6. In this session, we will cover Test Automation with generative AI and Open AI.
UiPath Test Automation with generative AI and Open AI webinar offers an in-depth exploration of leveraging cutting-edge technologies for test automation within the UiPath platform. Attendees will delve into the integration of generative AI, a test automation solution, with Open AI advanced natural language processing capabilities.
Throughout the session, participants will discover how this synergy empowers testers to automate repetitive tasks, enhance testing accuracy, and expedite the software testing life cycle. Topics covered include the seamless integration process, practical use cases, and the benefits of harnessing AI-driven automation for UiPath testing initiatives. By attending this webinar, testers, and automation professionals can gain valuable insights into harnessing the power of AI to optimize their test automation workflows within the UiPath ecosystem, ultimately driving efficiency and quality in software development processes.
What will you get from this session?
1. Insights into integrating generative AI.
2. Understanding how this integration enhances test automation within the UiPath platform
3. Practical demonstrations
4. Exploration of real-world use cases illustrating the benefits of AI-driven test automation for UiPath
Topics covered:
What is generative AI
Test Automation with generative AI and Open AI.
UiPath integration with generative AI
Speaker:
Deepak Rai, Automation Practice Lead, Boundaryless Group and UiPath MVP
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex ProofsAlex Pruden
This paper presents Reef, a system for generating publicly verifiable succinct non-interactive zero-knowledge proofs that a committed document matches or does not match a regular expression. We describe applications such as proving the strength of passwords, the provenance of email despite redactions, the validity of oblivious DNS queries, and the existence of mutations in DNA. Reef supports the Perl Compatible Regular Expression syntax, including wildcards, alternation, ranges, capture groups, Kleene star, negations, and lookarounds. Reef introduces a new type of automata, Skipping Alternating Finite Automata (SAFA), that skips irrelevant parts of a document when producing proofs without undermining soundness, and instantiates SAFA with a lookup argument. Our experimental evaluation confirms that Reef can generate proofs for documents with 32M characters; the proofs are small and cheap to verify (under a second).
Paper: https://eprint.iacr.org/2023/1886
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...DanBrown980551
Do you want to learn how to model and simulate an electrical network from scratch in under an hour?
Then welcome to this PowSyBl workshop, hosted by Rte, the French Transmission System Operator (TSO)!
During the webinar, you will discover the PowSyBl ecosystem as well as handle and study an electrical network through an interactive Python notebook.
PowSyBl is an open source project hosted by LF Energy, which offers a comprehensive set of features for electrical grid modelling and simulation. Among other advanced features, PowSyBl provides:
- A fully editable and extendable library for grid component modelling;
- Visualization tools to display your network;
- Grid simulation tools, such as power flows, security analyses (with or without remedial actions) and sensitivity analyses;
The framework is mostly written in Java, with a Python binding so that Python developers can access PowSyBl functionalities as well.
What you will learn during the webinar:
- For beginners: discover PowSyBl's functionalities through a quick general presentation and the notebook, without needing any expert coding skills;
- For advanced developers: master the skills to efficiently apply PowSyBl functionalities to your real-world scenarios.
DevOps and Testing slides at DASA ConnectKari Kakkonen
My and Rik Marselis slides at 30.5.2024 DASA Connect conference. We discuss about what is testing, then what is agile testing and finally what is Testing in DevOps. Finally we had lovely workshop with the participants trying to find out different ways to think about quality and testing in different parts of the DevOps infinity loop.
Sudheer Mechineni, Head of Application Frameworks, Standard Chartered Bank
Discover how Standard Chartered Bank harnessed the power of Neo4j to transform complex data access challenges into a dynamic, scalable graph database solution. This keynote will cover their journey from initial adoption to deploying a fully automated, enterprise-grade causal cluster, highlighting key strategies for modelling organisational changes and ensuring robust disaster recovery. Learn how these innovations have not only enhanced Standard Chartered Bank’s data infrastructure but also positioned them as pioneers in the banking sector’s adoption of graph technology.
Removing Uninteresting Bytes in Software FuzzingAftab Hussain
Imagine a world where software fuzzing, the process of mutating bytes in test seeds to uncover hidden and erroneous program behaviors, becomes faster and more effective. A lot depends on the initial seeds, which can significantly dictate the trajectory of a fuzzing campaign, particularly in terms of how long it takes to uncover interesting behaviour in your code. We introduce DIAR, a technique designed to speedup fuzzing campaigns by pinpointing and eliminating those uninteresting bytes in the seeds. Picture this: instead of wasting valuable resources on meaningless mutations in large, bloated seeds, DIAR removes the unnecessary bytes, streamlining the entire process.
In this work, we equipped AFL, a popular fuzzer, with DIAR and examined two critical Linux libraries -- Libxml's xmllint, a tool for parsing xml documents, and Binutil's readelf, an essential debugging and security analysis command-line tool used to display detailed information about ELF (Executable and Linkable Format). Our preliminary results show that AFL+DIAR does not only discover new paths more quickly but also achieves higher coverage overall. This work thus showcases how starting with lean and optimized seeds can lead to faster, more comprehensive fuzzing campaigns -- and DIAR helps you find such seeds.
- These are slides of the talk given at IEEE International Conference on Software Testing Verification and Validation Workshop, ICSTW 2022.
GraphRAG is All You need? LLM & Knowledge GraphGuy Korland
Guy Korland, CEO and Co-founder of FalkorDB, will review two articles on the integration of language models with knowledge graphs.
1. Unifying Large Language Models and Knowledge Graphs: A Roadmap.
https://arxiv.org/abs/2306.08302
2. Microsoft Research's GraphRAG paper and a review paper on various uses of knowledge graphs:
https://www.microsoft.com/en-us/research/blog/graphrag-unlocking-llm-discovery-on-narrative-private-data/
How to Get CNIC Information System with Paksim Ga.pptxdanishmna97
Pakdata Cf is a groundbreaking system designed to streamline and facilitate access to CNIC information. This innovative platform leverages advanced technology to provide users with efficient and secure access to their CNIC details.
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...James Anderson
Effective Application Security in Software Delivery lifecycle using Deployment Firewall and DBOM
The modern software delivery process (or the CI/CD process) includes many tools, distributed teams, open-source code, and cloud platforms. Constant focus on speed to release software to market, along with the traditional slow and manual security checks has caused gaps in continuous security as an important piece in the software supply chain. Today organizations feel more susceptible to external and internal cyber threats due to the vast attack surface in their applications supply chain and the lack of end-to-end governance and risk management.
The software team must secure its software delivery process to avoid vulnerability and security breaches. This needs to be achieved with existing tool chains and without extensive rework of the delivery processes. This talk will present strategies and techniques for providing visibility into the true risk of the existing vulnerabilities, preventing the introduction of security issues in the software, resolving vulnerabilities in production environments quickly, and capturing the deployment bill of materials (DBOM).
Speakers:
Bob Boule
Robert Boule is a technology enthusiast with PASSION for technology and making things work along with a knack for helping others understand how things work. He comes with around 20 years of solution engineering experience in application security, software continuous delivery, and SaaS platforms. He is known for his dynamic presentations in CI/CD and application security integrated in software delivery lifecycle.
Gopinath Rebala
Gopinath Rebala is the CTO of OpsMx, where he has overall responsibility for the machine learning and data processing architectures for Secure Software Delivery. Gopi also has a strong connection with our customers, leading design and architecture for strategic implementations. Gopi is a frequent speaker and well-known leader in continuous delivery and integrating security into software delivery.
Threats to mobile devices are more prevalent and increasing in scope and complexity. Users of mobile devices desire to take full advantage of the features
available on those devices, but many of the features provide convenience and capability but sacrifice security. This best practices guide outlines steps the users can take to better protect personal devices and information.
24. Hardware:
The
Perfect
MySQL
Server
• The
more
cores
the
beXer
(especially
for
5.5
and
later)
• x86_64
-‐
64
bit
for
more
memory
is
important
– The
more
the
beXer
• Fast
HD
(10-‐15k
RPM
SATA)
or
NAS/SAN……
– RAID
10
for
most,
RAID
5
OK
if
very
read
intensive
– Hardware
RAID
baXery
backed
up
cache
criFcal!
– More
disks
are
always
beXer!
-‐
4+
recommended,
8-‐16
can
increase
IO
• …Or
SSD
(for
higher
throughput)
– Intel,
Fusion-‐IO
good
choices;
good
opFon
for
Slaves
• At
least
2
x
NICs
for
redundancy
• Slaves
should
be
as
powerful
as
the
Master
25. Config
OpFons
The
MySQL
server
is
controlled
by
System
Variables
• Set
Via:
– my.cnf
/
my.ini
– SET
[GLOBAL]
<variable>=<value>
– client,
i.e
mysql
• Can
be
local
(session)
or
global
The World s Most Popular Open Source DatabaseCopyright 2010 Oracle
26. The World s Most Popular Open Source DatabaseCopyright 2010 Oracle
Schemas
• Size
=
performance,
smaller
is
beXer
– Size
right!
Do
not
automaFcally
use
255
for
VARCHAR
• Temp
tables,
most
caches,
expand
to
full
size
• Use
procedure
analyse
to
determine
the
opFmal
types
given
the
values
in
your
table
– hXp://dev.mysql.com/doc/refman/5.1/en/procedure-‐analyse.html
– mysql>
select
*
from
tab
procedure
analyse
(64,2000)
G
• Consider
the
types:
– enum
:
hXp://dev.mysql.com/doc/refman/5.1/en/enum.html
– set
:
hXp://dev.mysql.com/doc/refman/5.1/en/set.html
• Compress
large
strings
– Use
the
MySQL
COMPRESS
and
UNCOMPRESS
funcFons
27. The World s Most Popular Open Source DatabaseCopyright 2010 Oracle
InnoDB
Tuning
• Unlike
MyISAM
-‐
InnoDB
uses
a
single
cache
for
both
index
and
data
– innodb_buffer_pool_size
-‐
should
be
70-‐80%
of
available
memory.
– It
is
not
uncommon
for
this
to
be
very
large,
i.e.
34GB
on
a
system
with
40GB
of
memory
– Make
sure
its
not
set
so
large
as
to
cause
swapping!
– mysql>show
status
like
'Innodb_buffer%'
;
• InnoDB
can
use
direct
IO
on
systems
that
support
it
-‐
Linux,
FreeBSD,
and
Solaris
– innodb_flush_method
=
O_DIRECT
• For
more
InnoDB
tuning
see
– hXp://dev.mysql.com/doc/refman/5.1/en/innodb-‐tuning-‐troubleshooFng.html
28. A
Virtual
MySQL
DBA
Assistant!
§ Web-‐based,
global
view
of
MySQL/
Cluster
applicaFons
(on-‐premise
and
Cloud
deployments)
§ Automated,
rules-‐based
monitoring
and
alerts
(SMTP,
SNMP
enabled)
§ Query
capture,
monitoring,
analysis
and
tuning,
correlated
with
Monitor
graphs
§ Real-‐Fme
ReplicaFon
Monitor
with
auto-‐discovery
of
master-‐slave
topologies
§ Integrated
with
Oracle
Support
MySQL
Enterprise
Monitor