Uploaded image for project: 'Debezium'
  1. Debezium
  2. DBZ-3328

Avoid copying in DML handling

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • Major
    • 1.6.0.Beta2
    • None
    • oracle-connector
    • None

    Description

      Looking e.g. at LogMinerDmlParser.parseUpdate(String), I see lots of value copying and intermediary data structures. Ideally, parseSetClause() and similar would directly write to an Object[] which later on is exposed via the value emitter. The intermediary lists add GC overhead we surely can avoid.

      Attachments

        1. jmh-dbz-3328.txt
          23 kB
        2. jmh-dbz-3328-last-commit.txt
          23 kB
        3. jmh-master.txt
          20 kB

        Activity

          People

            ccranfor@redhat.com Chris Cranford
            gunnar.morling Gunnar Morling
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: