索引表如何更新 [英] How INDEX Table Updates

查看:132
本文介绍了索引表如何更新的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一张表和一些索引(一个聚簇索引和一些非聚簇索引),如果在原始表上发生一些大容量插入(包含10,000条记录),那么索引表将如何更新.
我的意思是每个记录或一次全部更新的索引表...
在这种情况下,聚簇索引表和非聚簇索引表的更新存在任何差异.

I have one table and some indexes(one clustered index and some non clustered indexes) on it, if some bulk insert(contains 10,000 records) occurs on original table then how the index tables updated.
I mean index table updates for every record or all at once...
In this case is there any differences in update of clustered index table and non clustered index table.

推荐答案

对于簇索引,当它重建时,它会从头开始重建,默认情况下是任何pk具有聚簇索引
For Cluster index when it rebuild it rebuild from scratch and by Default any pk have cluster index


这篇关于索引表如何更新的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆