Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h3dLk-0005pr-5E for pgsql-general@arkaria.postgresql.org; Tue, 12 Mar 2019 09:05:28 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1h3dLi-0008Fs-IM for pgsql-general@arkaria.postgresql.org; Tue, 12 Mar 2019 09:05:26 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h3dLi-0008Fk-9q for pgsql-general@lists.postgresql.org; Tue, 12 Mar 2019 09:05:26 +0000 Received: from mx2.mailbox.org ([80.241.60.215]) by magus.postgresql.org with esmtps (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h3dLf-0000UV-Ag for pgsql-general@postgresql.org; Tue, 12 Mar 2019 09:05:25 +0000 Received: from smtp2.mailbox.org (smtp2.mailbox.org [IPv6:2001:67c:2050:105:465:1:2:0]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by mx2.mailbox.org (Postfix) with ESMTPS id B3F71A1208; Tue, 12 Mar 2019 10:05:21 +0100 (CET) X-Virus-Scanned: amavisd-new at heinlein-support.de Received: from smtp2.mailbox.org ([80.241.60.241]) by hefe.heinlein-support.de (hefe.heinlein-support.de [91.198.250.172]) (amavisd-new, port 10030) with ESMTP id balXbAexxw_t; Tue, 12 Mar 2019 10:05:18 +0100 (CET) Message-ID: <8e0779af847f1c557c1ce0e96d5eec01ea71b2ef.camel@cybertec.at> Subject: Re: POSTGRES/MYSQL From: Laurenz Albe To: Chris Travers , Sonam Sharma Cc: Postgres General Date: Tue, 12 Mar 2019 10:05:16 +0100 In-Reply-To: References: Organization: Cybertec Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk 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