Re: Mystery SELECT * query - Mailing list pgsql-novice

From Kevin Grittner
Subject Re: Mystery SELECT * query
Date
Msg-id 1386633462.75161.YahooMailNeo@web162904.mail.bf1.yahoo.com
Whole thread Raw
In response to Mystery SELECT * query  (Andrew Puschak <apuschak@gmail.com>)
Responses Re: Mystery SELECT * query  (Andrew Puschak <apuschak@gmail.com>)
List pgsql-novice
Andrew Puschak <apuschak@gmail.com> wrote:

> I've inherited a web service on a Windows server that connects to
> a Postgres database. There is a "SELECT * FROM" query below that
> runs a long time and appears to happen whenever there is a web
> service update. I'd like to eliminate or limit it but I have to
> find it first.

The first thing I would look at is whether the software stack on
your web server includes some sort of table cache which is being
invalidated by each update.

--
Kevin Grittner
EDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


pgsql-novice by date:

Previous
From: Andrew Puschak
Date:
Subject: Mystery SELECT * query
Next
From: Andrew Puschak
Date:
Subject: Re: Mystery SELECT * query