News for hackers. Stuff that matters.
Re:MongoDB queries don’t always return all matching documents by blackoil on Wednesday June 08, 2016 @05:49AM (#11861108)
Postgres members should listen this and have a simple getting started guide for osx, Windows, Linux. I tried brew install postgresql. There was no single place which tells me how to start server, access command line, create db etc.
Re:MongoDB queries don’t always return all matching documents by ProblemFactory on Wednesday June 08, 2016 @07:55AM (#11861567)
On OSX there is the fantastic http://postgresapp.com/ . It installs into /Applications so it is easy to remove, and comes with a start/stop GUI and taskbar icon. Great for local development.

But installing and configuring Postgres "properly" on a server is still something of a challenge. Do I need to modify random_page_cost on a SSD or not? What are good memory limits on modern big servers? What exactly needs to go into pg_hba.conf?

None of these seem too difficult after reading a few tutorials and wikis, but it would be nice if the server set itself up with reasonable defaults based on the machine its running on.

Re:MongoDB queries don’t always return all matching documents by jeltz on Wednesday June 08, 2016 @08:19AM (#11861664)
Getting started with PostgreSQL on Linux is actually trivial. What is annoying though that there are lots of guides which talk about editing pg_hba.conf which is not necessary for the simplest setup. The default pg_hba.conf is good in most distros.
Re:MongoDB queries don’t always return all matching documents by manigandham on Wednesday June 08, 2016 @06:22PM (#11866149)
We must have different definitions of trivial compared to what I had to go through every time - it's a mess of an install process that takes tweaking config files just to have it even listen to external requests.