Home > Archive > MySQL ODBC Connector > April 2006 > Re: Replication for historical data









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: Replication for historical data
Atle Veka

2006-04-07, 1:28 pm

Do you have control over your DELETE queries? If so, 'SET SQL_LOG_BIN=0'
would be an easy implementation.

A common approach in my experience is to have a script query the master
and archive data to a second database before any deletes are done.

If you have no control over the DELETE queries and when they occur, you
may have to look into parsing the binlogs yourself...


Atle
-
Flying Crocodile Inc, Unix Systems Administrator

On Fri, 7 Apr 2006, Ian Collins wrote:

> Hi,
> I have a customer who wants to be able to replicate their live MySQL
> database to a second server, but not to have any data deleted.
> i.e., they want to accumulate the data.
>
> I don't believe you can do this with replication. Does anyone know a way
> of doing this?
>
> Cheers,
> Ian.
>
>
>


--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: http://lists.mysql.com/mysql? unsub...sie.nctu.edu.tw

Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com