NodeReaper has asked for the wisdom of the Perl Monks concerning the following question:

Replies are listed 'Best First'.
Re: Concurrent relational database access
by arturo (Vicar) on Feb 14, 2001 at 20:47 UTC

    Your DBA sets the max # of connections to the database; if you go beyond that limit, you won't be able to connect. That simple. Oracle deals with all other concurrency problems for you, mostly (it won't allow two processes to muck with the table at the exact same time); for the heavy-duty stuff you'll need to understand transactions though (COMMIT and ROLLBACK).

    and I am *not* going to reproduce any Oracle documentation here. I'm sorry, I know it's a mess finding out anything you need to know about Oracle looking through what they give you. C'est dommage, though =(

    Philosophy can be made out of anything. Or less -- Jerry A. Fodor

Re: Concurrent relational database access
by kschwab (Vicar) on Feb 14, 2001 at 20:50 UTC
    From a client perspective, assuming you are talking about DBD::Oracle, there's no arbitrary limit on concurrent connections. There are system-imposed limits on number of file descriptors, etc, but that's not a perl question.

    There are settable limits on client connections in the Oracle database, but again, not a perl question.

    As far as locking goes, again, not a perl question. Oracle supports locking and transactions, and the DBI interface inherits these capabilities.