Skip to content
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

support meta data cache size limit #52237

Closed
Tracked by #50959
tiancaiamao opened this issue Mar 29, 2024 · 2 comments · Fixed by #52423
Closed
Tracked by #50959

support meta data cache size limit #52237

tiancaiamao opened this issue Mar 29, 2024 · 2 comments · Fixed by #52423
Labels
affects-8.1 sig/sql-infra SIG: SQL Infra type/enhancement The issue or PR belongs to an enhancement.

Comments

@tiancaiamao
Copy link
Contributor

No description provided.

@tiancaiamao tiancaiamao mentioned this issue Mar 29, 2024
14 tasks
@tiancaiamao
Copy link
Contributor Author

tiancaiamao commented Apr 8, 2024

create table t (id int) with 10000 tables, the memory footprint seems to be 9.34M
It means the normal table size if 956 byte on average.

image

@tiancaiamao
Copy link
Contributor Author

create table pt (id int) partition by hash(id) partitions 1024 create 5000 tables, the memory footprint is 2203.9M
It means the partition table size is 451kb on average.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects-8.1 sig/sql-infra SIG: SQL Infra type/enhancement The issue or PR belongs to an enhancement.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants