Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-3312

Local Network Server Performance degradation with 10.2 or later

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments


    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s:,,,
    • Fix Version/s: None
    • Component/s: Network Server
    • Environment:
      Intel x86 based server SuSE Linux Enterprise Server 10
      Java(TM) SE Runtime Environment (build 1.6.0_03-b05)
    • Urgency:
    • Issue & fix info:
      High Value Fix, Repro attached
    • Bug behavior facts:
      Performance, Regression, Seen in production


      We have a Java based XML-RPC client/server product that incorporates an embedded Derby database and network server. Our client uses the derby JDBC ndriver and network client to connect to the Derby Network Server.

      We recently moved from Cloudscape, which I believe used the Derby code, because of other issues which seem to be resolved by moving to the latest Derby release. We have a very simple database with a simple table. This table does include BLOBs, however its size has not been an issue and we limit our records to 500.

      Since moving to the latest release of Derby, version, we noticed that our clients running on the same machine as our server take much longer to retrieve a list of records from the database. Our clients running on a remote machine do not seem to have any performance issues when retrieving the same list of records.

      We start our Network Server in Java through the API so I don't think the Security Manager is the issue. I read that performance could be affected by the Security Manager, but according to the Derby documentation,

      "The Network Server will not attempt to install a security manager if you start the server from your application using the programmatic API ..."

      I tried going back several releases of Derby and the performance issue seems to go away when I run with version of Derby. However we see the same issue that we saw with Cloudscape in that we can not turn off connection logging. We also had stability problems with the Network Server with Cloudscape.

      We would really prefer to use the latest Derby release however the performance issues are a sever limitation. I thought that maybe this was a simple Network Server configuration issue however after researching this issue I have not found anything from a configuration standpoint that may help.


        Issue Links



            • Assignee:
              tim-graf Timothy Graf


              • Created:

                Issue deployment