<div dir="ltr">Hey,<div>nice project =)</div><div><br></div><div>If you use something like qgis, each user can easily have a dozen connection open to server, so with 10 users, you may need to use something like pgpool.</div><div><br></div><div>About hardware dimension, it is more a question for postgres list.<br><br></div><div>You may stress that your usage is probably mostly read, and that usage will be spread on a lot of table.</div><div>Your storage being external, you may need some good network.</div><div>You didn't talk about backup, it is essential (raid, replication, backup script?).</div><div><br></div><div>In my experience (research), it is totally unpractical to use a ms based server, because all good stuff need to be compiled (sfcgal, geos, gdal, postgis, plr ...), and it is much more easier on linux.</div><div>I solved it by using a virtualbox with ubuntu.</div><div><br></div><div>We used a NAS server to store postgres files, although it is was not recommended. It worked very well over the gigabit ethernet.</div><div><br></div><div>About pl/r or pl/python, I used both (tough much more plpython). </div><div>For my settings the best is small function in pl language (by small I mean not much memory and not too long (like max few minutes)) , big function (like controlling your whole process, 60 hour computing, etc) in R or python with postgres connector.</div><div>Or , another rule of thumb : if it fit naturally into a transaction, in pl language, if it is bigger, python or R.</div><div><br></div><div>Having a dedicated R server would enable to use something like Shiny (R web applet).</div><div><br></div><div>Cheers,</div><div>Rémi-C</div><div><br></div><br></div><div class="gmail_extra"><br><div class="gmail_quote">2015-02-10 5:07 GMT+01:00 Mathieu Basille <span dir="ltr"><<a href="mailto:basille.web@ase-research.org" target="_blank">basille.web@ase-research.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Dear PostGIS users,<br>
<br>
I am currently planning to set up a PostGIS instance for my lab. Turns out I believe this would be useful for the whole center, so that I'm now considering setting up a PostGIS server for everyone—if interest is shared of course. At the moment, I am however struggling with what would be required in terms of hardware, and of course, the cost will depend on that—at the end of the day, it's really a matter of money well spent. I have then a series of questions/remarks, and I would welcome any feedback from people with existing experience on setting up a multi-user PostGIS server.<br>
<br>
* My own experience is rather limited: I used PostGIS quite a bit, but only on a desktop, with 2 users. The desktop was quite good (quad-core Xeon, 12 Go RAM, 500 GB hd), running Debian, and we never had any performance issue (although some queries were rather long, but still acceptable).<br>
<br>
* The use case I'm envisioning would be (at least in the foreseeable future):<br>
- About 10 faculty users (which means potentially a little bit more students using it); I would have hard time considering more than 4 concurrent users;<br>
- Data would primarily involve a lot (hundreds/thousands) of high resolution (spatial and temporal) raster and vector maps, possibly over large areas (Florida / USA / continental), as well as potentially millions of GPS records (animals individually monitored);<br>
- Queries will primarily involve retrieving points/maps over given areas/time, as well as intersecting points over environmental layers; other use cases will involve working with steps, i.e. the straight line segment connecting two successive locations, and intersecting them with environmental layers;<br>
<br>
* I couldn't find comprehensive or detailed guidelines on-line about hardware, but from what I could see, it seems that memory wouldn't be the main issue, but the number of cores would be (one core per database connection if I'm not mistaken). At the same time, we want to make sure that the experience is smooth for everyone...<br>
<br>
* Is there a difference in terms of performance and usability between a Linux-based and a MS-based server? My center is unfortunately MS-centered, and existing equipment runs with MS systems... It would thus be easier for them to set up a MS-based server.<br>
<br>
* Does anyone have worked with a server running the DB engine, while the DB itself was stored on another box/server? That would likely be the case here since we already have a dedicated box for file storage. Along these lines, does the system of the file storage box matter (Linux vs. MS)?<br>
<br>
* We may also use the server as a workstation to streamline PostGIS processing with further R analyses/modeling (or even use R from within the database using PL/R). Again, does anyone have experience doing it? Is a single workstation the recommended way to work with such workflow? Or would it be better (but more costly) to have one server dedicated to PostGIS and another one, with different specs, dedicated to analyses (R)?<br>
<br>
I realize my questions and comments may be a confusing, likely because of the lack of experience about these issues on my side. I really welcome any feedback of people working with PostGIS servers in a small unit, or any similar setting that could be informative!<br>
<br>
In advance, thank you very much!<br>
<br>
Sincerely,<br>
Mathieu Basille.<br>
<br>
<br>
-- <br>
<br>
~$ whoami<br>
Mathieu Basille<br>
<a href="http://ase-research.org/basille" target="_blank">http://ase-research.org/<u></u>basille</a><br>
<br>
~$ locate --details<br>
University of Florida \\<br>
Fort Lauderdale Research and Education Center<br>
<a href="tel:%28%2B1%29%20954-577-6314" value="+19545776314" target="_blank">(+1) 954-577-6314</a><br>
<br>
~$ fortune<br>
« Le tout est de tout dire, et je manque de mots<br>
Et je manque de temps, et je manque d'audace. »<br>
-- Paul Éluard<br>
<br>
______________________________<u></u>_________________<br>
postgis-users mailing list<br>
<a href="mailto:postgis-users@lists.osgeo.org" target="_blank">postgis-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users" target="_blank">http://lists.osgeo.org/cgi-<u></u>bin/mailman/listinfo/postgis-<u></u>users</a></blockquote></div><br></div>