Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:
      Windows XP, jdk1.6.0_02, Kodo 4.1.4, Ms sql server 2005, jTDS 1.2 database driver

      Description

      Based on the discussion in thread http://www.nabble.com/Performance%3A-single-vs-multiple-transactions-tf4272115.html
      I've created a testcase, which is attached. It includes a "Performance results flush.txt" which gives an overview of the the performance results. In general, using flush() within one transaction with many changes the performance drops quite significantly (x 15).

      Btw, not sure which OpenJPA version this is. It is based on Kodo jdo version 4.1.4

      regards,
      Christiaan

        Activity

        Hide
        Christiaan added a comment -

        Testcase for reproducing the performance results.
        Two variables are used:
        generateLargeDataset : should be set once for generating a large dataset
        singleTransaction : to switch between the two modes (one large transaction, or multiple small transactions)relevant for this performance testcase

        Included "Performance results flush.txt" to see the difference of the two modes

        Show
        Christiaan added a comment - Testcase for reproducing the performance results. Two variables are used: generateLargeDataset : should be set once for generating a large dataset singleTransaction : to switch between the two modes (one large transaction, or multiple small transactions)relevant for this performance testcase Included "Performance results flush.txt" to see the difference of the two modes

          People

          • Assignee:
            Unassigned
            Reporter:
            Christiaan
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:

              Development