Hi, Plans are calculated using pg_settings and pg_stats / pg_statistic, Pg_stat_rest() does not have any impact on them. There is no "dynamic" planning features yet. Regards PAscal -- Sent from: http://www.postgresql-archive.org/PostgreSQL-admin-f2076596.html