Async SOQL Async SOQL is a method for running SOQL queries when you can’t wait for immediate results. These queries are run in the background over Salesforce big object data. Async SOQL provides a convenient way to query large amounts of data stored in Salesforce. Async SOQL is implemented as a RESTful API that enables you to run queries in the familiar syntax of SOQL. Because of its asynchronous operation, you can subset, join, and create more complex queries and not be subject to timeout limits. This situation is ideal when you have millions or billions of records and need more performant processing than is possible using synchronous SOQL. The results of each query are deposited into an object you specify, which can be a standard object, custom object, or big object. The limit for Async SOQL queries is one concurrent query at a time. Async SOQL Versus SOQL SOQL and Async SOQL provide many of the same capabilities. So when would you use an Async SOQL query instead of s...
SOQL with Big Objects You can query the fields in a big object’s index using a subset of standard SOQL commands. Build an index query starting from the first field defined in the index, without gaps between the first and last field in the query. You can use = , < , > , <= , or >= , or IN on the last field in your query. Any prior fields in your query can only use the = operator. The != , LIKE , NOT IN , EXCLUDES , and INCLUDES operators are not valid in any query. You can include the system fields CreatedById , CreatedDate , and SystemModstamp in queries. To retrieve a list of results, do not use the Id field in a query. Including Id in a query returns only results that have an empty ID (000000000000000 or 000000000000000AAA). The following queries assume that you have a table in which the index is defined by LastName_...