-T[ABLE]
This switch allows you to analyse a table, or list of tables, and any indices belonging to the specified tables.
-T[ABLE] table_name
-T[ABLE] table_name [table_name ...]
If you want to specify multiple tables, the -t[able]
switch must be specified after the database name.See [gstat-caveats] for some potential problems with this switch — especially before Firebird 2.5 — and an example of how it should be used.
The -t[able]
switch should be followed by a list of the table names you wish to analyse.The list must match the table name exactly as stored in the metadata.In other words, case-insensitive table names (i.e. referenced with unquoted identifiers) must be entered in uppercase, while case-sensitive table names (referenced with quoted identifiers) must be entered exactly as-is.If a table name contains spaces or certain special symbols, you may need to enclose the table name in double or single quotes, and/or escape certain symbols, following the requirements of the shell/command prompt you use.
When combined with the [gstat-cmdline-data] switch, only the data pages of the specified tables will be analysed.When combined with the [gstat-cmdline-index] switch, only the indices of the specified tables will be analysed.When neither -d[ata]
or -i[ndex]
is specified, both data pages and indices will be analysed, as if [gstat-cmdline-all] is specified.To obtain information on system tables, the [gstat-cmdline-system] switch must be specified explicitly.
The database header information is also displayed.