Results 1 to 5 of 5

Thread: MS SQL: Creating Partition to existing table

  1. #1
    Join Date
    Nov 2006
    Posts
    6

    Lightbulb MS SQL: Creating Partition to existing table

    I have read articles "Data Partitioning in SQL Server 2005 - Part I & II", they are great. Is there any article on how to create partition to existing table?
    Thanks
    Hannah

  2. #2
    Join Date
    Sep 2002
    Location
    Fantasy
    Posts
    4,254
    This article is a series. part III will talk abt this. meanwhile you could check the syntax for dropping index.

    drop index MyTable_IXC on MyTable with (Move To [Data Partition Scheme] (ID) )

  3. #3
    Join Date
    Dec 2008
    Posts
    1
    Hi
    What if partition key is not a part of a clustered index?
    Regards

  4. #4
    Join Date
    Sep 2002
    Posts
    5,938
    Then table is partitioned by partition key, and data in each partition are physically ordered by clustered index. We found that using clustered index as partition key has better performance.

  5. #5
    Join Date
    Sep 2002
    Location
    Fantasy
    Posts
    4,254

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •