hello,
i am somehow new to php-mysql programming, and coming from a J2EE-JDBC-Oracle environment, there's a few concepts i am surprised not to see any comments about :
- Connection pooling : on an oracle database it's been shown that the time to get a connection was long enough to care about how many connections are open on a database and how they are managed. So is there a way to manage connections to mysql (set a max number, reuse some of them across different user sessions maybe), is there any benefit to it, and what is the performance difference when using pconnect / connect.
- Transaction mechanism : is there an easy way with php/mysql (or maybe an existing script) to manage transactions, ie to define a set of queries that must be run as a whole or, if one of them fails, no one should be executed (rollback mechanism).
Thanks
Quentin




Bookmarks