locked
Clustered columnstore index in sql server 2014 RRS feed

  • Question

  • How can we get the list of clustered columnstore index in a database in sql server 2014

    Thursday, September 17, 2015 5:51 AM

Answers

  • Try the below:

    Select object_name(object_id),* From sys.indexes where type=5


    Please mark this reply as answer if it solved your issue or vote as helpful if it helped.
     [Blog]

    • Proposed as answer by Eric__Zhang Thursday, September 17, 2015 8:59 AM
    • Marked as answer by DJ_DBA Thursday, September 17, 2015 9:09 AM
    Thursday, September 17, 2015 6:04 AM
  • As databases are growing we also need to track which tables has clustered and nonclustered columnstore indexes.
    Sys.indexes has added two more type values to find tables which has columnstore indexes type 5 for CLUSTERED COLUMNSTORE
    • Proposed as answer by Jason_Clark03 Thursday, September 17, 2015 6:38 AM
    • Marked as answer by DJ_DBA Thursday, September 17, 2015 9:09 AM
    Thursday, September 17, 2015 6:38 AM

All replies

  • Try the below:

    Select object_name(object_id),* From sys.indexes where type=5


    Please mark this reply as answer if it solved your issue or vote as helpful if it helped.
     [Blog]

    • Proposed as answer by Eric__Zhang Thursday, September 17, 2015 8:59 AM
    • Marked as answer by DJ_DBA Thursday, September 17, 2015 9:09 AM
    Thursday, September 17, 2015 6:04 AM
  • As databases are growing we also need to track which tables has clustered and nonclustered columnstore indexes.
    Sys.indexes has added two more type values to find tables which has columnstore indexes type 5 for CLUSTERED COLUMNSTORE
    • Proposed as answer by Jason_Clark03 Thursday, September 17, 2015 6:38 AM
    • Marked as answer by DJ_DBA Thursday, September 17, 2015 9:09 AM
    Thursday, September 17, 2015 6:38 AM