<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.2.2" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: How to write efficient archiving and purging jobs in SQL</title>
	<link>http://www.xaprb.com/blog/2006/05/02/how-to-write-efficient-archiving-and-purging-jobs-in-sql/</link>
	<description>Stay curious!</description>
	<pubDate>Sun, 20 Jul 2008 11:28:01 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.2.2</generator>

	<item>
		<title>By: Xaprb</title>
		<link>http://www.xaprb.com/blog/2006/05/02/how-to-write-efficient-archiving-and-purging-jobs-in-sql/#comment-12583</link>
		<author>Xaprb</author>
		<pubDate>Fri, 27 Jul 2007 10:16:50 +0000</pubDate>
		<guid>http://www.xaprb.com/blog/2006/05/02/how-to-write-efficient-archiving-and-purging-jobs-in-sql/#comment-12583</guid>
		<description>&lt;p&gt;Great, I'm glad it helped!  By the way, I have released a tool that does a fantastic job of archiving and purging MySQL tables, as part of &lt;a href="http://mysqltoolkit.sourceforge.net/" rel="nofollow"&gt;MySQL Toolkit&lt;/a&gt;.  If you're using MySQL, you should take a look at it.&lt;/p&gt;</description>
		<content:encoded><![CDATA[<p>Great, I&#8217;m glad it helped!  By the way, I have released a tool that does a fantastic job of archiving and purging MySQL tables, as part of <a href="http://mysqltoolkit.sourceforge.net/" rel="nofollow">MySQL Toolkit</a>.  If you&#8217;re using MySQL, you should take a look at it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Remi Morin</title>
		<link>http://www.xaprb.com/blog/2006/05/02/how-to-write-efficient-archiving-and-purging-jobs-in-sql/#comment-12535</link>
		<author>Remi Morin</author>
		<pubDate>Wed, 25 Jul 2007 15:19:51 +0000</pubDate>
		<guid>http://www.xaprb.com/blog/2006/05/02/how-to-write-efficient-archiving-and-purging-jobs-in-sql/#comment-12535</guid>
		<description>Thanks.
I am working on a system which keep 30 days of archiving, and then the 31 days, it send the oldest day to trash... since there is millions rows in some table, this hang for a while. The system is a monitoring tool, so freezing is not an option.

Thanks, for you're article since it provide me strategy to solve the problem without modifying the code (I was thinking to delete hour by hour instead than a whole day block).

Remi Morin</description>
		<content:encoded><![CDATA[<p>Thanks.<br />
I am working on a system which keep 30 days of archiving, and then the 31 days, it send the oldest day to trash&#8230; since there is millions rows in some table, this hang for a while. The system is a monitoring tool, so freezing is not an option.</p>
<p>Thanks, for you&#8217;re article since it provide me strategy to solve the problem without modifying the code (I was thinking to delete hour by hour instead than a whole day block).</p>
<p>Remi Morin</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Archive strategies for OLTP servers, Part 2 at Xaprb</title>
		<link>http://www.xaprb.com/blog/2006/05/02/how-to-write-efficient-archiving-and-purging-jobs-in-sql/#comment-11583</link>
		<author>Archive strategies for OLTP servers, Part 2 at Xaprb</author>
		<pubDate>Thu, 14 Jun 2007 12:20:55 +0000</pubDate>
		<guid>http://www.xaprb.com/blog/2006/05/02/how-to-write-efficient-archiving-and-purging-jobs-in-sql/#comment-11583</guid>
		<description>[...] I&#8217;m basing these articles on the nibbling principle I explained in my very first article on archiving strategies. The goal is not to move away tables [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] I&#8217;m basing these articles on the nibbling principle I explained in my very first article on archiving strategies. The goal is not to move away tables [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Archive strategies for OLTP servers, Part 1 at Xaprb</title>
		<link>http://www.xaprb.com/blog/2006/05/02/how-to-write-efficient-archiving-and-purging-jobs-in-sql/#comment-11556</link>
		<author>Archive strategies for OLTP servers, Part 1 at Xaprb</author>
		<pubDate>Wed, 13 Jun 2007 12:14:24 +0000</pubDate>
		<guid>http://www.xaprb.com/blog/2006/05/02/how-to-write-efficient-archiving-and-purging-jobs-in-sql/#comment-11556</guid>
		<description>[...] May 2005, I wrote a widely-referenced article about how to efficiently archive and/or purge data from online transaction processing (OLTP) database serv.... That article focused on how to write efficient archiving SQL. In this article I&#8217;ll discuss [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] May 2005, I wrote a widely-referenced article about how to efficiently archive and/or purge data from online transaction processing (OLTP) database serv&#8230;. That article focused on how to write efficient archiving SQL. In this article I&#8217;ll discuss [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Xaprb</title>
		<link>http://www.xaprb.com/blog/2006/05/02/how-to-write-efficient-archiving-and-purging-jobs-in-sql/#comment-2466</link>
		<author>Xaprb</author>
		<pubDate>Wed, 15 Nov 2006 02:15:50 +0000</pubDate>
		<guid>http://www.xaprb.com/blog/2006/05/02/how-to-write-efficient-archiving-and-purging-jobs-in-sql/#comment-2466</guid>
		<description>&lt;p&gt;Ziad, I'm afraid I don't know much about sending mail from within a stored procedure.  You might try making sure the message is formatted correctly (read the RFC; is there a single . at the beginning of a line in the email?) and make sure the string you've allocated is long enough to hold the entire message.  Otherwise I haven't a clue what could be happening.&lt;/p&gt;</description>
		<content:encoded><![CDATA[<p>Ziad, I&#8217;m afraid I don&#8217;t know much about sending mail from within a stored procedure.  You might try making sure the message is formatted correctly (read the RFC; is there a single . at the beginning of a line in the email?) and make sure the string you&#8217;ve allocated is long enough to hold the entire message.  Otherwise I haven&#8217;t a clue what could be happening.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ziad</title>
		<link>http://www.xaprb.com/blog/2006/05/02/how-to-write-efficient-archiving-and-purging-jobs-in-sql/#comment-2465</link>
		<author>Ziad</author>
		<pubDate>Wed, 15 Nov 2006 01:58:50 +0000</pubDate>
		<guid>http://www.xaprb.com/blog/2006/05/02/how-to-write-efficient-archiving-and-purging-jobs-in-sql/#comment-2465</guid>
		<description>&lt;p&gt;Hi i'm a junior programmer in the philippines. I had a problem in regards to execution of more than 1 process.&lt;/p&gt;

&lt;p&gt;I made a stored procedure containing these processes. Generally inside my procedure I made/declare a table for containing the resultset, used a cursor, inside the cursor there's a process that preps a string of html codes along with the rows from the cursor then along with it executing a a process that sends it as an email.
(note: all been declared had been dropped after the process)&lt;/p&gt;

&lt;p&gt;My problem was after receiving the email, the content is not completed, it seems that it had executed the email sending before it finishes the string of html codes as its email body.&lt;/p&gt;

&lt;p&gt;What technique(s) should i research/refer to?&lt;/p&gt;

&lt;p&gt;Thanks&lt;/p&gt;</description>
		<content:encoded><![CDATA[<p>Hi i&#8217;m a junior programmer in the philippines. I had a problem in regards to execution of more than 1 process.</p>
<p>I made a stored procedure containing these processes. Generally inside my procedure I made/declare a table for containing the resultset, used a cursor, inside the cursor there&#8217;s a process that preps a string of html codes along with the rows from the cursor then along with it executing a a process that sends it as an email.<br />
(note: all been declared had been dropped after the process)</p>
<p>My problem was after receiving the email, the content is not completed, it seems that it had executed the email sending before it finishes the string of html codes as its email body.</p>
<p>What technique(s) should i research/refer to?</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Me</title>
		<link>http://www.xaprb.com/blog/2006/05/02/how-to-write-efficient-archiving-and-purging-jobs-in-sql/#comment-2448</link>
		<author>Me</author>
		<pubDate>Tue, 14 Nov 2006 06:43:41 +0000</pubDate>
		<guid>http://www.xaprb.com/blog/2006/05/02/how-to-write-efficient-archiving-and-purging-jobs-in-sql/#comment-2448</guid>
		<description>&lt;p&gt;Where are the comments?&lt;/p&gt;</description>
		<content:encoded><![CDATA[<p>Where are the comments?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
