Re: query performance after database rename - Mailing list pgsql-admin

From Jonah H. Harris
Subject Re: query performance after database rename
Date
Msg-id CADUqk8VYvMc8ZvW=V41qzGA2SpCJxufPx+sYpQ+qKD4X0ErNYw@mail.gmail.com
Whole thread Raw
In response to Re: query performance after database rename  (Don Seiler <don@seiler.us>)
List pgsql-admin
On Wed, Nov 21, 2018 at 9:54 AM Don Seiler <don@seiler.us> wrote:
Off the top of my head, I'd say after switching to a new database, you'd have a cold buffer cache. There's a possibility of old statistics. Are you syncing data changes from the old DB to the new DB?

Yeah. That would be my guess as well. Sounds like blocks from the new database would likely be causing high evictions from those of the old database. Would be interesting to see an overview of it with pg_buffercache.

Also, I'm curious *why* you're doing this.

Ditto.

--
Jonah H. Harris

pgsql-admin by date:

Previous
From: "Zwettler Markus (OIZ)"
Date:
Subject: AW: query performance after database rename
Next
From: Maycon Oleczinski
Date:
Subject: pgAdmin 4 v3.5 eternal loading