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 Performance > Re: What consti...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 4 of 7 Topic 4055 of 4352
Post > Topic >>

Re: What constitutes a complex query

by scott.marlowe@[EMAIL PROTECTED] ("Scott Marlowe") May 6, 2008 at 10:41 AM

On Tue, May 6, 2008 at 9:45 AM, Justin <justin@[EMAIL PROTECTED]
> wrote:
> This falls under the stupid question and i'm just curious what other
people
> think what makes a query complex?

Well, as mentioned, there's two kinds.  some that look big and ugly
are actually just shovelling data with no fancy interactions between
sets.  Some re****ting queries are like this.  I've made simple
re****ting queries that took up many pages that were really simple in
nature and fast on even older pgsql versions (7.2-7.4)

I'd say that the use of correlated subqueries qualifies a query as
complicated.  Joining on non-usual pk-fk stuff.  the more you're
ma****ng one set of data against another, and the odder the way you
have to do it, the more complex the query becomes.

-- 
Sent via pgsql-performance mailing list (pgsql-performance@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-performance
 




 7 Posts in Topic:
What constitutes a complex query
justin@[EMAIL PROTECTED]   2008-05-06 10:45:42 
Re: What constitutes a complex query
craig_james@[EMAIL PROTEC  2008-05-06 09:26:59 
Re: What constitutes a complex query
justin@[EMAIL PROTECTED]   2008-05-06 12:23:00 
Re: What constitutes a complex query
scott.marlowe@[EMAIL PROT  2008-05-06 10:41:40 
Re: What constitutes a complex query
steve@[EMAIL PROTECTED]   2008-05-06 09:56:16 
Re: What constitutes a complex query
richard.broersma@[EMAIL P  2008-05-06 09:58:39 
Re: What constitutes a complex query
scott.marlowe@[EMAIL PROT  2008-05-06 11:37:59 

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 Oct 12 14:32:50 CDT 2008.