﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / SQL Server 2008 / SQL Server 2008 - General  / Partitioning multiple tables of varying ranges / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Fri, 24 May 2013 05:44:56 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Partitioning multiple tables of varying ranges</title><link>http://www.sqlservercentral.com/Forums/Topic1408978-391-1.aspx</link><description>Thanks Pablo for your input.  I was pretty certain it would be best to partition consistently across all tables.  Thanks!</description><pubDate>Mon, 21 Jan 2013 13:03:12 GMT</pubDate><dc:creator>darkhelmutis</dc:creator></item><item><title>RE: Partitioning multiple tables of varying ranges</title><link>http://www.sqlservercentral.com/Forums/Topic1408978-391-1.aspx</link><description>In my opinion option #1 would be more elegant.No performance advantages in going with option #2.</description><pubDate>Fri, 18 Jan 2013 13:39:10 GMT</pubDate><dc:creator>PaulB-TheOneAndOnly</dc:creator></item><item><title>Partitioning multiple tables of varying ranges</title><link>http://www.sqlservercentral.com/Forums/Topic1408978-391-1.aspx</link><description>Everyone-I am fixing a partitioning gone wrong implementation of a small number of large tables in a data warehouse.  The overall setup is the same as any of the multitude of examples provided: partitioning is right ranged based on a date column specific to each table.  The actual task of undoing and redoing the partitioning is relatively easy, but I have a question that I have not seen covered in any partitioning articles, blogs, forums, etc.The current setup partitions every table by year ranging from 2004 to present, however the range covered in the date column for each of these tables varies:Name		Lower Bound			Upper BoundTable1	2009-01-01 00:00:00.000	2013-01-17 22:03:07.000Table2	2008-02-10 20:00:00.000	2013-01-18 00:00:00.000Table3	2008-05-01 00:02:37.000	2013-01-17 23:56:52.000Table4	2008-05-01 00:19:16.000	2013-01-17 23:56:52.000Table5	2004-03-04 10:19:33.000	2013-01-18 04:47:14.970Table6	2005-10-05 06:38:54.380	2013-01-17 20:21:08.000Table7	2005-04-21 09:51:45.000	2013-01-17 23:51:32.090Table8	2009-08-06 17:30:00.000	2013-01-18 00:00:00.000Table9	2006-05-15 14:29:05.423	2013-01-18 04:06:19.270Table10	2004-02-19 15:17:08.000	2013-01-17 22:01:40.000Table11	2006-08-07 11:36:00.000	2013-01-17 21:59:58.000So the question I have: after I undo the work already done should I re-partition:- every table consistently by year from 2004 to present thus creating multiple partitions with 0 records other than the left most partition as documented for use with the sliding window technique?OR- each table by year based upon each table's earliest date (i.e. Table1 starts at 2009-01-01, Table2 starts at 2008-01-01, etc) thus leaving only the left most partition with 0 records?I tend to think sticking with the first one will be easier to create, manage, and maintain, but is there any performance advantage to doing the latter?DH</description><pubDate>Fri, 18 Jan 2013 09:40:25 GMT</pubDate><dc:creator>darkhelmutis</dc:creator></item></channel></rss>