You need to sign in to do that
Don't have an account?
Mitchell Spano
Odd SOQL Timeout
I am having an odd query timeout error and I don't know why. I am really confused as to why it is timing out because it is only selecting one record. It typically happens on the weekends (I don't know if that would make any difference). Here is the error message as well as the query.
User [dataintegration@ampf.com.aacprod]. SOSQL [Select LastModifiedDate From Event Where Activity_Type__c!='Email' AND Activity_Type__c!='Internal Activity' AND Event_Status__c='Appointment Held' AND IsDeleted=False ORDER BY LastModifiedDate DESC NULLS LAST LIMIT 1]. Fault code [sf:QUERY_TIMEOUT]. Reason [QUERY_TIMEOUT: Your query request was running for too long.].
Does anyone have any clues as to why this is happening?
User [dataintegration@ampf.com.aacprod]. SOSQL [Select LastModifiedDate From Event Where Activity_Type__c!='Email' AND Activity_Type__c!='Internal Activity' AND Event_Status__c='Appointment Held' AND IsDeleted=False ORDER BY LastModifiedDate DESC NULLS LAST LIMIT 1]. Fault code [sf:QUERY_TIMEOUT]. Reason [QUERY_TIMEOUT: Your query request was running for too long.].
Does anyone have any clues as to why this is happening?
All Answers