Skip to content

InfoSchema V2 #50959

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

Closed
10 of 14 tasks
Tracked by #60283
tiancaiamao opened this issue Feb 4, 2024 · 1 comment
Closed
10 of 14 tasks
Tracked by #60283

InfoSchema V2 #50959

tiancaiamao opened this issue Feb 4, 2024 · 1 comment
Labels
type/enhancement The issue or PR belongs to an enhancement.

Comments

@tiancaiamao
Copy link
Contributor

tiancaiamao commented Feb 4, 2024

Enhancement

When we have millions of tables, the memory footprint for meta data is not negligible.
Some users use TiDB to provide services to their tenant, so there could be a huge amount of tables.
We need to develop a kind of caching mechanism to ensure that even in the extreme cases, the meta data do not cause TiDB OOM.

In the new design, the table.Table will not be persisted in memory, insted, they will be cached.

Development tasks

@tiancaiamao tiancaiamao added the type/enhancement The issue or PR belongs to an enhancement. label Feb 4, 2024
ti-chi-bot bot pushed a commit that referenced this issue Feb 7, 2024
ti-chi-bot bot pushed a commit that referenced this issue Feb 29, 2024
ti-chi-bot bot pushed a commit that referenced this issue Mar 1, 2024
ti-chi-bot bot pushed a commit that referenced this issue Mar 4, 2024
ti-chi-bot bot pushed a commit that referenced this issue Mar 6, 2024
This was referenced Mar 27, 2025
zeminzhou pushed a commit to zeminzhou/tidb that referenced this issue May 6, 2025
budney pushed a commit to budney/tidb that referenced this issue May 18, 2025
budney pushed a commit to budney/tidb that referenced this issue May 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/enhancement The issue or PR belongs to an enhancement.
Projects
None yet
Development

No branches or pull requests

1 participant