On Apr 9, 2005, at 05:41, Pit Capitain wrote:

> Dan Janowski schrieb:
>> A word of caution, the OCI8 package is more capable than the older 
>> one. It can be used direct or with its DBI. Among other things it 
>> handles async calls to Oracle which coordinate with Ruby's threads 
>> very well.
>
> This interests me. What do you exactly mean by "async" calls?
>
> Regards,
> Pit
>
>

The OCI8 library can exec to Oracle in polling mode, i.e. the OCI call 
does not block in the oracle layer. The ruby interface uses polling to 
allow other ruby green threads to run. The only restriction is one 
polled exec per connection to the database. For multiple query threads, 
you must open a connection session for each query.

Dan