<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Partitioning Example</title>
	<atom:link href="http://sqlfool.com/2008/11/102/feed/" rel="self" type="application/rss+xml" />
	<link>http://sqlfool.com/2008/11/102/</link>
	<description>Adventures in SQL Tuning - a blog for the rest of us</description>
	<lastBuildDate>Tue, 07 Feb 2012 21:28:07 -0700</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Are You Approaching Your Partition Range Limits? &#171; SQL Fool</title>
		<link>http://sqlfool.com/2008/11/102/comment-page-1/#comment-7016</link>
		<dc:creator>Are You Approaching Your Partition Range Limits? &#171; SQL Fool</dc:creator>
		<pubDate>Wed, 02 Nov 2011 20:39:15 +0000</pubDate>
		<guid isPermaLink="false">http://sqlfool.com/?p=102#comment-7016</guid>
		<description>[...] those of you who use table partitioning, you know that you need to define a partitioning scheme and function prior to applying partitioning [...]</description>
		<content:encoded><![CDATA[<p>[...] those of you who use table partitioning, you know that you need to define a partitioning scheme and function prior to applying partitioning [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yuki</title>
		<link>http://sqlfool.com/2008/11/102/comment-page-1/#comment-5344</link>
		<dc:creator>Yuki</dc:creator>
		<pubDate>Mon, 08 Nov 2010 03:36:30 +0000</pubDate>
		<guid isPermaLink="false">http://sqlfool.com/?p=102#comment-5344</guid>
		<description>how to partitiion the table based on day? one month has the most 31 days, please show us the way how to create 31 partition as the field we collected in the table does not have a computed day column, what we have is just the insert date.
I read in the white paper, if we can partition the table to day, we can use the ring structure and the new data rotates automatically. Further to this, i have one question, if this is the case, can we just truncate the table of one partition as we intend to keep the data in the staging server for just for one month? For example, we create a store procedure to check for current month max day and implement the trucate first partition a day before the max day. For Example:

Current Month: Nov, max day 30 days
and when the current month is reaching (max -1 day), we truncate the data in the 1st partition( which contains 1 Nov data only &amp; get this table ready for 1st Dec).</description>
		<content:encoded><![CDATA[<p>how to partitiion the table based on day? one month has the most 31 days, please show us the way how to create 31 partition as the field we collected in the table does not have a computed day column, what we have is just the insert date.<br />
I read in the white paper, if we can partition the table to day, we can use the ring structure and the new data rotates automatically. Further to this, i have one question, if this is the case, can we just truncate the table of one partition as we intend to keep the data in the staging server for just for one month? For example, we create a store procedure to check for current month max day and implement the trucate first partition a day before the max day. For Example:</p>
<p>Current Month: Nov, max day 30 days<br />
and when the current month is reaching (max -1 day), we truncate the data in the 1st partition( which contains 1 Nov data only &amp; get this table ready for 1st Dec).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Murali</title>
		<link>http://sqlfool.com/2008/11/102/comment-page-1/#comment-5077</link>
		<dc:creator>Murali</dc:creator>
		<pubDate>Mon, 01 Mar 2010 14:42:07 +0000</pubDate>
		<guid isPermaLink="false">http://sqlfool.com/?p=102#comment-5077</guid>
		<description>Hi , 

We are planning to implement sliding window partiontion on date range in our environment. We have to retain 3 yrs worth of data in the DB. we decided to create partions based on monthly basis. There are 720 tabes. How can I automate this process for all the tables at the end of each month. 

thanks in advance

Regards
Murali</description>
		<content:encoded><![CDATA[<p>Hi , </p>
<p>We are planning to implement sliding window partiontion on date range in our environment. We have to retain 3 yrs worth of data in the DB. we decided to create partions based on monthly basis. There are 720 tabes. How can I automate this process for all the tables at the end of each month. </p>
<p>thanks in advance</p>
<p>Regards<br />
Murali</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Meg</title>
		<link>http://sqlfool.com/2008/11/102/comment-page-1/#comment-5013</link>
		<dc:creator>Meg</dc:creator>
		<pubDate>Sat, 14 Nov 2009 23:16:39 +0000</pubDate>
		<guid isPermaLink="false">http://sqlfool.com/?p=102#comment-5013</guid>
		<description>if i set a filegroup to readonly.. what&#039;s with index reorg? ... if parts of the index is in the readonly filegroup

Regards Meg</description>
		<content:encoded><![CDATA[<p>if i set a filegroup to readonly.. what&#8217;s with index reorg? &#8230; if parts of the index is in the readonly filegroup</p>
<p>Regards Meg</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Luis Simoes</title>
		<link>http://sqlfool.com/2008/11/102/comment-page-1/#comment-286</link>
		<dc:creator>Luis Simoes</dc:creator>
		<pubDate>Mon, 16 Feb 2009 17:30:17 +0000</pubDate>
		<guid isPermaLink="false">http://sqlfool.com/?p=102#comment-286</guid>
		<description>If we switch out/in data to temporary tables using the same partition function can it be faster or using primary with constraints is the fastest method?

Regards</description>
		<content:encoded><![CDATA[<p>If we switch out/in data to temporary tables using the same partition function can it be faster or using primary with constraints is the fastest method?</p>
<p>Regards</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michelle Ufford</title>
		<link>http://sqlfool.com/2008/11/102/comment-page-1/#comment-3</link>
		<dc:creator>Michelle Ufford</dc:creator>
		<pubDate>Tue, 04 Nov 2008 19:58:59 +0000</pubDate>
		<guid isPermaLink="false">http://sqlfool.com/?p=102#comment-3</guid>
		<description>In terms of the actual code, it&#039;s pretty similar.  However, what&#039;s occurring behind the scenes is pretty different.  Associating a partitioning function with a partitioning scheme affects where data is physically stored; instantiation, on the other hand, creates an object in memory.</description>
		<content:encoded><![CDATA[<p>In terms of the actual code, it&#8217;s pretty similar.  However, what&#8217;s occurring behind the scenes is pretty different.  Associating a partitioning function with a partitioning scheme affects where data is physically stored; instantiation, on the other hand, creates an object in memory.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brian Robbins</title>
		<link>http://sqlfool.com/2008/11/102/comment-page-1/#comment-2</link>
		<dc:creator>Brian Robbins</dc:creator>
		<pubDate>Tue, 04 Nov 2008 18:45:34 +0000</pubDate>
		<guid isPermaLink="false">http://sqlfool.com/?p=102#comment-2</guid>
		<description>/* Associate the partition function with a partition scheme. */
CREATE Partition Scheme test_monthlyDateRange_ps
    AS Partition test_monthlyDateRange_pf
    All TO ([PRIMARY]);


This seems to be similar to instantiating an object in OOP .NET.... variableOne ClassType = new ClassType....</description>
		<content:encoded><![CDATA[<p>/* Associate the partition function with a partition scheme. */<br />
CREATE Partition Scheme test_monthlyDateRange_ps<br />
    AS Partition test_monthlyDateRange_pf<br />
    All TO ([PRIMARY]);</p>
<p>This seems to be similar to instantiating an object in OOP .NET&#8230;. variableOne ClassType = new ClassType&#8230;.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

