function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
MSRMSR 

Urgent Help needed-Querying 20 million records and seeing request timeout error

Hi,

 

i have a vfpage on which am querying about 20 Million records based on a search criteria and seeing a request time out.

I have tried 'Read-only' option on the page, gave max no of Where clauses with indexed fields in the query.So how cani workaround to overcome this request time out error message and display the search results by querying 20 Million records.Any kind of help would be appreciated and will be helpful to others who r facing the same issue.