在分区方案上创建 table 与在分区方案上创建聚簇索引有什么区别

What is the difference between creating a table on partition scheme versus creating a cluster index on partition scheme

要实现分区,您可以在分区方案上创建 table 或在主数据库上创建 table,然后在分区方案上添加聚簇索引。这两种方法之间有什么difference/preference吗?在查询系统分区时,它们似乎都实现了同一组分区。

Is there any difference/preference between the two approaches?

聚簇索引和table,所以没有,没有区别。当您直接或通过主键约束创建聚集索引时,您是 re-creating table,并将其移动到分区方案。

我能想到的唯一可观察到的区别是,如果您从文件组上的 table 开始,添加一些 non-clustered 索引,然后添加分区聚集索引,non-clustered 索引将保留在文件组中,而不是分区方案中。