Import von Bestellungen mit Shop-Migration / Gambio

Hallo, bisher erst einmal vielen Dank für das Kostenlose Plugin “Shop-Migration”. Dies hat mir jetzt bei einem Umzug von Gambio auf Shopware sehr geholfen und sehr viel Arbeit erspart. Alle Imports laufen soweit bestens, allerdings stoße ich bei dem folgenden Code/Select auf das Problem, dass sich nach 10-15 Minuten nichts mehr tut. Shop-Migration bleibt bei dem SELECT einfach hängen. Informationen zur Dimension der Datenmenge: Kunden: 25800 Artikel: 90 Bestellungen: 46700 Bestellpositionen (Artikel): 146800 # Plugins/Community/Backend/SwagMigration/Components/Migration/Import/Profile/XtCommerce.php Die Methode: public function getOrderDetailSelect()... erzeugt folgenden SELECT: SELECT products.`orders_id` as orderID, `products_id` as productID, `products_model` as article\_ordernumber, IFNULL(CONCAT( products.products\_name, ' ', GROUP\_CONCAT(attributes.products\_options\_values SEPARATOR ', '), ' (', GROUP\_CONCAT(attributes.products\_options SEPARATOR ', '), ')' ), products.products\_name) as name, `products_price` as price, `products_quantity` as quantity FROM orders\_products products -- Join attributes in order to name the article by its attribute LEFT JOIN orders\_products\_attributes attributes ON attributes.orders\_products\_id=products.orders\_products\_id GROUP BY (products.orders\_products\_id) Nun noch meine Frage: Wie kann ich die Datenbank (Gambio) optimieren bzw. die MySQL-Datenbank oder kann ich das Selektieren durch Änderungen am Code selbst “LIMITIEREN”? Vorab schon vielen Dank PS: Ich muss dazu sagen, dass dieser SELECT auch in PHPMyAdmin nichts tut. Ich versuche es gleich mal direkt in der MySQL-Console.

Das Problem wurde gelöst. alter table orders\_products\_attributes add index(orders\_products\_id); :slight_smile:

Hallo, ich habe hier eine Lösung gesehen, aber wo muss die Zeile eingetragen werden? Bei mir bleibt die Migration immer bei der Orderliste stehen. ;-(