Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-2872

Add Replication functionality to Derby

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 10.4.1.3
    • 10.4.1.3
    • Replication
    • None

    Description

      It would be nice to have replication functionality to Derby; many potential Derby users seem to want this. The attached functional specification lists some initial thoughts for how this feature may work.

      Dag Wanvik had a look at this functionality some months ago. He wrote a proof of concept patch that enables replication by copying (using file system copy) and redoing the existing Derby transaction log to the slave (unfortunately, I can not find the mail thread now).

      DERBY-2852 contains a patch that enables replication by sending dedicated logical log records to the slave through a network connection and redoing these.

      Replication has been requested and discussed previously in multiple threads, including these:

      http://mail-archives.apache.org/mod_mbox/db-derby-user/200504.mbox/%3c426E04C1.1070904@yahoo.de%3e
      http://www.nabble.com/Does-Derby-support-Transaction-Logging---t2626667.html

      Attachments

        1. replication_funcspec.html
          6 kB
          Jorgen Loland
        2. proof_of_concept_master.diff
          65 kB
          Jorgen Loland
        3. proof_of_concept_master.stat
          0.4 kB
          Jorgen Loland
        4. proof_of_concept_slave.diff
          18 kB
          Jorgen Loland
        5. proof_of_concept_slave.stat
          0.6 kB
          Jorgen Loland
        6. replication_script.txt
          7 kB
          Jorgen Loland
        7. replication_funcspec_v2.html
          8 kB
          Jorgen Loland
        8. replication_funcspec_v3.html
          11 kB
          Jorgen Loland
        9. replication_funcspec_v4.html
          13 kB
          V.Narayanan
        10. replication_funcspec_v5.html
          12 kB
          Jorgen Loland
        11. master_classes_1.pdf
          5 kB
          Jorgen Loland
        12. slave_classes_1.pdf
          4 kB
          Jorgen Loland
        13. poc_master_v2.stat
          0.7 kB
          Jorgen Loland
        14. poc_master_v2.diff
          35 kB
          Jorgen Loland
        15. poc_slave_v2.stat
          0.7 kB
          Jorgen Loland
        16. poc_slave_v2.diff
          40 kB
          Jorgen Loland
        17. poc_master_v2b.diff
          44 kB
          Jorgen Loland
        18. poc_slave_v2b.diff
          54 kB
          Jorgen Loland
        19. proof-of-concept_v2b-howto.txt
          4 kB
          Jorgen Loland
        20. poc_slave_v2c.diff
          56 kB
          V.Narayanan
        21. replication_funcspec_v6.html
          17 kB
          Jorgen Loland
        22. replication_funcspec_v7.html
          23 kB
          Jorgen Loland
        23. replication_funcspec_v8.html
          26 kB
          Jorgen Loland
        24. replication_funcspec_v9.html
          29 kB
          Jorgen Loland
        25. ReplicationWriteup.txt
          11 kB
          V.Narayanan
        26. ReplicationDesign.pdf
          5 kB
          V.Narayanan
        27. replication_funcspec_v10.html
          30 kB
          Jorgen Loland
        28. replication_funcspec_v10.html
          30 kB
          Jorgen Loland

        Issue Links

          Activity

            People

              jorgenlo Jorgen Loland
              jorgenlo Jorgen Loland
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: