Hi,
we work with navision 40SP1
Since we updated to 40SP1 we have some performanceissues.
The serverhardware is really fine and no leaks there.
First i will do is to set the indexes to clustered, i hope it will boost the performance a bit.
I reorganize data and index pages with a maintance plan daily. (fillfactor 30% )
Must i create a second maintanace plan for update statistcs ?
Greets Flare
0
Comments
This means that you leave 70% free space on all pages.
I would consider this way too much!
My tool SQLSunrise calulates fillfactors for a maintenance intervall pretty precisely, and for big tables the average fillfactor lies around 97%. Which is pretty obvious, if you look at it like this: 3% space in a table that has 10 million records would mean enough space for 300000 new records (if the keys are distributed evenly), which should be enough for one week, i guess...?
Please adjust your fillfactors to around 95, and this will boost again.
MCT, MCITP SQL Server 2005
Author of SQL Server 2005 MOC exam items
and SQLSunrise NavTune:
http://www.sqlsunrise.com
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
To give you a much-too-late answer: yes you should create a maintenance plan to update statistics (indexonly is enough).
Best is to first rebuild the indexes, then update statistics.
Eric Wauters
MVP - Microsoft Dynamics NAV
My blog
I don't think that you need to update the statistics after rebuilding the indexes. The statistics will be updated while rebuilding the indexes.
Am i wrong?
tobias
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
To be sure, I would just do it... . It takes 30 seconds on our 40Gb database ... not worth not to do it
Eric Wauters
MVP - Microsoft Dynamics NAV
My blog
And what kind of machine is it?
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
first question :
I do a sp_createstats 'indexonly' without the fullscan parameter.
This is the "help" text:
The SQL Server 2005 Database Engine makes sure a minimum number of values are sampled to ensure useful statistics
It's always better to do a fullscan, then you're sure the stats are 100% useful, but if you don't specify it, SQL Server 2005 will make sure the stats are useful ... so in 30 seconds you have useful stats ... .
That's why I say it's better do it, than to guess it's updated through index rebuild.
You agree?
Eric Wauters
MVP - Microsoft Dynamics NAV
My blog
The reason I asked was that SQL2000 proposes 10% of sampling and it take about 10-15 minutes for a DB of about 20GB.
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!