-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
如何查询分区表信息 #2217
Comments
@xiemiaogit 你看下这个文档可以解决你的问题吗? |
@lilin90 你好,文档看了,文档只是说可以查看某个分区下的具体数据。但我想看某张表有哪些分区,就像MySQL的partitions表那样。 |
@tiancaiamao PTAL~ Thanks! |
这个 PR 之后的可以通过 infoschema 表里面去查看信息( TiDB 版本要求 master 或者还未发布的 4.0GA)。 之前的版本可以用
观察 plan 的结构,如果是 union 的就是分区表,否则是普通表。 |
@xiemiaogit 以上回答解决你的问题了吗? |
@xiemiaogit 为更好管理和跟进 issue,暂时关闭本 issue。如仍有问题,欢迎提新的 issue。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
建了分区表,可以正常操作,但是貌似没有地方可以查看分区的信息,请问TIDB要如何查看。
The text was updated successfully, but these errors were encountered: