Index: lams_common/db/model/lams_11.clay =================================================================== diff -u -r0e4c2d8550392e022509a50245be3c99a85257f3 -r3c4abfb5279c874f3664399a702f6e9672e522ac --- lams_common/db/model/lams_11.clay (.../lams_11.clay) (revision 0e4c2d8550392e022509a50245be3c99a85257f3) +++ lams_common/db/model/lams_11.clay (.../lams_11.clay) (revision 3c4abfb5279c874f3664399a702f6e9672e522ac) @@ -1,5 +1,5 @@ - + @@ -467,8 +467,8 @@ - + @@ -998,7 +998,7 @@ - + @@ -2645,7 +2645,7 @@
- + @@ -3194,7 +3194,7 @@
- + @@ -3332,8 +3332,8 @@ - + @@ -3358,6 +3358,426 @@
+ +There will usually be 0 or 1 workspace for each tool in LAMS, so this should be a pretty small table. + +The main lookup is done on name, but given the small number of rows a complete table scan +should be fine. A name index would probably be about the same size as the table anyway. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +Like lams_cr_workspace, there will usually be 0 or 1 workspace for each tool in LAMS, so this should be a pretty small table. + +The main lookup is done on name, but given the small number of rows a complete table scan should be fine. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +Has a "dummy" id nv_id (node version id) which is unique for all node_id and version_id combinations. + +It is the node_id and version_id combination that is the "real" key for this table. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +A node can only belong to one parent - so each time a new version of a package is created, all the nodes are recreated. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +