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

Improve usage of file resources when sorting

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • 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

    Description

      Currently each sort merge run is put into a separate file. Worst case, the sot module can use 512 open files per connection.
      This jira is to investigate how to improve file resources usage. Derby server should maintain some control on open files.

      Mike suggested that one solution could be to tie the open files into something like the open file cache in the store, or maybe just store all the sort runs in a single file - i think they are written sequentially so may not be hard to do using existing streamed file support in the store.

      Also see derby-1661.

      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: