Files
lancedb/docs/src/js/interfaces/TableStatistics.md
T
Dan Tasse 77a93fee76 fix: get table size from metadata, not files (#3790)
Some issues:
- file_size_bytes is optional in the manifest, so if it's not there (old
writer I guess) it'll under-report the table size.
- it changes results a little bit from the old way by including per-file
footers and metadata (probably not a big difference at real scale)

---------

Co-authored-by: Will Jones <willjones127@gmail.com>
2026-08-07 17:41:41 -04:00

625 B

@lancedb/lancedbDocs


@lancedb/lancedb / TableStatistics

Interface: TableStatistics

Properties

fragmentStats

fragmentStats: FragmentStatistics;

Statistics on table fragments


numIndices

numIndices: number;

The number of indices in the table


numRows

numRows: number;

The number of rows in the table


totalBytes

totalBytes: number;

The total size, in bytes, of the table's data files, index files, and overlay files

Read from the manifest, so this excludes deletion files and manifests.