Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql Hackers > Re: constraint ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 5 of 13 Topic 9331 of 10118
Post > Topic >>

Re: constraint exclusion analysis caching

by sfrost@[EMAIL PROTECTED] (Stephen Frost) May 9, 2008 at 03:19 PM

--GV0iVqYguTV4Q9ER
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

* Gregory Stark (stark@[EMAIL PROTECTED]
) wrote:
> "Andrew Dunstan" <andrew@[EMAIL PROTECTED]
> writes:
>=20
> > Actual execution of the query in question was talking one tenth of
that
> > time.
> >...
> > but in principle it seems silly to keep paying the same penalty over
and
> > over again.
>=20
> I would think constraint_exclusion only really makes sense if you're
spen=
ding
> a lot more time executing than planning queries. Either that means
you're
> preparing queries once and then executing them many many times or you're
> planning much slower queries where planning time is insignificant
compare=
d to
> the time to execute them.

Would it be possible to change the application to use prepared queries?
Seems like that'd make more sense the changing it to use the child
tables directly..  Just my 2c.

	Thanks,

		Stephen

--GV0iVqYguTV4Q9ER
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFIJKPHrzgMPqB3kigRAnFcAJ9aVRL4fRX32MOpp4KwAZ6J9YP9CQCffopQ
jaHRrFNr65Odc/4aZ0ZBMkg=
=GPOj
-----END PGP SIGNATURE-----

--GV0iVqYguTV4Q9ER--
 




 13 Posts in Topic:
constraint exclusion analysis caching
andrew@[EMAIL PROTECTED]   2008-05-09 08:47:26 
Re: constraint exclusion analysis caching
nagy@[EMAIL PROTECTED] (  2008-05-09 15:05:09 
Re: constraint exclusion analysis caching
tgl@[EMAIL PROTECTED] (T  2008-05-09 10:01:44 
Re: constraint exclusion analysis caching
stark@[EMAIL PROTECTED]   2008-05-09 15:14:42 
Re: constraint exclusion analysis caching
sfrost@[EMAIL PROTECTED]   2008-05-09 15:19:35 
Re: constraint exclusion analysis caching
andrew@[EMAIL PROTECTED]   2008-05-09 16:25:34 
Re: constraint exclusion analysis caching
sfrost@[EMAIL PROTECTED]   2008-05-09 16:46:03 
Re: constraint exclusion analysis caching
andrew@[EMAIL PROTECTED]   2008-05-10 12:22:54 
Re: constraint exclusion analysis caching
sfrost@[EMAIL PROTECTED]   2008-05-12 10:06:29 
Re: constraint exclusion analysis caching
andrew@[EMAIL PROTECTED]   2008-05-12 10:28:43 
Re: constraint exclusion analysis caching
alvherre@[EMAIL PROTECTED  2008-05-12 10:47:12 
Re: constraint exclusion analysis caching
simon@[EMAIL PROTECTED]   2008-05-09 15:30:47 
Re: constraint exclusion analysis caching
stark@[EMAIL PROTECTED]   2008-05-10 11:00:56 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sun Sep 7 6:50:02 CDT 2008.