Link to home
Start Free TrialLog in
Avatar of leezac
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.
Avatar of johnsone
johnsone
Flag of United States of America image

I would not delimit anything in the database.  Keep everything in separate columns.

Makes querying and indexing a lot easier and more efficient.
ASKER CERTIFIED SOLUTION
Avatar of slightwv (䄆 Netminder)
slightwv (䄆 Netminder)

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
<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