Query Metrics

1303 Database Queries
79 Different statements
144.22 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

Time Count Info
38.42 ms
(26.64%)
410
SELECT documents.*, tree_locks.locked FROM documents
            LEFT JOIN tree_locks ON documents.id = tree_locks.id AND tree_locks.type = 'document'
                WHERE documents.id = ?
Parameters:
[
  2
]
17.95 ms
(12.44%)
183
SELECT id FROM documents d WHERE parentId = ?  AND published = 1 LIMIT 1
Parameters:
[
  5
]
16.36 ms
(11.35%)
159
SELECT documents.*, documents_snippet.*, tree_locks.locked FROM documents
            LEFT JOIN documents_snippet ON documents.id = documents_snippet.id
            LEFT JOIN tree_locks ON documents.id = tree_locks.id AND tree_locks.type = 'document'
                WHERE documents.id = ?
Parameters:
[
  150
]
15.66 ms
(10.86%)
145
SELECT documents.*, documents_page.*, tree_locks.locked FROM documents
            LEFT JOIN documents_page ON documents.id = documents_page.id
            LEFT JOIN tree_locks ON documents.id = tree_locks.id AND tree_locks.type = 'document'
                WHERE documents.id = ?
Parameters:
[
  5
]
7.03 ms
(4.87%)
65
SELECT documents.id, documents.type FROM documents WHERE  (parentId = ?) AND published = 1 ORDER BY `index` ASC
Parameters:
[
  2
]
2.33 ms
(1.62%)
15
SELECT * FROM properties WHERE ((cid IN (1,7,2,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  94
]
2.17 ms
(1.50%)
13
SELECT * FROM properties WHERE ((cid IN (1,9,8,5,2,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  11
]
1.99 ms
(1.38%)
9
SELECT assets.*, tree_locks.locked FROM assets
            LEFT JOIN tree_locks ON assets.id = tree_locks.id AND tree_locks.type = 'asset'
                WHERE assets.id = ?
Parameters:
[
  2700
]
1.93 ms
(1.34%)
13
SELECT * FROM properties WHERE ((cid IN (1,6,2,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  14
]
1.83 ms
(1.27%)
18
SELECT documents.*, documents_hardlink.*, tree_locks.locked FROM documents
            LEFT JOIN documents_hardlink ON documents.id = documents_hardlink.id
            LEFT JOIN tree_locks ON documents.id = tree_locks.id AND tree_locks.type = 'document'
                WHERE documents.id = ?
Parameters:
[
  2
]
1.76 ms
(1.22%)
12
SELECT * FROM properties WHERE ((cid IN (1,5,2,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  8
]
1.75 ms
(1.22%)
1
SELECT * FROM translations_messages WHERE language = ?
Parameters:
[
  "de"
]
1.61 ms
(1.12%)
16
SELECT * FROM properties WHERE cid = ? AND ctype='document'
Parameters:
[
  94
]
1.49 ms
(1.03%)
9
SELECT * FROM properties WHERE ((cid IN (1,38,8,5,2,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  194
]
1.45 ms
(1.00%)
9
SELECT * FROM properties WHERE ((cid IN (1,8,5,2,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  9
]
1.33 ms
(0.93%)
8
SELECT * FROM properties WHERE ((cid IN (1,42,8,5,2,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  43
]
1.30 ms
(0.90%)
9
SELECT * FROM properties WHERE ((cid IN (1,2,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  5
]
1.28 ms
(0.88%)
8
SELECT * FROM properties WHERE ((cid IN (1,14,6,2,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  98
]
1.21 ms
(0.84%)
8
SELECT * FROM properties WHERE ((cid IN (1,73,5,2,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  74
]
1.18 ms
(0.81%)
8
SELECT * FROM properties WHERE ((cid IN (1,3,2,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  4
]
1.12 ms
(0.78%)
8
SELECT * FROM object_localized_data_ProductBrand WHERE ooo_id = ? AND language IN ('en')
Parameters:
[
  5
]
1.10 ms
(0.76%)
6
SELECT * FROM properties WHERE ((cid IN (1,169,160,159,151,2,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  219
]
0.95 ms
(0.66%)
6
SELECT * FROM properties WHERE ((cid IN (1,103,6,2,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  211
]
0.94 ms
(0.65%)
9
SELECT documents.*, documents_email.*, tree_locks.locked FROM documents
            LEFT JOIN documents_email ON documents.id = documents_email.id
            LEFT JOIN tree_locks ON documents.id = tree_locks.id AND tree_locks.type = 'document'
                WHERE documents.id = ?
Parameters:
[
  1940
]
0.90 ms
(0.63%)
6
SELECT * FROM properties WHERE ((cid IN (1,64,5,2,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  65
]
0.90 ms
(0.62%)
6
SELECT * FROM properties WHERE ((cid IN (1,120,6,2,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  121
]
0.88 ms
(0.61%)
9
SELECT objects.*, tree_locks.locked as o_locked FROM objects
            LEFT JOIN tree_locks ON objects.o_id = tree_locks.id AND tree_locks.type = 'object'
                WHERE o_id = ?
Parameters:
[
  170
]
0.87 ms
(0.60%)
8
SELECT * FROM object_relations_ProductBrand WHERE src_id = ?
Parameters:
[
  5
]
0.86 ms
(0.60%)
8
SELECT * FROM object_store_ProductBrand WHERE oo_id = ?
Parameters:
[
  5
]
0.77 ms
(0.54%)
5
SELECT * FROM properties WHERE ((cid IN (1,87,73,5,2,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  88
]
0.77 ms
(0.53%)
9
SELECT o_type,o_className,o_classId FROM objects WHERE o_id = ?
Parameters:
[
  170
]
0.76 ms
(0.53%)
5
SELECT * FROM properties WHERE ((cid IN (1,128,6,2,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  129
]
0.73 ms
(0.51%)
5
SELECT * FROM properties WHERE ((cid IN (1,159,151,2,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  160
]
0.66 ms
(0.46%)
4
SELECT * FROM properties WHERE ((cid IN (1,54,8,5,2,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  55
]
0.65 ms
(0.45%)
4
SELECT * FROM properties WHERE ((cid IN (1,82,73,5,2,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  83
]
0.59 ms
(0.41%)
7
SELECT id FROM documents WHERE path = BINARY :path AND `key` = BINARY :key
Parameters:
[
  "key" => "e-parts-store"
  "path" => "/oesterreich/de/baumaschinen/services/"
]
0.57 ms
(0.40%)
4
SELECT * FROM properties WHERE ((cid IN (1,151,2,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  154
]
0.53 ms
(0.37%)
5
SELECT documents.id FROM documents
            LEFT JOIN documents_page ON documents.id = documents_page.id
            WHERE documents.path LIKE ? AND documents_page.prettyUrl = ?
Parameters:
[
  "/oesterreich/%"
  "/de/baumaschinen/services/e-parts-store"
]
0.51 ms
(0.35%)
5
SELECT documents.*, documents_link.*, tree_locks.locked FROM documents
            LEFT JOIN documents_link ON documents.id = documents_link.id
                LEFT JOIN tree_locks ON documents.id = tree_locks.id AND tree_locks.type = 'document'
                WHERE documents.id = ?
Parameters:
[
  210
]
0.50 ms
(0.35%)
3
SELECT * FROM properties WHERE ((cid IN (1,160,159,151,2,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  169
]
0.49 ms
(0.34%)
4
SELECT * FROM assets_image_thumbnail_cache WHERE cid = :cid
Parameters:
[
  "cid" => 2706
]
0.46 ms
(0.32%)
3
SELECT * FROM properties WHERE ((cid IN (1,137,7,2,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  138
]
0.46 ms
(0.32%)
3
SELECT * FROM properties WHERE ((cid IN (1,78,73,5,2,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  79
]
0.45 ms
(0.31%)
3
SELECT * FROM properties WHERE ((cid IN (1,279,189,159,151,2,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  168
]
0.44 ms
(0.30%)
3
SELECT * FROM properties WHERE ((cid IN (1,189,159,151,2,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  279
]
0.40 ms
(0.28%)
5
SELECT id FROM documents_page WHERE prettyUrl = :prettyUrl
Parameters:
[
  "prettyUrl" => "/de/baumaschinen/services/e-parts-store"
]
0.39 ms
(0.27%)
2
SELECT * FROM properties WHERE ((cid IN (1,176,160,159,151,2,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  296
]
0.34 ms
(0.24%)
2
SELECT * FROM properties WHERE ((cid IN (1,340,151,2,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  23
]
0.33 ms
(0.23%)
2
SELECT * FROM properties WHERE ((cid IN (1,142,7,2,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  209
]
0.32 ms
(0.22%)
1
SELECT * FROM redirects WHERE
            (
                (source = :sourcePath AND (`type` = :typePath OR `type` = :typeAuto)) OR
                (source = :sourcePathQuery AND `type` = :typePathQuery) OR
                (source = :sourceEntireUri AND `type` = :typeEntireUri)
            ) AND active = 1 AND regex IS NULL AND (expiry > UNIX_TIMESTAMP() OR expiry IS NULL) AND sourceSite = '2' AND priority = 99 ORDER BY `priority` DESC
Parameters:
[
  "sourcePath" => "/de/baumaschinen/services/e-parts-store"
  "sourcePathQuery" => "/de/baumaschinen/services/e-parts-store"
  "sourceEntireUri" => "https://kuhn-at.roromedia.at/de/baumaschinen/services/e-parts-store"
  "typePath" => "path"
  "typePathQuery" => "path_query"
  "typeEntireUri" => "entire_uri"
  "typeAuto" => "auto_create"
]
0.31 ms
(0.21%)
2
SELECT * FROM properties WHERE ((cid IN (1,248,279,189,159,151,2,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  241
]
0.30 ms
(0.21%)
2
SELECT * FROM properties WHERE ((cid IN (1,280,189,159,151,2,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  282
]
0.30 ms
(0.21%)
2
SELECT * FROM properties WHERE ((cid IN (1,215,159,151,2,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  362
]
0.23 ms
(0.16%)
2
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  23
]
0.19 ms
(0.13%)
1
SELECT * FROM properties WHERE ((cid IN (1,213,8,5,2,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  232
]
0.18 ms
(0.12%)
1
SELECT id FROM sites ORDER BY (SELECT LENGTH(path) FROM documents WHERE documents.id = sites.rootId) DESC
Parameters:
[]
0.17 ms
(0.12%)
1
SELECT * FROM object_relations_SiteConfig WHERE src_id = ?
Parameters:
[
  170
]
0.17 ms
(0.12%)
1
SELECT * FROM properties WHERE ((cid IN (1,63,8,5,2,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  1580
]
0.17 ms
(0.12%)
1
SELECT * FROM properties WHERE ((cid IN (1,16903,8,5,2,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  16904
]
0.17 ms
(0.12%)
1
SELECT * FROM properties WHERE ((cid IN (1,95,73,5,2,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  388
]
0.17 ms
(0.12%)
1
SELECT * FROM properties WHERE ((cid IN (1,10,8,5,2,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  13
]
0.16 ms
(0.11%)
2
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[]
0.16 ms
(0.11%)
1
SELECT * FROM properties WHERE ((cid IN (1,60,8,5,2,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  61
]
0.16 ms
(0.11%)
1
SELECT * FROM properties WHERE ((cid IN (1,144,7,2,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  153
]
0.16 ms
(0.11%)
2
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "SiteConfig"
]
0.16 ms
(0.11%)
1
SELECT * FROM properties WHERE ((cid IN (1,16923,16915,2,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  16943
]
0.15 ms
(0.11%)
1
SELECT * FROM properties WHERE ((cid IN (1,16868,2,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  16875
]
0.15 ms
(0.10%)
1
SELECT * FROM properties WHERE ((cid IN (1,16915,2,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  16923
]
0.14 ms
(0.10%)
1
SELECT id,language FROM documents_translations WHERE sourceId IN(?, ?) UNION SELECT sourceId as id,"source" FROM documents_translations WHERE id = ?
Parameters:
[
  95
  95
  95
]
0.12 ms
(0.09%)
1
SELECT * FROM object_url_slugs WHERE slug = '/de/baumaschinen/services/e-parts-store' AND (siteId = 2 OR siteId = 0) ORDER BY siteId DESC LIMIT 1
Parameters:
[]
0.12 ms
(0.08%)
1
SELECT id,language FROM documents_translations WHERE sourceId = ? UNION SELECT sourceId as id,"source" FROM documents_translations WHERE id = ?
Parameters:
[
  1352
  1352
]
0.10 ms
(0.07%)
1
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "reports"
  "scope" => "pimcore"
]
0.09 ms
(0.06%)
1
SELECT id FROM targeting_target_groups UNION SELECT id FROM targeting_rules LIMIT 1
Parameters:
[]
0.09 ms
(0.06%)
1
SELECT * FROM object_store_SiteConfig WHERE oo_id = ?
Parameters:
[
  170
]
0.09 ms
(0.06%)
1
SELECT * FROM object_localized_data_SiteConfig WHERE ooo_id = ? AND language IN ('en')
Parameters:
[
  170
]
0.09 ms
(0.06%)
1
SELECT sourceId FROM documents_translations WHERE id = ?
Parameters:
[
  95
]
0.08 ms
(0.06%)
1
SELECT id FROM settings_store WHERE scope = ?
Parameters:
[
  "pimcore_staticroutes"
]
0.08 ms
(0.06%)
1
SELECT * FROM object_url_slugs WHERE slug = '/de/baumaschinen/services/e-parts-store' AND siteId = 0 ORDER BY siteId DESC LIMIT 1
Parameters:
[]
0.07 ms
(0.05%)
1
select `sharingServices` from object_store_SiteConfig where oo_id  = 170
Parameters:
[]

Database Connections

Name Service
default doctrine.dbal.default_connection

Entity Managers

There are no configured entity managers.

Second Level Cache

Second Level Cache is not enabled.