Columnstore Index Changes in SQL Server 2014

  • Ed Pollack

    Hall of Fame

    Points: 3107

    Comments posted to this topic are about the item Columnstore Index Changes in SQL Server 2014

  • prabhu.st

    SSCrazy

    Points: 2552

    as I read though this artcile i stuck here..

    Microsoft had recommendations on ways to rewrite queries in order to take advantage of batch processing

    could you please give me a sample for the both

    executing queries on row-basis and batch-wise..

  • Ed Pollack

    Hall of Fame

    Points: 3107

    prabhu.st (7/25/2014)


    as I read though this artcile i stuck here..

    Microsoft had recommendations on ways to rewrite queries in order to take advantage of batch processing

    could you please give me a sample for the both

    executing queries on row-basis and batch-wise..

    I should have included the link before---Microsoft has spent some time writing up articles and examples of how to do this. Here's a link to their TechNet article:

    There's a lot to read through there, but if you have any specific questions on their examples, or are looking for more, I can see what we can do to expand on it.

    Thanks,

    -Ed

  • prabhu.st

    SSCrazy

    Points: 2552

    Hi,

    the link you provided is very useful to know about the DOs and DONTs, and don't mistake me there is one more mistake to be corrected in your article, you have given as "only non-clustered index" available, but clustered index to available with ColumnStore Index

    http://msdn.microsoft.com/en-IN/library/gg492088.aspx

    Key Characteristics

    Applies to: SQL Server 2014 through SQL Server 2014.

    In SQL Server, a clustered columnstore index:

    Is available in Enterprise, Developer, and Evaluation editions.

    Is updateable.

    Is the primary storage method for the entire table.

    Has no key columns. All columns are included columns.

    Is the only index on the table. It cannot be combined with any other indexes.

    Can be configured to use columnstore or columnstore archival compression.

    Does not physically store columns in a sorted order. Instead, it stores data to improve compression and performance.

    Applies to: SQL Server 2012 through SQL Server 2014.

    In SQL Server, a nonclustered columnstore index:

    Can index a subset of columns in the clustered index or heap. For example, it can index the frequently used columns.

    Requires extra storage to store a copy of the columns in the index.

    Is updated by rebuilding the index or switching partitions in and out. It is not updateable by using the DML operations such as insert, update, and delete.

    Can be combined with other indexes on the table.

    Can be configured to use columnstore or columnstore archival compression.

    Does not physically store columns in a sorted order. Instead, it stores data to improve compression and performance. Pre-sorting the data before creating the columnstore index is not required, but can improve columnstore compression.

    above said is also one more point needs to be corrected in your article "Clustered Index" can also available with columnstore index in SQL 2014

  • carlje54

    SSC Enthusiast

    Points: 180

    This requires SQL2014 Enterprise Edition!

  • Ed Pollack

    Hall of Fame

    Points: 3107

    carlje54 (7/29/2014)


    This requires SQL2014 Enterprise Edition!

    Please check Microsoft's documentation:

    http://msdn.microsoft.com/en-us/library/gg492088.aspx]

    It is available in Enterprise, but also in Developer and Evaluation.

  • Andrew..Peterson

    SSCertifiable

    Points: 6719

    Thanks for the write up. it's great to hear advances in the column store, and the ability to insert new data to a table with a column store Index (for v 2014).

    If you do any follow-ups, it would be great to hear about performance issues, or joining with other tables - if possible.

    The more you are prepared, the less you need it.

Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in to reply to this topic. Login to reply