QuestDB partitions #316
-
Hello, in QuestDB I need to get the number of partitions, total size, and row count per table. Right now we use the following query to generate the final query:
The final query then returns the desired data. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hey @Maros112358, I'd need to try it out on my end to give any recommendations, since my experience with QuestDB is very limited. I also happen to have an ex-colleague currently working for QuestDB, so I might ask him for some hints and summon him here. :) As far as I can tell, QuestDB supports At the same time, it could be that you can try to use multiple statements (delimited by ;), and then store the intermediate result somehow and then execute these statements. |
Beta Was this translation helpful? Give feedback.
hi! https://questdb.io/docs/reference/function/meta/#table_partitions
example:
you can also use it with filters:
in fact the above is just a shortcut for:
you may like to join the slack channel …