top of page

KG
ESTADÍSTICAS
Ejecución de estadísticas en una tabla al 15%
set timing on
BEGIN
DBMS_STATS.GATHER_TABLE_STATS (
ownname => 'ESQUEMA',
tabname => 'NOMBRE DE LA TABLA',
estimate_percent => 15
);
END;
/
Última vez de ejecución.
select owner, table_name, last_analyzed from dba_tables where table_name='NOMBRE_TABLE';
bottom of page