i have a database which is built a row at a time, and may be updated with random
insertions. it
can get large, so i want to use a blocked view. i gather that blocking is good for
updates but
may slow traversals of the whole database, which i do often. so, is it reasonable to
do something
like this:
c4_View theView;
c4_View raw = storage.GetAs ("stuff[_B[folder:S,files[name:S]]]"); // in reality there
is more
file data than this.
if (readonly)
theView = c4_ViewProp ("_B").Get (raw[0]);
else
theView = raw.Blocked();
and use theView from then on? must 'raw' live as long as theView? would it be
possible or
sensible to block the 'files' subview?
the most extreme case i have encounted so far is 100,000 folders with three or four
files each,
and the number of folders will grow. hundreds or thousands of folders with thousands
of files each
is liable to be common. we might even get one folder with millions of files.
=====
--
mARK bLOORE <[EMAIL PROTECTED]>
__________________________________
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/
_____________________________________________
Metakit mailing list - [EMAIL PROTECTED]
http://www.equi4.com/mailman/listinfo/metakit