data_basedb_initializersload_simrun_generalreoptimize

reoptimize

Re-optimize a database with a new dumper

Database optimization involves writing out various dataframes in a so-called “optimized” format. It is sometimes of interest to re-write an already optimized database with a new (or old) data format. For example, in the past we have switched from msgpack to parquet, and back to msgpack after un-deprecating it. So all databases optimized with parquet could now in principle be re-optimized with msgpack.

Functions

reoptimize_db(db, client, progress, n_db_parents, suppress_warnings)

Re-optimize a database with a new dumper.