Marketing Cloud EngagementのAutomation Studioにて、クエリアクティビティがタイムアウトエラーで失敗する事象についてのよくある質問をまとめました。
データ量の増加やリソース競合に起因するデータベースの高負荷が原因となる場合の詳細な仕組みと、クエリの分割や差分抽出などを用いたタイムアウト回避のベストプラクティスを解説します。
Q. これまで数分で完了していたクエリアクティビティが、突然タイムアウトエラーで失敗するのはなぜですか。
A. システム障害ではなく、一般的なデータベース処理として起こりうる動作です。主な要因として以下の2点が考えられます。一時的な要因であることが多いため、まずは処理の再実行をお試しください。
Q. 処理時間が恒常的に延びており、頻繁にタイムアウトエラーが発生する原因は何ですか。
A. 処理対象のデータ量増加に伴い、クエリ自体の負荷が高まっていることが主な原因です。データエクステンションに蓄積されたデータを毎回全件スキャンする処理を行っている場合、データ量に比例して処理時間が延び、最終的にシステム上限の30分に到達します。このような構造的な要因の場合は、クエリのチューニングを実施する必要があります。
Q. タイムアウトエラーを解消し、安定した運用を行うための最適な対策は何ですか。
A. 処理を分割し、1回あたりのデータベース負荷を軽減することが最も効果的な対策となります。複雑な処理を行っている場合は、以下の手順で処理を分割する。
Q. 処理の分割以外に、タイムアウトを回避するための有効な方法はありますか。
A. SQLクエリアクティビティの最適化に関する既存のベストプラクティス記事でも推奨されている通り、対象期間の絞り込み(差分抽出)と検索条件の見直しが有効です。以下の手順で設定を見直す。
005459610

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.