You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2019/03/07 18:29:00 UTC

[jira] [Commented] (ATLAS-3056) update rdbms types to remove use of ownedRef/inverseRef constraints for relationships

    [ https://issues.apache.org/jira/browse/ATLAS-3056?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16787062#comment-16787062 ] 

ASF subversion and git services commented on ATLAS-3056:
--------------------------------------------------------

Commit 5d99c40a51d910d3858d4d25e321afad5f12996d in atlas's branch refs/heads/master from Madhan Neethiraj
[ https://gitbox.apache.org/repos/asf?p=atlas.git;h=5d99c40 ]

ATLAS-3056: updated rdbms types to remove use of ownedRef/inverseRef - #2


> update rdbms types to remove use of ownedRef/inverseRef constraints for relationships
> -------------------------------------------------------------------------------------
>
>                 Key: ATLAS-3056
>                 URL: https://issues.apache.org/jira/browse/ATLAS-3056
>             Project: Atlas
>          Issue Type: Improvement
>          Components:  atlas-core
>            Reporter: Madhan Neethiraj
>            Assignee: Madhan Neethiraj
>            Priority: Major
>             Fix For: 2.0.0
>
>         Attachments: ATLAS-3056.patch
>
>
> 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



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)