OroCommerce Forums

Covering OroCommerce topics, including community updates and company announcements.

Forums Forums OroCommerce Filter By with 2 Combination Very Slow

This topic contains 1 reply, has 2 voices, and was last updated by  Andrey Yatsenko 5 years, 8 months ago.

Starting from March 1, 2020 the forum has been switched to the read-only mode. Please head to StackOverflow for support.

  • Creator
    Topic
  • #33164

    Rio
    Participant

    Hi Master,

    I’ve tried to filter my product (GridView) based on two combination (SKU and price), why it took a long time? almost 260.000 ms on symfony profiler. Generally without combination only take about 10.000 ms – 15.000 ms. Anyway, how to optimize it ? any suggestion sir :D

    Thanks in advance

Viewing 1 replies (of 1 total)
  • Author
    Replies
  • #33165

    Andrey Yatsenko
    Moderator

    In the profiler, you can “explain” the query to see how it can be optimized, for example by adding indices and so on. But you should notice that this will optimize only some cases, as filtering has a lot of combinations it’s hard to optimize all of them without side effects.

    At the Enterprise Edition, we have product grid rendered using ElasticSearch, and it works way faster than the search using DBAL driver.

    Also if you are using some old version, consider to upgrade, we recently optimized the DBAL search performance. For community edition, they were applied in 1.6.11 version, 3.0 and master branches.

Viewing 1 replies (of 1 total)

The forum ‘OroCommerce’ is closed to new topics and replies.

Back to top