| List: | Replication | « Previous MessageNext Message » | |
| From: | Ed W | Date: | April 18 2008 9:50am |
| Subject: | Re: innodb replication | ||
| View as plain text | |||
>> How would you put these two things together in the case of a server >> using mixed database table types for a clean backup that can be used >> to restart synchronisation? > > > You can't. Only InnoDB supports single-transaction, so though it would > still generate a dump file for other table types, you'd have no > assurance that they are clean because writes could be happening as you > do it. This is one of the advantages of using innodb. Would mysqldump --master-data --lock-all-tables work..? I guess although the read lock doesn't stop innodb writing and starting transactions, those transactions will be written after the noted commit point in the log files? I guess the problem is if the dump reads uncommitted transaction data or the transaction can commit in some way despite the read lock? > You can of course do separate dumps for other DBs, and because that > wouldn't need to include the innodb tables, it would at least reduce > the time that your tables are locked. Sure - although technically then you don't have a consistent dump between table types... > You could also look at maatkit's parallel dump/load scripts. Will do. Thanks Ed W
| Thread | ||
|---|---|---|
| • innodb replication | Edson Noboru Yamada | 23 Mar |
| • Re: innodb replication | Marcus Bointon | 24 Mar |
| • Re: innodb replication | Ed W | 18 Apr |
| • Re: innodb replication | Marcus Bointon | 18 Apr |
| • Re: innodb replication | Ed W | 18 Apr |
| • Re: innodb replication | Marcus Bointon | 18 Apr |
| • RE: innodb replication | Rick James | 19 Apr |
| • Re: innodb replication | Eric Bergen | 20 Apr |
| • Re: innodb replication | Augusto Bott | 22 Apr |
| • Re: innodb replication | Mark Callaghan | 22 Apr |
| • Re: innodb replication | Augusto Bott | 22 Apr |
| • Re: innodb replication | Eric Bergen | 22 Apr |
| • Re: innodb replication | Augusto Bott | 23 Apr |
| • Re: innodb replication | Eric Bergen | 23 Apr |
| • RE: innodb replication | Rick James | 23 Apr |
| • Re: innodb replication | Marcus Bointon | 23 Apr |
| • Re: innodb replication | Jeremy Cole | 23 Apr |
| • RE: innodb replication | Rick James | 23 Apr |
| • Re: innodb replication | Jeremy Cole | 23 Apr |
| • RE: innodb replication | Rick James | 23 Apr |
| • Re: innodb replication | Marcus Bointon | 23 Apr |
| • Re: innodb replication | Eric Bergen | 24 Apr |
| • Re: innodb replication | Moon's Father | 21 May |
