<div dir="ltr"><div><div><div><div><div><div><div><div>Hello Felipe,<br><br></div>My name is George and I'm also from Brazil.<br><br></div>From the top of my head here, I have a few questions for you:<br><br></div>1. Why are you using different ports for each database? Does this mean that you are using one database cluster for each database? If so, that might not be good. PostgreSQL is capable of holding multiple databases in the same cluster.<br><br></div>2. You might benefit from a connection pooler, such as pgpool. QGIS makes a few connections for each user with the database. Each open connection takes RAM memory from the server, which may take things slow after a while. The connection pooler will reuse the same available connections, saving memory and time when users need to connect to the database.<br><br></div>3. Your servers are using older versions of PostgreSQL and PostGIS. There is a lot of new and neat stuff on newer versions. Be careful with the upgrade, if you're going to do it.<br><br></div>4. Tune your database. This sort of database has specific needs. I don't have a link right now, but look for "tuning PostGIS". There was an article by Boundless that had a lot of information on tuning PostGIS. Important thing here: measure first, tune, measure, tune, etc.<br><br></div>If you need further assistance, let me know!<br><br></div>Thanks and good luck!<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jun 15, 2017 at 3:00 PM, Cap Diniz <span dir="ltr"><<a href="mailto:diniz.felipe@eb.mil.br" target="_blank">diniz.felipe@eb.mil.br</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><span style="font-size:12.8px">Hello,</span><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">I am from the Cartographic Production Department from the Brazilian Army, and we are trying to migrate from ArcGIS to QGIS+PostGIS.</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">We are currently using QGIS 2.14.15, PostgreSQL 9.2, PostGIS 2.1 and we mostly do data digitizing over an orthoimage. We have about 50 simultaneous users in a single PostGIS server, but in different databases and ports (we use 5 different ports in production, one per project).</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">I would like to know if there are any tips to improve performance and QGIS reliability, such as tuning PostgreSQL, changing versions, operating systems, hardware recommendations, or QGIS specifics.</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Regards,</div><div style="font-size:12.8px">Felipe Diniz</div></div>
<br>______________________________<wbr>_________________<br>
postgis-users mailing list<br>
<a href="mailto:postgis-users@lists.osgeo.org">postgis-users@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/postgis-users" rel="noreferrer" target="_blank">https://lists.osgeo.org/<wbr>mailman/listinfo/postgis-users</a><br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr">George R. C. Silva<br>Sigma Geosistemas LTDA<br><div>----------------------------<br><div><a href="http://www.sigmageosistemas.com.br/" target="_blank">http://www.sigmageosistemas.com.br/</a><div style="padding:0px;margin-left:0px;margin-top:0px;overflow:hidden;word-wrap:break-word;color:black;font-size:10px;text-align:left;line-height:130%"></div><div style="padding:0px;margin-left:0px;margin-top:0px;overflow:hidden;word-wrap:break-word;color:black;font-size:10px;text-align:left;line-height:130%"></div><div style="padding:0px;margin-left:0px;margin-top:0px;overflow:hidden;word-wrap:break-word;color:black;font-size:10px;text-align:left;line-height:130%"></div></div></div></div></div></div></div>
</div>