Skip to content

Optimize entity deletions in multiple methods by batching operations into single transactions #7702

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

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

atiq-bs23
Copy link
Contributor

Previously, entity deletions were executed one by one using individual async calls, which introduced unnecessary database round-trips. This PR optimizes the following methods to delete lists of entities in bulk within a single transaction:

DeleteProductAttributeValuePicturesAsync
DeleteProductCategoriesAsync
DeleteProductManufacturersAsync

This improves performance.

…ategories, and ProductManufacturers to use batch deletions in a single transaction instead of individual db calls
@atiq-bs23
Copy link
Contributor Author

@skoshelev

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

Successfully merging this pull request may close these issues.

3 participants