Tableau Desktop でワークブックを開くか、ユーザーが Tableau Server にサインインしてビューにアクセスすると、ライブ接続と抽出接続の両方に一時テーブルが作成されます。これらの一時テーブルは、ビューの接続先であるデータ ソースの一時ストレージに保管され、#Tableau プレフィックスによってデータベースで識別できます。一時テーブルには、接続に関する情報またはビューの準備に必要な情報を含めることができます。例は次のとおりです。
ワークブックを開いたユーザーにデータベースに対する Delete パーミッションがある限り、対応するデータベース接続が閉じられると一時テーブルは削除されます。Tableau Desktop でワークブックを閉じた場合や Tableau Server 接続が一定の期間無効になると接続は切断されます。Tableau Desktop または Tableau Server が予期せずに閉じると、接続は自動的に切断され、対応する一時テーブルはデータベースから削除されます。
必要な場合は、データベースに対するパーミッションを制限することで一時テーブルの作成を管理できます。また、CAP_CREATE_TEMP_TABLES=NO のフラグを持つ Tableau データカスタマイズ (.tdc) ファイルを使用することによって、一時テーブルの作成を停止できます。
.tdc ファイルの詳細については、「Tableau 機能のカスタマイズの参考資料」を参照してください。
注意: 一時テーブルの作成を制限すると、ワークブックやビューの全体的なパフォーマンスに影響を及ぼす可能性があります。
重要: Tableau では TDC ファイルをテストしておらず、サポートもしていません。これらのファイルは探索するためのツールとして使用してください。そうでないと、データ接続でアドレス問題が生じることがあります。TDC ファイルを作成して保持するには、手動による注意深い編集が必要です。これらのファイルを共有するためのサポートはありません。
Tableau Server VizQL プロセスは、ビューの読み込みやレンダリングのためにデータベースとの接続を確立するため、一時テーブルを作成できます。一部のユーザーセッションは同じ VizQL プロセスを共有することから、同じ一時テーブルを共有します。
たとえば、同じサーバー上のデータベースへの接続が確立され、同じデータベース ユーザーによってアクセスされると、VizQL プロセスが作成する一時テーブルは複数のユーザー セッション間で共有されます。 ただし、これらの条件のいずれかが異なる場合は、一時テーブルは共有されません。
pg_stat_activity、SQL Server Profiler、または MySQL の一般クエリログなどを使用して) データベースクエリログを監視すると、一時テーブルの使用量を確認できます。001458036

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.