Forum Moderators: open

Message Too Old, No Replies

several queries as opposed to a single query

         

cast mitigation

3:08 pm on Jul 21, 2009 (gmt 0)

10+ Year Member



I have been wondering what would put less overhead in the database: a single very long query that would end up joining up to 3 tables with millions of records each or split it up into several queries?

just curious

thanks in advance

Brett_Tabke

7:53 pm on Jul 21, 2009 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



Depends entirely on the hard ware.

The easiest way to know?
Test it.