Re: Reporting query failing

From: Tomas Vondra <tv(at)fuzzy(dot)cz>
To: pgsql-performance(at)postgresql(dot)org
Subject: Re: Reporting query failing
Date: 2013-05-25 21:00:19
Message-ID: 51A12663.3090502@fuzzy.cz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Hi!

On 25.5.2013 15:46, aup20 wrote:
> I am using postgresql 9.2, and we are getting error like -
> System.Data.EntityException: The underlying provider failed on Open.
> ---> Devart.Data.PostgreSql.PgSqlException: Stream already closed!!!.
> I have turned the autovacuum on but my reporting query is failing.
> When the manual full autovacuum is performed along with analyse the
> reporting query works. Please let me know how to deal with this
> situation.

We need substantially more info to be able to help you.

1) What does the PostgreSQL log say?

2) What query are you running? Post the SQL query, please.

3) Was this happening since the beginning, or did that start recently?

4) Are you able to reproduce the issues when running the query using
psql (or other client, i.e. not through dotconnect)?

5) I don't understand how is this related to autovacuum (or vacuum in
general). Why have you disabled the autovacuum in the first place?

6) I assume all this is on Windows (as you're using dotconnect). Is
that correct? Please describe the environment a bit (versions etc.)
It the application running on the same system as the database?

kind regards
Tomas

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Robert Klemme 2013-05-26 12:34:10 Re: Advice on optimizing select/index
Previous Message aup20 2013-05-25 13:46:24 Reporting query failing