Index: lams_common/db/model/lams_11.clay =================================================================== RCS file: /usr/local/cvsroot/lams_common/db/model/lams_11.clay,v diff -u -r1.26 -r1.27 --- lams_common/db/model/lams_11.clay 27 Feb 2005 23:47:37 -0000 1.26 +++ lams_common/db/model/lams_11.clay 28 Feb 2005 07:35:30 -0000 1.27 @@ -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. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +