LoginSignup
1
0

Too many query rows: 50001

Last updated at Posted at 2024-02-29

まとめページに戻る
まとめN~Z

image.png

image.png

npsp:Too many query rows: 50001

Error is in expression '{!onNpspSettingsLoad}' in component apex:page in page npsp:stg_settingsmanager: (System Code)

Class.npsp.UTIL_MasterSchedulableHelper.setScheduledJobs: line 157, column 1

Class.npsp.STG_SettingsManager_CTRL.onNpspSettingsLoad: line 90, column 1

「System.LimitException: dlrs:Too many query rows: 50001」というエラーが表示されるのはなぜですか

DLRS は通常、親の観点からクエリを実行し、指定された基準に一致するすべての子レコードを取得します。特定のバッチ内の親に平均 250 (50,000 / 200) の子があり、多くの DLRS ジョブが構成されている場合、または多数のカスケード ロールアップ (孫から親、祖父母へのロールアップ) がある場合、DLRS は合計で 50,000 を超える数を簡単に要求できます。指定されたトランザクションのレコード。

これがスケジュールされた計算または完全な計算バッチ ジョブ中に発生する場合は、宣言ルックアップ ロールアップ集計階層のカスタム設定でバッチ サイズを調整できます。デフォルトは 200 です。

未解決

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0