3 Replies Latest reply: Feb 24, 2012 2:33 PM by Jason.Henson RSS

Manual defragment message

Sol
Currently Being Moderated

  Did a search of both the KB and the forums but didn't find this exact match. How exactly is this manual defragmentation performed?

Event message:

Index PK_CustomPollerStatus on table CustomPollerStatus has fragmentation 90.00% and should be defragmented manually.

  • Re: Manual defragment message
    Michael Melton
    Currently Being Moderated

    Have you tried this:

    UPDATE dbo.Settings SET CurrentValue = 1 WHERE SettingID LIKE 'dbm-defragmentation-enabled%'


    Then run DB Maitenance.


    To turn off defragmentation:

     

    UPDATE dbo.Settings SET CurrentValue = 0 WHERE SettingID LIKE 'dbm-defragmentation-enabled%'

    • Re: Manual defragment message
      Tomas Mrkvicka
      Currently Being Moderated


      Have you tried this:

      UPDATE dbo.Settings SET CurrentValue = 1 WHERE SettingID LIKE 'dbm-defragmentation-enabled%'

       


      Then run DB Maitenance.


      To turn off defragmentation:

       

      UPDATE dbo.Settings SET CurrentValue = 0 WHERE SettingID LIKE 'dbm-defragmentation-enabled%'

       

       

       



       

      Via this you enable our automatic defragmentation system which is part of database maintenance. By default is is disabled because index defragmentation can increase time needed for database maintenance and also increase burden to database. So please if you enable it focus carefully on performance of your system.

      By "manual" defragmentation we meant you own action directly on SQL Server.

      Btw. our defragmentation system is quite configurable so if you will have any question feel free to ask.

More Like This

  • Retrieving data ...