Hi,
I tried as you said, and the update time is huge. To update 10k records, its taking more than 2minutes. Below indexes are created in the bucket before executing update script:
CREATE INDEX
USERID-IDX
ONuser-bucket
(emailId) WHERE REVERSE(emailId) LIKE REVERSE(“%xxmail.com”);
CREATE INDEXUSERIDIQ-IDX
ONuser-bucket
(emailId) WHERE REVERSE(emailId) LIKE REVERSE(“%yymail.com”);