|
|
|
|
|
by ayende
2118 days ago
|
|
Writing on a page (4KB / 8KB) boundary is almost always a good idea. Because there is an overhead per page that you have to account for.
It can be in the range of 16 - 64 bytes, so having a 256 mini page is probably a bad idea. Most of the _data_ is also not going to fit in 256 bytes anyway. |
|
So, it might well be that someone is only interested in only one or a few records. Why then fetch and cache a whole 4Kb page if latency is good in both cases (4kb and 256 bytes)? On the other hand I agree that you should probably cache more data from a hot page.