积极答复者
关于列存储读取逻辑页的问题?

问题
-
select count(customerid) from [table_row] --逻辑读取4934页
select customerid,count(customerid) from [table_row] --逻辑读取4934页
group by customerid以上是行存储,不同的SQL读取相同的表的页数都相同
以下是列存储,不同的SQL读取相同的表的逻辑页不同select max(customerid) from [table_column] --逻辑读取1296页
select count(customerid) from [table_column] --逻辑读取16页
select customerid,count(customerid) from [table_column] --逻辑读取11616页
group by customerid
为何列存储,不同的SQL读取相同的表的逻辑页不同呢?
答案
全部回复
-
hi ,wanyongwy
column store is different from the row store completely
check this pls
解读SQL Server 2014可更新列存储索引——存储机制
SQL Server 2014新特性探秘(3)-可更新列存储聚集索引
thanks