I have been having an issue with slowness involved with calling the Save() method on a CContact object using iBO for .NET. When saving a CContact object, it consistantly takes 8-12 seconds to complete. We have a rather large database (over 600,000 records in the Name table), and it seems that the issue lies within the asi_Name_Insert_Update trigger, more specifically the asi_FixDuplicateIndividualRows stored procedure that runs when the MEMBER_TYPE, COMPANY_RECORD, or MEMBER_RECORD columns are edited.
If I use SQL to edit a field on the Name table, it takes about 2 seconds compared to the 8-12 iBO takes. It seems that when I run contact.Save(), the method is updating every field in the Name table rather that just the ones that had been edited, which is triggering asi_FixDuplicateIndividualRows to run. Is there any way to resolve this other than using SQL commands in place of CContact? Can I comment out the asi_FixDuplicateIndividualRows in the Name trigger (since we do not use company/institution records)?
I am using the latest iBOs (from 15.1.2).
Thanks
What version is the
What version is the iMIS database? The trigger is independent of the iBO version, so just updating iBO won't fix any trigger-related issues.
Eric Means
System Architect, ASI