Hi,
I'm new to databases in web environment and my questions are about managing DB connections:
1. should I keep DB connection open till session end? the pro is performance, while the con is that I may loose data due to buffers etc.
2. In a multi sessions environment, how DB conncetions are handled? I expect to have many sessions doing little work: about 1000 concurrent sessions, each doing a query every 5 min. Is there recommended mySQL configuration I should do?
Many thanks
Yuval
I'm new to databases in web environment and my questions are about managing DB connections:
1. should I keep DB connection open till session end? the pro is performance, while the con is that I may loose data due to buffers etc.
2. In a multi sessions environment, how DB conncetions are handled? I expect to have many sessions doing little work: about 1000 concurrent sessions, each doing a query every 5 min. Is there recommended mySQL configuration I should do?
Many thanks
Yuval
Comment