On 4/21/07 6:20 PM, James Masters wrote:
> It appears that the login is the problem.  But...if my test program uses a
> straight DBI/DBD call and Rose is not used at all, then there is no login
> delay. It only happens when I login via Rose.

Have you counted how many times you connect to the database?  Maybe the slow
example is repeatedly re-connecting, while the fast ones use a single
connection the whole time?

> [btw, is it OK that a single simple database call produces 18K calls to
> MakeMethods::Generic__ANON__]?

Nearly all column accessor/mutator methods are created by
MakeMethods::Generic and will all show up lumped under __ANON__, which is
what any anonymous subroutine is called.  So yes, that's okay :)

-John



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Rose-db-object mailing list
Rose-db-object@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rose-db-object

Reply via email to