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

Refactor the implementation of the tables in the information_schema. #3366

Open
killme2008 opened this issue Feb 22, 2024 · 0 comments
Open

Comments

@killme2008
Copy link
Contributor

What type of enhancement is this?

Refactor

What does the enhancement do?

There is a lot of redundant code in these table implementations; we can find a way to reduce it.

For example:

  • Many pieces of code access all the catalogs, schemas, and tables in a loop; we can refactor them with macros or helper functions to streamline the process.
  • The query predicates do not cover all the necessary columns, which can lead to bad performance.
  • Some requests could be processed in batches to improve performance and reduce memory consumption.

Implementation challenges

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants