April 17, 2018 at 8:52 am
Hello SSC,
I am looking to optimize a bunch of SQL Stored procedures. A few of the tables have columns of the XML datatype. The data in the XML columns are very wide and the tables have over 1 million rows.
My plan was to throw a COLUMNSTORE index on the XML column, but I have never used them before. I ran a few searches on Google about Columnstore indexes, but nothing was said about XML.
My question... Is this allowed and/or would it make sense to do this? What is the overhead? What will I have to do to maintain the columnstore index?
Any help would be greatly appreciated.
The are no problems, only solutions. --John Lennon
April 17, 2018 at 12:17 pm
Microsoft documentation on Columnstore:
Columns that use any of the following data types cannot be included in a columnstore index:
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
April 17, 2018 at 12:40 pm
Thanks Grant.
The are no problems, only solutions. --John Lennon
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply