Quantcast
Channel: SQL Server Database Engine forum
Viewing all articles
Browse latest Browse all 12963

Index Partition

$
0
0

hi, i have a large table with more than 26million records, doing a simple query such as "select * from scenario where marketdate = '2013-08-03'" would take more than a minute ... so ive partitioned the index only and use the marketdate as the partition column ... however, executing the simple select statement using the partitioned index doesnt make any difference against executing it using a normal index. Pls see the steps i did ...

1) copy the scenario table using select into statement

2) create a partitioned index for the cloned scenario table .. if ur thinking why i didnt partition the table so as to have an aligned partition, my department would not allow this for specific reason. 

3) run a select statement against scenario table and cloned scenario table and compare the execution time 

... although the execution plan is different, the execution time is not.

Can anyone help me pls?


Viewing all articles
Browse latest Browse all 12963

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>