Re: How we made Postgres upserts 2-3* quicker than MongoDB

From: Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com>
To: Nicolas Paris <niparisco(at)gmail(dot)com>
Cc: Mark Zealey <mark(at)allaroundtheworld(dot)fr>, pgsql-performance <pgsql-performance(at)postgresql(dot)org>
Subject: Re: How we made Postgres upserts 2-3* quicker than MongoDB
Date: 2016-01-08 17:43:29
Message-ID: CAOR=d=3_xRdttZL8uJ6T+gcN3WCaMm=-5o130Kj7SVGVwP23QQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

On Fri, Jan 8, 2016 at 10:07 AM, Nicolas Paris <niparisco(at)gmail(dot)com> wrote:
>
> 2016-01-08 17:37 GMT+01:00 Mark Zealey <mark(at)allaroundtheworld(dot)fr>:
>> Hi all, I just wrote an article about the postgres performance optimizations
>> I've been working on recently especially compared to our old MongoDB
>> platform
>>
>> https://mark.zealey.org/2016/01/08/how-we-tweaked-postgres-upsert-performance-to-be-2-3-faster-than-mongodb

> Hello Mark,
>
> As far as I know, MongoDB is able to get better writing performances
> thanks to scaling (easy to manage sharding). Postgresql cannot (is not
> designed for - complicated).
> Why comparing postgresql & mongoDB performances on a standalone
> instance since mongoDB is not really designed for that ?
>
> Thanks for the answer and for sharing,

I think the part where he mentioned that it's a lot easy to do roll up
and reporting queries etc. on a sql database justified the comparison
between the two in general. At which point PostgreSQL would normally
be considered the underdog in write performance, at least in the past.
So comparing the two makes perfect sense.

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Jinhua Luo 2016-01-10 05:57:38 insert performance
Previous Message Mark Zealey 2016-01-08 17:16:34 Re: How we made Postgres upserts 2-3* quicker than MongoDB