Q related to Clustered columnstored index

  • Hi everyone,

    1. My table has 8mil+ rows and 350 columns. But our query does not include calculation. It's just to join the tables and extract only. Do you think Clustered Columnstored index is suit for us?
    2. In my laptop I always get insufficient memory error whenever I tried to create clusted columnstored index. Any idea how to resolve? Below is my laptop resource.

    Object_NameCntr_value
    SQLServer:Memory Manager                                                                                                        3645440
    SQLServer:Memory Manager                                                                                                        3625208

    Database NameDatabase_SizeUnallocated space
    DB_NAME77518.00 MB9548.98 MB

    reserveddataindex_sizeunused
    43842448 KB43161632 KB453040 KB227776 KB

    Physical memory
    16657508

    Thank you,
    Best Regards,

  • If the queries are primarily point lookup (one or only a limited set of rows, say hundreds or less), then no, columnstore is a very bad solution for you. If, on the other hand, they're returning very large data sets (at least thousands), it's possible that columnstore might help.... maybe, but probably not. You'd have to test it to be sure. Columnstore really is primarily meant for analytical style queries with aggregation and the like.

    As to your laptop, make sure you're on the latest SP/CU first. However, you might not have enough memory to create a large index on a laptop. You might need to do that on a bigger machine, then move it to your laptop. Here are a few suggestions you can try to work around this.

    "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

  • Dear Grant,

    Thank you so much for your information.

    Best Regards,

Viewing 3 posts - 1 through 2 (of 2 total)

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