I have experienced this on Mac and Linux machines.
I will try this suggestion and get back on the thread. Is pg_statistic the only table to be pre cached? Pls let me know if any other table/index needs to be pre warmed.
Btw, I don't running a "select * from pg_statistic" will fill the shared buffer. Only 256 kb of data will be cached during sequential scans. I will try pg_prewarm
Postgres is bundled with our application and deployed by our client. Starting / stopping the server is not under my control.
Regards,
Nanda