leezac
asked on
Named Value Pairs and storing one-to-many
I am using JIRA and subtasks in JIRA to be able to use a one-to-many relationship for some fields. JIRA Is connected to an Oracle database where values are stored in Named Value Pair format. Then a DBA will write PLSQL to place values into comlumns. Users will use Tableau (for charts and reporting) to connect to Oracle to see the one to many relationships and add to reporting.
My question is for a DBA is it better to store the one to many values in a single column comma delimated or in rows? Tableau uses sql and has a lot of capablilities to look at fields. Not sure about how it looks at comma delimated though and the user will need to search on values for reporting in the one-to-many fields.
My question is for a DBA is it better to store the one to many values in a single column comma delimated or in rows? Tableau uses sql and has a lot of capablilities to look at fields. Not sure about how it looks at comma delimated though and the user will need to search on values for reporting in the one-to-many fields.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
<My question is for a DBA is it better to store the one to many values in a single column comma delimated or in rows?>
Store this data in rows, as this is standard for a one to many relationship.
ex.: One Customer, Many Orders
Store this data in rows, as this is standard for a one to many relationship.
ex.: One Customer, Many Orders
Makes querying and indexing a lot easier and more efficient.