Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-7746

SetFetchSize for JDBCRDD's prepareStatement

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.3.0, 1.3.1
    • 1.4.0
    • SQL
    • None
    • Important

    Description

      The prepareStatement created internal to compute() method in JDBCRDD should have some options that the setFetchSize() can be set. We found that the parameter can affect Oracle DB tremendously. With current implementation, we have no way to set the size.

      One of my team did his implementation, and we found 10X improvement by setting the size to a proper number.

      Attachments

        Activity

          People

            viirya L. C. Hsieh
            zwu.net@gmail.com Paul Wu
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: