What can I do to debug the performance of a saved search?
One of our client complains about a certain SS saying it gets slow at a specific period during the day. Could some script be the reason? I have no idea what to do.
p
Pete Kastner
01/13/2025, 11:37 AM
On average how fast is the search? Performance will vary depending on users and other factors. Can you add criteria like date to reduce the number of records searched?
m
Marwan
01/14/2025, 8:30 PM
The client didn't specify (I will ask them)... they said it takes too long... and when I try, it is very fast... they said it happens at a specific hour in the day.
Marwan
01/14/2025, 8:32 PM
It has 11 lines in the criteria (most of them are not direct... they are from referenced/related records), and the result has to formulas, with no aggregations.
Marwan
01/14/2025, 8:34 PM
The search is over a custom record that has 30M records.
Marwan
01/14/2025, 8:34 PM
The results is usually around 3K records.
p
Pete Kastner
01/14/2025, 9:00 PM
Can you add some sort of filter so its not looking at all 30M records?
m
Marwan
01/15/2025, 4:19 AM
Good idea, I can do that with the date, ignoring old records. I will try it. Thanks ☕