Isto ocorre, segundo os pappers da Oracle, quando é realizado um import somente das estruturas das tabelas (rows=n).
Eis a "canja". Para listar as tabelas com estatísticas bloqueadas use:
Eis a "canja". Para listar as tabelas com estatísticas bloqueadas use:
select table_name,
stattype_locked
from
dba_tab_statistics
where owner =
''
and stattype_locked
is not null;
Para gerar o script de unlock, use :
select 'exec
DBMS_STATS.UNLOCK_TABLE_STATS ('''|| owner ||''','''|| table_name ||''');'
from
dba_tab_statistics
where owner =
''
and stattype_locked
is not null;
Grande abraço.