Returns per-table storage statistics from the DuckLake catalog: how many Parquet data files each table has and their total size, plus the same for delete files.
Value
A data frame with one row per table and columns table_name,
schema_id, table_id, table_uuid, file_count, file_size_bytes,
delete_file_count, and delete_file_size_bytes.
Details
These statistics are the raw material for storage maintenance decisions:
many small files are worth compacting with merge_adjacent_files(), and a
growing delete-file share is a sign to run rewrite_data_files(). Rows
that are still inlined in the catalog (see set_inlining_row_limit()) are
not in any Parquet file yet, so small recent writes may not show up in the
counts until flush_inlined_data() writes them out.
This wraps DuckLake's ducklake_table_info() function.
See also
plot_table_files(), merge_adjacent_files(),
rewrite_data_files()
Other maintenance:
backup_ducklake(),
checkpoint_ducklake(),
cleanup_old_files(),
delete_orphaned_files(),
expire_snapshots(),
flush_inlined_data(),
list_ducklake_files(),
merge_adjacent_files(),
plot_table_files(),
rewrite_data_files()
