June 19, 2013

Post: MySQL Installation and upgrade scripts.

logs created because SELinux restricts console output as MySQL changes name to “mysql“. Come On, as I remember MySQLMySQL binary and if you’re standard MySQLMySQL but find the database is gone now. mysql

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

…major components: Percona XtraBackup for MySQL for binary backups mydumper for logical backups…through each DB write out ALTER DATABASE DEFAULT CHARACTER SET to the …5.6, you can now pull binary logs in real time to another server…”FLUSH TABLE WITH READ LOCK”. Namely when a select is blocking…

Post: Percona Replication Manager, a solution for MySQL high availability with replication using Pacemaker

namely Florian Haas and Raoul Bhatia, I have been able to modify the existing MySQL…outdated_slaves=”false” \ binary=”/usr/bin/mysqld_safe…MySQL. Default is to run select count(*) on mysqllog_slave_updates = OFF” (default value). In some cases, if slaves are logging… the application database use doesn…

Post: Updated msl (microslow) patch, installation walk-through!

… `/home/macko/work/mysql-5.0.51a’ The new database binary should be now available in sql subdirectory: (garfield:~/work/mysql-5.0.51a… log_slow_filter. log-slow-queries[=name] Log slow queries to this log file. Defaults logging to hostname-slow.log file. Must be enabled to activate other slow log

Post: Debugging problems with row based replication

MySQL 5.1 introduces row based binary logging. In fact, the default binary logging format in GA versions of MySQLdatabase with row-based logs.  Take as an example a DELETE statement which does not modify any rows.  No binary logging

Post: How Percona does a MySQL Performance Audit

database. The first step is to find out what MySQLdefaults-file=/etc/my.cnf –pid-file=/var/run/mysqld/mysqld.pid –log-error=/var/log/mysqld.log mysql… Variable_name | Value | Value | …binary, we can use MySQL Proxy, packet sniffing, or other techniques to get more information than the slow log

Post: Converting Character Sets

binary logsMySQL user –version|V Display version information and exit defaults are: ATTRIBUTE VALUE ————————– —————— askpass FALSE charset utf8 collate No Default Value database No Default

Post: How to recover deleted rows from an InnoDB Tablespace

default format is COMPACT. More information about row format on the following link: http://dev.mysqllog. mysql (employees) > CREATE TABLE innodb_table_monitor (id int) ENGINE=InnoDB; TABLE: name… it in our database: mysql (employees) > LOAD DATA INFILE… you have a binary backup. Just use constraint_…

Post: Recovery after DROP & CREATE

name (last_name) -> )ENGINE=InnoDB DEFAULT CHARSET=utf8; Query OK, 0 rows affected (0.56 sec) # ./page_parser -f /var/lib/mysql…”PENELOPEGUINESS” pages-1345220873/FIL_PAGE_INDEX/ Binary file pages-1345220873/FIL…_id belongs to which database/table. Sometime it’s…written to the redo log right before a …

Post: dbqp and Xtrabackup testing

… = (“%s –apply-log –no-timestamp –use-memory=500M…against database software…MySQL / Percona server and the appropriate xtrabackup binary. The tests live in dbqp/percona_tests/xtrabackup_basic and are namedmysql –xtrabackup-path=/mah/path –innobackupex-path=/mah/other/path –default-server-type=mysql