This document discusses MySQL features for the enterprise. It provides an overview of MySQL main features including ease of use, reliability, performance and scalability. It summarizes new features in MySQL 5.5 like the InnoDB storage engine being default, the performance schema for monitoring, and enhancements to partitioning. It also discusses leveraging replication for tasks like backup, analytics and partitioning strategies.
Tanel Poder - Performance stories from Exadata MigrationsTanel Poder
Tanel Poder has been involved in a number of Exadata migration projects since its introduction, mostly in the area of performance ensurance, troubleshooting and capacity planning.
These slides, originally presented at UKOUG in 2010, cover some of the most interesting challenges, surprises and lessons learnt from planning and executing large Oracle database migrations to Exadata v2 platform.
This material is not just repeating the marketing material or Oracle's official whitepapers.
Tanel Poder - Performance stories from Exadata MigrationsTanel Poder
Tanel Poder has been involved in a number of Exadata migration projects since its introduction, mostly in the area of performance ensurance, troubleshooting and capacity planning.
These slides, originally presented at UKOUG in 2010, cover some of the most interesting challenges, surprises and lessons learnt from planning and executing large Oracle database migrations to Exadata v2 platform.
This material is not just repeating the marketing material or Oracle's official whitepapers.
Database as a Service on the Oracle Database Appliance PlatformMaris Elsins
Speaker: Marc Fielding, Co-speaker: Maris Elsins.
Oracle Database Appliance provides a robust, highly-available, cost-effective, and surprisingly scalable platform for database as a service environment. By leveraging Oracle Enterprise Manager's self-service features, databases can be provisioned on a self-service basis to a cluster of Oracle Database Appliance machines. Discover how multiple ODA devices can be managed together to provide both high availability and incremental, cost-effective scalability. Hear real-world lessons learned from successful database consolidation implementations.
SharePoint Performance Monitoring with Sean P. McDonoughGabrijela Orsag
We teamed up with a real SharePoint expert and a Microsoft MVP, Sean Patrick McDonough, to bring you yet another free educational webinar.
This session will deep dive into SharePoint server monitoring with detailed lecture and live demo presenting the most important use cases.
What will you learn?
- Monitor specific SharePoint roles by tracking their performance counters
- Track services and SharePoint site metrics
- Detect changes in SharePoint server configuration
- Receive real-time alerts for any potential issues in your environment
- Reduce your page load times by detecting and fixing problematic SharePoint services
https://www.syskit.com/products/monitor/
Tanel Poder Oracle Scripts and Tools (2010)Tanel Poder
Tanel Poder's Oracle Performance and Troubleshooting Scripts & Tools presentation initially presented at Hotsos Symposium Training Day back in year 2010
Best and worst practices deploying IBM ConnectionsLetsConnect
Depending on deployment size, operating system and security considerations you have different options to configure IBM Connections. This session will show good and bad examples on how to do it from multiple customer deployments. We will describe things we found and how you can optimize your systems. Main topics include simple (documented) tasks that should be applied, missing documentation, automated user synchronization, TDI solutions and user synchronization, performance tuning, security optimizing and planning Single Sign On for mail, IBM Sametime and SPNEGO. This is valuable information that will help you to be successful in your next IBM Connections deployment project. Don’t miss it.
End-to-end Troubleshooting Checklist for Microsoft SQL ServerKevin Kline
Learning how to detect, diagnose and resolve performance problems in SQL Server is tough. Often, years are spent learning how to use the tools and techniques that help you detect when a problem is occurring, diagnose the root-cause of the problem, and then resolve the problem.
In this session, attendees will see demonstrations of the tools and techniques which make difficult troubleshooting scenarios much faster and easier, including:
• XEvents, Profiler/Traces, and PerfMon
• Using Dynamic Management Views (DMVs)
• Advanced Diagnostics Using Wait Stats
• Reading SQL Server execution plan
Every DBA needs to know how to keep their SQL Server in tip-top condition, and you’ll need skills the covered in this session to do it.
DB12c: All You Need to Know About the Resource ManagerMaris Elsins
This presentation is different from the previous uploads as SLOB was used for the testing.
Oracle Database 12c Multitenant provides the highest level of Oracle Database resource efficiency, driven by an improved resource manager. The 12c resource manager effectively allocates resources both within a single database and between multiple pluggable databases in a container. This presentation will review new features of the 12c resource manager, provide guidelines for migration of your current resource management plan to 12c, and will also look into how much overhead the resource manager introduces.
[Session given at Engage 2019, Brussels, 15 May 2019]
In this session, Tim Davis (Technical Director at The Turtle Partnership Ltd) takes you through the new Domino Query Language (DQL), how it works, and how to use it in LotusScript, in Java, and in the new domino-db Node.js module. Introduced in Domino 10, DQL provides a simple, efficient and powerful search facility for accessing Domino documents. Originally only used in the domino-db Node.js module, with 10.0.1 DQL also became available to both LotusScript and Java. This presentation will provide code examples in all three languages, ensuring you will come away with a good understanding of DQL and how to use it in your projects.
The 5 Minute DBA-DBA Skills for Non-DBApercona2013
The presentation provides you with the essential tips to ensure that your database runs smoothly if you are pressed for time.
Percona provides an in-depth review of your database and recommends appropriate changes by performing a complete MySQL health check in which we identify inefficiencies, find problems before they occur, and ensure that your MySQL database is in the best condition.
Tech Talk: RocksDB Slides by Dhruba Borthakur & Haobo Xu of FacebookThe Hive
This presentation describes the reasons why Facebook decided to build yet another key-value store, the vision and architecture of RocksDB and how it differs from other open source key-value stores. Dhruba describes some of the salient features in RocksDB that are needed for supporting embedded-storage deployments. He explains typical workloads that could be the primary use-cases for RocksDB. He also lays out the roadmap to make RocksDB the key-value store of choice for highly-multi-core processors and RAM-speed storage devices.
DATABASE AUTOMATION with Thousands of database, monitoring and backupSaewoong Lee
This is my presentation document at AnsibleFest 2018 in Austin, Texas.
This topic is ‘Database Automation with thousands of database, monitoring and backup’.
In this document I want to tell you database automation using Ansible.
So I expect to give more confidence to infra engineer like me.
Database as a Service on the Oracle Database Appliance PlatformMaris Elsins
Speaker: Marc Fielding, Co-speaker: Maris Elsins.
Oracle Database Appliance provides a robust, highly-available, cost-effective, and surprisingly scalable platform for database as a service environment. By leveraging Oracle Enterprise Manager's self-service features, databases can be provisioned on a self-service basis to a cluster of Oracle Database Appliance machines. Discover how multiple ODA devices can be managed together to provide both high availability and incremental, cost-effective scalability. Hear real-world lessons learned from successful database consolidation implementations.
SharePoint Performance Monitoring with Sean P. McDonoughGabrijela Orsag
We teamed up with a real SharePoint expert and a Microsoft MVP, Sean Patrick McDonough, to bring you yet another free educational webinar.
This session will deep dive into SharePoint server monitoring with detailed lecture and live demo presenting the most important use cases.
What will you learn?
- Monitor specific SharePoint roles by tracking their performance counters
- Track services and SharePoint site metrics
- Detect changes in SharePoint server configuration
- Receive real-time alerts for any potential issues in your environment
- Reduce your page load times by detecting and fixing problematic SharePoint services
https://www.syskit.com/products/monitor/
Tanel Poder Oracle Scripts and Tools (2010)Tanel Poder
Tanel Poder's Oracle Performance and Troubleshooting Scripts & Tools presentation initially presented at Hotsos Symposium Training Day back in year 2010
Best and worst practices deploying IBM ConnectionsLetsConnect
Depending on deployment size, operating system and security considerations you have different options to configure IBM Connections. This session will show good and bad examples on how to do it from multiple customer deployments. We will describe things we found and how you can optimize your systems. Main topics include simple (documented) tasks that should be applied, missing documentation, automated user synchronization, TDI solutions and user synchronization, performance tuning, security optimizing and planning Single Sign On for mail, IBM Sametime and SPNEGO. This is valuable information that will help you to be successful in your next IBM Connections deployment project. Don’t miss it.
End-to-end Troubleshooting Checklist for Microsoft SQL ServerKevin Kline
Learning how to detect, diagnose and resolve performance problems in SQL Server is tough. Often, years are spent learning how to use the tools and techniques that help you detect when a problem is occurring, diagnose the root-cause of the problem, and then resolve the problem.
In this session, attendees will see demonstrations of the tools and techniques which make difficult troubleshooting scenarios much faster and easier, including:
• XEvents, Profiler/Traces, and PerfMon
• Using Dynamic Management Views (DMVs)
• Advanced Diagnostics Using Wait Stats
• Reading SQL Server execution plan
Every DBA needs to know how to keep their SQL Server in tip-top condition, and you’ll need skills the covered in this session to do it.
DB12c: All You Need to Know About the Resource ManagerMaris Elsins
This presentation is different from the previous uploads as SLOB was used for the testing.
Oracle Database 12c Multitenant provides the highest level of Oracle Database resource efficiency, driven by an improved resource manager. The 12c resource manager effectively allocates resources both within a single database and between multiple pluggable databases in a container. This presentation will review new features of the 12c resource manager, provide guidelines for migration of your current resource management plan to 12c, and will also look into how much overhead the resource manager introduces.
[Session given at Engage 2019, Brussels, 15 May 2019]
In this session, Tim Davis (Technical Director at The Turtle Partnership Ltd) takes you through the new Domino Query Language (DQL), how it works, and how to use it in LotusScript, in Java, and in the new domino-db Node.js module. Introduced in Domino 10, DQL provides a simple, efficient and powerful search facility for accessing Domino documents. Originally only used in the domino-db Node.js module, with 10.0.1 DQL also became available to both LotusScript and Java. This presentation will provide code examples in all three languages, ensuring you will come away with a good understanding of DQL and how to use it in your projects.
The 5 Minute DBA-DBA Skills for Non-DBApercona2013
The presentation provides you with the essential tips to ensure that your database runs smoothly if you are pressed for time.
Percona provides an in-depth review of your database and recommends appropriate changes by performing a complete MySQL health check in which we identify inefficiencies, find problems before they occur, and ensure that your MySQL database is in the best condition.
Tech Talk: RocksDB Slides by Dhruba Borthakur & Haobo Xu of FacebookThe Hive
This presentation describes the reasons why Facebook decided to build yet another key-value store, the vision and architecture of RocksDB and how it differs from other open source key-value stores. Dhruba describes some of the salient features in RocksDB that are needed for supporting embedded-storage deployments. He explains typical workloads that could be the primary use-cases for RocksDB. He also lays out the roadmap to make RocksDB the key-value store of choice for highly-multi-core processors and RAM-speed storage devices.
DATABASE AUTOMATION with Thousands of database, monitoring and backupSaewoong Lee
This is my presentation document at AnsibleFest 2018 in Austin, Texas.
This topic is ‘Database Automation with thousands of database, monitoring and backup’.
In this document I want to tell you database automation using Ansible.
So I expect to give more confidence to infra engineer like me.
Unity Connect - Getting SQL Spinning with SharePoint - Best Practices for the...Knut Relbe-Moe [MVP, MCT]
Performance problems in SharePoint are most commonly caused by a poorly configured or ineffectively optimized SQL Server back end. More often than not, the SQL Server is not installed following Best Practice guidelines. In this fast-paced session, Chief Technical Architect and International speaker Knut Relbe-Moe will walk you through his top 13 tips for ensuring your SQL back end is perfectly configured and performing well for SharePoint. If you want to ensure that your SharePoint environment is great whether it's in Azure or on premises, this is the session for you to join.
Video and slides synchronized, mp3 and slide download available at URL http://bit.ly/1awkL99.
Details on Pinterest's architeture, its systems -Pinball, Frontdoor-, and stack - MongoDB, Cassandra, Memcache, Redis, Flume, Kafka, EMR, Qubole, Redshift, Python, Java, Go, Nutcracker, Puppet, etc. Filmed at qconsf.com.
Yash Nelapati is an infrastructure engineer at Pinterest where he focusses on scalability, capacity planning and architecture. Prior to Pinterest he was into web development and rapidly prototyping UI. Marty Weiner joined Pinterest in early 2011 as the 2nd engineer. Previously worked at Azul Systems as a VM engineer focused on building/improving the JIT compilers in HotSpot.
Relational databases are used extensively in many applications and systems, but they are not always the best data store solution to the problem at hand. In this session we discuss the limitations of RDBMS and show which NoSQL solutions can be used to overcome these limitations. We also cover migration topics, such as how to add NoSQL databases without adding complexity to your development and operations.
The event, held on 14th December 2017, was a technical presentation about Scaling SQLServer 2016 Databases with the following topics on the agenda:
- Partitioned Tables
- Vertical Partitioning
- Horizontal Partitioning
- Updatable Views
- Database Sharding
- Distributed Partitioned Views
https://techspark.mt/scaling-databases-14th-december-2017/
Enterprise Cloud Databases are fully managed and clustered databases tailored for production needs.
OVH takes care of all the infrastructure setup, you end up with you SQL access and are able to focus on your business.
UiPath Test Automation using UiPath Test Suite series, part 4DianaGray10
Welcome to UiPath Test Automation using UiPath Test Suite series part 4. In this session, we will cover Test Manager overview along with SAP heatmap.
The UiPath Test Manager overview with SAP heatmap webinar offers a concise yet comprehensive exploration of the role of a Test Manager within SAP environments, coupled with the utilization of heatmaps for effective testing strategies.
Participants will gain insights into the responsibilities, challenges, and best practices associated with test management in SAP projects. Additionally, the webinar delves into the significance of heatmaps as a visual aid for identifying testing priorities, areas of risk, and resource allocation within SAP landscapes. Through this session, attendees can expect to enhance their understanding of test management principles while learning practical approaches to optimize testing processes in SAP environments using heatmap visualization techniques
What will you get from this session?
1. Insights into SAP testing best practices
2. Heatmap utilization for testing
3. Optimization of testing processes
4. Demo
Topics covered:
Execution from the test manager
Orchestrator execution result
Defect reporting
SAP heatmap example with demo
Speaker:
Deepak Rai, Automation Practice Lead, Boundaryless Group and UiPath MVP
The Art of the Pitch: WordPress Relationships and SalesLaura Byrne
Clients don’t know what they don’t know. What web solutions are right for them? How does WordPress come into the picture? How do you make sure you understand scope and timeline? What do you do if sometime changes?
All these questions and more will be explored as we talk about matching clients’ needs with what your agency offers without pulling teeth or pulling your hair out. Practical tips, and strategies for successful relationship building that leads to closing the deal.
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...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.
State of ICS and IoT Cyber Threat Landscape Report 2024 previewPrayukth K V
The IoT and OT threat landscape report has been prepared by the Threat Research Team at Sectrio using data from Sectrio, cyber threat intelligence farming facilities spread across over 85 cities around the world. In addition, Sectrio also runs AI-based advanced threat and payload engagement facilities that serve as sinks to attract and engage sophisticated threat actors, and newer malware including new variants and latent threats that are at an earlier stage of development.
The latest edition of the OT/ICS and IoT security Threat Landscape Report 2024 also covers:
State of global ICS asset and network exposure
Sectoral targets and attacks as well as the cost of ransom
Global APT activity, AI usage, actor and tactic profiles, and implications
Rise in volumes of AI-powered cyberattacks
Major cyber events in 2024
Malware and malicious payload trends
Cyberattack types and targets
Vulnerability exploit attempts on CVEs
Attacks on counties – USA
Expansion of bot farms – how, where, and why
In-depth analysis of the cyber threat landscape across North America, South America, Europe, APAC, and the Middle East
Why are attacks on smart factories rising?
Cyber risk predictions
Axis of attacks – Europe
Systemic attacks in the Middle East
Download the full report from here:
https://sectrio.com/resources/ot-threat-landscape-reports/sectrio-releases-ot-ics-and-iot-security-threat-landscape-report-2024/
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Jeffrey Haguewood
Sidekick Solutions uses Bonterra Impact Management (fka Social Solutions Apricot) and automation solutions to integrate data for business workflows.
We believe integration and automation are essential to user experience and the promise of efficient work through technology. Automation is the critical ingredient to realizing that full vision. We develop integration products and services for Bonterra Case Management software to support the deployment of automations for a variety of use cases.
This video focuses on the notifications, alerts, and approval requests using Slack for Bonterra Impact Management. The solutions covered in this webinar can also be deployed for Microsoft Teams.
Interested in deploying notification automations for Bonterra Impact Management? Contact us at sales@sidekicksolutionsllc.com to discuss next steps.
"Impact of front-end architecture on development cost", Viktor TurskyiFwdays
I have heard many times that architecture is not important for the front-end. Also, many times I have seen how developers implement features on the front-end just following the standard rules for a framework and think that this is enough to successfully launch the project, and then the project fails. How to prevent this and what approach to choose? I have launched dozens of complex projects and during the talk we will analyze which approaches have worked for me and which have not.
Essentials of Automations: Optimizing FME Workflows with ParametersSafe Software
Are you looking to streamline your workflows and boost your projects’ efficiency? Do you find yourself searching for ways to add flexibility and control over your FME workflows? If so, you’re in the right place.
Join us for an insightful dive into the world of FME parameters, a critical element in optimizing workflow efficiency. This webinar marks the beginning of our three-part “Essentials of Automation” series. This first webinar is designed to equip you with the knowledge and skills to utilize parameters effectively: enhancing the flexibility, maintainability, and user control of your FME projects.
Here’s what you’ll gain:
- Essentials of FME Parameters: Understand the pivotal role of parameters, including Reader/Writer, Transformer, User, and FME Flow categories. Discover how they are the key to unlocking automation and optimization within your workflows.
- Practical Applications in FME Form: Delve into key user parameter types including choice, connections, and file URLs. Allow users to control how a workflow runs, making your workflows more reusable. Learn to import values and deliver the best user experience for your workflows while enhancing accuracy.
- Optimization Strategies in FME Flow: Explore the creation and strategic deployment of parameters in FME Flow, including the use of deployment and geometry parameters, to maximize workflow efficiency.
- Pro Tips for Success: Gain insights on parameterizing connections and leveraging new features like Conditional Visibility for clarity and simplicity.
We’ll wrap up with a glimpse into future webinars, followed by a Q&A session to address your specific questions surrounding this topic.
Don’t miss this opportunity to elevate your FME expertise and drive your projects to new heights of efficiency.
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Tobias Schneck
As AI technology is pushing into IT I was wondering myself, as an “infrastructure container kubernetes guy”, how get this fancy AI technology get managed from an infrastructure operational view? Is it possible to apply our lovely cloud native principals as well? What benefit’s both technologies could bring to each other?
Let me take this questions and provide you a short journey through existing deployment models and use cases for AI software. On practical examples, we discuss what cloud/on-premise strategy we may need for applying it to our own infrastructure to get it to work from an enterprise perspective. I want to give an overview about infrastructure requirements and technologies, what could be beneficial or limiting your AI use cases in an enterprise environment. An interactive Demo will give you some insides, what approaches I got already working for real.
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualityInflectra
In this insightful webinar, Inflectra explores how artificial intelligence (AI) is transforming software development and testing. Discover how AI-powered tools are revolutionizing every stage of the software development lifecycle (SDLC), from design and prototyping to testing, deployment, and monitoring.
Learn about:
• The Future of Testing: How AI is shifting testing towards verification, analysis, and higher-level skills, while reducing repetitive tasks.
• Test Automation: How AI-powered test case generation, optimization, and self-healing tests are making testing more efficient and effective.
• Visual Testing: Explore the emerging capabilities of AI in visual testing and how it's set to revolutionize UI verification.
• Inflectra's AI Solutions: See demonstrations of Inflectra's cutting-edge AI tools like the ChatGPT plugin and Azure Open AI platform, designed to streamline your testing process.
Whether you're a developer, tester, or QA professional, this webinar will give you valuable insights into how AI is shaping the future of software delivery.
PHP Frameworks: I want to break free (IPC Berlin 2024)Ralf Eggert
In this presentation, we examine the challenges and limitations of relying too heavily on PHP frameworks in web development. We discuss the history of PHP and its frameworks to understand how this dependence has evolved. The focus will be on providing concrete tips and strategies to reduce reliance on these frameworks, based on real-world examples and practical considerations. The goal is to equip developers with the skills and knowledge to create more flexible and future-proof web applications. We'll explore the importance of maintaining autonomy in a rapidly changing tech landscape and how to make informed decisions in PHP development.
This talk is aimed at encouraging a more independent approach to using PHP frameworks, moving towards a more flexible and future-proof approach to PHP development.
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
Mysql features for the enterprise
1. MySQL
Features for the enterprise
Giuseppe Maxia
QA Director
Continuent, Inc
This work is licensed under the Creative Commons Attribution-Share Alike 3.0 Unported License. To view a
copy of this license, visit http://creativecommons.org/licenses/by-sa/3.0/ or send a letter to Creative Commons,
171 Second Street, Suite 300, San Francisco, California, 94105, USA.
Wednesday, December 1, 2010
2. about me - Giuseppe Maxia
• a.k.a. The Data Charmer
• QA Director at Continuent, Inc
• Long time hacking with MySQL features
• Formerly, MySQL community manager, database
consultant, designer, coder.
• A passion for QA, open source, and community
• Blogger
•http://datacharmer.blogspot.com
Wednesday, December 1, 2010
3. Contents
• Refresh of MySQL main features
• Future: MySQL 5.5
✦ performance (InnoDB default engine,
Performance schema)
✦ ease of use (partitioning, SIGNAL)
✦ reliability (semisynch replication)
• Current: MySQL 5.1
✦ performance: InnoDB plugin 1.0.13
Wednesday, December 1, 2010
4. Contents
• Refresh of MySQL main features
• Future: MySQL 5.5
✦ performance (InnoDB default engine,
Performance schema)
✦ ease of use (partitioning, SIGNAL)
✦ reliability (semisynch replication)
• Current: MySQL 5.1
✦ performance: InnoDB plugin 1.0.13
Wednesday, December 1, 2010
5. Main features
• Ease of use
• Installation
• Maintenance
• Reliability
• ACID compliant
• Built-in replication
• Performance
• Scalable
• Built-in partitioning
Wednesday, December 1, 2010
6. And more ...
• Stored routines
• Triggers
• Views
• Information and performance schema
• Event scheduler
• Pluggable functions
• Pluggable storage engines
Wednesday, December 1, 2010
21. Replication assessment
without replication with replication
database handling
performance
Point in Time recovery
failover
write scaling
backup
read scaling
easy harder
high lower (binary logs)
none easy
none possible
none minimal
with downtime without downtime
none easy
Wednesday, December 1, 2010
23. Remember the MERGE tables?
!separate tables
!risk of duplicates
!insert in each table
!no constraints
MERGE TABLE
Wednesday, December 1, 2010
24. It isn't a merge table!
!One table
!No risk of duplicates
!insert in one table
!constraints enforced
PARTITIONED TABLE
Wednesday, December 1, 2010
25. Partition pruning
1a - unpartitioned table - SINGLE RECORD
select *
from
table_name
where colx =
120
Wednesday, December 1, 2010
26. Partition pruning
1a - unpartitioned table - SINGLE RECORD
select *
from
table_name
where colx =
120
I
N
D
E
X
D
A
T
A
Wednesday, December 1, 2010
27. Partition pruning
1c - unpartitioned table - RANGE
select *
from
table_name
where colx
between 120
and 230
Wednesday, December 1, 2010
28. Partition pruning
2a - table partitioned by colx - SINGLE REC
select *
from
table_name
where colx =
120
100-199
1-99
200-299
300-399
400-499
500-599
Wednesday, December 1, 2010
29. Partition pruning
2a - table partitioned by colx - SINGLE REC
select *
from
table_name
where colx =
120
D
A
T
A I
N
D
E
X
100-199
1-99
200-299
300-399
400-499
500-599
Wednesday, December 1, 2010
30. Partition pruning
2b - table partitioned by colx - SINGLE REC
select *
from
table_name
where colx =
350
100-199
1-99
200-299
300-399
400-499
500-599
Wednesday, December 1, 2010
31. Partition pruning
2c - table partitioned by colx - RANGE
100-199
1-99
200-299
300-399
400-499
500-599
select *
from
table_name
where colx
between 120
and 230
Wednesday, December 1, 2010
32. Benchmarking results (huge server)
engine 6 month range
InnoDB 4 min 30s
MyISAM 25.03s
Archive 22 min 25s
InnoDB partitioned by month 13.19
MyISAM partitioned by year 6.31
MyISAM partitioned by month 4.45
Archive partitioned by year 16.67
Archive partitioned by month 8.97
Wednesday, December 1, 2010
39. Contents
• Refresh of MySQL main features
• Future: MySQL 5.5
✦ performance (InnoDB default engine,
Performance schema)
✦ ease of use (partitioning, SIGNAL)
✦ reliability (semisynch replication)
• Current: MySQL 5.1
✦ performance: InnoDB plugin 1.0.13
Wednesday, December 1, 2010
40. MySQL 5.5
• MySQL 5.5.7-rc released in November
• MySQL 5.5.x-GA coming in December
• Default storage engine is now InnoDB
• Lots of goodies
Wednesday, December 1, 2010
41. Contents
• Refresh of MySQL main features
• Future: MySQL 5.5
✦ performance (InnoDB default
engine, Performance schema)
✦ ease of use (partitioning, SIGNAL)
✦ reliability (semisynch replication)
• Current: MySQL 5.1
✦ performance: InnoDB plugin 1.0.13
Wednesday, December 1, 2010
44. InnoDB at a glance
• Performance Improvements
✦ Improved recovery performance
✦ Multiple buffer pool instances
✦ Multiple rollback segments
✦ Native asynchronous I/O for Linux
✦ Extended change buffering
Wednesday, December 1, 2010
45. Faster!
• How fast?
• In my benchmarks, 10% to 50% faster.
• Others have reported much higher gains.
• You decide.
• Test it under your load.
Wednesday, December 1, 2010
46. Contents
• Refresh of MySQL main features
• Future: MySQL 5.5
✦ performance (InnoDB default engine,
Performance schema)
✦ ease of use (partitioning, SIGNAL)
✦ reliability (semisynch replication)
• Current: MySQL 5.1
✦ performance: InnoDB plugin 1.0.13
Wednesday, December 1, 2010
47. PERFORMANCE
SCHEMA
• PERFORMANCE_SCHEMA presents low level
MySQL performance information
• Data can be cleared
• Filters with WHERE are allowed
• Must be enabled with --performance_schema
Wednesday, December 1, 2010
49. performance schema
mysql> UPDATE SETUP_INSTRUMENTS
SET ENABLED = 'NO'
WHERE NAME =
'wait/synch/mutex/myisammrg/MYRG_INFO::mutex';
mysql> UPDATE SETUP_CONSUMERS
SET ENABLED = 'NO'
WHERE NAME = 'file_summary_by_instance';
Wednesday, December 1, 2010
50. Contents
• Refresh of MySQL main features
• Future: MySQL 5.5
✦ performance (InnoDB default engine,
Performance schema)
✦ ease of use (partitioning, SIGNAL)
✦ reliability (semisynch replication)
• Current: MySQL 5.1
✦ performance: InnoDB plugin 1.0.13
Wednesday, December 1, 2010
51. MySQL 5.5 enhancements
• PARTITION BY RANGE COLUMNS
• PARTITION BY LIST COLUMNS
• TO_SECONDS
51
Wednesday, December 1, 2010
52. MySQL 5.5 enhancements
52
CREATE TABLE t (
dt date
)
PARTITION BY RANGE (TO_DAYS(dt))
(
PARTITION p01 VALUES LESS THAN
(TO_DAYS('2007-01-01')),
PARTITION p02 VALUES LESS THAN
(TO_DAYS('2008-01-01')),
PARTITION p03 VALUES LESS THAN
(TO_DAYS('2009-01-01')),
PARTITION p04 VALUES LESS THAN
(MAXVALUE));
BEFO
RE
5.1
Wednesday, December 1, 2010
53. MySQL 5.5 enhancements
53
SHOW CREATE TABLE t G
Table: t
Create Table: CREATE TABLE `t` (
`dt` date DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1
/*!50100 PARTITION BY RANGE (TO_DAYS
(dt))
(PARTITION p01 VALUES LESS THAN (733042)
ENGINE = MyISAM,
[…]
BEFO
RE
5.1
Wednesday, December 1, 2010
54. MySQL 5.5 enhancements
54
CREATE TABLE t (
dt date
)
PARTITION BY RANGE COLUMNS (dt)
(
PARTITION p01 VALUES LESS THAN
('2007-01-01'),
PARTITION p02 VALUES LESS THAN
('2008-01-01'),
PARTITION p03 VALUES LESS THAN
('2009-01-01'),
PARTITION p04 VALUES LESS THAN
(MAXVALUE));
AFTER
5.5
Wednesday, December 1, 2010
55. MySQL 5.5 enhancements
55
SHOW CREATE TABLE t
Table: t
Create Table: CREATE TABLE `t` (
`dt` date DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1
/*!50500 PARTITION BY RANGE COLUMNS
(dt)
(PARTITION p01 VALUES LESS THAN
('2007-01-01') ENGINE = MyISAM,
[…]
AFTER
5.5
Wednesday, December 1, 2010
56. MySQL 5.5 - Multiple columns
56
CREATE TABLE t (
a int,
b int
)PARTITION BY RANGE COLUMNS (a,b)
(
PARTITION p01 VALUES LESS THAN
(10,1),
PARTITION p02 VALUES LESS THAN
(10,10),
PARTITION p03 VALUES LESS THAN
(10,20),
PARTITION p04 VALUES LESS THAN
(MAXVALUE, MAXVALUE));
Wednesday, December 1, 2010
57. 57
CREATE TABLE employees (
emp_no int(11) NOT NULL,
birth_date date NOT NULL,
first_name varchar(14) NOT NULL,
last_name varchar(16) NOT NULL,
gender char(1) DEFAULT NULL,
hire_date date NOT NULL
) ENGINE=MyISAM
PARTITION BY RANGE COLUMNS(gender,hire_date)
(PARTITION p01 VALUES LESS THAN ('F','1990-01-01'),
PARTITION p02 VALUES LESS THAN ('F','2000-01-01'),
PARTITION p03 VALUES LESS THAN ('F',MAXVALUE),
PARTITION p04 VALUES LESS THAN ('M','1990-01-01'),
PARTITION p05 VALUES LESS THAN ('M','2000-01-01'),
PARTITION p06 VALUES LESS THAN ('M',MAXVALUE),
PARTITION p07 VALUES LESS THAN (MAXVALUE,MAXVALUE)
Wednesday, December 1, 2010
59. Contents
• Refresh of MySQL main features
• Future: MySQL 5.5
✦ performance (InnoDB default engine,
Performance schema)
✦ ease of use (partitioning, SIGNAL)
✦ reliability (semisynch replication)
• Current: MySQL 5.1
✦ performance: InnoDB plugin 1.0.13
Wednesday, December 1, 2010
60. SIGNAL and RESIGNAL
• Allow error handling in stored routines
• The execution is passed to an error
handler
• Accessible error values are SQLSTATE,
MESSAGE_TEXT and
MYSQL_ERRNO
• RESIGNAL can pass along the original
or a new information
Wednesday, December 1, 2010
61. Contents
• Refresh of MySQL main features
• Future: MySQL 5.5
✦ performance (InnoDB default engine,
Performance schema)
✦ ease of use (partitioning, SIGNAL)
✦ reliability (semisynch replication)
• Current: MySQL 5.1
✦ performance: InnoDB plugin 1.0.13
Wednesday, December 1, 2010
68. Contents
• Refresh of MySQL main features
• Future: MySQL 5.5
✦ performance (InnoDB default engine,
Performance schema)
✦ ease of use (partitioning, SIGNAL)
✦ reliability (semisynch replication)
• Current: MySQL 5.1
✦ performance: InnoDB plugin 1.0.13
Wednesday, December 1, 2010
69. Missed announcement
• A GA release
• As of MySQL 5.1.47
• The InnoDB plugin is GA
• Ready to use for immediate gains
Wednesday, December 1, 2010
80. Installation - 2nd method (5)
SET GLOBAL innodb_fast_shutdown=0;
RESTART the server
Wednesday, December 1, 2010
81. Installation differences
• Method 1 (plugin-load in my.cnf)
✦ Only one operation
✦ But error prone (one looooong command)
✦ plugins not stored in mysql.plugin table
• Method 2 (install plugin)
✦ plugin info saved to mysql.plugin table
✦ Easier to write
✦ 2 restarts required
Wednesday, December 1, 2010
82. CAVEAT
• If you uninstall the InnoDB plugin, remember:
✦ The tables are not backward compatible
✦ You must uninstall all the
INFORMATION_SCHEMA plugin tables
BEFORE removing the InnoDB plugin
✦ If the plugin is busy, it may not be removed until
you restart the server
Wednesday, December 1, 2010
88. getting locks information
SELECT
r.trx_id waiting_trx_id,
r.trx_mysql_thread_id waiting_thread,
r.trx_query waiting_query,
b.trx_id blocking_trx_id,
b.trx_mysql_thread_id blocking_thread,
b.trx_query blocking_query
FROM
innodb_lock_waits w
INNER JOIN innodb_trx b
ON b.trx_id = w.blocking_trx_id
INNER JOIN innodb_trx r
ON r.trx_id = w.requesting_trx_id
Wednesday, December 1, 2010
90. getting locks information
************* 1. row **************
waiting_trx_id: 711
waiting_thread: 3
waiting_query: select c from t1 for
update
blocking_trx_id: 710
blocking_thread: 2
blocking_query: select i from t1 for
update
Wednesday, December 1, 2010
91. getting locks information
************* 2. row **************
waiting_trx_id: 711
waiting_thread: 3
waiting_query: select c from t1 for
update
blocking_trx_id: 70F
blocking_thread: 1
blocking_query: NULL
Wednesday, December 1, 2010
92. getting locks information
************* 3. row **************
waiting_trx_id: 710
waiting_thread: 2
waiting_query: select i from t1 for
update
blocking_trx_id: 70F
blocking_thread: 1
blocking_query: NULL
Wednesday, December 1, 2010
99. e-mail: datacharmer@continuent.com
Twitter: @datacharmer
Contact Information
Continuent Web Site:
http://www.continuent.com
Tungsten Project
http://sourceforge.net/projects/tungsten
This work is licensed under the Creative Commons Attribution-Share Alike 3.0 Unported License. To
view a copy of this license, visit http://creativecommons.org/licenses/by-sa/3.0/ or send a letter to
Creative Commons, 171 Second Street, Suite 300, San Francisco, California, 94105, USA.
Wednesday, December 1, 2010