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

Poor performance when having a larga email history #24

Closed
paugnu opened this issue Jun 30, 2022 · 1 comment
Closed

Poor performance when having a larga email history #24

paugnu opened this issue Jun 30, 2022 · 1 comment

Comments

@paugnu
Copy link

paugnu commented Jun 30, 2022

Hi,

I've been using this module for a year now, it is great.

However, I've found that there is a poor performance when the number of emails in history is large (near 100000).

I've solved this, adding an index to the table in the following way:
ALTER TABLE swissup_email_history ADD INDEX created_entity_ndx (created_at,entity_id);

@0m3r
Copy link
Member

0m3r commented Jun 30, 2022

Thank you for the recommendation.
It's really my fault I never tested with a large number of records

https://github.com/swissup/module-email/blob/master/view/adminhtml/ui_component/email_history_listing.xml#L73

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