Skip to main content

お世話になります。

 

Tableau Serverの機能を使ってパフォーマンスチューニングを行っております。

 

私の作成するダッシュボードでは下図の通り「Compile Query」に要する時間が比較的多いことが分かっていますが、

こちらのイベントはどのような時に発生するイベントで、どのような改善案があるか教えていただけますでしょうか。

 

パフォーマンスチューニング(Compile Queryイベント)について

 

パフォーマンスの記録の解釈 - Tableau のページの日本語と照らし合わせて確認していますが、分かりませんでした。。

4 answers
  1. Mar 24, 2020, 2:24 AM

    既にご覧いただいているかもしれませんが、提示いただいたページの英語版の資料に説明があります。

     

    Interpret a Performance Recording - Tableau

     

    Compiling query

    This event captures the amount of time spent by Tableau in generating the queries. Long compile query times indicate that the queries generated are complex. The complexity may be due to too many filters, complex calculations, or generally due to a complex workbook. Examples of complex calculations include, lengthy calculations, LOD calculations, or nested calculations. Try simplifying the workbook, using action filters or moving calculations to the underlying database.

     

    つまり、多くのフィルターや複雑な計算式などを使用している場合にCompile Queryが実行されているようです。

    計算式を単純化させることやフィルターを削減する等を行い、改善されるかを試してみてはいかがでしょうか。

    Prep とかで事前に計算を別にさせることでも改善するかもしれません。

0/9000