File System Information Macros and Functions - Advanced SQL Engine - Teradata Database

SQL Operators and User-Defined Functions

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Published
July 2021
Language
English (United States)
Last Update
2023-04-27
dita:mapPath
fsi1592016213432.ditamap
dita:ditavalPath
fsi1592016213432.ditaval
dita:id
B035-1210
lifecycle
previous
Product Category
Teradata Vantage™

These macros and functions allow you to use various Ferret SHOW commands to display Teradata File System statistics about data block size, number of rows per data block, and information about the compression status of data blocks for specified tables or groups of tables. You can also run frequency of access reports for database objects on a specific AMP.

The information is similar to that displayed by the SHOWBLOCKS, SHOWCOMPRESS, and SHOWWHERE commands of the Ferret utility. Because the information from these macros and functions is created in regular database tables, it can be easier to share and process the information. Permissions to create and view this information are also easier to manage using standard SQL GRANT and REVOKE privilege statements.

For more information on Ferret, see Teradata Vantage™ - Database Utilities, B035-1102.