Comments on: How to write efficient archiving and purging jobs in SQL http://www.xaprb.com/blog/2006/05/02/how-to-write-efficient-archiving-and-purging-jobs-in-sql/ Stay curious! Fri, 10 May 2013 18:25:19 +0000 hourly 1 http://wordpress.org/?v=3.5.1 By: Xaprb http://www.xaprb.com/blog/2006/05/02/how-to-write-efficient-archiving-and-purging-jobs-in-sql/#comment-19702 Xaprb Mon, 17 Oct 2011 20:26:45 +0000 http://www.xaprb.com/blog/?p=121#comment-19702 It can archive dependencies, but it’s not part of the core functionality. It has to be provided by a plugin.

]]>
By: Brian http://www.xaprb.com/blog/2006/05/02/how-to-write-efficient-archiving-and-purging-jobs-in-sql/#comment-19699 Brian Sat, 15 Oct 2011 20:18:37 +0000 http://www.xaprb.com/blog/?p=121#comment-19699 Does this tool archive dependent records as well? For example, if I archive a record in order_header, will it also archive records in order_line (and all downstream dependencies), assuming that FKs have been properly setup?

]]>
By: Jaco Kroon http://www.xaprb.com/blog/2006/05/02/how-to-write-efficient-archiving-and-purging-jobs-in-sql/#comment-19038 Jaco Kroon Thu, 06 Jan 2011 18:42:11 +0000 http://www.xaprb.com/blog/?p=121#comment-19038 Hi,

Using an order by id limit 1 will get you the same results as using min(id), however, it should also get your “scan until we find a matching row”, so in both your find first row as well as find next row this may be a better approach.

]]>
By: anjaneya raju http://www.xaprb.com/blog/2006/05/02/how-to-write-efficient-archiving-and-purging-jobs-in-sql/#comment-19035 anjaneya raju Tue, 04 Jan 2011 20:10:37 +0000 http://www.xaprb.com/blog/?p=121#comment-19035 I am planning to use mk-archiver for archiving the databases.I tested it and works perfect.
When iam archiving the data, it is copying all the rows but leaving the last record in a table.

could you please explain me why is it leaving the last record?

Is there any option so that i can copy certain number of rows instead of copying all the rows?

appreciate your help

Thanks
Raju

]]>
By: MySQL Archiver can now archive each row to a different table at Xaprb http://www.xaprb.com/blog/2006/05/02/how-to-write-efficient-archiving-and-purging-jobs-in-sql/#comment-16872 MySQL Archiver can now archive each row to a different table at Xaprb Sun, 30 Aug 2009 11:50:20 +0000 http://www.xaprb.com/blog/?p=121#comment-16872 [...] rows per second. This is single-row inserts. (It is not intended to archive fast; it is intended to archive without disturbing the OLTP processes. Obviously this server can do a lot more inserts and deletes than [...]

]]>