This discussion has been locked. The information referenced herein may be inaccurate due to age, software updates, or external references.
You can no longer post new replies to this discussion. If you have a similar question you can start a new discussion in this forum.

Manual defragment message

  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.

  • 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%'



  • 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.

  • Tomas,

    Would you mind please sharing the options for these configurations and how to get to them?

    Thank you

  • Hi Tomas,

    when the auto index defrag is enabled does it only run when database maintenance runs?

    Regards

    Ciaran

  • This will show you all dbm-defrag settings available:

    select * from dbo.Settings where SettingID like 'dbm-defrag%'