Quantcast
Channel: MySQL Performance Blog » Search Results » mysql truncate slow log
Browsing all 28 articles
Browse latest View live

Post: Announcing Percona Server 5.5.28-29.3

… from the Percona Software Repositories). Based on MySQL 5.5.28, including all the bug …log cache were not purged after transaction commit. Fixed by truncating the temporary file, if used for a binary...

View Article


Comment: MySQL Server Memory Usage

…stmt_reset’, ’0′ ‘Com_stmt_send_long_data’, ’0′ ‘Com_truncate‘, ’0′ ‘Com_unlock_tables’, ’102′ ‘Com_update’, ’15146253′ ‘Com_…3309 socket=/tmp/mysql.sock pid-file=/var/run/mysql/mysql.pid...

View Article


Post: Percona Server 5.1.58-12.9

… (buf_LRU_insert_zip_clean). Bugs Fixed: #802825 / #61341 in MySQL (Yasufumi Kinoshita). Compatibility Collations Two new collations, utf8_general50_ci…. Bugs Fixed #813587 / #51196 and #61790 in...

View Article

Post: Announcing Percona Server 5.1.66-14.2

…from the Percona Software Repositories). Based on MySQL 5.1.66, including all the …log cache were not purged after transaction commit. Fixed by truncating the temporary file, if used for a binary log…...

View Article

Comment: Get Me Some Query Logs!

… gather logs from the mysql.slow_query log, but you can export the data into a format that’s compatible with file-based slow query log… full-slow-log script. The script to export the slow-query log...

View Article


Post: Identifying the load with the help of pt-query-digest and Percona Server

… Server is the ability to enable logging atomically, not just for new connections as in MySQL. This is very helpful for measurement… you were using the vanilla MySQL server, you would see an entry...

View Article

Post: Analyzing Slow Query Table in MySQL 5.6

… slow query information to the log table, query times and lock times are truncated to to integers: sql/log.cc, Log_to_csv_event_handler::log_slow…), ‘;’ ) AS # slow-log FROM mysql.slow_log; GO echo...

View Article

Post: Ultimate MySQL variable and status reference list

…MySQL…_truncated_…log_isamblogpercona.commanual log_outputblogpercona.commanual log_queries_not_using_indexesblogpercona.commanual log_short_formatblogpercona.commanual...

View Article


Post: MySQL Slow query log in the table

As of MySQL 5.1 get MySQL slow query log logged in mysql.slow_log table instead of the file as you had in previous … come in the log file. If you used to do tail -100 log-slow.log and now change it to...

View Article


Post: Rotating MySQL slow logs safely

… its log file. MySQL has a mutex for slow log writes. Truncation can block MySQL because the OS serializes access to the inode during the truncate operation… MySQL slow logs during rotation Flushing...

View Article

Image may be NSFW.
Clik here to view.

InnoDB performance optimization basics (redux)

I recently stumbled upon a post that Peter Zaitsev published back in 2007 titled “Innodb Performance Optimization Basics.” It’s a great post and reading it inspired me to examine what’s changed in the...

View Article

Image may be NSFW.
Clik here to view.

Innotop: A real-time, advanced investigation tool for MySQL

GUI monitoring tools for MySQL are not always suitable for all our needs or situations. Most of them are designed to provide historical views into what happens to our database over time rather then...

View Article

MySQL Slow query log in the table

As of MySQL 5.1 get MySQL slow query log logged in mysql.slow_log table instead of the file as you had in previous versions. We rarely would use this feature as it is incompatible with our slow query...

View Article


Ultimate MySQL variable and status reference list

I am constantly referring to the amazing MySQL manual, especially the option and variable reference table. But just as frequently, I want to look up blog posts on variables, or look for content in the...

View Article

Identifying the load with the help of pt-query-digest and Percona Server

OverviewProfiling, analyzing and then fixing queries is likely the most oft-repeated part of a job of a DBA and one that keeps evolving, as new features are added to the application new queries pop up...

View Article


Image may be NSFW.
Clik here to view.

Analyzing Slow Query Table in MySQL 5.6

Analyzing SQL Queries with Percona Toolkit, Feb. 25-28, 9-11 a.m. PSTNext week I’m teaching an online Percona Training class, called Analyzing SQL Queries with Percona Toolkit.  This is a guided tour...

View Article

Rotating MySQL slow logs safely

This blog post is part two of two. Like part one, published Wednesday, this is a cross-post from Groupon’s engineering blog. Thanks again to Kyle Oppenheim at Groupon. And one more reminder that I’ll...

View Article


Image may be NSFW.
Clik here to view.

InnoDB performance optimization basics (redux)

I recently stumbled upon a post that Peter Zaitsev published back in 2007 titled “Innodb Performance Optimization Basics.” It’s a great post and reading it inspired me to examine what’s changed in the...

View Article

Image may be NSFW.
Clik here to view.

Innotop: A real-time, advanced investigation tool for MySQL

GUI monitoring tools for MySQL are not always suitable for all our needs or situations. Most of them are designed to provide historical views into what happens to our database over time rather then...

View Article

A closer look at the MySQL ibdata1 disk space issue and big tables

A recurring and very common customer issue seen here at the Percona Support team involves how to make the ibdata1 file “shrink” within MySQL. I can only imagine there’s a degree of regret by some of...

View Article
Browsing all 28 articles
Browse latest View live