| > Similarly, an explicit 'truncate cache {cache}' command to flush
> a cache
Why would one wish to do this?
The other stuff has been talked about and there are some possible
benifits to doing something along these lines (be able to quickly
populate cache). As far as resizing a cache, this might be a bit much
to ask (what rows would you include and what ones would you exclude if
you decided to make the cache smaller?).
|
| truncating a cache might(?) be useful when running different workloads
where the cache doesn't allow row replacement; the user would manually
load it before their job(s)
as far as allowing truncate, an example; you size a cache of 1000r x
500b and note you'll need more rows; so you increase to 2000r; the
older 1000 are reloaded
similarly if you set a cache at 10000r x 500b and you decrease to
5000r, only recover/restore the first 5000 rows; the assuming here is
you lower the height to just above the previous observed usage
if you alter the cache width, then flush it
/los
|