pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Regular issues faced on postgres 8.1
3+ messages / 3 participants
[nested] [flat]

* Regular issues faced on postgres 8.1
@ 2011-01-21 07:07 Kunwar Anjani Tyagi <kunwar.tyagi@newgen.co.in>
  2011-01-21 16:06 ` Re: Regular issues faced on postgres 8.1 Robert Haas <robertmhaas@gmail.com>
  2011-01-21 16:08 ` Re: Regular issues faced on postgres 8.1 David Fetter <david@fetter.org>
  0 siblings, 2 replies; 3+ messages in thread

From: Kunwar Anjani Tyagi @ 2011-01-21 07:07 UTC (permalink / raw)
  To: pgsql-bugs; +Cc: utsav.turray@newgen.co.in; deo.bhardwaj@newgen.co.in

Server Details :

Environment : RHEL 4
Postgres Version :Postgres 8.1
  1.. Missing chunk number 0 for toast value : This case is generated due to corruption of toast table of a particular table.Many times reindexing the toast table solves the problem. 
  2.. Cannot insert a duplicate key into unique index : On analysing this case we found that  duplicate rows  get automatically generated , how-ever the "oids " still remains different (In some of the cases, oids also same).  If a there is a primary key constarint on a column , then  this condition gets violated and start throwing error. 
  3.. Missing file in clog directory : While doing operations on some records, Error comes that an offset of clog file is missing. After analyzing it is found that file itself is missing. To resolve this we need to create blank files padded with zero, resulting in data loss. 
 Note : The above given problems are mostly on the tables which have high frequency of update.  

Kindly help us in resolving these issues, Whether these are bugs resolved in latest versions of postgres, If so than in which version, above stated problems are resolved.
 



Regards
Kunwar Anjani Tyagi
Disclaimer :- This e-mail and any attachment may contain confidential, proprietary or legally privileged information. If you are not the original intended recipient and have erroneously received this message, you are prohibited from using, copying, altering or disclosing the content of this message. Please delete it immediately and notify the sender. Newgen Software Technologies Ltd (NSTL)  accepts no responsibilities for loss or damage arising from the use of the information transmitted by this email including damages from virus and further acknowledges that no binding nature of the message shall be implied or assumed unless the sender does so expressly with due authority of NSTL.



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: Regular issues faced on postgres 8.1
  2011-01-21 07:07 Regular issues faced on postgres 8.1 Kunwar Anjani Tyagi <kunwar.tyagi@newgen.co.in>
@ 2011-01-21 16:06 ` Robert Haas <robertmhaas@gmail.com>
  1 sibling, 0 replies; 3+ messages in thread

From: Robert Haas @ 2011-01-21 16:06 UTC (permalink / raw)
  To: Kunwar Anjani Tyagi <kunwar.tyagi@newgen.co.in>; +Cc: pgsql-bugs; utsav.turray@newgen.co.in; deo.bhardwaj@newgen.co.in

On Fri, Jan 21, 2011 at 2:07 AM, Kunwar Anjani Tyagi
<kunwar.tyagi@newgen.co.in> wrote:
> Missing chunk number 0 for toast value : This case is generated due to
> corruption of toast table of a particular table.Many times reindexing the
> toast table solves the problem.
> Cannot insert a duplicate key into unique index : On analysing this case we
> found that  duplicate rows  get automatically generated , how-ever the
> "oids " still remains different (In some of the cases, oids also same).  If
> a there is a primary key constarint on a column , then  this condition gets
> violated and start throwing error.
> Missing file in clog directory : While doing operations on some records,
> Error comes that an offset of clog file is missing. After analyzing it is
> found that file itself is missing. To resolve this we need to create blank
> files padded with zero, resulting in data loss.

It sounds to me like you have a bad case of filesystem corruption.  I
would start by checking your hardware.

PostgreSQL 8.1 is no longer officially supported, and no further bug
fixes will be released.  Both performance and reliability of newer
releases are much improved; however, none of that will help you if you
have bad hardware.

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



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: Regular issues faced on postgres 8.1
  2011-01-21 07:07 Regular issues faced on postgres 8.1 Kunwar Anjani Tyagi <kunwar.tyagi@newgen.co.in>
@ 2011-01-21 16:08 ` David Fetter <david@fetter.org>
  1 sibling, 0 replies; 3+ messages in thread

From: David Fetter @ 2011-01-21 16:08 UTC (permalink / raw)
  To: Kunwar Anjani Tyagi <kunwar.tyagi@newgen.co.in>; +Cc: pgsql-bugs; utsav.turray@newgen.co.in; deo.bhardwaj@newgen.co.in

On Fri, Jan 21, 2011 at 12:37:19PM +0530, Kunwar Anjani Tyagi wrote:
> Server Details :
> 
> Environment : RHEL 4
> Postgres Version :Postgres 8.1

While you would normally need to supply the full version number, as in
8.1.24, you've supplied enough info with the major version, 8.1, which
just went end-of-life, i.e. it's no longer supported by the community.

>   1.. Missing chunk number 0 for toast value : This case is generated due to corruption of toast table of a particular table.Many times reindexing the toast table solves the problem. 
>   2.. Cannot insert a duplicate key into unique index : On analysing this case we found that  duplicate rows  get automatically generated , how-ever the "oids " still remains different (In some of the cases, oids also same).  If a there is a primary key constarint on a column , then  this condition gets violated and start throwing error. 
>   3.. Missing file in clog directory : While doing operations on some records, Error comes that an offset of clog file is missing. After analyzing it is found that file itself is missing. To resolve this we need to create blank files padded with zero, resulting in data loss. 
>  Note : The above given problems are mostly on the tables which have high frequency of update.  

Move to 8.2.19 right away, then start testing your application stack
with 9.0.2 (more generally 9.0.latest, whatever "latest" is).  The 8.2
branch is supported through December of this year, which should help
with your immediate problem.

http://wiki.postgresql.org/wiki/PostgreSQL_Release_Support_Policy

The 8.2 series doesn't fix the "automatic cast to text" issue which
drives the thorough testing you'll need to do with the 9.0 series.
Check very carefully here for potential incompatibilities with each
major (8.4 -> 9.0) and, to a lesser extent, minor (9.0.1->9.0.2, e.g.)
version upgrade.

http://www.postgresql.org/docs/current/static/release.html

You'll also want to make some kind of plans to build major version
upgrades into your development process, as end-of-life is a fact of
life in this as in every other software or system.

Cheers,
David.
-- 
David Fetter <david@fetter.org> http://fetter.org/
Phone: +1 415 235 3778  AIM: dfetter666  Yahoo!: dfetter
Skype: davidfetter      XMPP: david.fetter@gmail.com
iCal: webcal://www.tripit.com/feed/ical/people/david74/tripit.ics

Remember to vote!
Consider donating to Postgres: http://www.postgresql.org/about/donate



^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2011-01-21 16:08 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2011-01-21 07:07 Regular issues faced on postgres 8.1 Kunwar Anjani Tyagi <kunwar.tyagi@newgen.co.in>
2011-01-21 16:06 ` Robert Haas <robertmhaas@gmail.com>
2011-01-21 16:08 ` David Fetter <david@fetter.org>

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