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

Avoid copying in DML handling

XMLWordPrintable

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

      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.

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

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

                Created:
                Updated:
                Resolved: