(Shlomi Noach) This HOWTO discusses two (unrelated) issues with mylvmbackup: –The minimal privileges required to take MySQL backups with mylvmbackup. –Making (non compressed) file system copy of one’s data files.
Tag: Open Source
Binary Log Group Commit – Recovery
(Mats Kindahl) It was a while since I wrote the previous article, but the merging of Oracle and Sun here resulted in quite a lot of time having to be spent on attending various events and courses for legal reason (one of the reasons I prefer working for smaller companies) and together with a summer
MMM for MySQL single reader role
(Shlomi Noach) The standard documentation and tutorials on MMM for MySQL, for master-master replication setup, suggest one Virtual IP for the writer role, and two Virtual IPs for the reader role. It can be desired to only have a single virtual IP for the reader role, as explained below.
Divide a table into a partitions
(Pavel Stehule) Hello I had to verify a speed of two methods of dividing data to partion. First method is based on dynamic SQL, second is based on cursor scan and prepared statements. I was surprised – both variants has a same speed.
Table refactoring & application version upgrades, Part II
(Shlomi Noach) Continuing Table refactoring & application version upgrades, Part I, we now discuss code & database upgrades which require DROP operations. As before, we break apart the upgrade process into sequential steps, each involving either the application or the database, but not both.
The case against using rpm packaging for MySQL
(Ronald Bradford) In some environments using a distro package management system may* provide benefits including handling dependencies and providing a simpler approach when there are no dedicated DBA or SA resources.
Table refactoring & application version upgrades, Part I
(Shlomi Noach) A developer’s major concern is: How do I do application & database upgrades with minimal downtime? How do I synchronize between a DB’s version upgrade and an application’s version upgrade?
Why GRANT ALL is bad
(Ronald Bradford) A common observation for many LAMP stack products is the use of poor MySQL security practices. Even for more established products such as WordPress don’t always assume that the provided documentation does what it best for you. As per my earlier posts where I detailed installation i
Tips for taking MySQL backups using LVM
(Shlomi Noach) LVM uses copy-on-write to implement snapshots. Whenever you’re writing data to some page, LVM copies the original page (the way it looked like when the snapshot was taken) to the snapshot volume. The snapshot volume must be large enough to accommodate all pages written to for the dura
Two subtle bugs in OUTER JOIN queries
(Baron Schwartz) OUTER JOIN queries in SQL are susceptible to two very subtle bugs that I’ve observed a number of times in the real world. Daniel and I have been hammering out ways to automatically detect queries that suffer from these bugs, in a relatively new Maatkit tool called mk-query-advisor.
