DBI disconnect slow performance

From: Colleen (itss_at_erols.com)
Date: 03/30/05

  • Next message: Thilo Planz: "Re: Should prepare_cached() manage its total size or memory usage?"
    Date: Tue, 29 Mar 2005 19:32:40 -0500
    To:  dbi-users@perl.org
    
    

    I am having a problem with the DBI and/or DBD Oracle.

    I have a Perl CGI application.

    Using the Netscape web server, running on Solaris 9. Using perl 5.6.1,
    DBI 1.30,
    and DBD Oracle 1.12 for the CGI scripts.

    The database is on a separate machine, running Oracle 9.2.0.4.0 on
    Solaris 9.

    The application is read only. We open a new connection with each script,
    and close it at the end of the script. The scripts are all very typical -
    maybe read some input from the screen, do a database select, format
    the output, put to screen.

    For some reason, the disconnect statements are taking a very long time
    to execute. For example, a script that pulls 100 rows from the database,
    formats them, and puts them to the screen takes 7 seconds to execute.
    The disconnect statement itself is taking 6.5+ seconds of that time.

    I scoured the web looking for any discussion of such a problem, but found
    none. Am I unaware of some obvious bug with my software versions?
    Any ideas?

    Darrell Oresky
    itss@erols.com


  • Next message: Thilo Planz: "Re: Should prepare_cached() manage its total size or memory usage?"

    Relevant Pages

    • Re: sunmanagers Digest, Vol 28, Issue 14
      ... I have an V65x server x86 base, how do I format this box? ... I inser a solaris 9 cd and boot up try to do stop a so I can boot from ... need script to measure system performance. ... Moving a disk from SPARC to x86 ...
      (SunManagers)
    • RE: Telnetd exploit for solaris
      ... Subject: Telnetd exploit for solaris ... > You owe script kiddies... ... The computer and software industries owe script kiddies NOTHING. ...
      (Vuln-Dev)
    • Re: Massive Memory Structures
      ... (Solaris on sparc, Solaris on x86_64) ... script, I get an out of memory error and the script dies. ... what options do I need to compile in to make this happen. ... It will create a 5g test file, ...
      (comp.lang.perl.misc)
    • Re: syslog to send msg to last user in printer queue
      ... > Jetdirect software to configure the printer on a Solaris ... > of Solaris that deliver each print job to the printer. ... and the interface initializes the printer and then ... the HP interface script does more than initialize ...
      (comp.unix.solaris)
    • Re: syslog to send msg to last user in printer queue
      ... >Where boven1 is the printername in Solaris. ... of Solaris that deliver each print job to the printer. ... own printer interface script. ...
      (comp.unix.solaris)