Quantcast
Channel: MySQL Performance Blog » Search Results » how a query works mysql
Browsing all 98 articles
Browse latest View live

Post: How to Identify Bad Queries in MySQL

… is a working implementation of most of this in a tool, Maatkit’s mk-query-digest. Here’s how: It finds queries (or groups of queries) that… the query executed for, which has been available in MySQL...

View Article


Post: Distributed Set Processing with Shard-Query

… before that, I want to give a quick preview, then explain exactly how Shard-Query works.Yes, Shard-Query scales very well at 20 nodes… a query fails on a storage node, then it can be retried on the...

View Article


Post: Is your MySQL buffer pool warm? Make it sweat!

… pool pages were loaded from disk. Replaying Queries Working with Groupon, we have developed a solution to keep the standby server’s caches… HTTP, by mysql_slowlogd. This daemon is similar to running...

View Article

Post: Disconnecting a replication slave is easier with MySQL 5.5+ (RESET...

… you use it incorrectly. So how do you safely disconnect a replication slave? In short For MySQL 5.0 and 5.1, run… reexecuting some queries. Here’s a trick to make RESET SLAVE work as expected: use...

View Article

Post: Setting up MySQL SSL and secure connections

…how to setup MySQL with SSL, SSL replication and how to establish secure connections from the console and scripts showing the working… the client is on a different node, copy /etc/mysql-ssl/ from the...

View Article


Post: pt-online-schema-change and binlog_format

… of a non-deterministic statement, otherwise uses SBR Recently, I worked with a …four, 1 million row tables Restart MySQL to ensure an empty buffer pool…Pool Reads (from disk)[/caption] Looking at how...

View Article

Post: Percona MySQL University @Portland next Monday!

… will explain how to work with BigData effectively Justin Swanhart, our Senior MySQL Instructor, will continue the topic of BigData with a talk titled, “Conquering BigData with MySQL and Shard Query”...

View Article

Post: MySQL Query Patterns, Optimized - Webinar questions followup

… how easy it is?  ;-)  Generative grammars like SQL can produce an infinite variety of  queries.  The query optimizer analyzes queries for common patterns the MySQL… just running the query in a...

View Article


Post: Implementing SchemaSpy in your MySQL environment

… a lot more effectively when I know the relationships between tables versus observing queries only….a more comprehensive example here. Running SchemaSpy The syntax below if specific for MySQL, but...

View Article


Post: Choosing a MySQL HA Solution - Post-Webinar Q&A

… master to slave, and if so, how? A: Yes. There are a few of ways to do it. One … to being able to retract them. MHA should work fine with 5.6 if you’re not …a simple query and receive a response back...

View Article

Post: Schema changes - what's new in MySQL 5.6?

… | State | Info | +—-+——+———–+——+———+——+———————————+———————————————————————-+ | 1 | root | localhost | test | Query | 47 | copy to…how changing table’s structure works in MySQL … value for a column),...

View Article

Post: Using any general purpose computer as a special purpose SIMD computer

… demonstrate how Shard-Query makes parallel set operations work, I’ll operate in only one dimension for the first example, just like the MySQL… my method. Likely current network technologies can not...

View Article

Post: How to Identify Bad Queries in MySQL

… is a working implementation of most of this in a tool, Maatkit’s mk-query-digest. Here’s how: It finds queries (or groups of queries) that… the query executed for, which has been available in MySQL...

View Article


Comment: What kind of queries are bad for MySQL?

… day one of app design, ask yourself if a relational database is the right tool. If you… and MySQL is not (http://www.youtube.com/watch?v=b2F-DItXtZs). (note the video is _not_ work … 2000 queries per...

View Article

Post: InnoDB Full-text Search in MySQL 5.6: Part 3, Performance

…% and ‘Creating sort index’ didn’t even appear in the query profile: mysql [localhost] {msandbox} (test): SELECT id, full_name, MATCH(full… using a lower innodb_ft_min_token_size (ifmts), and it can...

View Article


Be productive with the MySQL command line

Even if you are using a GUI tool to connect to your MySQL servers, one day or another, you will have to deal with the command line. So it is nice to know a few tips that can really make your work...

View Article

How does MySQL Replication really work?

While we do have many blog posts on replication on our blog, such as on replication being single-threaded, on semi-synchronous replication or on estimating replication capacity, I don’t think we have...

View Article


MySQL 5.6: Improvements in the Nutshell

Preparing for my talk for Percona MySQL University in Raleigh,NC, Tuesday 29th of January I have created the outline of improvements available in MySQL 5.6 which I thought was worth sharing to give a...

View Article

Implications of Metadata Locking Changes in MySQL 5.5

While most of the talk recently has mostly been around the new changes in MySQL 5.6 (and that is understandable), I have had lately some very interesting cases to deal with, with respect to the...

View Article

Mystery Performance Variance with MySQL Restarts

Based on a lot of surprising comments about my MySQL 5.5 vs 5.6 performance post I decided to perform deeper investigation to see where my results could go possibly wrong. I had set up everything to be...

View Article
Browsing all 98 articles
Browse latest View live