Unix Technical Forum

database partition

This is a discussion on database partition within the SQL Server Data Warehousing forums, part of the Microsoft SQL Server category; --> Hello, My question is about database partition. I know how to define a filegroup, Partition Function, Partition scheme and ...


Go Back   Unix Technical Forum > Database Server Software > Microsoft SQL Server > SQL Server Data Warehousing

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-27-2008, 06:54 PM
Microsoft
 
Posts: n/a
Default database partition

Hello,

My question is about database partition. I know how to define a filegroup,
Partition Function, Partition scheme and do a partion on brand new table.
But my question is how can I partition a existing table without droping it!!

Thanks for help
Hooman





Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-27-2008, 06:54 PM
Myles.Matheson@gmail.com
 
Posts: n/a
Default Re: database partition

Hello Hooman,

The most practical way is to use SSIS to populate the partitions or
T-SQL Insert Statement.

Try this:

1. Create the new table with a temporary name ie PartitionTable_temp,
2. Use SSIS to transfer the data from the source table to
PartitionTable_temp,
3. Drop your source table and rename the PartitionTable_temp to the
source.

Hopefully you have enough disk space.

Hope this helps,

Myles Matheson
Data Warehouse Architect
http://bi-on-sql-server.blogspot.com/

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 01:29 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com