Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UFtBm-0006GB-QX for pgsql-admin@arkaria.postgresql.org; Wed, 13 Mar 2013 21:26:22 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1UFtBm-0002Zq-7n for pgsql-admin@arkaria.postgresql.org; Wed, 13 Mar 2013 21:26:22 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UFtBl-0002Zl-HY for pgsql-admin@postgresql.org; Wed, 13 Mar 2013 21:26:21 +0000 Received: from smtprelay0007.b.hostedemail.com ([64.98.42.7] helo=smtprelay.b.hostedemail.com) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UFtBi-0007mG-As for pgsql-admin@postgresql.org; Wed, 13 Mar 2013 21:26:20 +0000 Received: from filter.hostedemail.com (b-bigip1 [10.5.19.254]) by smtprelay02.b.hostedemail.com (Postfix) with SMTP id 58BFDD3965; Wed, 13 Mar 2013 21:26:16 +0000 (UTC) X-Panda: scanned! X-Session-Marker: 616C76686572726540616C76682E6E6F2D69702E6F7267 X-Filterd-Recvd-Size: 1916 Received: from perhan.alvh.no-ip.org (unknown [200.85.208.110]) (Authenticated sender: alvherre@alvh.no-ip.org) by omf02.b.hostedemail.com (Postfix) with ESMTPA; Wed, 13 Mar 2013 21:26:15 +0000 (UTC) Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id 1966E6E1A1; Wed, 13 Mar 2013 18:26:13 -0300 (CLST) Date: Wed, 13 Mar 2013 18:26:12 -0300 From: Alvaro Herrera To: Gabriel =?iso-8859-1?Q?E=2E_S=E1nchez_Mart=EDnez?= Cc: pgsql-admin@postgresql.org Subject: Re: tables mysteriously truncated Message-ID: <20130313212612.GC3697@alvh.no-ip.org> References: <5140B917.5060405@gmail.com> <5140C268.9080802@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <5140C268.9080802@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) Content-Transfer-Encoding: quoted-printable X-Pg-Spam-Score: -1.9 (-) 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 "Gabriel E. S=E1nchez Mart=EDnez" escribi=F3: > I will try to make these tables logged and see if they withstand the > test of time. Are crashes and unclean shutdowns logged anywhere? I > would like to see why I might be getting them. I have not had to > manually restart the database, if that were an indication of a > crash. Yes, crashes are logged in the server log. There's support for automatic recovery and restart after a crash, so it's quite plausible that you're not seeing anything if you're not paying attention. Sessions that were running prior to the crash are terminated, though, so if you keep connections open, you'd notice because they would no longer work. Crashes should certainly not happen routinely. If they are, you have a problem that's worth investigating. --=20 =C1lvaro Herrera http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services --=20 Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin