Query Metrics

1211 Database Queries
60 Different statements
133.15 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

Time Count Info
37.75 ms
(28.35%)
406
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
(13.48%)
183
SELECT id FROM documents d WHERE parentId = ?  AND published = 1 LIMIT 1
Parameters:
[
  5
]
16.36 ms
(12.29%)
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.17 ms
(11.39%)
142
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
(5.28%)
65
SELECT documents.id, documents.type FROM documents WHERE  (parentId = ?) AND published = 1 ORDER BY `index` ASC
Parameters:
[
  2
]
2.33 ms
(1.75%)
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.63%)
13
SELECT * FROM properties WHERE ((cid IN (1,9,8,5,2,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  11
]
1.93 ms
(1.45%)
13
SELECT * FROM properties WHERE ((cid IN (1,6,2,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  14
]
1.76 ms
(1.32%)
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.32%)
1
SELECT * FROM translations_messages WHERE language = ?
Parameters:
[
  "de"
]
1.71 ms
(1.29%)
17
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.61 ms
(1.21%)
16
SELECT * FROM properties WHERE cid = ? AND ctype='document'
Parameters:
[
  94
]
1.49 ms
(1.12%)
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.09%)
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
(1.00%)
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.97%)
9
SELECT * FROM properties WHERE ((cid IN (1,2,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  5
]
1.28 ms
(0.96%)
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.91%)
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.88%)
8
SELECT * FROM properties WHERE ((cid IN (1,3,2,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  4
]
1.10 ms
(0.83%)
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.71%)
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.70%)
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.68%)
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.68%)
6
SELECT * FROM properties WHERE ((cid IN (1,120,6,2,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  121
]
0.77 ms
(0.58%)
5
SELECT * FROM properties WHERE ((cid IN (1,87,73,5,2,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  88
]
0.76 ms
(0.57%)
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.55%)
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.50%)
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.49%)
4
SELECT * FROM properties WHERE ((cid IN (1,82,73,5,2,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  83
]
0.57 ms
(0.43%)
4
SELECT * FROM properties WHERE ((cid IN (1,151,2,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  154
]
0.51 ms
(0.38%)
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.37%)
3
SELECT * FROM properties WHERE ((cid IN (1,160,159,151,2,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  169
]
0.46 ms
(0.35%)
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.35%)
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.34%)
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.33%)
3
SELECT * FROM properties WHERE ((cid IN (1,189,159,151,2,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  279
]
0.39 ms
(0.30%)
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.33 ms
(0.25%)
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.24%)
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.23%)
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.22%)
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.22%)
2
SELECT * FROM properties WHERE ((cid IN (1,215,159,151,2,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  362
]
0.19 ms
(0.14%)
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.13%)
1
SELECT id FROM sites ORDER BY (SELECT LENGTH(path) FROM documents WHERE documents.id = sites.rootId) DESC
Parameters:
[]
0.17 ms
(0.13%)
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.13%)
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.13%)
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.13%)
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.12%)
2
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[]
0.16 ms
(0.12%)
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.12%)
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.12%)
1
SELECT * FROM properties WHERE ((cid IN (1,16923,16915,2,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  16943
]
0.16 ms
(0.12%)
1
SELECT * FROM properties WHERE ((cid IN (1,340,151,2,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  23
]
0.15 ms
(0.12%)
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.11%)
1
SELECT * FROM properties WHERE ((cid IN (1,16915,2,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  16923
]
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.11 ms
(0.08%)
1
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  23
]
0.10 ms
(0.08%)
1
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "reports"
  "scope" => "pimcore"
]
0.10 ms
(0.08%)
1
SELECT id FROM documents WHERE path = BINARY :path AND `key` = BINARY :key
Parameters:
[
  "key" => "e-parts-store"
  "path" => "/oesterreich/de/baumaschinen/services/"
]
0.09 ms
(0.07%)
1
SELECT id FROM targeting_target_groups UNION SELECT id FROM targeting_rules LIMIT 1
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.