Re: Postgres respond after toomany times to a query view

From: "Dann Corbit" <DCorbit(at)connx(dot)com>
To: "Claudia D'amato" <claudia(dot)damato(at)allaxia(dot)com>
Cc: <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Postgres respond after toomany times to a query view
Date: 2003-12-16 10:40:09
Message-ID: D90A5A6C612A39408103E6ECDD77B8294CE4E9@voyager.corporate.connx.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I suspect if you do "explain" against the SQL of the view, the answer
will be apparent.

Donning my "Karnak the magnificent hat {borrowed from Johnny Carson}":
You are missing an index.

For the best help, post the SQL of your view, and also the Schema
definition for the tables involved.

-----Original Message-----
From: Claudia D'amato [mailto:claudia(dot)damato(at)allaxia(dot)com]
Sent: Tuesday, December 16, 2003 2:32 AM
To: pgsql-hackers(at)postgresql(dot)org
Subject: [HACKERS] Postgres respond after toomany times to a
query view

Hi, I am developing a program using postgres and linux like
operating system. My problem is this:
I have a quite complicated view with roughly 10000 record. When
I execute a simple query like this
"select * from myview"
postgres respond after 50 - 55 minutes roughly. I hope that
someone can help me with some suggestion about reason of this behavior
and some solution to reduce time ti have results. Thank you for your
attentions and I hope to receive some feedback as soon as possible

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message claudia 2003-12-16 10:50:21 Postgres respond after toomany times to a query view
Previous Message Dave Page 2003-12-16 10:38:00 Re: 7.4 include file conflict