Welcome Guest, Not a member yet? Register   Sign In
Active Record Multiple Insert
#7

[eluser]BizComputing[/eluser]
I could be totally off base on this, but, I think the real performance diff doesn't come from the connection since if I recall, persist connections are for maintaining a connection between page requests, not sql statement requests.

I think the real performance diff is in 1 how much info needs to be piped between php and the db ( ie, seperate queries have to have a full query def ), and the time it takes for the db server to parse the query.

But the flip side of an all in one statement may be more lock contentions.


Messages In This Thread
Active Record Multiple Insert - by El Forum - 02-02-2008, 11:20 AM
Active Record Multiple Insert - by El Forum - 02-02-2008, 12:08 PM
Active Record Multiple Insert - by El Forum - 02-02-2008, 01:04 PM
Active Record Multiple Insert - by El Forum - 02-02-2008, 03:55 PM
Active Record Multiple Insert - by El Forum - 02-02-2008, 03:57 PM
Active Record Multiple Insert - by El Forum - 02-02-2008, 05:21 PM
Active Record Multiple Insert - by El Forum - 02-02-2008, 05:56 PM



Theme © iAndrew 2016 - Forum software by © MyBB