Hi Keith, I think statistics are also reset and not persistent through restarts when the pg_ctl option "-m immediate" is used when shutting down PG since it forces recovery mode when starting PG back up. By the way, for PostgreSQL Aurora, statistics are reset automatically every time aurora forces PG to restart or reboot or the user selects that option manually. I reported this as a bug with Aurora a few months ago. They said it was not a bug, but a feature that the might implement in the future. YUK. Regards, Michael Vitale Keith Fiske wrote on 8/4/2020 6:25 PM:
|