Salesforce ガバナ制限まとめ
イシュー
- Salesforceのガバナ制限のまとめサイトを確認する
参考
Salesforce 公式系
Salesforce Developers * Salesforce Limits
- http://adnblog.salesforce.co.jp/files/apex_gov_limits_ja.htm
- SOQL系の制限(日本語)
- Salesforce Developers
- SOQL系の制限(英語)
-
- offsetに指定可能な最大値:2000
- Daily Limit for Email Alerts
- ワークフローメール送信数:1000/1ユーザ, 2,000,000/1組織
バッチの制限
- Salesforce Developers
- 英語
- http://blogjp.sforce.com/files/apex_gov_limits_ja172_2.htm
- 日本語
- バッチ1回のスコープサイズは2,000
An optional parameter scope. This parameter specifies the number of records to pass into the execute method. Use this parameter when you have many operations for each record being passed in and are running into governor limits. By limiting the number of records, you are limiting the operations per transaction. This value must be greater than zero. If the start method of the batch class returns a QueryLocator, the optional scope parameter of Database.executeBatch can have a maximum value of 2,000. If set to a higher value, Salesforce chunks the records returned by the QueryLocator into smaller batches of up to 2,000 records. If the start method of the batch class returns an iterable, the scope parameter value has no upper limit. However, if you use a high number, you can run into other limits.
オプションのパラメータのスコープ。このパラメータは、executeメソッドに渡すレコードの数を指定します。あなたは、各レコードの多くの操作は、渡されると、ガバナ制限に実行している必要があり、このパラメータを使用します。レコードの数を制限することにより、トランザクションあたりの操作を制限しています。この値は、ゼロより大きくなければなりません。バッチクラスのstartメソッドがQueryLocatorを返す場合、Database.executeBatchのオプションのスコープパラメータは、2000の最大値を持つことができます。高い値に設定すると、Salesforceは、最大2,000レコードの小さいバッチにQueryLocatorによって返されるレコードをチャンク。バッチクラスのstartメソッドは、反復可能なを返した場合、スコープパラメータの値には上限がありません。あなたが高い番号を使用する場合は、あなたは他の制限に実行することができます。