From: | Felipe Santos <felipepts(at)gmail(dot)com> |
---|---|
To: | Miguel Ramos <org(dot)postgresql(at)miguel(dot)ramos(dot)name> |
Cc: | PostgreSQL mailing lists <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: pg_restore out of memory |
Date: | 2016-07-12 12:02:57 |
Message-ID: | CAPYcRiX2oJ=x_zBJHVoDbFF+cOojuuXLieH837-umx7XZtQ0FA@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
2016-07-12 8:54 GMT-03:00 Miguel Ramos <org(dot)postgresql(at)miguel(dot)ramos(dot)name>:
>
> Às 12:32 de 12-07-2016, Felipe Santos escreveu:
>
>> I would try lowering max_connections to 50 and then set work_mem to 128MB.
>>
>> After that restart your server and retry the restore.
>>
>
> Ok, I will try restarting tonight.
> work_mem is the parameter I was most afraid of.
>
> I'll post some news in 24h...
>
>
> --
> Miguel Ramos
>
>
> --
> Sent via pgsql-general mailing list (pgsql-general(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-general
>
After the restore (being it a success or failure) don't forget to set the
parameters back to their original values (max_conn = 100 and work_mem=64MB).
BR
From | Date | Subject | |
---|---|---|---|
Next Message | hubert depesz lubaczewski | 2016-07-12 12:34:50 | Re: Slow SQL? |
Previous Message | Miguel Ramos | 2016-07-12 11:54:47 | Re: pg_restore out of memory |