Caching (cont)Example: insertion of 1000 colour histograms: ... <1000> Insert of ... successful Reads: 37504864/13137 Writes: 9383936/2291 1213.8u 49.2s 26:02 80% 1760+4256k 0+0io 2087pf+0w ... <1000> Insert of ... successful Reads: 4096/1 Writes: 618496/151 1207.2u 11.8s 24:33 82% 2895+4440k 0+0io 2116pf+0w
Since Unix performs its own caching, this technique yields little impact on wall-clock times. Since queries are handled by sequential scan, cache provides little benefit for them. For a query server, may provide some querying benefit. |