Governor limits
SOQL Queries:
Synchronous: Up to 100 queries per transaction.
Asynchronous: Up to 200 queries per transaction.
Total records retrieved by SOQL queries: 50,000.
DML Statements:
Synchronous: Up to 150 statements per transaction.
Asynchronous: Up to 150 statements per transaction.
Total records processed by DML statements: 10,000.
Callouts (HTTP requests):
Up to 100 callouts per transaction.
Maximum cumulative timeout for callouts: 120 seconds.
Heap Size:
Synchronous: 6 MB.
Asynchronous: 12 MB.
CPU Time:
Synchronous: 10,000 milliseconds.
Asynchronous: 60,000 milliseconds.
Scheduled Apex:
- Although asynchronous, it follows synchronous limits.