liveBook · Manning

Memory-to-data ratio

The memory-to-data ratio compares available system memory capacity with the capacity of the data or persistent storage being considered.

How 2 Manning books explain it

Graph Neural Networks in Action

The memory-to-data ratio is the quotient of available memory capacity divided by the size of the dataset being processed.

How it is used
Guides hardware planning, benchmarking, and troubleshooting for machine-learning workloads that may exceed available memory.
How deep it goes
Defines the ratio, gives a four-to-ten-times guideline, and applies it to a concrete graph dataset and hardware decision.
Examples
Uses a 10 GB sparse graph dataset to derive a 40–100 GB memory target and motivate subgraph sampling.
What you can do after
Operate/configure hardware capacity, benchmark workloads, and apply subgraph sampling when memory constraints cause failures.

Read how Graph Neural Networks in Action explains memory-to-data ratio →

ScyllaDB in Action

The RAM-to-disk storage ratio is the amount of system memory relative to the persistent disk capacity available to a database.

How it is used
Guides ScyllaDB node sizing by balancing cache capacity against disk-backed reads.
How deep it goes
Defines threshold and optimal ratios, explains cache consequences, and stops short of workload-specific sizing.
Examples
Uses 1 GB of RAM per 100 GB of disk and a preferred 1:30 comparison.
What you can do after
Evaluate node memory requirements against disk capacity and anticipate read-performance consequences.

Read how ScyllaDB in Action explains memory-to-data ratio →

Related concepts

Questions about memory-to-data ratio

What is memory-to-data ratio?

The memory-to-data ratio compares available system memory capacity with the capacity of the data or persistent storage being considered.

Which Manning books explain memory-to-data ratio?

Graph Neural Networks in Action and ScyllaDB in Action.

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.