IBM Maximo: SQL Queries

From Wiki
Revision as of 14:20, 24 September 2021 by Ebasso (talk | contribs)


Performance

Verificando quando as maiores tabelas e atualização de estatísticas

select table_name, round((num_rows*avg_row_len)/1048576) tbsize, num_rows, last_analyzed
from all_tables
where owner='MAX'
and num_rows>0
order by last_analyzed

resultado

table_name   tbsize   num_rows    last_analyzed
WORKORDER    65996    95582941    24-SET-21
WOSTATUS     27442    306121780   24-SET-21
...



Ver também