Eric Kolve writes:
 > Is it possible to share a database handle initialized in a parent with
 > forked children ?  What I want to do is process a file which needs to
 > execute many SELECT statements in parallel.  I am wondering if each
 > child needs to instantiate its own dbh or whether you can execute sql
 > simultaneously against the same dbh.

Hi Eric!

The answer is: it depends.

With Sybase it works (that's how I implement connection pooling in the
Apache process). My understanding from Tim B. is that this doesn't
work with Oracle, however.

Michael
-- 
Michael Peppler - Data Migrations Inc. - [EMAIL PROTECTED]
http://www.mbay.net/~mpeppler - [EMAIL PROTECTED]
International Sybase User Group - http://www.isug.com
Sybase on Linux mailing list: [EMAIL PROTECTED]

Reply via email to