Welcome Guest, Not a member yet? Register   Sign In
new to CI, need advice on db connections
#5

Sorry to answer late...
yes, you're right, I was misunderstanding php connection persistence Smile

I had (to some extent still have) performance problems connecting CI to a middleware through postgresql odbc, and trying to catch what was causing horribly slow queries, I noticed on the server that other simple query tools opened and reused a single connection while CI opened a new one at every page refresh... and I thought that it could be to something in the php/odbclinux/postgresql driver due to my relative inexperience with odbclinux, postgresql ad CI.

It turned out that CI was fine, and the problem was between linux odbc driver and the middleware, mainly.

Middleware is Jboss Teiid (http://teiid.jboss.org/), btw, and after several thread posts in their support forum, we spotted a coulple of problems, and they fixed the most troubling ones in a new beta version, which I'm testing. See https://developer.jboss.org/thread/268880.

While Teiid is much more performant through (eg) jdbc and odata, the same queries through its emulated odbc/postrgresql interface were much, much slower. Now is better, even if not yet perfect, and I'm going to learn more of CI.

Thank you, all, and feel free to suggest me any resource that could help in this respect,

Marco
Reply


Messages In This Thread
RE: new to CI, need advice on db connections - by m.ardito - 04-15-2016, 08:32 AM



Theme © iAndrew 2016 - Forum software by © MyBB