I am using Shopware 6.4.6.1
I have about 3 Mil. Orders and Customers in the Database.
When I use the backend to search for a specific order number, the system fires a very complex query against the database which is way too slow to respond in time, so I get a timeout. This way, it is not possible to use the backend to find orders. The database does not have any indexes on the tables used in the query, what I find very strange.
As far as I understand, the elasticsearch cluster is only used for products, categories and the like, not to find orders and customers.
What is the general concept in SW6 to find a specific order / customer in a performant way that will work with a few million orders / customers?