estimate_inmemory_data_size#

Datasource.estimate_inmemory_data_size() → int | None[source]#

Return an estimate of the in-memory data size, or None if unknown.

Note that the in-memory data size may be larger than the on-disk data size.

Returns:

The estimated in-memory size in bytes, or None if it’s unknown.

Return type:

int | None