News for hackers. Stuff that matters.
Re:Performance Benchmark 2018 – MongoDB, PostgreSQL, OrientD... by bsg75 on Wednesday February 14, 2018 @12:21PM (#16377397)
That is a terrible approach. No database platform is tuned by default.

You may have to run a utility, or edit a config file, but a new system must be configured to fully utilize available hardware, and for the expected workload.

A benchmark run on default config is at best misleading - it smells like marketing spam. You actually dampen interest in a forum like this with such an approach.

Re:Performance Benchmark 2018 – MongoDB, PostgreSQL, OrientD... by don71 on Wednesday February 14, 2018 @12:36PM (#16377542)
Disclaimer: I'm part of the ArangoDB team. As written in the post the whole benchmark is open source. The idea is that you can run it on your own. Also, pull requests are welcome. If you think it's marketing spam, take the chance and improve the configuration. We will publish an update of the post.
Re:Performance Benchmark 2018 – MongoDB, PostgreSQL, OrientD... by bsg75 on Wednesday February 14, 2018 @12:46PM (#16377633)
One simple suggestion for one platform: https://github.com/weinberger/nosql-tests/issues/22

The more common pgtune CLI is not up to date for PostgreSQL 10+ at this time.

Also there are some old, open issues that indicate the benchmarks have problems:

- https://github.com/weinberger/nosql-tests/issues/16 - https://github.com/weinberger/nosql-tests/issues/13

Re:Performance Benchmark 2018 – MongoDB, PostgreSQL, OrientD... by janemanos on Tuesday February 27, 2018 @09:19AM (#16473517)
We just published an Update to the Benchmark including PGtune, please find it here: https://news.ycombinator.com/item?id=16473117
Re:Performance Benchmark 2018 – MongoDB, PostgreSQL, OrientD... by rpedela on Wednesday February 14, 2018 @12:31PM (#16377499)
> No database platform is tuned by default.

Not really true any more. Many of the newer databases (e.g. Mongo) and database-like systems (e.g. Elasticsearch) try to give a good default experience.

Re:Performance Benchmark 2018 – MongoDB, PostgreSQL, OrientD... by bsg75 on Wednesday February 14, 2018 @12:38PM (#16377561)
Since I don't know about current versions of MongoDB, and am genuinely interested, how does Mongo know how much memory to use as an example?

Typically with PostgreSQL, you have to expand the defaults when running on modern server class hardware, so the engine uses enough RAM. Simply letting it use all RAM available can be problematic, since the DB engine and OS have to fight for cache, etc.

Java based systems like Elastic might still need JVM tuning, especially with a distributed platform like ES, which might be run in a large number of small machines, a smaller number of large machines, or containers.

Re:Performance Benchmark 2018 – MongoDB, PostgreSQL, OrientD... by dijit on Wednesday February 14, 2018 @01:09PM (#16377819)
You are exactly right. You must adjust the java heap size on Elasticsearch.