Re: postgres 9.6: insert into select finishes only in pgadmin not psql

From: Corey Taylor <corey(dot)taylor(dot)fl(at)gmail(dot)com>
To: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: postgres 9.6: insert into select finishes only in pgadmin not psql
Date: 2019-09-23 22:56:52
Message-ID: CADBz386QsbgwYyQWvbda_DNVcOtatV-djp=mrc8O-gmUHg4L1A@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Mon, Sep 23, 2019 at 5:51 PM Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
wrote:

> Usually what is seen here is the opposite, that tables are restored and
> ANALYZE is not run and performance on the subsequent queries is poor due
> to lack of current statistics.
>
> What is the restore process?
>

For these specific legacy db tables, they are isolated in a separate
schema. We then use pg_restore to restore the entire schema. Essentially
just:

pg_restore -n wss --no-owner

corey

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2019-09-24 00:23:27 Re: postgres 9.6: insert into select finishes only in pgadmin not psql
Previous Message Adrian Klaver 2019-09-23 22:51:12 Re: postgres 9.6: insert into select finishes only in pgadmin not psql