PostgreSQL Portland Performance Practice Project - Database Test 2 HowtoMark Wong
Fourth presentation in a speaker series sponsored by the Portland State University Computer Science Department. The series covers PostgreSQL performance with an OLTP (on-line transaction processing) workload called Database Test 2 (DBT-2). This presentation is a set of examples to go along with the live presentation given on March 12, 2009.
Scaling sql server 2014 parallel insertChris Adkin
A slide deck on how to get the best possible performance out of the parallel insert feature introduced in SQL Server 2014 as presented at SQL Bits XIV.
PostgreSQL Portland Performance Practice Project - Database Test 2 HowtoMark Wong
Fourth presentation in a speaker series sponsored by the Portland State University Computer Science Department. The series covers PostgreSQL performance with an OLTP (on-line transaction processing) workload called Database Test 2 (DBT-2). This presentation is a set of examples to go along with the live presentation given on March 12, 2009.
Scaling sql server 2014 parallel insertChris Adkin
A slide deck on how to get the best possible performance out of the parallel insert feature introduced in SQL Server 2014 as presented at SQL Bits XIV.
Talk given by David Petersen, Lead Systems Engineer at Salesforce, at Stacki Webinar on Nov 2016
Learn how we've integrated chef into Stacki provisioning system and how we've automated the process.
In this presentation I’ll be discussing the following beginner points to understanding and creating monitoring.
* Why Monitor?
* What’s the minimum to Monitor?
* How to monitor?
* Monitoring Software Options.
* How to use the most basic of monitoring to help
* The basics of graphing results
* The rule of Everything
* The important on Application metrics and timings
For a very little investment in time, simple monitoring can be in place, and I can guarantee it will be of benefit to any system.
The basis of monitoring are metrics that combined with application measurements can provide trending insights, bottleneck understanding and provide valuable feedback about your growing site.
Salesforce at Stacki Atlanta Meetup February 2016StackIQ
Dave Peterson's presentation on how Salesforce uses Stacki and Chef to provision and manage thousands of servers. Stacki Atlanta kickoff Meetup on 2/23/16 at the Microsoft Innovation Center. Dave is a Lead Systems Engineer at Salesforce.
Introduction to Stacki at Atlanta Meetup February 2016StackIQ
An introduction to Stacki-the fastest bare metal Linux server provisioning tool from the Stacki Atlanta kickoff meetup on 2/23/16 at the Microsoft Innovation Center. Greg Bruno is the VP Engineering at StackIQ.
An introduction to Navicat database administration software for MySql. Covering making a connection to a local mysql server, remote server and remote connection through http tunneling.
1st - Increasing the performance using SSE, AVX* and FMA extensions
2nd - BPF BCC tools for performance analysis
3rd - Insecurity of today's computers. Ring 2 firmware and UEFI, and why we wouldn't want them
4th - Comparison between the functionality of the best known Nginx distributions Nginx, OpenResty and Tengine
PostgreSQL Portland Performance Practice Project - Database Test 2 TuningMark Wong
Sixth presentation in a speaker series sponsored by the Portland State University Computer Science Department. The series covers PostgreSQL performance with an OLTP (on-line transaction processing) workload called Database Test 2 (DBT-2). This presentation goes through some experimentation of setting different PostgreSQL global user configuration (GUC) parameters.
CTX138217 - IntelliCache Reduction in IOPS: XenDesktop 5.6 FP1 on XenServer 6.1 - Citrix Knowledge Center http://ow.ly/o3Ma4
The purpose of this document is to provide testing results based on MCS-delivered streamed virtual desktops leveraging IntelliCache
MySQL Cluster 7.3 Performance Tuning - Severalnines SlidesSeveralnines
The MySQL Cluster 7.x series introduced a number of features to allow for fine-grained control over the real-time behaviour of the NDB storage engine. New threads have been introduced, and users are able to control placement of these threads, as well as locking the memory such that no swapping occurs. In an ideal run-time environment, CPUs handling data node threads will not execute other threads apart from OS kernel threads or interrupt handling. Correct tuning of certain parameters can be specially important for certain types of workloads.
This presentation covers the different tuning aspects of MySQL Cluster.
- Application design guidelines
- Schema Optimization
- Index Selection and Tuning
- Query Tuning
- OS Tuning
- Data Node internals
- Optimizations for real-time behaviour
This presentation looks closely at how to get the most out of your MySQL Cluster 7.x runtime environment.
This presentation will recount the story of Macys.com (and Bloomingdales.com)'s selection and migration from legacy RDBMS to NoSQL Cassandra in partnership with DataStax.
We'll start with a mercifully brief backgrounder on our website and our business. Then we will go over the various technologies that we considered, as well as our use case-based performance benchmarks that led to the decision to go with Cassandra.
We'll cover the various schema options that we tried and how we settled on the current one. We'll show you a selection of some of our extensive performance tuning benchmarks.
One thing that differentiates this talk from others on Cassandra is Macy's philosophy of "doing more with less." You will see why we emphasize the performance tuning aspects of iterative development when you see how much processing we can support on relatively small configurations.
And, finally, we will wrap up with our "lessons learned" and a brief look at our future plans.
Talk given by David Petersen, Lead Systems Engineer at Salesforce, at Stacki Webinar on Nov 2016
Learn how we've integrated chef into Stacki provisioning system and how we've automated the process.
In this presentation I’ll be discussing the following beginner points to understanding and creating monitoring.
* Why Monitor?
* What’s the minimum to Monitor?
* How to monitor?
* Monitoring Software Options.
* How to use the most basic of monitoring to help
* The basics of graphing results
* The rule of Everything
* The important on Application metrics and timings
For a very little investment in time, simple monitoring can be in place, and I can guarantee it will be of benefit to any system.
The basis of monitoring are metrics that combined with application measurements can provide trending insights, bottleneck understanding and provide valuable feedback about your growing site.
Salesforce at Stacki Atlanta Meetup February 2016StackIQ
Dave Peterson's presentation on how Salesforce uses Stacki and Chef to provision and manage thousands of servers. Stacki Atlanta kickoff Meetup on 2/23/16 at the Microsoft Innovation Center. Dave is a Lead Systems Engineer at Salesforce.
Introduction to Stacki at Atlanta Meetup February 2016StackIQ
An introduction to Stacki-the fastest bare metal Linux server provisioning tool from the Stacki Atlanta kickoff meetup on 2/23/16 at the Microsoft Innovation Center. Greg Bruno is the VP Engineering at StackIQ.
An introduction to Navicat database administration software for MySql. Covering making a connection to a local mysql server, remote server and remote connection through http tunneling.
1st - Increasing the performance using SSE, AVX* and FMA extensions
2nd - BPF BCC tools for performance analysis
3rd - Insecurity of today's computers. Ring 2 firmware and UEFI, and why we wouldn't want them
4th - Comparison between the functionality of the best known Nginx distributions Nginx, OpenResty and Tengine
PostgreSQL Portland Performance Practice Project - Database Test 2 TuningMark Wong
Sixth presentation in a speaker series sponsored by the Portland State University Computer Science Department. The series covers PostgreSQL performance with an OLTP (on-line transaction processing) workload called Database Test 2 (DBT-2). This presentation goes through some experimentation of setting different PostgreSQL global user configuration (GUC) parameters.
CTX138217 - IntelliCache Reduction in IOPS: XenDesktop 5.6 FP1 on XenServer 6.1 - Citrix Knowledge Center http://ow.ly/o3Ma4
The purpose of this document is to provide testing results based on MCS-delivered streamed virtual desktops leveraging IntelliCache
MySQL Cluster 7.3 Performance Tuning - Severalnines SlidesSeveralnines
The MySQL Cluster 7.x series introduced a number of features to allow for fine-grained control over the real-time behaviour of the NDB storage engine. New threads have been introduced, and users are able to control placement of these threads, as well as locking the memory such that no swapping occurs. In an ideal run-time environment, CPUs handling data node threads will not execute other threads apart from OS kernel threads or interrupt handling. Correct tuning of certain parameters can be specially important for certain types of workloads.
This presentation covers the different tuning aspects of MySQL Cluster.
- Application design guidelines
- Schema Optimization
- Index Selection and Tuning
- Query Tuning
- OS Tuning
- Data Node internals
- Optimizations for real-time behaviour
This presentation looks closely at how to get the most out of your MySQL Cluster 7.x runtime environment.
This presentation will recount the story of Macys.com (and Bloomingdales.com)'s selection and migration from legacy RDBMS to NoSQL Cassandra in partnership with DataStax.
We'll start with a mercifully brief backgrounder on our website and our business. Then we will go over the various technologies that we considered, as well as our use case-based performance benchmarks that led to the decision to go with Cassandra.
We'll cover the various schema options that we tried and how we settled on the current one. We'll show you a selection of some of our extensive performance tuning benchmarks.
One thing that differentiates this talk from others on Cassandra is Macy's philosophy of "doing more with less." You will see why we emphasize the performance tuning aspects of iterative development when you see how much processing we can support on relatively small configurations.
And, finally, we will wrap up with our "lessons learned" and a brief look at our future plans.
Webinar: Untethering Compute from StorageAvere Systems
Enterprise storage infrastructures are gradually sprawling across the globe and consumers of data increasingly require access to remote storage resources. Solutions for mitigating the pain associated with this growth are out there, but performance varies. This Webinar will take a look at these challenges, review available solutions, and compare tests of performance.
This presentation was prepared for a Webcast where John Yerhot, Engine Yard US Support Lead, and Chris Kelly, Technical Evangelist at New Relic discussed how you can scale and improve the performance of your Ruby web apps. They shared detailed guidance on issues like:
Caching strategies
Slow database queries
Background processing
Profiling Ruby applications
Picking the right Ruby web server
Sharding data
Attendees will learn how to:
Gain visibility on site performance
Improve scalability and uptime
Find and fix key bottlenecks
See the on-demand replay:
http://pages.engineyard.com/6TipsforImprovingRubyApplicationPerformance.html
New features in Performance Schema 5.7 in actionSveta Smirnova
Tutorial for PerconaLive Amsterdam - September, 2015
Virtual machine can be downloaded from https://drive.google.com/file/d/0B67lYkmv0ZcsNE5wTFJUNC1sUlk/view?usp=sharing
Docker Logging and analysing with Elastic StackJakub Hajek
Collecting logs from the entire stateless environment is challenging parts of the application lifecycle. Correlating business logs with operating system metrics to provide insights is a crucial part of the entire organization. What aspects should be considered while you design your logging solutions?
Docker Logging and analysing with Elastic Stack - Jakub Hajek PROIDEA
Collecting logs from the entire stateless environment is challenging parts of the application lifecycle. Correlating business logs with operating system metrics to provide insights is a crucial part of the entire organization. We will see the technical presentation on how to manage a large amount of the data in a typical environment with microservices.
Caching and tuning fun for high scalability @ FOSDEM 2012Wim Godden
Caching has been a 'hot' topic for a few years. But caching takes more than merely taking data and putting it in a cache : the right caching techniques can improve performance and reduce load significantly. But we'll also look at some major pitfalls, showing that caching the wrong way can bring down your site. If you're looking for a clear explanation about various caching techniques and tools like Memcached, Nginx and Varnish, as well as ways to deploy them in an efficient way, this talk is for you.
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.
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf91mobiles
91mobiles recently conducted a Smart TV Buyer Insights Survey in which we asked over 3,000 respondents about the TV they own, aspects they look at on a new TV, and their TV buying preferences.
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.
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/
The Metaverse and AI: how can decision-makers harness the Metaverse for their...Jen Stirrup
The Metaverse is popularized in science fiction, and now it is becoming closer to being a part of our daily lives through the use of social media and shopping companies. How can businesses survive in a world where Artificial Intelligence is becoming the present as well as the future of technology, and how does the Metaverse fit into business strategy when futurist ideas are developing into reality at accelerated rates? How do we do this when our data isn't up to scratch? How can we move towards success with our data so we are set up for the Metaverse when it arrives?
How can you help your company evolve, adapt, and succeed using Artificial Intelligence and the Metaverse to stay ahead of the competition? What are the potential issues, complications, and benefits that these technologies could bring to us and our organizations? In this session, Jen Stirrup will explain how to start thinking about these technologies as an organisation.
Climate Impact of Software Testing at Nordic Testing DaysKari Kakkonen
My slides at Nordic Testing Days 6.6.2024
Climate impact / sustainability of software testing discussed on the talk. ICT and testing must carry their part of global responsibility to help with the climat warming. We can minimize the carbon footprint but we can also have a carbon handprint, a positive impact on the climate. Quality characteristics can be added with sustainability, and then measured continuously. Test environments can be used less, and in smaller scale and on demand. Test techniques can be used in optimizing or minimizing number of tests. Test automation can be used to speed up testing.
Transcript: Selling digital books in 2024: Insights from industry leaders - T...BookNet Canada
The publishing industry has been selling digital audiobooks and ebooks for over a decade and has found its groove. What’s changed? What has stayed the same? Where do we go from here? Join a group of leading sales peers from across the industry for a conversation about the lessons learned since the popularization of digital books, best practices, digital book supply chain management, and more.
Link to video recording: https://bnctechforum.ca/sessions/selling-digital-books-in-2024-insights-from-industry-leaders/
Presented by BookNet Canada on May 28, 2024, with support from the Department of Canadian Heritage.
Pushing the limits of ePRTC: 100ns holdover for 100 daysAdtran
At WSTS 2024, Alon Stern explored the topic of parametric holdover and explained how recent research findings can be implemented in real-world PNT networks to achieve 100 nanoseconds of accuracy for up to 100 days.
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
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!
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Albert Hoitingh
In this session I delve into the encryption technology used in Microsoft 365 and Microsoft Purview. Including the concepts of Customer Key and Double Key Encryption.
Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™UiPathCommunity
In questo evento online gratuito, organizzato dalla Community Italiana di UiPath, potrai esplorare le nuove funzionalità di Autopilot, il tool che integra l'Intelligenza Artificiale nei processi di sviluppo e utilizzo delle Automazioni.
📕 Vedremo insieme alcuni esempi dell'utilizzo di Autopilot in diversi tool della Suite UiPath:
Autopilot per Studio Web
Autopilot per Studio
Autopilot per Apps
Clipboard AI
GenAI applicata alla Document Understanding
👨🏫👨💻 Speakers:
Stefano Negro, UiPath MVPx3, RPA Tech Lead @ BSP Consultant
Flavio Martinelli, UiPath MVP 2023, Technical Account Manager @UiPath
Andrei Tasca, RPA Solutions Team Lead @NTT Data
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Inno Db Performance And Usability Patches
1. InnoDB Performance and
Usability Patches
MySQL CE 2009
Vadim Tkachenko,
Ewen Fortune
Percona Inc
MySQLPerformanceBlog.com
2. Who are we ?
• Vadim Tkachenko
– Co-Founder of Percona Inc
• Lead of R&D department
– Co-Author MySQLPerformanceBlog.com
– Co-Author “High Performance MySQL” 2nd edition book
• Ewen Fortune
– Consultant, Percona Inc
• Special Thanks Yasufumi Kinoshita
– Not here, but author of most patches
3. What is this talk about?
• Patches made by Percona for InnoDB Storage
Engine
• Two main focuses
– Performance improvement patches
– “Usability” patches
• Make InnoDB a bit more friendly
• World changed since time of Pentium 100MHz and 8MB of RAM
– But many such assumptions still in InnoDB code
4. Why we do it
• Most requirements and changes come from
practical work with customers
• We need InnoDB fully utilizing modern hardware
today
– 16 cores
– RAIDs
– SSD / FusionIO / other storage technologies
• InnoDB team is “conservative” in making
improvements in this area
5. Future
• Why patches ? Why it can’t be included in InnoDB
?
– We are often asked about, but actually question is to
InnoDB team
• (empty space due to uncertainty of MySQL future in
Oracle)
• Anyway we will continue our work
6. Versions
• 5.0
– Set of patches
– SHOW PATCHES to see full list
• 5.1
– Storage engine XtraDB
– Based on InnoDB + patches, not real competitor of
InnoDB, but drop-in enhanced version
8. Scalability
• Enhanced read_write locks
– Improves InnoDB scalability on systems with 8-16 cores
– Similar on Google implementation, InnoDB-plugin-1.0.3
– Our implementation is alternative
• Topic to research which one is better
• InnoDB-plugin may be preferred, InnoDB team made hard job
porting it to many platforms
– And now in 5.4
• Split buffer_pool mutex even more
– Additional split of buffer_pool mutex to 5.0.33
9. IO patches
• InnoDB IO patches
– Part similar to Google’s InnoDB IO patches, but again
alternative
– Several parts – some of them now in 5.4
10. IO – multiple threads
• Read_io_threads
– Number of threads for reads requests (by default 1)
– Not really useful as used only for read-ahead requests
• Write_io_threads
– Number of threads for write requests (by default 1)
– This is one you may want to use on system with multiple
disks
• Io_capacity
– Amount of IO operations per second InnoDB assumes
server can do (by default 100, which is not right
assumptions for modern systems)
11. IO – Adaptive checkpoint
• InnoDB flushing of dirty buffer_pool pages may be
intensive
• Lack of free pages may be controlled by
innodb_max_dirty_pages_pct
• Flushing at the moment of checkpoint is not
controllable, intensive and may hurt
15. IO Control of Insert buffer
• Ibuf_max_size – maximal size of insert buffer (by
default can be half of buffer_pool)
• Ibuf_accel_rate – IO rate for background thread,
works in pair with io_capacity
16. IO – multiple pages
• Read_ahead = (both | linear | random)
– Control to use or not internal InnoDB read-ahead logic
• Flush_neighbor_pages = (yes|no)
– By default InnoDB also writes neighborhoods of flushing
pages
• All these operations were made for disks with
expensive (in time sense) random reads – may be
not needed for SSD / FusionIO / other devices with
cheap random reads
17. Extra rollback segments
• By default InnoDB uses single segment protected
by mutex
• Sensitive in intensive parallel insert load
18. Fix group commit
• “Broken” in 5.0
– Problem appears on slow disks with enabled binary-logs
19. Benchmark
• Tpcc-like workload
• 100 Warehouses (about 10GB of data)
• Buffer_pool=5GB
• System: Dell PowerEdge R900, RAID 10 on 8
disks, RAM 32GB
– O_DIRECT for InnoDB, xfs filesystem, mounted with
nobarrier
• 5.0.77 vs 5.0.77-percona
– Had no chance to test 5.4 yet
23. Limit data dictionary
• Problem:
– Data dictionary entry of once opened table kept in
memory forever (or while DELETE table)
– Is not problem for regular usage (100-1000 tables)
– Is problem for instances with 10K+ tables
• 10GB+ of memory just allocated for datadictionary entries
• Our solution:
– LRU based datadictionary entries
– Remove from memory oldest entries if limit reached
26. Show memory usage
• Extended information about memory consuming
---------------------- BUFFER POOL AND MEMORY
----------------------
Total memory allocated 328830416; in additional pool allocated
2117120
+ Internal hash tables (constant factor + variable factor)
+ Adaptive hash index 4839388 (4425628 + 413760) + Page hash
138716
+ Dictionary cache 3383508 (3320220 + 63288)
+ File system 41848 (41336 + 512)
+ Lock system 332788 (332468 + 320)
+ Recovery system 0 (0 + 0)
+ Threads 41900 (41348 + 552)
Buffer pool size 16384
+ Buffer pool size, bytes 268435456
Free buffers 12396
27. Show locks held
• ---TRANSACTION 0 163390, ACTIVE 0 sec, process no 15571, OS thread id 1159485776
inserting
• mysql tables in use 1, locked 1
• 7 lock struct(s), heap size 1216, undo log entries 4
• MySQL thread id 15, query id 15455 127.0.0.1 root update
• INSERT INTO history(h_c_d_id, h_c_w_id, h_c_id, h_d_id, h_w_id, h_date, h_amount, h_data)
VALUES(?, ?, ?, ?, ?, ?,
• ?, ?)
• Trx read view will not see trx with id >= 0 163391, sees < 0 163086
• TABLE LOCK table `test/warehouse` trx id 0 163390 lock mode IX
• RECORD LOCKS space id 10 page no 3 n bits 168 index `PRIMARY` of table `test/warehouse`
trx id 0 163390 lock_mode X
• locks rec but not gap
• TABLE LOCK table `test/district` trx id 0 163390 lock mode IX
• RECORD LOCKS space id 18 page no 7 n bits 216 index `PRIMARY` of
table `test/district` trx id 0 163390 lock_mode X locks rec but not
gap
• TABLE LOCK table `test/customer` trx id 0 163390 lock mode IX
• RECORD LOCKS space id 19 page no 57918 n bits 96 index `PRIMARY` of table `test/customer`
trx id 0 163390 lock_mode X locks rec but not gap
• TABLE LOCK table `test/history` trx id 0 163390 lock mode IX
28. Extra undo slots
• By default 1024 slots to store transaction undo
information, that may limit count of concurrent
transactions to 512
• We increase to 4072
– Only on 5.1 XtraDB
– Use it only if you need, breaks compatibility with InnoDB
29. TransactionalReplication
• Similar to Google’s patch
• Information in relay-log.info is not consistent with
InnoDB state.
– When server crash MySQL will repeat several transaction
• You are lucky if replication fails on “Duplicate key error”
• In worst case you will have several transactions executed twice
• Our solution: store information of binary log name
and position and relay-log name and position in
InnoDB transactional log file
30. Plans
• Still hunt performance improvements
• Operations tasks:
– Fast recovery
• There is reported bug http://bugs.mysql.com/bug.php?id=29847
– Preload table / index into buffer_pool.
– Copy single .ibd table from one server to different
– Open InnoDB tables in parallel
• Currently serialized
– Different improvements on statistics
• Some patches already published (not by us)
31. To finalize
• Most of patches is not rocket science
– Could be developed or included in official tree long time
ago
• Even more, for some patches we just only uncommented few
lines of code
– Expect most of them in MariaDB 5.1