B if page shipping is used the cache of data at the

Info iconThis preview shows pages 2–3. Sign up to view the full content.

View Full Document Right Arrow Icon
b. If page shipping is used, the cache of data at the client can be organized either as a tuple cache or a page cache. The page cache stores data in units of a page, while the tuple cache stores data in units of tuples. Assume tuples are smaller than pages. Describe one beneFt of a tuple cache over a page cache. Answer: a. We assume that tuples are smaller than a page and Ft in a page. If the interconnection link is slow it is better to choose tuple ship- ping, as in page shipping a lot of time will be wasted in shipping tuples that might never be needed. With a fast interconnection though, the communication overheads and latencies, not the ac- tual volume of data to be shipped, becomes the bottle neck. In this scenario page shipping would be preferable. b. Two beneFts of an having a tuple-cache rather than a page-cache, even if page shipping is used, are: i. When a client runs out of cache space, it can replace objects without replacing entire pages. The reduced caching granu- larity might result in better cache-hit ratios. ii. It is possible for the server to ask clients to return some of the locks which they hold, but don’t need (lock de-escalation). Thus there is scope for greater concurrency. If page caching is
Background image of page 2

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

Page2 / 4

b If page shipping is used the cache of data at the client...

This preview shows document pages 2 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online