cancel
Showing results for 
Search instead for 
Did you mean: 

Problems with SQL Server Statistics.

nalvher
Discoverer
0 Kudos
99

Dear experts.

We have some programs (Z) making high costing accesess to some tables, related with this, for some tables we create new statistics in a daily basis (MSEG, PRPS and so on..) the problem is that some days (not always) those programs degradate drastrically and we need to re-create statistics in order to recover normal performance.

The question we want to ask is that any of you have had this behaviour before and found (or know) any reason for it.

Could you please give us some hint about this (strange) issue?.

Hope you could help us.

Accepted Solutions (0)

Answers (1)

Answers (1)

mamartins
Active Contributor

Compare the execution plans to find out where the degradation occurs. 
Please check if the right trace flags are set for your MSSQL version, check SAP note 1660220 - Microsoft SQL Server: Common misconceptions - SAP for Me
More info here: https://learn.microsoft.com/en-us/sql/relational-databases/statistics/statistics?view=sql-server-ver...