一般に、まだ開始されていないバッチジョブのデフォルトは「キュー」の状況になります。現在処理中のバッチは「処理中」状況になります。 バッチジョブには通常、同時に 5 つまでの「キュー」ジョブまたは「有効」ジョブの制限があります。
Flex キューを使用すると、実行のために送信されたがまだシステムによってすぐに処理されないすべてのジョブが、保留状況になり、個別のキュー (Apex flex キュー) に入れられます。
最大 100 のバッチジョブを保留状況にできます。システムリソースが使用できるようになると、Apex flex キューからジョブが取り出され、バッチジョブキューに移動されます。これらの移動されたジョブのステータスは「保留」から「キュー」に変更されます。「キュー」ジョブは、システムで新しいジョブを処理する準備ができると実行され、それらは「処理中」状況に進みます。
これにより、大量のジョブが保留状況にあり、停止しているように見えることがあります。
それらは実際には Apex flex キューに入れられ、システムリソースが使用できるようになったときに取り出されるまで待機しています。マルチテナント環境での動作の性質の詳細については、「非同期処理の基本」を参照してください。
注: バッチは非同期プロセスであるため、ジョブを「キュー」状態から「処理中」状態に移動するためにかかる時間の ETA はありません。すべてその瞬間のシステムリソースの可用性によって異なります。
この詳細については、以下のリンクを参照してください。
Apex Flex キューの監視
Apex の一括処理の使用
000386672

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.