[Bug 662] New: getDBConnection() to oracle db in 1.6.3 slower than in 1.5

View: New views
3 Messages — Rating Filter:   Alert me  

[Bug 662] New: getDBConnection() to oracle db in 1.6.3 slower than in 1.5

by Bugzilla from bugzilla-daemon@helma.at :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

http://dev.helma.org/bugs/show_bug.cgi?id=662

           Summary: getDBConnection() to oracle db in 1.6.3 slower than in
                    1.5
           Product: Helma
           Version: 1.6.3
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Database Layer
        AssignedTo: helma-dev@...
        ReportedBy: marius.lessiak@...


When retrieving a connection to an oracle DB via a call to getDBConnection
helma 1.6.3 is slower than helma 1.5. Attached is a minimal testcase app that
needs to be run with an enabled oracle database. I verified the slowdown with
an oracle 10g db using the ojdbc14.zip driver set (see
http://www.google.at/search?hl=de&q=ojdbc14.jar&btnG=Google-Suche&meta=&aq=0&oq=ojdbc)
and with an older oracle 8 db.

With helma 1.5 the first call to getDBConnection() takes about 400ms (on my
setup, the time varies with the specific db setup), all subsequent calls take
less than 0ms. With helma 1.6.3 the first call takes the same 400ms (as im
helma 1.5) whereas all subsequent calls take around 100ms. Maybe helma 1.6.3
does not reuse some stuff that helma 1.5 does?

By the way: the slowdown is not reproducible with a mysql db.

--
Configure bugmail: http://dev.helma.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Helma-dev mailing list
Helma-dev@...
http://helma.org/mailman/listinfo/helma-dev

[Bug 662] getDBConnection() to oracle db in 1.6.3 slower than in 1.5

by Bugzilla from bugzilla-daemon@helma.at :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

http://dev.helma.org/bugs/show_bug.cgi?id=662





--- Comment #1 from Marius Lessiak <marius.lessiak@...>  2009-04-30 13:46:07 ---
Created an attachment (id=110)
 --> (http://dev.helma.org/bugs/attachment.cgi?id=110)
minimal testcase app

--
Configure bugmail: http://dev.helma.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Helma-dev mailing list
Helma-dev@...
http://helma.org/mailman/listinfo/helma-dev

[Bug 662] getDBConnection() to oracle db in 1.6.3 slower than in 1.5

by Bugzilla from bugzilla-daemon@helma.at :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

http://dev.helma.org/bugs/show_bug.cgi?id=662


Hannes Wallnoefer <hannes@...> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |hannes@...
         Resolution|                            |FIXED




--- Comment #2 from Hannes Wallnoefer <hannes@...>  2009-04-30 15:05:52 ---
Fixed in svn trunk. I think in Helma 1.5 there wasn't any db connection testing
at all. Now we make sure that connections aren't tested more often than once a
minute.

--
Configure bugmail: http://dev.helma.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Helma-dev mailing list
Helma-dev@...
http://helma.org/mailman/listinfo/helma-dev