applications hang when calling 'vacuum'

From: "Barnes, Sandy (Sandra)" <Sandy(dot)Barnes(at)Honeywell(dot)com>
To: "'pgsql-hackers(at)postgresql(dot)org'" <pgsql-hackers(at)postgresql(dot)org>
Subject: applications hang when calling 'vacuum'
Date: 2001-04-26 16:36:51
Message-ID: 4B3EBD3B46D7D21194B30008C7B1C76508CD7269@OLTEX134
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


> We are currently calling 'vacuum' from within our code, using the psql++
> PgDatabase ExecCommandOk() to send the SQL statement 'vacuum'. I seems to
> work when we only have one process running, but when two processes (both
> invoking the vacuum) are running it immediately hangs. Some postgres
> processes exist... one 'idle' and one 'VACUUM'. The applications hang.
> I tried using the PgTransaction class to invoke the SQL but received an
> error stating that vacuum cannot be run in a transaction.
> Any ideas?
>
> Sandy Barnes
> email sandy(dot)barnes(at)honeywell(dot)com
>

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2001-04-26 16:41:41 Re: RI oddness
Previous Message Marko Kreen 2001-04-26 16:13:59 Re: crypt(table.field) ?