Gustav Karlsson <gustav.karlsson@xxxxxxx> writes: > Am tracking unused indices and wondering if it is safe to run pg_stat_reset() i production? I.e. will pg_stat_reset() affect stats used by the query planner in any way which could affect performance? The planner doesn't look at any of that data. regards, tom lane