📊
ガバナ制限チートシート
トランザクションごとの Salesforce 制限を、同期・非同期コンテキストに明確に分けて示す、見やすくフィルター可能な表です。
| カテゴリ | 制限 | 同期 | 非同期 |
|---|---|---|---|
| SOQL | Total SOQL queries | 100 | 200 |
| SOQL | Records retrieved by SOQL | 50,000 | 50,000 |
| SOQL | Records retrieved by Database.getQueryLocator | 10,000 | 10,000 |
| SOSL | Total SOSL queries | 20 | 20 |
| SOSL | Records retrieved by a single SOSL | 2,000 | 2,000 |
| DML | Total DML statements | 150 | 150 |
| DML | Records processed by DML | 10,000 | 10,000 |
| DML | Approval.process / Database.emptyRecycleBin calls | 150 | 150 |
| CPU / メモリ |
Maximum CPU time (timeout) CPU time excludes time waiting for callouts and database operations.
|
10,000 ms | 60,000 ms |
| CPU / メモリ | Maximum heap size | 6 MB | 12 MB |
| コールアウト | Callouts (HTTP / web service) | 100 | 100 |
| コールアウト | Cumulative callout timeout | 120 s | 120 s |
| 非同期 |
@future method invocations @future methods cannot be called from an asynchronous context.
|
50 | 0 |
| 非同期 |
Jobs added to the queue (System.enqueueJob) In Queueable/Batch/@future you can chain only 1 more Queueable job.
|
50 | 1 |
| 非同期 |
Batch jobs queued/active Holding/Queued + Active combined.
|
5 | 5 |
| メール | sendEmail method calls | 10 | 10 |
| その他 |
Total executed statements Indirectly bounded by the CPU time limit.
|
no hard limit | no hard limit |
| その他 | Maximum describe-recursion stack depth | 100 | 100 |
指定の条件に一致する結果がありません。
制限は単一の Apex トランザクションに適用されます。値は参考用です — 最新の値は必ず Salesforce 公式ドキュメント「Apex Governor Limits」で確認してください。