Добрый день Ilja, Wednesday, August 25, 2004, 1:29:46 PM, you wrote:
Ilja Booij> Антон Нехороших wrote: >>Hi dbmail-dev, >> >>I think what needed run db_connect before creating children and >>replace fork function to pthread_* >> >>function. >> >>What think? >> >>Simply in ORACLE there is no support persistent connection and on >>this there is a huge quantity of connection to base, >>consumption of memory and etc... >> >> >> Ilja Booij> It's not veful to go to a thread-based Ilja Booij> model. This will give way too Ilja Booij> many problems, and does not give any advantage IMHO. In Oracle possible create connection pool and using the same connection in any thread. And to work with pthread I am simple also problems did not see with it. Ilja Booij> To reduce the number of database connections, we will merge Paul J Ilja Booij> Steven's preforking patch into DBMail 2.1 Ilja Booij> (the developement version). Ilja Booij> This will make sure there aren't too many Ilja Booij> unused connections sitting Ilja Booij> around doing nothing. Ilja Booij> Come to think of it, now might be a good time Ilja Booij> to add this patch to HEAD. I think that one programm(with all child process) must have only one connect to db. e-mail: [EMAIL PROTECTED] http://www.310.ru
