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:[EMAIL PROTECTED]
Sent: Tuesday, December 16, 2003 2:32 AM
To: [EMAIL PROTECTED]
Subject: [HACKERS] Postgres respond after toomany times to a query viewHi, 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