One extra table for all provider ids and that is a standard CPE functionality. The other one is - I think - counter productive, as it would confuse (or at least make it more difficult fo) the db query optimizer.
Have fun,
/gerold
------------------------------
Gerold Krommer
------------------------------
Original Message:
Sent: Wed April 12, 2023 03:14 PM
From: Joseph O'Toole
Subject: Multivalue Property Limitations
Hello Gerold
Thank you for the response.
Yes, our objective is to eliminate the compound document relationship and attach certain attributes of the parents to the children.
You would recommend a new table for each of the multivalue attributes that could have a large number of values? Or one new one to capture all of these cases?
------------------------------
Joseph O'Toole
------------------------------
Original Message:
Sent: Wed April 12, 2023 03:44 AM
From: Gerold Krommer
Subject: Multivalue Property Limitations
Not sure what you are aiming at. Are you trying to get rid of the parents/compound documents and attaching their attribute(s) to the child?
Anyway, as soon as you utilize multivalue properties the database has to do a join between (default) ListOfStrings (e.g.) and docversion. If there are lots of values I recommend creating an extra table for those mv values as not to convolute the default tables.
Naturally a join is less efficient as as a single table access (in this case docversion) but unless your system is already overutilzed I'd be surprised if you - as a user -noticed a difference. Modern relational dbs make a good job of optimzing that kind access.
I'd be more concerned if the data model you choose is good for our apps. E.g. ICN has no CD support...
Hope this helps,
/Gerold
------------------------------
Gerold Krommer