なぜ私はSPSitedataQueryスロットル付き例外を受け取っていないのですか?

sharepoint.stackexchange https://sharepoint.stackexchange.com//questions/72172

質問

SPQueryThrottledException をクエリするには 4000 8000 43000 を含むサイト。クエリは、サイトコレクションのルートSPWebの昇格したインスタンスに対して実行されています。

クエリは、SPSiteDataQuery要素と<Webs>要素の両方を使用してフィルタリングされますが、他の属性ではなく、再帰的に照会されていません。サイトコレクションの範囲で実行されます。

Contribute Levelのアクセス許可のユーザーアカウントによってトリガされたときにクエリが正常に実行されました(これは標高によっては冗長ですが)。他の理由で許可レベルが低下するだろう。

ねじれは次のとおりです。照会のローカルに実行されると、顧客のライブ・インスタンスで実行されている場合、 5000 項目が合計で照会されたときにクエリは失敗します。

両方とも同じスロットル設定をしています:

  • 5000通常制限
  • 20000管理/監査制限
  • 時間外照会制限除去は無効です
  • 8フィールドルックアップ限界(ここではどこにもありません)

    それでは、ここで照会が成功しているのは、管理限界でさえも十分に超えていますか?

役に立ちましたか?

解決 2

A colleague of mine did a bit of research as it piqued their curiosity. It seems the cause of the difference is the user account the process is escalated to.

Our customer has followed Microsoft's recommendations and set up an account that does not have administrator permissions. Whereas I was running on a development box with no such restrictions.

他のヒント

Are the fields in the lists on your local environment indexed? If they are indexed, then throttling will not occur.

ライセンス: CC-BY-SA帰属
所属していません sharepoint.stackexchange
scroll top