pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andreas Joseph Krogh <andreas@visena.com>
To: pgsql-general@lists.postgresql.org
Subject: Sv: Re: data-checksums
Date: Tue, 9 Jan 2018 21:47:17 +0100 (CET)
Message-ID: <VisenaEmail.fc.bd5db7bb29eddb01.160dcab9f91@tc7-visena> (raw)
In-Reply-To: <163ee8df-cae2-484e-5791-c74994d33403@commandprompt.com>

På tirsdag 09. januar 2018 kl. 21:37:16, skrev Joshua D. Drake <
jd@commandprompt.com <mailto:jd@commandprompt.com>>:
On 01/09/2018 12:22 PM, Andres Freund wrote:
 > On 2018-01-09 20:04:04 +0100, Rakesh Kumar wrote:
 >>>> I also would like to believe that the hit is small, but when PG
 >>>> official document writes "noticeable performance penalty", it becomes
 >>>> difficult to convince management that the hit is small :-)
 >>> Why believe, when you can measure?
 >> yup doing that.  But I still feel that PG documentation should stay
 >> away from such scare mongering.  Or did the lawyers write that :)
 > So we should rather lie about it having a potential for performance
 > impact? Who'd be helped by that?

 It isn't a lie, it depends on the workload and hardware. Adjusting the
 documentation to say something like the following probably isn't a bad idea:

 The use of the data checksum feature may incur a performance penalty.
 However, this does depend on your particular workload and provisioned
 hardware. It is wise to test the feature based on your specific
 requirements.
 
Does PG use HW-accellerated crc if CPU supports it[1]?
 
[1] https://en.wikipedia.org/wiki/SSE4
 
-- Andreas Joseph Krogh
CTO / Partner - Visena AS
Mobile: +47 909 56 963
andreas@visena.com <mailto:andreas@visena.com>
www.visena.com <https://www.visena.com;
 <https://www.visena.com;


 

view thread (2+ messages)  latest in thread

Message-ID: <VisenaEmail.fc.bd5db7bb29eddb01.160dcab9f91@tc7-visena>
Permalink:  ../VisenaEmail.fc.bd5db7bb29eddb01.160dcab9f91@tc7-visena/
Also on:    postgresql.org/message-id/VisenaEmail.fc.bd5db7bb29eddb01.160dcab9f91@tc7-visena

 · 

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: andreas@visena.com
  Subject: Re: data-checksums
  In-Reply-To: <VisenaEmail.fc.bd5db7bb29eddb01.160dcab9f91@tc7-visena>
  References: <163ee8df-cae2-484e-5791-c74994d33403@commandprompt.com> <VisenaEmail.fc.bd5db7bb29eddb01.160dcab9f91@tc7-visena>

* 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