Maintain SIFT Index = Yes but no SumIndexFields

girish.joshigirish.joshi Member Posts: 407
I am taking a look at a database where maintain SIFT index property on the key is set to yet, but it has no sum index fields.

This seems really strange to me. Can anyone think of why a setup might be this way?

I don't think it will impact writing performance negatively, but I'm not sure. Any ideas?

Answers

  • ara3nara3n Member Posts: 9,256
    By default the flag is checked, If you don't have any sumindex fields it won't make any difference, No SIFT tables are created.

    Think of it being unchecked if there is no sumindexfields.

    My guess why it's checked by default is that people would add sumindexfields
    but forget to check maintain index and SQL will do sum on actual table causing performance issues in large tables.
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
  • krikikriki Member, Moderator Posts: 9,110
    ara3n wrote:
    My guess why it's checked by default is that people would add sumindexfields
    but forget to check maintain index and SQL will do sum on actual table causing performance issues in large tables.
    My guess too.
    Especially because when you open the indexes the first time (=with a new zup-file), you don't see the properties for SQL, so it is easy to forget to enable the MaintainSIFTIndex.
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


  • DenSterDenSter Member Posts: 8,305
    You beat me to this Alain, I even deleted my zupfile to check that out :mrgreen:

    Where that becomes an issue is when a developer removes all SIFT levels but leaves the MaintainSIFTIndex property checked, and yu want to modify other SIFT levels or even disable a SIFT key. Be aware of these properties and use them the right way.
  • krikikriki Member, Moderator Posts: 9,110
    DenSter wrote:
    You beat me to this Alain, I even deleted my zupfile to check that out :mrgreen:
    I just copied a shortcut to a DB and changed the ID-parameter to a non-existing zup-file. :wink:
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


  • girish.joshigirish.joshi Member Posts: 407
    Thanks, gentlemen!
Sign In or Register to comment.