June 19, 2013

Post: Using LVM for MySQL Backup and Replication Setup

Overhead It is simply file copy so overhead to the server is minimal. Easy to Integrate Do you want to compress backup ? Backup it toto do to perform backup of MySQL Database (or create slave) using LVM2 on Linux. 1) Connect to MySQL

Post: MySQL Query Cache

to implement. Might not work with transactions – Different transactions may see different states of the databasehow much of inserted queries are used: Qcache_hits/Qcache_inserts Other portion of overhead comes from

Post: Quickly finding unused indexes (and estimating their size)

overhead to your running server, but it’s important to leave this running for a good long while tohow big each index is if we dropped it (not big in this case with test data): mysql> select * from

Post: Implementing efficient counters with MySQL

overhead or may simply be bottleneck. If you can reduce your durability requirements this is best thing toto perform certain action (ie write back to the database) when object is removed from

Post: Faster Point In Time Recovery with LVM2 Snaphots and Binary Logs

MySQL databases – but did you know that you can now restore directly from… show you quickly how. This … able to restore up to before…mysql-data-201202230157″ successfully removed [root@sb logs]# mount /mysql/data [root@sb logs]# /etc/init.d/mysql start Starting MySQL…the extra IO overhead i.e. …