-
Notifications
You must be signed in to change notification settings - Fork 18
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
Table size is not shown #83
Comments
Hi may I ask a question on this ticket? I took a quick look and found there're two functions getting table size. After attach gdb to the process, I found user relation (which is created by columnstore and TAM defined) goes to So the task for this ticket is somehow to make |
That's a great question! |
I checked functions for object management: https://www.postgresql.org/docs/9.4/functions-admin.html#FUNCTIONS-ADMIN-DBSIZE, seems all functions are called Since we throw exception via However, one command does leverage our TAM, that's In short, we don't have a good way to verify the correctness for I made a dummy implementation for necessary functions for pg_duckdb seems to do the same thing (https://github.com/duckdb/pg_duckdb/blob/main/src/pgduckdb_table_am.cpp), maybe people's using ANALYZE command in their workload, and they don't want failure. |
|
Yes we can, two concerns here:
But it could have other benefits, it allows mooncake to stick more closely to postgres, there could be other features depending on data file locations. |
We can just put symbolic links there, the actual Parquet files can be arranged in whatever way we want |
I noticed that there is something called sparse file: https://en.wikipedia.org/wiki/Sparse_file If we really want to make this work, we can just put dummy sparse file in the expected location for each Parquet file It's a little bit hacky so I'm inclined to avoid doing this for now |
What feature are you requesting?
Table size is not shown in
\d+
The text was updated successfully, but these errors were encountered: