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

InfoSchema V2 #50959

Open
10 of 14 tasks
tiancaiamao opened this issue Feb 4, 2024 · 0 comments
Open
10 of 14 tasks

InfoSchema V2 #50959

tiancaiamao opened this issue Feb 4, 2024 · 0 comments
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
ti-chi-bot bot pushed a commit that referenced this issue Jul 29, 2024
hawkingrei pushed a commit to hawkingrei/tidb that referenced this issue Aug 1, 2024
ti-chi-bot bot pushed a commit that referenced this issue Aug 13, 2024
ti-chi-bot bot pushed a commit that referenced this issue Aug 14, 2024
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