On Wed, Sep 21, 2011 at 12:54 PM, Douglas Campbell <[email protected]> wrote:
> if a family's block size is smaller than some of the keyvalues in the family, 
> can those keyvalues be held in the cache?
>
A block will be size of the KV if the KV is > blocksize.

IIRC, this KV that is > blocksize will go into the block cache like
any other (I do not think there protection against an errant big KV
blowing block cache -- could be wrong.... easy enough to check).

>
> Are the blocks in the cache designed to be the same size as the family's 
> blocks?
>

Generally yes but blocks are made of coherent KVs; if a KV puts us
over the blocksize, the block will be made big enough to accomodate
the extra KV (we won't have a KV span blocks).


> What is in a block in the cache exactly?  KeyValues right?

Yes.  Blocks of KVs.


> Are the rowkeys of the items in the cache contiguous?

The KVs in a block are contiguous but blocks are by no means contiguous.

St.Ack

Reply via email to