Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-6865

Add Fetch Size property to ExecuteSQL processors

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.11.0
    • Extensions
    • None

    Description

      The ExecuteSQL and ExecuteSQLRecord processors do not have a way for the user to set the fetch size for the JDBC query. Some drivers (like Oracle) default to a fetch size of 10, which means result rows needs to be fetched ten at a time from the database. This can be very slow, an improvement would be to allow the user to set the fetch size for the query.

      NOTE: Some drivers do not support this, either by throwing an exception or ignoring it (the JDBC spec marks it as a "hint to the database", the doc for the property should make this clear and no exception should be propagated through the processor if the attempt to set fetch size is unsuccessful.

      Attachments

        Issue Links

          Activity

            People

              mattyb149 Matt Burgess
              mattyb149 Matt Burgess
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 40m
                  40m