Statistiken nur für eine Partition erzeugen


Um Statistiken nur für eine Partition zu erzeugen:

exec DBMS_STATS.GATHER_TABLE_STATS (ownname => 'MySchema',tabname => 'MyTab',partname => 'P_5',granularity => 'PARTITION');


Hinweis: Dabei werden ggfs. KEINE globalen Statistiken aktualisier.

Kommentare