Quantcast
Channel: SQLServerCentral » SQL Server 2014 » Administration - SQL Server 2014 » Latest topics
Viewing all articles
Browse latest Browse all 6525

Statistics Question

$
0
0
Hi,I am in the process of setting up some of Ola Hallengren's database maintenance scripts. As most of you probably know, there is an Index Optimize job for user databases. I have a table in a vendor-delivered database that's responsible for importing data (we populate the table, then run something inside the application that pulls data from that table into other tables in the database). Well, that first table has hundreds of rows and hundreds of statistics. When I run Ola's script, I see that the clustered index was rebuilt and the statistics updated for that index, which I expected. However, none of the other, very outdated statistics in that table were touched. So I have two questions:1) Does it make sense that none of those other statistics were updated? Is it likely only focusing on INDEX statistics and no other type? If the clustered index was updated, should I be worried about updating the other statistics?2) Does it make sense that I have that many statistics period--a couple hundred!?This "import" process from this staging table to other tables by the application used to take around an hour and now it takes several hours, so I'm trying to analyze some of the low-hanging fruit to understand what might be causing this.Thanks,Mike

Viewing all articles
Browse latest Browse all 6525

Trending Articles