June 19, 2013

Post: MySQL Backup tools used by Percona Remote DBA for MySQL

to dump schema’s. It does not handle views/triggers/procedures etc. Run with –no-schemas, instead useto cost effectively store long term backups with little additional work Tips/Tricks: –add-header=x-amz-server-side-encryption:AES256 to use

Post: MySQL Slow query log in the table

MySQL 5.1 get MySQL slow query log logged in mysql.slow_…not trivial while staying 100% compatible to standard format as TIME type which is used to store query execution time and lock time does not storeused if log table is locked. One thing which would be rather handy is UDF or stored procedure to

Post: MySQL Query Cache

or use different case – these would be different queries for query cache. Only SELECT queries are cached SHOW commands or stored procedure calls are notto use query cache ? Third party application – You can’t change how it works with MySQL to

Post: How Percona does a MySQL Performance Audit

not possible to use a patched binary, we can use MySQL Proxy, packet sniffing, or other techniques toor apps that have a lot of stored procedures, which are more difficult to analyze because you have to

Post: Stored Function to generate Sequences

to help them to convert their sequence generation process to the stored procedure and even though I have already seen it somewhere I did not…here for public benefit or my later use :) delimiter // create function seq(…MySQL 5.0 you may with to use them instead of auto_increment with Innodb tables to

Post: How FLUSH TABLES WITH READ LOCK works with Innodb Tables

… take to complete this statement. Lets look at what the problem is. As of MySQL 5.5 FLUSH TABLES WITH READ LOCK does not work… to proceed, but resolving server gridlock one way or another. If you’re just using Innodb tables and you’re not actively changing users, stored procedures

Post: Top 5 Wishes for MySQL

use when such need arises but we still can’t deny – MySQL does not handle complex queries well, being able to useto ensure Group Commit still works in 5.0 and so we do not get major regressions. I’m saying about Stored Procedures

Post: xtrabackup-0.5, bugfixes, incremental backup introduction

procedure you can see output: The latest check point (for incremental): ’1319:813219999′ >> log scanned up toto change it in next release. Beside putting last checkpoint LSN to output we also store it in xtrabackup_checkpoint file to usemysql/xtrabackup/0.5

Comment: Upgrading MySQL

to the newer binaries and run mysql_check followed by mysql_upgrade. That works pretty well as long as you don’t have stored procedures or triggers which the 5.1 upgrade may not cope… to be taken into account when the server size gets too large for dump/load to be used, or what extra steps or things need to

Comment: Filtered MySQL Replication

…features as stored procedures and triggers, as well as with high concurrency transactional engines – I’m not sure Falcon or PBXT could use logical …features planned for MySQL 5.0 like Stored Procedures and Triggers can be hard to get with statement based replication. There were discussions to get row…