Current approach can lead to performance problems during PR creation with big amoun of price books
Method: \Magento\PricingStorefront\Model\PriceBookRepository::validatePriceBookUnique.
Investigate options to improve this.
For example, we can utilize "JSON" type for and replace existing website/customer_group columns with new column "scopes" with the following structure: {"w": [...], "cg": [...]}, index for both fields should be created
Current approach can lead to performance problems during PR creation with big amoun of price books
Method: \Magento\PricingStorefront\Model\PriceBookRepository::validatePriceBookUnique.
Investigate options to improve this.
For example, we can utilize "JSON" type for and replace existing website/customer_group columns with new column "scopes" with the following structure:
{"w": [...], "cg": [...]}, index for both fields should be created