pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: maillist <maillist@tnss.com>
To: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Subject: fyi regarding error I've seen posted before
Date: Fri, 01 Aug 2003 08:55:50 -0500
Message-ID: <3F2A7166.245455A@tnss.com> (raw)

Database error:Invalid SQL: VACUUM VERBOSE ANALYZE ids_logs
PostgreSQL Error: 1 (ERROR: simple_heap_delete: tuple concurrently
updated )
aged deleted 28954 records

I got these error messages from my php script that processes system logs
from my linux / unix boxes. this is the first time I've seen this error
message, but since people have asked about it before I thought I'd addd
my two cents.

after I process all my text log files into the database I click on the
age button which does a series of updates

update pri to pri -1 for anything older than a day
update pri to pri -1 for any thing older than a week
update pri to pri -1 for anthing older than a month
after I do all the updates I run a delete query to delete all records
with pri < -99
after I do that I run VACUUM VERBOSE ANALYZE ids_logs
and this is where the errors showed up
reruning the aging process just ages and deleted more records, so I'm
assuming it was a one time thing, nothing to worry about and since the
data is trasient, and used to see if my systems are running ok deleteing
and recreating the table is no big deal. I'll just lose all the people /
ips that have hacked / scaned my boxes in the last month

since I've read about this error before on the list, and I know that
there were no other processes accessing the table I thought this info
might be of value

	Arno



view thread (3+ messages)  latest in thread

Message-ID: <3F2A7166.245455A@tnss.com>
Permalink:  ../3F2A7166.245455A@tnss.com/
Also on:    postgresql.org/message-id/3F2A7166.245455A@tnss.com

 · 

reply

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: maillist@tnss.com
  Subject: Re: fyi regarding error I've seen posted before
  In-Reply-To: <3F2A7166.245455A@tnss.com>
  References: <3F2A7166.245455A@tnss.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