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

Optimize database usage #3

Open
aprokopenko opened this issue Feb 19, 2018 · 0 comments
Open

Optimize database usage #3

aprokopenko opened this issue Feb 19, 2018 · 0 comments
Labels
enhancement New feature or request

Comments

@aprokopenko
Copy link
Contributor

All database tables is based on "image size" of an attachment. But several image sizes can have same file source. This issue create duplicates in stats. (This issue were found on big sites with lot of image sizes after the plugin is ready)

For now to fix this we used more complex sql queries to skip duplicates. More logical is to re-write saving logic to be based on file sources, not image sizes.

@aprokopenko aprokopenko added the enhancement New feature or request label Feb 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant