The Columnstore Index Scan and Columnstore Index Seek operators appear in execution plans when SQL Server accesses data from a columnstore index. Columnstore indexes are optimized for analytical queries on large datasets and use a columnar storage format, which is different from traditional row-based storage.
Icon of this operator
See the example
For the demo here we are creating
a table, creating column store index and inserting some records into this
table.
CREATE TABLE sales DECLARE @a INT, SET @a=100000; SET @b=1; WHILE @b<=@a |
Inserted 100k records into this
table.
Let’s run the below query.
See the execution plan
No comments:
Post a Comment
If you have any doubt, please let me know.