June 19, 2013

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

safe bet that MySQL is up and running. That said, there are plenty of other MySQLfile descriptor” errors. I was able to get the server up with –skip-grant-tables and insert a few rows into an InnoDB table

Post: How to load large files safely into InnoDB with LOAD DATA INFILE

… about loading two huge files into InnoDB with LOAD DATA INFILE. The goal was to load this data on many servers without putting it into the binarymysql -e “set foreign_key_checks=0; set sql_log_bin=0; set unique_checks=0; load data local infile ‘infile.txt’ into table load

Post: MySQL Crash Recovery

…-safe-binlog option in MySQL 4.1 so your Innodb log and binary log are synchronized. In MySQLtable data ether in storage engine caches or in OS cache. You can save these into .sql file and use –init-file…returning error to others) and gradually increase the load as server warms up. This may sound …

Post: read_buffer_size can break your replication

load the 4 million rows with LOAD DATA INFILE: MasterA (test) > LOAD DATA INFILE ‘/tmp/data’ INTO TABLEbinary logs of both masters. MasterA: masterA> mysqlbinlog data/mysql-bin.000004 | grep block_len #Begin_load_query: file… than the safe value. Then, MasterA tries to read again the binary log from…

Post: INSERT INTO ... SELECT Performance with Innodb tables.

… with caution. Note disabling binary logs is not enough to… replication. So what are safe workarounds if you’re using …LOAD DATA INFILE ‘/tmp/tbl1.txt’ INTO TABLE tbl2; instead of: INSERT INTO tbl2 SELECT * from tbl1; INSERT … INTOfile after it is loaded back (it has to be done outside of MySQL

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

MySQL AB has even adopted it into the official database distribution starting 5.1.21 release. Below you will find the filestables‘ ‘–enable-assembler’ ‘–enable-local-infile’ ‘–with-mysqld-user=mysql‘ ‘–with-unix-socket-path=/var/lib/mysql/mysqlbinary, which can be safely done even with MySQLload

Post: How Percona does a MySQL Performance Audit

safe –defaults-file=/etc/my.cnf –pid-file=/var/run/mysqld/mysqld.pid –log-error=/var/log/mysqld.log mysql…a patched binary, we can use MySQL Proxy… the greatest load on the server…table. Queries can be rewritten. Indexes and data types and table structures can be changed. Queries can be broken into

Post: Using LVM for MySQL Backup and Replication Setup

file system Why snapshot based MySQLsafe and …run intoload it, which is done by running modprobe dm-snapshot 3) Now you have created logical volume and can unlock the tablesbinary log position which is done by running SHOW MASTER STATUS – This is binary log position you’ll need to point your MySQL

Post: Living with backups

… that just dumps all MySQL tables into a text file or ordinarily copies the binary files from the data directory to a safe location. Obviously both ways… more sphisticated or include things like processlist information, CPU load avergages, I/O load, etc. In this case tar is actually launched…

Post: Choosing innodb_buffer_pool_size

load. Idle connections for example will consume significantly less memory than connections doing work with huge temporary tablestables but there are other things you need OS cache for – MyISAM tables (mysql database, temporary etc) will need it, .frm file, binary… the safe side, having…will get into