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

Make ij only fetch parts of a large string/binary field when displaying it

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 10.9.1.0
    • None
    • Tools
    • None

    Description

      When ij displays the results of for instance 'select * from table_with_LOBs', it will fetch the whole LOBs even though it only needs a small part of the values. This will cause OOMEs unless ij is run with a sufficiently large heap.
      For CLOBs, the suggested fix is to use rs.getClob().getSubString() instead of rs.getString().
      The length of the substring fetched must agree with how much ij is configured to display on-screen.

      Issue created based on information from DERBY-4294.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              kristwaa Kristian Waagan
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated: