The Ferret Utility and Equivalent Macros - Analytics Database - Teradata Vantage

Database Administration

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
VMware
Product
Analytics Database
Teradata Vantage
Release Number
17.20
Published
June 2022
Language
English (United States)
Last Update
2023-11-03
dita:mapPath
pgf1628096104492.ditamap
dita:ditavalPath
qkf1628213546010.ditaval
dita:id
ujp1472240543947
lifecycle
latest
Product Category
Teradata Vantage™

You can also use the system utility, Ferret, which is started via the Database Console, to see space usage. Use the ShowSpace command to view space usage (perm, spool, and temporary) at the system level. Use the ShowBlocks command to view the allocation of permanent space at the table and subtable level.

The ShowBlocks command can provide a level of detail that is not available with DBC.TableSize. For example, ShowBlocks can answer “How much perm space is used for a secondary index?” ShowBlocks also provides subtable space information. You can multiply the typical block size times the number of blocks to determine subtable space usage.

Vantage includes a set of File System Information macros that retrieve and display information similar Ferret SHOW commands. Because this information is presented in regular database tables, it can be easier to share and use for further processing. Permissions to create and view this information are also easier to manage using standard SQL GRANT and REVOKE privilege statements. For more information about these macros, see "File System Information Macros and Functions" in Teradata Vantage™ - SQL Operators and User-Defined Functions, B035-1210.