Delete replication on replication

2009-06-22 Thread sangprabv
I have configured mysql replication and test to insert some records. Both nodes synchronized but when I delete 1 record from the main node, why the second node not synchronized? TIA. Willy -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://

Re: Anyone using LVM for backing up?

2009-06-22 Thread David Sparks
Little, Timothy wrote: > We have a 20 gig db (that includes the MYIs and MYDs and FRMs). > > We are wondering how long LVM snapshots take.. in that how long might > the DB be read-locked? Do we have to read-lock it and flush tables? Take a look at mylvmbackup which takes care of flushing tables,

Re: Anyone using LVM for backing up?

2009-06-22 Thread Jim Lyons
What we do to start is the following: ) open 2 windows to the server running the mysql instance ) in one window, ) run the mysql cli and issue command 'flush tables with read lock' ) stop the slave, if this is a running slave ) run either "show master status" or "show slave status",

Re: Anyone using LVM for backing up?

2009-06-22 Thread Thomas A. McGonagle
Hi Tim, We use LVM snapshots all the time. They are essentially instantaneous with our >90GB innodb database files. A command to generate the snapshot could be: sudo /usr/sbin/lvcreate --snapshot --name mysqlsqlbackup --size 15G / dev/system/data01 Please let me know if you have any ques

Anyone using LVM for backing up?

2009-06-22 Thread Little, Timothy
We have a 20 gig db (that includes the MYIs and MYDs and FRMs). We are wondering how long LVM snapshots take.. in that how long might the DB be read-locked? Do we have to read-lock it and flush tables? Are we talking half a second, ten-seconds, 20 minutes? Currently, when we copy the raw files

Re: Half Hour Sub-query in MySQL vs. 5 Seconds in VFP?

2009-06-22 Thread Matt Neimeyer
On Fri, Jun 19, 2009 at 11:27 AM, Brent Baisley wrote: > It sounds like you want to use spatial indexes, but they only became > available in v4.1 > http://dev.mysql.com/doc/refman/5.0/en/create-index.html > http://dev.mysql.com/doc/refman/5.0/en/using-a-spatial-index.html That "feels" like the rig