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

InternalGetAllMetadata gets called many times #264

Open
stefandevo opened this issue Jan 25, 2022 · 0 comments
Open

InternalGetAllMetadata gets called many times #264

stefandevo opened this issue Jan 25, 2022 · 0 comments

Comments

@stefandevo
Copy link
Contributor

When debugging through the coding, I found out that InternalGetAllMetadata method implemented in the dialects is called very frequent.

If I placed a Log inside the method I got when starting:

[13:23:18 INF] Executing Migrate...
[13:23:18 INF] Evolve initialized.
[13:23:18 INF] InternalGetAllMetadata
[13:23:18 INF] InternalGetAllMetadata
[13:23:18 INF] InternalGetAllMetadata
[13:23:18 INF] Metadata validated.
[13:23:18 INF] InternalGetAllMetadata
[13:23:18 INF] InternalGetAllMetadata
[13:23:18 INF] InternalGetAllMetadata
[13:23:18 INF] Database is up to date. No migration needed.

As there is no Where clause to filter on type for example, it is loading the complete table over and over again.

This could be optimised I guess?

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

1 participant