Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-9676

getParameterMetaData calls result in extra network roundtrip per row

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.0.3
    • None
    • SQL processing
    • None

    Description

      When using a prepared statement, GroovySql calls getParameterMetaData wich requires a network roundtrip.

      The impact is:

      • Prepared statements are slower than non-prepared statements
      • Batch inserts are slower than row-by-row inserts

      See test cases and measurements in attachment.

      Attachments

        1. batch.pdf
          226 kB
          Mike_M

        Activity

          People

            Unassigned Unassigned
            Mike_M Mike_M
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: