Welcome Guest, Not a member yet? Register   Sign In
Models not sharing DB connections. Performance issues?
#1

[eluser]gon[/eluser]
Hi,

Do models share a single database connection?
I suspect they don't, as it's possible to pass each of them a different DB config.

When I used plain PHP, I would create a single connection that was used by every model.

Is there a way of doing this, and does it make sense in CI?

The reason is, obviously, performance. We expect a lot of hits on the website.
Prior to other strategies, I would like to optimize the core.

Regards.


Messages In This Thread
Models not sharing DB connections. Performance issues? - by El Forum - 02-13-2008, 04:46 AM
Models not sharing DB connections. Performance issues? - by El Forum - 02-13-2008, 05:16 AM
Models not sharing DB connections. Performance issues? - by El Forum - 02-13-2008, 05:34 PM



Theme © iAndrew 2016 - Forum software by © MyBB