How to update table statistics in Oracle

337 Views Asked by At

Removing some records from table in Oracle, how to get statistics (e.g. NUM_ROWS, LAST_ANALYZED) updated?

1

There are 1 best solutions below

0
Littlefoot On BEST ANSWER

Gather them, for example

begin
  dbms_stats.gather_table_stats('SCOTT', 'EMP');
end;
/