Query Metrics

42 Database Queries
27 Different statements
7.97 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

Time Count Info
2.63 ms
(33.01%)
2
SELECT * FROM redirects WHERE
            (
                (source = ? AND (`type` = ? OR `type` = ?)) OR
                (source = ? AND `type` = ?) OR
                (source = ? AND `type` = ?)
            ) AND active = 1 AND (regex IS NULL OR regex = 0) AND (expiry > UNIX_TIMESTAMP() OR expiry IS NULL) AND sourceSite IS NULL AND priority = 99 ORDER BY `priority` DESC
Parameters:
[
  "/en/More-Stuff"
  "path"
  "auto_create"
  "/en/More-Stuff"
  "path_query"
  "https://pimcore.aue-ec-dev03.de/en/More-Stuff"
  "entire_uri"
]
1.01 ms
(12.67%)
7
SELECT * FROM settings_store WHERE id = ? AND scope = ?
Parameters:
[
  "system_settings"
  "pimcore_system_settings"
]
0.65 ms
(8.21%)
4
SELECT id FROM documents WHERE `path` = BINARY ? AND `key` = BINARY ?
Parameters:
[
  "/en/"
  "More-Stuff"
]
0.56 ms
(7.05%)
5
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "CAR"
]
0.28 ms
(3.52%)
2
SELECT * FROM object_relations_CAR WHERE src_id = ?
Parameters:
[
  97
]
0.22 ms
(2.73%)
1
SELECT id,language FROM documents_translations WHERE sourceId IN(?, ?) UNION SELECT sourceId as id,"source" FROM documents_translations WHERE id = ?
Parameters:
[
  47
  47
  47
]
0.20 ms
(2.51%)
1
SELECT *
            FROM website_settings
            WHERE name = ?
                AND (
                    siteId IS NULL
                    OR siteId = 0
                    OR siteId = ?
                )
                AND (
                    language IS NULL
                    OR language = ''
                    OR language = ?
                )
            ORDER BY CONCAT(siteId, language) DESC, siteId DESC, language DESC
Parameters:
[
  "defaultTaxClass"
  null
  null
]
0.16 ms
(2.07%)
1
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[]
0.16 ms
(2.06%)
1
SELECT * FROM object_url_slugs WHERE fieldname = 'urlSlug' AND ownertype = 'object' AND objectId = '97'
Parameters:
[]
0.14 ms
(1.79%)
1
SELECT id FROM objects WHERE `path` = BINARY ? AND `key` = BINARY ?
Parameters:
[
  "/Product Data/Accessories/lights/head lights/"
  "citroen-2cv-head lights"
]
0.14 ms
(1.78%)
1
SELECT id,language FROM documents_translations WHERE sourceId = ? UNION SELECT sourceId as id,"source" FROM documents_translations WHERE id = ?
Parameters:
[
  140
  140
]
0.14 ms
(1.77%)
1
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  47
]
0.14 ms
(1.70%)
1
SELECT id FROM ecommerceframework_pricing_rule WHERE active = 1  ORDER BY `prio` ASC
Parameters:
[]
0.14 ms
(1.70%)
1
SELECT id FROM sites ORDER BY (SELECT LENGTH(`path`) FROM documents WHERE documents.id = sites.rootId) DESC
Parameters:
[]
0.14 ms
(1.70%)
1
SELECT sourceId FROM documents_translations WHERE id = ?
Parameters:
[
  47
]
0.12 ms
(1.56%)
1
SELECT * FROM assets_image_thumbnail_cache WHERE cid = ?
Parameters:
[
  79
]
0.12 ms
(1.48%)
1
SELECT * FROM object_url_slugs WHERE slug = '/en/More-Stuff' AND siteId = 0 ORDER BY siteId DESC LIMIT 1
Parameters:
[]
0.11 ms
(1.38%)
1
SELECT * FROM tmp_store WHERE id = ?
Parameters:
[
  "maintenance_mode"
]
0.11 ms
(1.34%)
1
SELECT id FROM documents_page WHERE prettyUrl = ?
Parameters:
[
  "/fr"
]
0.10 ms
(1.31%)
1
SELECT * FROM translations_admin LIMIT 1;
Parameters:
[]
0.10 ms
(1.28%)
1
SELECT customSettings FROM assets WHERE id = ?
Parameters:
[
  79
]
0.10 ms
(1.27%)
1
SELECT * FROM ecommerceframework_pricing_rule WHERE id='9'
Parameters:
[]
0.10 ms
(1.25%)
1
SELECT * FROM ecommerceframework_pricing_rule WHERE id='8'
Parameters:
[]
0.10 ms
(1.24%)
1
SELECT * FROM ecommerceframework_pricing_rule WHERE id='10'
Parameters:
[]
0.10 ms
(1.24%)
1
SELECT * FROM ecommerceframework_pricing_rule WHERE id='6'
Parameters:
[]
0.10 ms
(1.19%)
1
SELECT * FROM website_settings WHERE id = ?
Parameters:
[
  2
]
0.09 ms
(1.18%)
1
SELECT * FROM ecommerceframework_pricing_rule WHERE id='7'
Parameters:
[]

Database Connections

Name Service
default doctrine.dbal.default_connection

Entity Managers

Name Service
pimcore doctrine.orm.pimcore_entity_manager

Second Level Cache

Second Level Cache is not enabled.

Entities Mapping

No loaded entities.