I am using Sequel ORM with Merb.  Is there an easy way to dump the
options that are being passed to ConnectionPool.new?

When I start merb I see the following:

 ~ SELECT * FROM (SELECT * FROM "SM_WORKLOG") WHERE ROWNUM <= 1
 ~ SELECT * FROM (SELECT * FROM "SM_WORKLOG") WHERE ROWNUM <= 1
 ~ SELECT * FROM (SELECT * FROM "ND_WORKLOG") WHERE ROWNUM <= 1
 ~ SELECT * FROM (SELECT * FROM "ND_WORKLOG") WHERE ROWNUM <= 1
 ~ SELECT * FROM (SELECT * FROM "SM_SCHEDULED_MAINTENANCE") WHERE
ROWNUM <= 1
 ~ SELECT * FROM (SELECT * FROM "SM_SCHEDULED_MAINTENANCE") WHERE
ROWNUM <= 1
 ~ SELECT * FROM (SELECT * FROM "ND_TICKET") WHERE ROWNUM <= 1
 ~ SELECT * FROM (SELECT * FROM "ND_TICKET") WHERE ROWNUM <= 1

Would the size of those tables have anything to do with the
Sequel::Error::PoolTimeoutError  error?

On Nov 11, 2:27 pm, Jeremy Evans <[EMAIL PROTECTED]> wrote:
> On Nov 11, 10:29 am, Drunkguy <[EMAIL PROTECTED]> wrote:
>
> > I keep getting that error.  Does anybody have any suggestions where to
> > look to try to resolve this issue?
>
> A PoolTimeoutError occurs when the connection pool cannot acquire a
> connection before the timeout (5 seconds by default).
>
> > I am using the oracle adapter with an Oracle 9.2 database.  It only
> > seems to happen when I add a model that references a table that is in
> > a different schema.
>
> I don't have access to an Oracle database, so I'm afraid I'm unlikely
> to be of much help.  You may want to add a database logger to see the
> SQL it is sending to the database (DB.loggers <<
> Logger.new($stdout)).  If you can put together an example that shows
> the error, that would be helpful.
>
> Jeremy
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sequel-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to