-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dataset stats: include table size #272
Comments
@iterative/datachain I'd appreciate your opinion on this. How realistic it is to get this information from the real DBs. |
Easy. SQLiteWe can use dbstat to get table size:
Dbstat is only available when SQLite is built using the SQLITE_ENABLE_DBSTAT_VTAB compile-time option. We can check if
ClickHouse
|
how this will look like in the dataset schemas that user will get in API? You recently introduced these, right? |
So we do have Steps to implement physical table size is:
Sounds quite easy to me. |
We are storing
number of records
andfile sizes
to dataset records which is convenient to have. In addition to this, it would be very. convenient to have size of physical table for a dataset. It's needed because in some cases a table can take 90Gb (laion with 12M files).The text was updated successfully, but these errors were encountered: