pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Craig Ringer <ringerc@ringerc.id.au>
To: leo xu <leoxu8703@gmail.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: primary and hot standby database don' work now
Date: Fri, 27 Jul 2012 08:58:16 +0800
Message-ID: <5011E7A8.5070200@ringerc.id.au> (raw)
In-Reply-To: <1342936810876-5717562.post@n5.nabble.com>
References: <1342936810876-5717562.post@n5.nabble.com>

On 07/22/2012 02:00 PM, leo xu wrote:
> hello everyone:
>                my pg version is 9.1.2 running on red hat 5.4 x64 servers.one
> day,i found all database indexes can't work,reindex database,it can work,but
> some table has primary key,found exists the same two records in table.

When did this start happening? At random? After a server crash or power 
loss? After an administrative action?

Are you running with fsync=off or using storage that has write caching 
enabled?

--
Craig Ringer



view thread (3+ messages)  latest in thread

Message-ID: <5011E7A8.5070200@ringerc.id.au>
Permalink:  ../5011E7A8.5070200@ringerc.id.au/
Also on:    postgresql.org/message-id/5011E7A8.5070200@ringerc.id.au

 · 

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-bugs@postgresql.org
  Cc: ringerc@ringerc.id.au, leoxu8703@gmail.com
  Subject: Re: primary and hot standby database don' work now
  In-Reply-To: <5011E7A8.5070200@ringerc.id.au>
  References: <1342936810876-5717562.post@n5.nabble.com> <5011E7A8.5070200@ringerc.id.au>

* 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