From: | Howie <caffeine(at)toodarkpark(dot)org> |
---|---|
To: | "Jackson, DeJuan" <djackson(at)cpsgroup(dot)com> |
Cc: | pgsql-general(at)postgreSQL(dot)org |
Subject: | RE: [GENERAL] slow queries |
Date: | 1998-09-27 07:14:29 |
Message-ID: | Pine.LNX.3.96.980927031104.27550C-100000@brap-eth0.toodarkpark.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Fri, 25 Sep 1998, Jackson, DeJuan wrote:
> > seems that by creating a view ( with the query i mentioned before ),
> > my
> > queries were sped up by roughly 10 seconds... odd odd odd.
> >
> Not really so odd when you think of everything the backend has to do to
> process a query. Parsing, planning, and optimizing (not necessarily in
> that order) can be very costly. A view basically skips most of those
> three steps.
all thats taken out is the parsing bit. the planning and optimizing still
must be done ( unless its done when the view is/was created ), yesno ?
the view should still hit the indexes created for the underlying tables,
right ?
---
Howie <caffeine(at)toodarkpark(dot)org> URL: http://www.toodarkpark.org
"Oh my god, they killed init! YOU BASTARDS!"
From | Date | Subject | |
---|---|---|---|
Next Message | Sergei Chernev | 1998-09-27 09:20:35 | Long update query ? |
Previous Message | rmcm | 1998-09-27 01:36:30 | Re: [GENERAL] Is there a server log???? |