Re: select failure - Mailing list pgsql-sql

From Ian Cass
Subject Re: select failure
Date
Msg-id 001501c20fe7$a92436a0$1af11f3e@xenon
Whole thread Raw
In response to select failure  ("Ian Cass" <ian.cass@mblox.com>)
List pgsql-sql
Debian apt-get installed 7.2.1. No I don't have ppl deleting files.

What do I need to do to fix it?

Worst case, I can probably remove the table and rebuild it. Although it
contains about 27million rows and will take 2 or 3 days to rebuild.

Thing is, how did it happen and is it likely to happen again?

--
Ian Cass

----- Original Message -----
From: "Gunther Schadow" <gunther@aurora.regenstrief.org>
To: "Ian Cass" <ian.cass@mblox.com>
Cc: <pgsql-sql@postgresql.org>
Sent: Sunday, June 09, 2002 7:10 PM
Subject: Re: [SQL] select failure


> Ian Cass wrote:
>
> > Ideas where I should look for the answer to this problem & how I should
fix
> > it?
> >
> > observer=# select host, current_route, count(current_route)
> > observer-# from messages_200205
> > observer-# group by host, current_route;
> > FATAL 2:  open of /var/lib/postgres/data/pg_clog/0534 failed: No such
file
> > or directory
>
>
> OUCH! that looks quite bad. It's a postgresql internal error.
> What version of PostgreSQL do you run? Is this some beta version?
> Or do you have someone deleting files randomly?
>
> regards,
> -Gunther
>
>
>
> --
> Gunther Schadow, M.D., Ph.D.                    gschadow@regenstrief.org
> Medical Information Scientist      Regenstrief Institute for Health Care
> Adjunct Assistant Professor        Indiana University School of Medicine
> tel:1(317)630-7960                         http://aurora.regenstrief.org
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
>     (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)
>



pgsql-sql by date:

Previous
From: Gunther Schadow
Date:
Subject: Re: select failure
Next
From: Tom Lane
Date:
Subject: Re: Q: will GROUP BY make use of an index to return tuples early?