Uploaded image for project: 'Atlas'
  1. Atlas
  2. ATLAS-3056

update rdbms types to remove use of ownedRef/inverseRef constraints for relationships

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.2.0, 2.0.0
    • atlas-core
    • None

    Description

      RDBMS types use following attributes, with ownedRef/inverseRef constraints, to create relationships between entity-types:

      • rdbms_instance.database, rdbms_db.instance
      • rdbms_db.tables, rdbms_table.db
      • rdbms_table.columns, rdbms_column.table
      • rdbms_table.indexes, rdbms_index.table
      • rdbms_table.foreign_keys, rdbms_foreign_key.table

      These attributes are not necessary, as corresponding relationship-types (already present in the model) will automatically inject the same attributes as relationship-attributes.

      Above change has several benefits, including:

      • improved performance, due to use of only one edge between two related entities (compare this to 2 edges when ownedRef/inverseRef constraints are used)
      • simper to update a container entity, as there is not need to provide all contained entities; same for contained entities as well

      Attachments

        1. ATLAS-3056.patch
          28 kB
          Madhan Neethiraj
        2. ATLAS-3056-3.patch
          12 kB
          Madhan Neethiraj

        Activity

          People

            madhan Madhan Neethiraj
            madhan Madhan Neethiraj
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: