Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Z46x6-0001fo-Kq for pgsql-admin@arkaria.postgresql.org; Sun, 14 Jun 2015 12:23:52 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Z46x5-0005rL-Pn for pgsql-admin@arkaria.postgresql.org; Sun, 14 Jun 2015 12:23:51 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1Z46x4-0005pY-Bo for pgsql-admin@postgresql.org; Sun, 14 Jun 2015 12:23:50 +0000 Received: from mail-wi0-x22b.google.com ([2a00:1450:400c:c05::22b]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84) (envelope-from ) id 1Z46x1-0003FY-KA for pgsql-admin@postgresql.org; Sun, 14 Jun 2015 12:23:49 +0000 Received: by wiwd19 with SMTP id d19so52459985wiw.0 for ; Sun, 14 Jun 2015 05:23:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:subject:from:reply-to:to:cc:date:in-reply-to:references :content-type:mime-version:content-transfer-encoding; bh=orwlKsG0qVsbNoh36Bm9geIWT1ZL4mxvUPYi5eavG/w=; b=tcpz59k67Dn7ykovBu1Bkts9FR4KPOir8CDa3fXK0L3DxQg6ZzJt7+VO9xMByuYubx U+C8SfX945kUf8RTj7pRT/cghhTrRZnPK9lc7RyY4wPb6LlakargvXHT7JbW7PBprmJv HMuhAvM0W6yFqppeg16GGeQjr+IQAbyU67XETL1pVT551a6JDRKf/zj8CV3IdgbSsvVx +KS6M0yl7tZbM2WAZb/ohgClKt3OtGBSe/nPHxh1SnAE7FXgJ5VJNyeWzeZmmGUzsGX+ 77iNDpaNh9VLkgjlE8ElltR0BeLki6RQF+ifYTewaNBYEhs3iOVZeuKa848ry9Zbufsu MFRw== X-Received: by 10.180.36.170 with SMTP id r10mr23312160wij.10.1434284625994; Sun, 14 Jun 2015 05:23:45 -0700 (PDT) Received: from enterprisedb01 (213.37.241.36.dyn.user.ono.com. [213.37.241.36]) by mx.google.com with ESMTPSA id z9sm11194275wiv.9.2015.06.14.05.23.44 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 14 Jun 2015 05:23:44 -0700 (PDT) Message-ID: <1434284619.3638.10.camel@gmail.com> Subject: Re: replication consistency checking From: jaime soler Reply-To: jaime.soler@gmail.com To: hydra Cc: pgsql-admin Date: Sun, 14 Jun 2015 14:23:39 +0200 In-Reply-To: References: <191E0C02-9DE3-4B1E-AED3-16F53D19C195@web.de> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.12.10-0ubuntu1~14.10.1 Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-Pg-Spam-Score: -2.7 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-admin Precedence: bulk Sender: pgsql-admin-owner@postgresql.org El jue, 11-06-2015 a las 07:14 +0200, hydra escribió: > > > On Tue, Jun 9, 2015 at 9:47 PM, Jan Lentfer > wrote: > > > > > > Am 05.06.2015 um 16:56 schrieb Scott Ribe > : > > > >> On Jun 5, 2015, at 8:42 AM, Igor Neyman > wrote: > >> > >> The problem I see with “checksum utility” is that for it to > work both compared servers should be “static”: not > transactions while it does its job. > > > > Indeed, and that was brought up before and OP seems to be > ignoring it. What magic does MySQL (supposedly) use to compare > databases without interfering with updates? > > > Also, if I remember the Postgres SR bug correctly, this kind > of check that Percona provides would not have helped with this > kind of bug. The corruption did not occur *during* replication > but only if you restarted the slave because transactions were > falsely marked as commited or non-commited when the slave came > up again. You might have noticed the corruption earlier, > though. > > > > Ok but we do restart our slaves from time to time (upgrades) so sooner > or later you would discover if that would be the problem. But maybe it > will discover bugs/problems that occur *during* replication. Are you or your company considering to fund "this tool"?, if yes, maybe you get some feedback at pgsql-hackers@postgresql.org > > > > > One could imagine a built-in feature in PG which depends on > using MVCC and having both sides look at the same snapshot. > (Which would require repeatable reads.) > I actually think this would a need thing to have (for > pre-production) test environments, like alpha or beta testing. > > Jan > > -- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin