Temporary table cleanup | Teradata Fabric - Temporary Table Cleanup - Teradata Fabric

Teradata® Fabric - Installation and User Guide - 3.11

Product
Teradata Fabric
Release Number
3.11
Published
August 2026
ft:locale
en-US
ft:lastEdition
2026-08-15
dita:mapPath
svw1780362788070.ditamap
dita:ditavalPath
ezw1784752870623.ditaval
dita:id
lxg1591800469257

When running queries, Teradata Fabric connectors create temporary tables (or views) on the target database. You can control where these temporary objects are created by configuring one of the following NVP properties Temporary Database Name, Temporary Schema Name, Temporary Schema, or Database Name.

These tables and views are automatically cleaned up by Teradata Fabric once the query completes.
Disabling the automatic cleanup is not supported.

If a Teradata Fabric query is stopped, the connector attempts to cleanup these temporary objects as part of the rollback process. However, if the cleanup fails (or does not happen) – for example, due to a Teradata Fabric software restart – a manual cleanup may be required.

The temporary tables may contain metadata or customer data based on the query. If Temporary Database Name or Temporary Schema Name is not configured, Teradata Fabric uses the database provided in the NVP Database Name, Schema Name, or the default database/schema of the logged-in user.

When a manual cleanup is needed, locate the relevant tables either in the database/schema defined in the Temporary Database Name, Temporary Schema Name, or default Database/Schema.

The BigQuery connector's temporary tables are created as Temp Table with a 24 hour expiration for import queries, offering a safety net for eventual cleanup.
Teradata Fabric uses the following naming patterns for temporary objects:
  • BigQuery connector: Tables start with temp_
  • Hive connector: Temporary views are named import_query-uuid_view
  • All connectors:
    • For export clause (FT) queries: User-defined table names are appended with the query UUID, for example, xyz_query-uuid
    • For RTO remote join queries: Names follow the format Temp_sess_session-id, for example, Temp_sess_1018_req_12_0_2_0
Before dropping the temporary tables, verify that no active Teradata Fabric queries are running.