pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Laurenz Albe <laurenz.albe@cybertec.at>
To: Chris Travers <chris.travers@gmail.com>
To: Sonam Sharma <sonams1209@gmail.com>
Cc: Postgres General <pgsql-general@postgresql.org>
Subject: Re: POSTGRES/MYSQL
Date: Tue, 12 Mar 2019 10:05:16 +0100
Message-ID: <8e0779af847f1c557c1ce0e96d5eec01ea71b2ef.camel@cybertec.at> (raw)
In-Reply-To: <CAKt_ZfsZuB0VF+f1S5of0kwoYjyxxqzLxQ9pZBRSML95Lrvgcw@mail.gmail.com>
References: <CAM-M3T=Vm9NmH8=_FKEVhLPxSuh=cDY7P3bDWPKS0HW0-ouKBQ@mail.gmail.com>
	<CAKt_ZfsZuB0VF+f1S5of0kwoYjyxxqzLxQ9pZBRSML95Lrvgcw@mail.gmail.com>

Chris Travers wrote:
> Also MySQL has a query cache that allows the results of very common queries to be much faster.

I have used that feature, and it has bitten me:
https://stackoverflow.com/q/44244482/6464308

I guess only some rather pathological workloads really benefit from that.

> For updates, MySQL avoids a lot of index write overhead.  PostgreSQL has more overhead per update.

That is what I meant when I said that PostgreSQL is less suitable for a key-value store.

There is HOT update which can mitigate the problem if the updated columns are not indexed.

Yours,
Laurenz Albe
-- 
Cybertec | https://www.cybertec-postgresql.com





view thread (30+ messages)  latest in thread

Message-ID: <8e0779af847f1c557c1ce0e96d5eec01ea71b2ef.camel@cybertec.at>
Permalink:  ../8e0779af847f1c557c1ce0e96d5eec01ea71b2ef.camel@cybertec.at/
Also on:    postgresql.org/message-id/8e0779af847f1c557c1ce0e96d5eec01ea71b2ef.camel@cybertec.at

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: laurenz.albe@cybertec.at, chris.travers@gmail.com, sonams1209@gmail.com
  Subject: Re: POSTGRES/MYSQL
  In-Reply-To: <8e0779af847f1c557c1ce0e96d5eec01ea71b2ef.camel@cybertec.at>
  References: <CAM-M3T=Vm9NmH8=_FKEVhLPxSuh=cDY7P3bDWPKS0HW0-ouKBQ@mail.gmail.com> <CAKt_ZfsZuB0VF+f1S5of0kwoYjyxxqzLxQ9pZBRSML95Lrvgcw@mail.gmail.com> <8e0779af847f1c557c1ce0e96d5eec01ea71b2ef.camel@cybertec.at>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox