Re: [HACKERS] Postgres TR for missing chunk

2014-12-22 Thread Robert Haas
On Fri, Dec 19, 2014 at 4:18 AM, M Tarkeshwar Rao
m.tarkeshwar@ericsson.com wrote:
 We are facing this issue and want to analyse this through logging.
 can you please share a sample Postgres config file to enable max logging with 
 syslog support?

 What should be the debug level so that I can capture the failure information?

I don't think that cranking up the debug level is going to help you
here.  Instead, you should tell us what you did that ended up causing
this error, especially if it is a reproducible series of steps,
because then we might be able to identify the cause, and/or fix it.

It is worth noting that one possible explanation for this is that your
database is corrupted.  That can happen for a variety of reasons, as I
explained in one of my blog posts:

http://rhaas.blogspot.com/2012/03/why-is-my-database-corrupted.html

You should check and make sure that none of those causes sound like
things that could have happened in your case.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers


Re: [HACKERS] Postgres TR for missing chunk

2014-12-19 Thread M Tarkeshwar Rao
Hello friends,

Thanks for your useful inputs.

We are facing this issue and want to analyse this through logging. 
can you please share a sample Postgres config file to enable max logging with 
syslog support?

What should be the debug level so that I can capture the failure information?

Regards
Tarkeshwar

-Original Message-
From: Tom Lane [mailto:t...@sss.pgh.pa.us] 
Sent: 16 December 2014 22:25
To: Jaime Casanova
Cc: M Tarkeshwar Rao; PostgreSQL-development
Subject: Re: [HACKERS] Postgres TR for missing chunk

Jaime Casanova ja...@2ndquadrant.com writes:
 You know, that toast table name ringed a bell.
 Look at this thread maybe this is your problem, and if it is then is 
 already fixed and you should update.
 http://www.postgresql.org/message-id/12138.1336019...@sss.pgh.pa.us

That was about transient failures though, not persistent ones, which is what 
the OP seems to be claiming he's getting.

 Btw, when giving a bug report you should start but saying your 
 PostgreSQL's version and explain what you did based on Google's wisdom

Yeah.

regards, tom lane


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers


Re: [HACKERS] Postgres TR for missing chunk

2014-12-16 Thread Robert Haas
On Tue, Dec 16, 2014 at 1:02 AM, M Tarkeshwar Rao
m.tarkeshwar@ericsson.com wrote:
 Can you please tell me the how can I track the which bugs are fixed in which
 release and when they will be fixed,

We don't have a bug tracker, but you can look at the mailing list
threads and the source code repository.

 BUG #9187: corrupt toast tables

 http://www.postgresql.org/message-id/30154.1392153...@sss.pgh.pa.us
 http://www.postgresql.org/message-id/cafj8praufpttn5+ohfqpbcd1jzkersck51uakhcwd8nt4os...@mail.gmail.com
 http://www.postgresql.org/message-id/20140211162408.2713.81...@wrigleys.postgresql.org

There's not enough information in that bug report for us to be certain
whether it's a hardware issue or a bug, so I wouldn't expect any
further action on that particular report.

 BUG #7819: missing chunk number 0 for toast value 1235919 in pg_toast_35328

 http://www.postgresql.org/message-id/C62EC84B2D3CF847899CCF4B589CCF70B20AA08F@BBMBX.backbone.local

I don't think this has been fixed, but it's probably unlikely to
account for your issue.  It seems that errors due to this problem
would be transient, and you'd have to be doing something strange, like
increasing vacuum_defer_cleanup_age on the fly.  If you're seeing the
same error on the same TOAST table and TOAST value repeatedly, there's
something else going on.  More details might help us figure out what.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers


Re: [HACKERS] Postgres TR for missing chunk

2014-12-16 Thread Tom Lane
Jaime Casanova ja...@2ndquadrant.com writes:
 You know, that toast table name ringed a bell.
 Look at this thread maybe this is your problem, and if it is then is
 already fixed and you should update.
 http://www.postgresql.org/message-id/12138.1336019...@sss.pgh.pa.us

That was about transient failures though, not persistent ones,
which is what the OP seems to be claiming he's getting.

 Btw, when giving a bug report you should start but saying your PostgreSQL's
 version and explain what you did based on Google's wisdom

Yeah.

regards, tom lane


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers


Re: [HACKERS] Postgres TR for missing chunk

2014-12-15 Thread M Tarkeshwar Rao
Hello Friends,

Can you please tell me the how can I track the which bugs are fixed in which 
release and when they will be fixed,
If I want to track the analysis and status of the bug raised on Postgres. Can I 
get this information.

From last few days we are struggling with following issue:

1.   Additionally we found that few operations on this table is getting 
failed like select or truncate and a more specific error is thrown as per 
below:-

ERROR:  missing chunk number 0 for toast value 54787 in pg_toast_2619

** Error **

We done all the suggested things on Google but not able to resolve it. I want 
to know how to avoid this issue?

Can you please suggest upto when following bugs will be resolved?

There are the known Bug on Postgres. Bugs detail are mentioned below.

BUG #9187: corrupt toast tables

http://www.postgresql.org/message-id/30154.1392153...@sss.pgh.pa.us
http://www.postgresql.org/message-id/cafj8praufpttn5+ohfqpbcd1jzkersck51uakhcwd8nt4os...@mail.gmail.com
http://www.postgresql.org/message-id/20140211162408.2713.81...@wrigleys.postgresql.org

BUG #7819: missing chunk number 0 for toast value 1235919 in pg_toast_35328

http://www.postgresql.org/message-id/C62EC84B2D3CF847899CCF4B589CCF70B20AA08F@BBMBX.backbone.local

Thanks !!
Tarkeshwar