<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Configured NetXMS as much as I can - what about Postgres settings?]]></title><description><![CDATA[<p dir="auto">The Admin guide is helpful for NetXMS settings, but I think my constraint is likely Postgres given I have a stock standard install - default settings.</p>
<p dir="auto">We have 2000 nodes, 50k Objects, 70k DCI's and 150 EPP's. Once we get above 300 events per minute we start backing up.<br />
Maximum backlog = 113K events - taking 4.5 hours from Event creation to Alarm creation.</p>
<p dir="auto">I tried <a href="https://pgtune.leopard.in.ua/#/" rel="nofollow ugc">https://pgtune.leopard.in.ua/#/</a> and got the following:</p>
<p dir="auto"># DB Version: 9.6<br />
# OS Type: windows<br />
# DB Type: oltp<br />
# Total Memory (RAM): 12 GB<br />
# CPUs num: 6<br />
# Data Storage: ssd</p>
<p dir="auto">max_connections = 300                      (currently 100)<br />
shared_buffers = 512MB                     (currently 128MB)<br />
effective_cache_size = 9GB                 (default - unknown)<br />
maintenance_work_mem = 768MB      (default - 712MB)<br />
checkpoint_completion_target = 0.9<br />
wal_buffers = 16MB                           (default 16MB)<br />
default_statistics_target = 100<br />
random_page_cost = 1.1<br />
work_mem = 4466kB<br />
min_wal_size = 2GB<br />
max_wal_size = 4GB<br />
max_worker_processes = 6<br />
max_parallel_workers_per_gather = 3</p>
<p dir="auto">Other than going with the above, anybody have any other suggestions as to which Postgres settings impact or assist NetXMS the most?</p>
]]></description><link>https://forum.netxms.org/topic/6091/configured-netxms-as-much-as-i-can-what-about-postgres-settings</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 07:30:37 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/6091.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 19 Aug 2019 13:57:03 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Configured NetXMS as much as I can - what about Postgres settings? on Tue, 20 Aug 2019 16:21:23 GMT]]></title><description><![CDATA[<p dir="auto">Thanks for the feedback - appreciated.</p>
<p dir="auto">Memory I can add - will go to 24GB and see if noticeable difference. Being windows, shared buffers tops out at 512MB I believe(Windows limit), and to use effective_cache_size instead.</p>
<p dir="auto">Found that exclusions for ativir were not working - getting them fixed to leave postgres folders alone!!</p>
<p dir="auto">As we are SAN based flash, it is fast, but not local, so will leave the commit and WAL settings where they are for the moment.</p>
<p dir="auto">Plugged in 24GB and 2 more cores and got the following. Confirms effective_cache vs shared buffers for windows. Will see how these go.</p>
<p dir="auto"># DB Version: 9.6<br />
# OS Type: windows<br />
# DB Type: oltp<br />
# Total Memory (RAM): 24 GB<br />
# CPUs num: 8<br />
# Data Storage: san</p>
<p dir="auto">max_connections = 300<br />
shared_buffers = 512MB<br />
effective_cache_size = 18GB<br />
maintenance_work_mem = 1536MB<br />
checkpoint_completion_target = 0.9<br />
wal_buffers = 16MB<br />
default_statistics_target = 100<br />
random_page_cost = 1.1<br />
work_mem = 6844kB<br />
min_wal_size = 2GB<br />
max_wal_size = 4GB<br />
max_worker_processes = 8<br />
max_parallel_workers_per_gather = 4</p>
]]></description><link>https://forum.netxms.org/post/26318</link><guid isPermaLink="true">https://forum.netxms.org/post/26318</guid><dc:creator><![CDATA[paul]]></dc:creator><pubDate>Tue, 20 Aug 2019 16:21:23 GMT</pubDate></item><item><title><![CDATA[Reply to Configured NetXMS as much as I can - what about Postgres settings? on Tue, 20 Aug 2019 21:48:56 GMT]]></title><description><![CDATA[<p dir="auto">You might want to add some memory to your system.<br />
We have ~ 5000 nodes, 35k objects and 320k DCIs and our NetXMS server alone happily grabs ~ 50-60GB of memory.<br />
At present we're running this on a single server with 160 GB of RAM. Note that this was added about a year ago when we hit some odd memory issues which turned out to be caused by a bug which gobbled up all available memory mappings over time, so it always looked like our system ran out of memory... we added a crazy amount to confirm it wasn't that. Having said that, our Postgres also happily eats up 64GB of memory. Could I cut our server down to ~ 128GB? Probably. Would it run on 12GB? I wouldn't think so.</p>
<p dir="auto">I am pretty sure the recommendation by the Postgres guys is to set shared buffers to ~25% of your RAM (and that there's generally no point going over 40%).<br />
There are several other configuration items we have in our system (e.g. <em>synchronous_commit=off</em>, <em>wal_level=minimal</em>, significantly higher effective_io_concurrency than default, but this does depend on your disk subsystem). However, as I am not a Postgres guy and of course didn't add notes to the config as to why I changed values :-[ and we added things at times when NetXMS was running significantly less stable for an install size such as ours, I am not sure which of these would actually still be relevant or are in fact counterproductive.</p>
]]></description><link>https://forum.netxms.org/post/26305</link><guid isPermaLink="true">https://forum.netxms.org/post/26305</guid><dc:creator><![CDATA[Tursiops]]></dc:creator><pubDate>Tue, 20 Aug 2019 21:48:56 GMT</pubDate></item></channel></rss>