在 SQL Server 中对表进行分区,会影响我的软件吗?

发布于 2024-11-13 13:22:22 字数 76 浏览 9 评论 0原文

  1. 我需要更新我的软件来支持分区表吗?
  2. SQL Server 中的分区表是否会更改我的数据库表?
  1. Do I need to update my software to support partitioned table?
  2. Does partitioning tables in SQL Server change my database table?

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

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

发布评论

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

评论(2

夏日落 2024-11-20 13:22:22

数据库分区是 DBMS 级别的功能,以便 DBMS 将表的数据分布到不同的表中并更新索引。这种分区对于应用程序来说是透明的,并且任何查询都不会因分区而改变。

你的表结构不会改变;相反,分区后,数据将分布在多个表中。您可以将分区可视化为水平分割表数据并将其分布在两个或多个表中。唯一的区别是 DBMS 不会让您知道数据被拆分到多个表中

Database partitioning is a DBMS level feature such that the DBMS will distribute the data of a table across different tables and update the index as well. This partitioning is transparent to the application and none of the queries will change as a result of your partitions.

Your table structure will not change; instead, after partitioning, the data will be distributed across multiple tables. You can visualize partitioning as horizontally splitting your table data and distributing it among two or more tables. The only difference is that the DBMS will not let you know of the data being split among multiple tables

你是暖光i 2024-11-20 13:22:22

参考SQL Server 2005 中的分区表和索引< /a>:

SQL Server 2005 提供了一种轻松地
并一致地管理大表
并通过分区建立索引,
它允许您管理子集
您的数据位于活动表之外。
这提供了简化的管理,
提高性能并抽象
应用程序逻辑,作为分区
计划对各方完全透明
应用程序。

阅读提供的文章,了解有关 sql server 中表分区的最佳实践。


另请参阅:

分区表和索引概念

设计分区以提高查询性能

Refering to Partitioned Tables and Indexes in SQL Server 2005:

SQL Server 2005 offers a way to easily
and consistently manage large tables
and indexes through partitioning,
which allows you to manage subsets of
your data outside of the active table.
This provides simplified management,
increased performance, and abstracted
application logic, as the partitioning
scheme is entirely transparent to the
application.

Read the provided article to learn the best practices about tables partitioning in sql server.


Also refer to:

Partitioned Table and Index Concepts

Designing Partitions to Improve Query Performance

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