Seen SuiteQL performance degradation after move to...
# performance
s
Seen SuiteQL performance degradation after move to 2023.2. Raised ticket, but anyone else?
j
Not so far, but it’s not fast at the best of times.
s
We had some really strange issues with queries that worked in 2023.1 and failed in 2023.2.
s
Time outs?
s
No, it was failed queries
Runs in 2023.1, fails in 2023.2. I would agree that performance degraded after the 2023.2 upgrade.
s
I've got queries which error out, I can make them run by changing the criteria so they process less data. So the code is fine, it's just hitting an execution limit somewhere, when it didn't before.
It comes up as a search error, not a time out, thiugh it clearly is.
s
YES, that was the same issue I had.. I was ordering by two columns and it failed, where one column succeeded… Then, when they deployed a fix to my account, the results took 3x longer than usual to return.
j
Do you have a defect number? or at least a ticket number? I have a scheduled script that runs the exact same SQL every half hour, it’s failing a couple times daily.
this started happening immediately following our 2023.2 upgrade
It’s logging as SSS_SEARCH_ERROR_OCCURRED Search error occurred: Invalid or unsupported search
d
There was a change that forces usage of formula (HTML) and limits search formulas.
s
Do you have documentation of the "limits search formula" bit?
d
I'm checking for it now
s
@jen Defect 742318
j
Awesome, thanks
If you’re logged in as Administrator, you should see a link to search for searches that have HTML in
Formula (Text)
fields (though I found it missed some on our account that had just
<br/>
tags)
d
End of Support for HTML Code in Saved Search Formula (Text) Fields To improve the security of saved searches in your account, searches with Formula (Text) fields that contain HTML code now display results as plain text only. To prevent issues with your searches, replace your existing Formula (Text) fields with the new Formula (HTML) field. Access to this new field is based on the Create HTML Formulas in Search permission. For more information about the new Formula (HTML) field and permission, see the help topic Evaluating Code in Saved Searches Using Formula (HTML) Fields.
s
Thanks but that's not relevant to my issue, which is a SuiteQL query timeout.
j
yeah I was wondering…
lol
s
This is now fixed for me - NS added some more indexes to the database.
j
We have a scheduled query still intermittently failing….it’s bad news for us, we’re non-compliant without it running reliably
s
File a defect with NS @jen They were pretty quick to resolve mine once I convinced them it was important.
j
wait….so they resolved yours?
you’d think it would fix it for everyone
They’ve only filed ours as U4 even though we are literally non-compliant now and subject to fines … which I told them
s
Yep, I pushed for it to get to a U3 and it was resolved in 48 hours.
j
Would you be willing to share your defect number @suitedev?
s
@jen 741017
j
Thank you so much!
👍 1
s
@jen I suspect they are looking at the failing SQL and creating indexes on the joins, so it will be different for everyone.
j
Ours seems to be sorted now
👍 1