Solved

How To Disable RM_Dup_SEARCH_XXXX in IFS

  • 14 August 2021
  • 3 replies
  • 299 views

Userlevel 3
Badge +9

I'm working on a migration project and experiencing an extreme slowness when migrating customer related data into IFS. When monitoring the session i can see that the  new method in customer info address and commethod is calling a duplicate check method in RM_DUP_SEARCH_XXXXX (COMM_METOD_TAB or CUSTOMER_INFO_ADDRESS_TAB). How can I disable this duplicate check ? all the duplicate check rules have been disabled. no history logging in action

 

 

icon

Best answer by Yeshan Aluthgama 30 August 2021, 13:54

View original

This topic has been closed for comments

3 replies

Userlevel 4
Badge +7

A similar behavior as mentioned below was reported by another customer and Bug ID: 152144 was introduced in Apps 10 UPD 8 to mitigate the issue.

“Huge performance issue in the migration of Customer Comm Method.  The investigation shows that COMM_METHOD_API.insert method calls

 

$IF Component_Rmcom_SYS.INSTALLED $THEN

         Rm_Dup_Insert___(newrec_);

         Rm_Dup_Check_For_Duplicate___(attr_, newrec_);

    $ELSE

         NULL;

$END

creates huge no records in RM_DUP_SEARCH_COMM_METHOD_TAB for each record in Customer Comm Method data in the migration container.”

Userlevel 3
Badge +9

Thank you so much for the reply Yeshan. But my customer is in UPD 11 and still getting the same issue.  initially it was only happening for customer Info Address, but now we have this in customer comm method as well,

Userlevel 4
Badge +7

Thanks for the Update Niyomal.

It seems the fixes from bug 152144 is reverted from bug 151878.


RnD has created some scripts before to handle a similar issue (Refer Attached)

*Before migration job is started execute:*

* RmDupDisable.sql on the target database, it will disable all insertions to RM_DUP_SEARCH_TAB and RM_DUP_SEARCH_COMM_METHOD_TAB.

 

*And after that please check Migration job executed OK.*

 

*After migration is done execute:*

* RmDupEnable.sql on the target database, it will restore duplication check.

* POST_Rmcom_Insert_Dup_Search_Records.sql (rmcom\source\rmcom\database\POST_Rmcom_Insert_Dup_Search_Records.sql)

* POST_Crm_Insert_Dup_Search_Records.sql (crm\source\crm\database\POST_Crm_Insert_Dup_Search_Records.sql)

* Srm_Installation_API.Post_Installation_Data (Execute this method)