DIAGNOSTIC COSTPRINT - Teradata Database

SQL Data Manipulation Language

Product
Teradata Database
Release Number
15.00
Language
English (United States)
Last Update
2018-09-28
dita:id
B035-1146
lifecycle
previous
Product Category
Teradata® Database

DIAGNOSTIC COSTPRINT

Purpose  

Displays optimizer costing information from SystemFE.Opt_Cost_Table.

Syntax  

where:

 

Syntax element …

Specifies …

NOT

to terminate DIAGNOSTIC COSTPRINT for a request, session, or the current parsing engine.

REQUEST

that DIAGNOSTIC COSTPRINT is enabled for the next request submitted by the current user.

SESSION

that DIAGNOSTIC COSTPRINT is enabled for the current session for the current user.

IFP

that DIAGNOSTIC COSTPRINT is enabled for the current parsing engine for the current user.

ANSI Compliance

DIAGNOSTIC COSTPRINT is a Teradata extension to the ANSI SQL:2011 standard.

Required Privileges

You must have SELECT privileges on SystemFE.Opt_Cost_Table to dump cost information to the DBS I/O window using DIAGNOSTIC COSTPRINT.

Valid Scope Levels for DIAGNOSTIC COSTPRINT

DIAGNOSTIC COSTPRINT does not offer a scope level of SYSTEM.

Related Topics

  • “DIAGNOSTIC DUMP COSTS” on page 615
  • “DIAGNOSTIC HELP COSTS” on page 617
  • “DIAGNOSTIC SET COSTS” on page 619