Quantcast
Channel: Neueste Diskussionen - Shopware Community Forum
Viewing all articles
Browse latest Browse all 14594

Performance Probleme wegen zu vielen Datenbankabfragen

$
0
0

Hallo zusammen,

in letzter Zeit habe ich Performanceprobleme bekommen und im MySql Log rausgefunden, dass Shopware pro Minute etwa 1000 Request abgibt, ohne dass jemand auf der Seite ist.
Ich würde gerne rausbekommen, was Shopware da macht und wie ich das verhindern kann. Also welche Funktion löst die Abfragen aus.
Vielleicht kennt jemand das Problem oder es muss sogar so sein.

Etwa alle 2-7 Sek werden immer ähnliche Sequenzen von etwa 90 Abfragen durchgeführt. Alle kann ich nicht posten, aber kann sie gerne bei Bedarf zuschicken.
Hier mal die ersten Request, die immer gleich sind.

SELECT name FROM s_core_plugins
            WHERE namespace LIKE "ShopwarePlugins" AND active = 1 AND installation_date IS NOT NULL
SELECT name,id, name, label, description, source, active, installation_date as installationDate, update_date as updateDate, version
            FROM s_core_plugins
            WHERE namespace='Core'
SELECT ce.subscribe as name,ce.listener, ce.position  cp.name as plugin
             FROM s_core_subscribes ce JOIN s_core_plugins cp ON cp.id=ce.pluginID AND cp.active=1 AND cp.namespace='Core'
             WHERE ce.type=0 ORDER BY name, position
SELECT name, id, name, label, description, source, active, installation_date as installationDate, update_date as updateDate, version
            FROM s_core_plugins  WHERE namespace='Frontend'
SELECT ce.subscribe as name, ce.listener, ce.position, cp.name as plugin
             FROM s_core_subscribes ce JOIN s_core_plugins cp ON cp.id=ce.pluginID AND cp.active=1 AND cp.namespace='Frontend'
             WHERE ce.type=0 ORDER BY name, position
SELECT name, id, name, label, description, source, active, installation_date as installationDate, update_date as updateDate, version
            FROM s_core_plugins WHERE namespace='Backend'

 

 


Viewing all articles
Browse latest Browse all 14594