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

Investigate increasing the memory limit that is used to calculate the sortbuffer size for sorting.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 10.0.2.0, 10.0.2.1, 10.1.1.0, 10.1.2.1, 10.1.3.1, 10.2.1.6
    • None
    • Store
    • None
    • Performance

    Description

      The sortbuffer is the in memory sort buffer and the size of the sort buffer is calculated using the default memory limit of 1M if derby.storage.sortBufferMax is not specified. .

      This may not be appropriate for large systems. Investigate if we can up this value.

      see org.apache.derby.impl.store.access.sort.ExternalSortFactory
      protected static final int DEFAULT_MEM_USE = 1024*1024; // aim for about 1Meg
      The calculations to come up with the initial size for sortbuffer is in ExternalSortFactory.createSort()

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              skambha Sunitha Kambhampati
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated: