对现有表进行分区

发布于 2024-08-19 06:04:47 字数 50 浏览 2 评论 0原文

如何在 SQL Server 2005/08 中对现有表进行分区?我找不到更好的线索。

How do I partition existing table in SQL Server 2005/08? I couldn't find a better clue on it.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

抱着落日 2024-08-26 06:04:47

这是一篇关于如何执行此操作的完整文章。 (创建表,插入数据,然后分区)

技巧是将表移动到新分区。

DROP INDEX MyTable_IXC ON MyTable WITH (Move To [Data Partition Scheme] (ID) )

Here is a full article on how to do this. (Create table, insert data, then partition)

Trick is to move the table to the new partition.

DROP INDEX MyTable_IXC ON MyTable WITH (Move To [Data Partition Scheme] (ID) )
情绪少女 2024-08-26 06:04:47

既然您没有给出错误,我想您正在寻找有关如何执行此操作的一般信息?分区不是几秒钟就能掌握的。有关该主题的一些信息可以在以下链接中找到。

SQL2005: http://msdn.microsoft.com/en -us/library/ms188706(SQL.90).aspx

SQL2008:http://msdn.microsoft.com/en-us/library/ms188706.aspx

sqlskills 文章 http://www.sqlskills.com/resources/Whitepapers/Partitioning%20in%20SQL%20Server%202005%20Beta%20II.htm

Since you give no errors I suppose you are looking for general information on how to do it? Partitioning is not something you can master in just a few seconds. Some information on the subject can be found in the following links.

SQL2005: http://msdn.microsoft.com/en-us/library/ms188706(SQL.90).aspx

SQL2008: http://msdn.microsoft.com/en-us/library/ms188706.aspx

sqlskills article http://www.sqlskills.com/resources/Whitepapers/Partitioning%20in%20SQL%20Server%202005%20Beta%20II.htm

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文