Quantcast
Channel: Windows Performance Toolkit (WPT) v5 forum
Viewing all articles
Browse latest Browse all 275

Performance issues with inserting records into a table used by indexed views?

$
0
0

I have a fairly big table, let's call that 2B records split evenly between 200 partitions (SQL Server 2012). Every day, I have a process that takes 6 hours to create a new partition and insert 10 million rows in it.

I'm having some performance when i try to join a partition to a summarized view of that partition (10M vs 100 records). I think that if i used a indexed views instead of a sub query, i could improve the performance of my reporting, but I'm a little concerned if there are any performance issues with the inserts.

It takes about 30secs to calculate the summarized view, it will be cost (time) prohibitive if summaries view get update after every insert (x10M)

So, i will like to know if asummarized indexed view get refresh: after every insert, or the next time a user read from the indexed view?

Thanks in advance


Viewing all articles
Browse latest Browse all 275

Trending Articles



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