Case Insensitive Search - Poor performance
Hello community,
In S_ASSET table we have configured column ASSET_NUM for Case Insensitive Search: Column X_ASSET_NUM_CI = CIAI([ASSET_NUM]).
After upgrading the system from 8.1.1.6 to IP14 PS5, we are facing some performance issues with queries over this field. (Our database SQL Server 2008 was not upgraded)
For example, in Trouble Tickets (S_SRV_REQ) we are exposing Asset Number (a join to S_ASSET.ASSET_NUM) and when the user queries over this field the following predicate is generated:
WHERE
(T1.TEMPLATE_FLG <> N'Y') AND
(T2.X_ASSET_NUM_CI LIKE '<USER_ASSET_NUMBER>%')