Skip to content

Timeouts when searching for orders #784

@Damnias3

Description

@Damnias3

Which component is this issue related to?

Umbraco Commerce (Core)

Which Umbraco Commerce version are you using? (Please write the exact version, example: 10.1.0)

v13.7.2

Bug summary

Normally, when opening Umbraco Commerce without any filters, everything works fine and the orders are displayed correctly.

However, when we apply a filter on orders based on an order line property, we experience timeouts.
If we add a “Placed On or After” filter, the issue doesn’t occur — but that likely helps only because it reduces the dataset size.

The timeout seems to occur after about 30 seconds, and after that, we need to clear the cache before the orders become visible again.

Image

We have tried adding indexes to the UmbracoCommerceOrder and UmbracoCommerceOrderline tables, as suggested by Azure. This helped temporarily (for about a day), but then the timeouts returned.

Image

We have 197.000 rows in our orders table and 132.000 rows in our orderLine table, doesn't know if that has a impact.

Specifics

No response

Steps to reproduce

Filter after orderline properties, in Umbraco Commerce -> Orders

Expected result / actual result

No timeouts

Dependencies

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions