Auto Create Statistics On or Off?

  • Auto Create Statistics On or Off?

    Posted by Jason Wilder on November 20, 2019 at 4:07 pm
    • Jason Wilder

      Member

      November 20, 2019 at 4:07 PM

      I have a big post in regards to some SQL settings/ best practices you should at least think about.Ā  Before posting that I wanted to get some feedback on the option called “Auto Create Statistics”.Ā  In SQL Server Management Studio if you go to your NAV database, properties, options you should see a property called “Auto Create Statistics”.Ā  It has been suggested by a well respected SQL DBA that we have this set to True.Ā  I believe the only reason ours is set to false is because of NAV on older versions (like the 5.0 or before) it was recommended to turn this off but can’t really remember.

      So my question to everybody is for a NAV 2018 database (or similar)Ā  what should “Auto Create Statistics” be set to?

      ——————————
      Jason Wilder
      Senior Application Developer
      Stonewall Kitchen
      York ME
      ——————————

    • Ron Ketterling

      Member

      November 21, 2019 at 7:00 AM

      Always a good practice to have auto statistics on.
      Sent from my T-Mobile 4G LTE Device

      ——Original Message——

      I have a big post in regards to some SQL settings/ best practices you should at least think about.Ā  Before posting that I wanted to get some feedback on the option called “Auto Create Statistics”.Ā  In SQL Server Management Studio if you go to your NAV database, properties, options you should see a property called “Auto Create Statistics”.Ā  It has been suggested by a well respected SQL DBA that we have this set to True.Ā  I believe the only reason ours is set to false is because of NAV on older versions (like the 5.0 or before) it was recommended to turn this off but can’t really remember.

      So my question to everybody is for a NAV 2018 database (or similar)Ā  what should “Auto Create Statistics” be set to?

      ——————————
      Jason Wilder
      Senior Application Developer
      Stonewall Kitchen
      York ME
      ——————————

    • Stephen Marsh

      Member

      November 21, 2019 at 10:24 AM

      We are running NAV2009r2 on SQL2008SP2 and have Auto-Statistics set to ‘False’. We do have an SQL Maintenance Plan that runs nightly to update the stats and it runs for approximately 40 minutes on an 85GB database.
      The rationale for this setting has been lost to time but I believe it was to evade the performance hit of Auto Statistics.

      ——————————
      Stephen Marsh
      Enterprise Services Manager
      Axxess Logistics
      Vaughan
      Canada
      ——————————
      ——————————————-

    • Jason Wilder

      Member

      November 22, 2019 at 10:36 AM

      Thanks for the reply.Ā  I spoke to a few other people on this and for my version of NAV 2018 it is recommended to have “Auto Create Statistics” = True.

      ——————————
      Jason Wilder
      Senior Application Developer
      Stonewall Kitchen
      York ME
      ——————————
      ——————————————-

    Jason Wilder replied 6 years, 7 months ago 1 Member · 0 Replies
  • 0 Replies

Sorry, there were no replies found.

The discussion ‘Auto Create Statistics On or Off?’ is closed to new replies.

Start of Discussion
0 of 0 replies June 2018
Now

Welcome to our new site!

Here you will find a wealth of information created for peopleĀ  that are on a mission to redefine business models with cloud techinologies, AI, automation, low code / no code applications, data, security & more to compete in the Acceleration Economy!