{"@context":"https://schema.org","@type":"BlogPosting","headline":"Improve SOQL Performance for Date Filters with a Custom Indexed Field (External ID)","description":"Have you ever hit “APEX CPU time limit exceeded” or “Query Timeout” while querying only ~1,000 records? If your dataset is small (a few thousand rows), you may never notice. But once an object grows to hundreds of thousands or millions of…","datePublished":"2020-07-23T03:40:19.000Z","dateModified":"2026-01-29T09:22:47.000Z","author":{"@type":"Person","name":"Le Nguyen","url":"https://plnguyen.com"},"mainEntityOfPage":"https://plnguyen.com/blog/improve-performance-of-query-with-date-conditions-using-custom-indexed/","image":"https://plnguyen.com/images/blog/68/image-5.png","keywords":"Architect, Perfomance, Salesforce, SOQL, Apex, Performance"}
