vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| My experience using PQexecParams is that it has a performance degradation of a factor of 100's if not thousands. I have reworked my queries to DECLARE a binary cursor for the return results and using a fixed text statement for the PQexec select. It doesn't help on Inserts and Updates but it sure helps on straight select statement queries. |
| ||||
| "Harry Rossignol" <harrywr2@comcast.net> writes: > My experience using PQexecParams is that it has a performance > degradation of a factor of 100's if not thousands. This is demonstrably not so in general. You may be hitting a case where the planner chooses a poor plan for lack of information about the value of a parameter ... but with no details about the query or even mention of which PG version you're talking about, this bug report isn't worth the electrons it's written on. regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 3: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faq |
| Thread Tools | |
| Display Modes | |
|
|