﻿<?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  / Appropriate range for partitioning / 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>Tue, 18 Jun 2013 22:44:36 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Appropriate range for partitioning</title><link>http://www.sqlservercentral.com/Forums/Topic1394392-391-1.aspx</link><description>[quote][b]mah_j (12/10/2012)[/b][hr]also i think the page split would be decreased in the partition that i want to select from it.[/quote] NO , partitoning is not related with page spliting and for partitiioning see this [url]http://www.brentozar.com/archive/2012/03/how-decide-if-should-use-table-partitioning/[/url]</description><pubDate>Mon, 10 Dec 2012 03:06:03 GMT</pubDate><dc:creator>Bhuvnesh</dc:creator></item><item><title>RE: Appropriate range for partitioning</title><link>http://www.sqlservercentral.com/Forums/Topic1394392-391-1.aspx</link><description>If you are partitioning with the idea that queries are automatically faster on partitioned tables, don't waste your time.</description><pubDate>Mon, 10 Dec 2012 02:44:18 GMT</pubDate><dc:creator>GilaMonster</dc:creator></item><item><title>RE: Appropriate range for partitioning</title><link>http://www.sqlservercentral.com/Forums/Topic1394392-391-1.aspx</link><description>There is a sharply increase in the size of transactions that is inserted in that table,and if i can do partitioning the remaining range of kind field will be half,and the performance of select statements on the table will be increased,also i think the page split would be decreased in the partition that i want to select from it.</description><pubDate>Mon, 10 Dec 2012 02:36:35 GMT</pubDate><dc:creator>mah_j</dc:creator></item><item><title>RE: Appropriate range for partitioning</title><link>http://www.sqlservercentral.com/Forums/Topic1394392-391-1.aspx</link><description>First question. Why are you partitioning? What's the purpose, what's the goal?</description><pubDate>Sun, 09 Dec 2012 08:50:56 GMT</pubDate><dc:creator>GilaMonster</dc:creator></item><item><title>Appropriate range for partitioning</title><link>http://www.sqlservercentral.com/Forums/Topic1394392-391-1.aspx</link><description>Hi I have a large table which there is just select and insert on it.It has a field named 'TranType'(int) and for some of the types we just have insert and no select at all.I want to use partitioning to separate this data into another file.but there is not any particular range for values . For example the types with no select are:1004,1006,1007,1009,1010,2000How can i use the CREATE PARTITION FUNCTION in this case?CREATE PARTITION FUNCTION PartitionDB_PartitionRange (INT)AS RANGE LEFT FORVALUES (????);Another  basic question about partitioning:I have a table like thisCREATE TABLE [dbo].[Trans](	[Num]  [int] NOT NULL,	[Date]  [datetime] NOT NULL,	[ID]       [bigint] NULL,	[Kind]        [int] NULL,	[Success]        [bit] NULL,	[CNum]       [nvarchar](20) NULL,	[Data]             [nvarchar](4000) NULL,	[Counter]       [int] NOT NULL,	[IP]         [nvarchar](25) NULL,	[Result]           [int] NULL,	CONSTRAINT [PK_Trans] PRIMARY KEY CLUSTERED([Num] ASC, [Date] ASC)	WITH (	    PAD_INDEX = OFF,	    STATISTICS_NORECOMPUTE = OFF,	    IGNORE_DUP_KEY = OFF,	    ALLOW_ROW_LOCKS = ON,	    ALLOW_PAGE_LOCKS = ON	) ON [PRIMARY]) ON [PRIMARY]so it has a Clustered Index For  PRIMARY KEY and 6 NonClustered Indexes.for partitioning on the feild "kind" should i drop all the FK and PRIMARY KEY,and create a new CLUSTERED Index on kind feild?there isnt any way that i dont have to drop all this indexes and FK s?</description><pubDate>Sun, 09 Dec 2012 03:54:29 GMT</pubDate><dc:creator>mah_j</dc:creator></item></channel></rss>