Quantcast
Channel: Microsoft SQL Server
Viewing all articles
Browse latest Browse all 4871

Incremental Statistics on partitioned tables

$
0
0

Having recently partitioned the largest tables in my data warehouse into separate filegroups and set them up using clustered columnstore indexes, I've started now combing over some scripts to further improve nightly load performance.

We only ever change data for the current year - all past years are separated into their own files, and marked as Read Only. I notice that, in our vendor scripts, the last thing that happens after a load is an UPDATE STATISTICS call. Since our old data never changes, there is no reason to bother resampling that data.

I've been reading up on using incremental statistics, and it seems like what I'm looking for, but I'm not sure I'm understanding the setup correctly. I was hoping that SQL Server 2014 would be smart enough to know that it does not need to update statistics on a read-only filegroup, but apparently...


Viewing all articles
Browse latest Browse all 4871

Trending Articles



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