<div dir="ltr"><div dir="ltr">Parsis,<div>according <a href="https://wiki.postgresql.org/wiki/Tuning_Your_PostgreSQL_Server" target="_blank">https://wiki.postgresql.org/wiki/Tuning_Your_PostgreSQL_Server</a> shared_buffers "a reasonable starting value for shared_buffers is 1/4 of the memory in your system". So, the starting value for your 61GB RAM is 1525000 Megabyte. Make sure you have PostgreSQL >= 9.4, because < 9.4 requires some kernel settings adjustment.</div><div><br></div><div>For work_mem, you must evaluate EXPLAIN ANALYSE and consider the number of simultaneous users.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Em qua, 6 de mar de 2019 às 11:32, parsis presswala <<a href="mailto:parsispresswala@gmail.com">parsispresswala@gmail.com</a>> escreveu:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><font color="#000000">I have improve <span style="letter-spacing:0.2px;white-space:nowrap">Postgresql configuration</span> s<span style="letter-spacing:0.2px;white-space:nowrap">hared_buffer = 20000 MB and work_mem = 500 MB.</span></font><div><span style="letter-spacing:0.2px;white-space:nowrap"><font color="#000000">Is this configuration fine or I need to improve more?</font></span></div></div><div class="gmail_quote"><div dir="ltr" class="gmail_attr"><br><br></div></div></blockquote></div></div>