📊
Governor Limits 치트 시트
트랜잭션당 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」에서 확인하세요.