Click to See Complete Forum and Search --> : Speed of a Query
TheGoldenShogun
May 20th, 2003, 03:49 PM
What is better to use? A series of small SQL statements or trying to amass one big one, complete with joins and calls to all the tables you need? By better I mean which one is faster and more effectient. I would imagine that the big one would be best but I gotta believe calling all those tables at once is slower than quick little calls with short SQL statements.
phpman
May 22nd, 2003, 11:25 AM
I would also think a mass query with joins is faster. less code too. but never really paid attention to that.
CornedBee
May 26th, 2003, 02:46 AM
Large, I'm quite sure.
Unless it forces you to use a function that is slow on your particular DB, e.g. MySQL has some weaknesses in performance somewhere.
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.