| From: | Don Seiler <don(at)seiler(dot)us> |
|---|---|
| To: | "Ferrell, Denise D CTR NSWCDD, H11" <denise(dot)ferrell(dot)ctr(at)navy(dot)mil>, pgsql-admin <pgsql-admin(at)postgresql(dot)org> |
| Subject: | Re: [Non-DoD Source] Re: Database Error |
| Date: | 2017-10-25 16:03:12 |
| Message-ID: | CAHJZqBDxciiEhrvUOD4=CvrHRgk1WiXT556XnK+Zz3xZ54MLVA@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-admin |
Don't reply off-list, you'll get better help if you keep the list involved.
On Wed, Oct 25, 2017 at 10:46 AM, Ferrell, Denise D CTR NSWCDD, H11 <
denise(dot)ferrell(dot)ctr(at)navy(dot)mil> wrote:
> Can you provide info on restarting in single user mode?
>
https://www.postgresql.org/docs/9.3/static/app-postgres.html, look for the
--single parameter. Not sure if there's a way to do it with pg_ctl, I don't
see one.
> I would assume the following in psql will work - vacuum -all -U <username>
Just run as postgres (superuser) in psql: vacuum freeze analyze verbose;
If you size your maintenance_work_mem appropriately, it should run well.
How big is your database?
--
Don Seiler
www.seiler.us
| From | Date | Subject | |
|---|---|---|---|
| Next Message | bend | 2017-10-25 16:05:58 | Re: Migrate from Oracle 12g to PostgreSQL 9.3 |
| Previous Message | Don Seiler | 2017-10-25 14:42:03 | Re: Database Error |