Archives of the TeradataForum
Message Posted: Thu, 24 Jan 2008 @ 16:39:50 GMT
You could use something like this
HELP STATISTICS MyTable index (indexColumn1 [, indexCOlumn2]); HELP STATISTICS MyTable column (Column1 [, COlumn2]);
It will give you detailed information on stats collected, modal values, frequency, sampling %, # of unique records, etc.
You could also generate a dynamic sql if you need to walk through all index stats for all tables, etc.
There should be a dbc view that can give you some information about stats (stale, etc) also.
Hope it helps,
|Copyright 2016 - All Rights Reserved|
|Last Modified: 28 Jun 2020|