oracle und Postgres: Statistics

Hallo,

ich habe in Oracle:
“BEGIN dbms_stats.gather_table_stats(ownname => SYS_CONTEXT(‘USERENV’, ‘current_schema’), tabname => ‘msd_frt’, estimate_percent => DBMS_STATS.AUTO_SAMPLE_SIZE, method_opt=>‘FOR ALL COLUMNS SIZE AUTO’); END;”

Wie kann ich das für Postgres umsetzen?

Ich würde mich über eine Antwort freuen!

Vielen Dank im Voraus & viele Grüße
PG-Jaeger

Dazu wird der Befehl analyze verwendet:

analyze msd_frt;

Vielen Dank!