Query Metrics

77 Database Queries
29 Different statements
18.72 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

Time Count Info
5.06 ms
(27.03%)
16
SELECT * FROM settings_store WHERE id = ? AND scope = ?
Parameters:
[
  "system_settings"
  "pimcore_system_settings"
]
3.49 ms
(18.62%)
4
SELECT id FROM documents WHERE `path` = BINARY ? AND `key` = BINARY ?
Parameters:
[
  "/en/Magazine/"
  "Pick of the Day"
]
2.17 ms
(11.58%)
7
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/Magazine/Pick of the Day"
  "path"
  "auto_create"
  "/en/Magazine/Pick of the Day"
  "path_query"
  "https://pimcore.aue-ec-dev03.de/en/Magazine/Pick of the Day"
  "entire_uri"
]
1.66 ms
(8.87%)
7
SELECT * FROM object_relations_CAR WHERE src_id = ?
Parameters:
[
  259
]
0.91 ms
(4.86%)
6
SELECT * FROM assets_image_thumbnail_cache WHERE cid = ?
Parameters:
[
  337
]
0.89 ms
(4.77%)
4
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  104
]
0.85 ms
(4.52%)
7
SELECT customSettings FROM assets WHERE id = ?
Parameters:
[
  337
]
0.55 ms
(2.95%)
5
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "CAR"
]
0.28 ms
(1.49%)
1
SELECT id,language FROM documents_translations WHERE sourceId IN(?, ?) UNION SELECT sourceId as id,"source" FROM documents_translations WHERE id = ?
Parameters:
[
  104
  104
  104
]
0.25 ms
(1.33%)
1
SELECT * FROM object_url_slugs WHERE fieldname = 'urlSlug' AND ownertype = 'object' AND objectId = '69'
Parameters:
[]
0.23 ms
(1.25%)
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.19 ms
(1.03%)
1
SELECT sourceId FROM documents_translations WHERE id = ?
Parameters:
[
  104
]
0.18 ms
(0.94%)
1
SELECT * FROM object_url_slugs WHERE fieldname = 'urlSlug' AND ownertype = 'object' AND objectId = '257'
Parameters:
[]
0.16 ms
(0.85%)
1
SELECT * FROM object_url_slugs WHERE fieldname = 'urlSlug' AND ownertype = 'object' AND objectId = '259'
Parameters:
[]
0.15 ms
(0.81%)
1
SELECT id FROM sites ORDER BY (SELECT LENGTH(`path`) FROM documents WHERE documents.id = sites.rootId) DESC
Parameters:
[]
0.15 ms
(0.79%)
1
SELECT id FROM ecommerceframework_pricing_rule WHERE active = 1  ORDER BY `prio` ASC
Parameters:
[]
0.15 ms
(0.78%)
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
(0.77%)
1
SELECT id,language FROM documents_translations WHERE sourceId = ? UNION SELECT sourceId as id,"source" FROM documents_translations WHERE id = ?
Parameters:
[
  156
  156
]
0.14 ms
(0.76%)
1
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[]
0.13 ms
(0.72%)
1
SELECT * FROM object_url_slugs WHERE slug = '/en/Magazine/Pick of the Day' AND siteId = 0 ORDER BY siteId DESC LIMIT 1
Parameters:
[]
0.13 ms
(0.70%)
1
SELECT * FROM ecommerceframework_pricing_rule WHERE id='8'
Parameters:
[]
0.13 ms
(0.70%)
1
SELECT * FROM translations_admin LIMIT 1;
Parameters:
[]
0.13 ms
(0.68%)
1
SELECT * FROM tmp_store WHERE id = ?
Parameters:
[
  "maintenance_mode"
]
0.11 ms
(0.57%)
1
SELECT * FROM ecommerceframework_pricing_rule WHERE id='10'
Parameters:
[]
0.10 ms
(0.56%)
1
SELECT * FROM ecommerceframework_pricing_rule WHERE id='9'
Parameters:
[]
0.10 ms
(0.53%)
1
SELECT * FROM website_settings WHERE id = ?
Parameters:
[
  2
]
0.10 ms
(0.53%)
1
SELECT * FROM ecommerceframework_pricing_rule WHERE id='6'
Parameters:
[]
0.10 ms
(0.51%)
1
SELECT id FROM documents_page WHERE prettyUrl = ?
Parameters:
[
  "/fr"
]
0.09 ms
(0.49%)
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.