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

Create index on large tables fails with too many open files , FileNotFoundException.

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

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 10.0.2.0, 10.0.2.1, 10.1.1.0, 10.1.2.1, 10.1.3.1, 10.2.1.6
    • 10.2.1.6
    • Store
    • None

    Description

      Create index fails on a table with 18million rows during sort with too many open files error

      This error was first seen when running against a tpcc-like test. The test creates the tables, inserts data and then creates the indexes & adds constraints.

      Customer table has 18 million rows in this case. The below error is thrown on create index.

      ij> create index customer_last on customer(c_w_id, c_d_id, c_last);
      ERROR XSDF1: Exception during creation of file /home/cloudtst/SinglePerf/testruns/scripts/dbtpcc/tmp/T1128794811044.tmp for container
      ERROR XJ001: Java exception: '/home/cloudtst/SinglePerf/testruns/scripts/dbtpcc/tmp/T1128794811044.tmp (Too many open files): java.io.FileNotFoundException'.
      ij

      Attachments

        1. 1661_Notes.txt
          5 kB
          Sunitha Kambhampati
        2. 1661_PerfResults.xls
          32 kB
          Sunitha Kambhampati
        3. derby1661.diff.txt
          0.7 kB
          Sunitha Kambhampati

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment