From: mike focosi <mike@goldendome.com>
To: pgsql-general@postgresql.org
Subject: Table Corruption
Date: Thu, 9 Nov 2000 11:38:39 -0500
Message-ID: <00ce01c04a6b$880503c0$2a252fd0@goldendome.com> (raw)
I have several php scripts that allow my clients to add stories to a
database. I've noticed that once in a while, when they attempt to
insert/update more than 8k into a table, the table is becoming corrupted.
When a select is done on the table, the database hangs. When this happens to
one table in one database, it brings down the whole postgreSQL server
backend. Not good.
I've created a database with the same scheme/data and have only been able to
recreate the problem once. Can't seem to do it everytime. PostgreSQL usually
gives the "PQsendQuery() -- query is too long..." error and just doesn't
follow thru with the query which is fine. I can deal with limiting my
clients to less than 8k stories. But sometimes the table gets corrupted by
a query that shouldn't be executed (ie: stopped at the too long warning).
Has anybody ever had any problems like the one I described. I've yet to
upgrade our database servers to 7+ (running 6.4) so I'm hoping maybe that
would solve the problem. But I'd like to know what the exact problem is.
thanks
-mike
mike focosi
senior applications developer
golden dome media
http://www.goldendomemedia.comhttp://www.surfmichiana.comhttp://www.wndu.com
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-admin@postgresql.org
Cc: mike@goldendome.com, pgsql-general@postgresql.org
Subject: Re: Table Corruption
In-Reply-To: <00ce01c04a6b$880503c0$2a252fd0@goldendome.com>
References: <00ce01c04a6b$880503c0$2a252fd0@goldendome.com>
* 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