Five-minute rule

In computer science, the five-minute rule is a rule of thumb for deciding whether a data item should be kept in memory, or stored on disk and read back into memory when required. It was first formulated by Jim Gray and G. F. Putzolu in 1985, and then subsequently revised in 1997 and 2007 to reflect changes in the relative cost and performance of memory and persistent storage. The rule is as follows: The 5-minute random rule: cache randomly accessed disk pages that are re-used every 5 minutes or less. Gray also issued a counterpart one-minute rule for sequential access:

Five-minute rule

In computer science, the five-minute rule is a rule of thumb for deciding whether a data item should be kept in memory, or stored on disk and read back into memory when required. It was first formulated by Jim Gray and G. F. Putzolu in 1985, and then subsequently revised in 1997 and 2007 to reflect changes in the relative cost and performance of memory and persistent storage. The rule is as follows: The 5-minute random rule: cache randomly accessed disk pages that are re-used every 5 minutes or less. Gray also issued a counterpart one-minute rule for sequential access: