Query Metrics

1004 Database Queries
47 Different statements
130.14 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

Time Count Info
34.88 ms
(26.80%)
386
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:
[
  15557
]
27.31 ms
(20.99%)
103
SELECT id FROM documents d WHERE parentId = ?  AND published = 1 LIMIT 1
Parameters:
[
  15558
]
20.87 ms
(16.04%)
162
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:
[
  15558
]
13.71 ms
(10.53%)
164
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:
[
  15701
]
4.40 ms
(3.38%)
41
SELECT documents.id, documents.type FROM documents WHERE  (parentId = ?) AND published = 1 ORDER BY `index` ASC
Parameters:
[
  15557
]
3.43 ms
(2.63%)
13
SELECT * FROM properties WHERE ((cid IN (1,15558,15557,1964) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15589
]
2.86 ms
(2.20%)
14
SELECT * FROM properties WHERE ((cid IN (1,15559,15557,1964) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15566
]
2.26 ms
(1.74%)
13
SELECT * FROM properties WHERE ((cid IN (1,15616,15589,15558,15557,1964) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15640
]
2.06 ms
(1.58%)
1
SELECT * FROM translations_messages WHERE language = ?
Parameters:
[
  "en"
]
1.98 ms
(1.52%)
8
SELECT * FROM properties WHERE ((cid IN (1,15592,15558,15557,1964) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15625
]
1.58 ms
(1.21%)
6
SELECT * FROM properties WHERE ((cid IN (1,15590,15558,15557,1964) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15619
]
1.31 ms
(1.01%)
5
SELECT * FROM properties WHERE ((cid IN (1,15631,15592,15558,15557,1964) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15719
]
1.21 ms
(0.93%)
6
SELECT * FROM properties WHERE ((cid IN (1,15589,15558,15557,1964) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15616
]
1.05 ms
(0.81%)
8
SELECT * FROM properties WHERE cid = ? AND ctype='document'
Parameters:
[
  15566
]
1.05 ms
(0.80%)
4
SELECT * FROM properties WHERE ((cid IN (1,15630,15592,15558,15557,1964) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15668
]
0.97 ms
(0.75%)
3
SELECT * FROM properties WHERE ((cid IN (1,15629,15592,15558,15557,1964) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15693
]
0.95 ms
(0.73%)
9
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:
[
  15557
]
0.80 ms
(0.61%)
4
SELECT * FROM properties WHERE ((cid IN (1,15557,1964) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15558
]
0.69 ms
(0.53%)
8
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:
[
  15597
]
0.65 ms
(0.50%)
5
SELECT * FROM properties WHERE ((cid IN (1,15564,15561,15557,1964) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15606
]
0.55 ms
(0.42%)
3
SELECT * FROM properties WHERE ((cid IN (1,15635,15589,15558,15557,1964) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15667
]
0.50 ms
(0.39%)
4
SELECT * FROM properties WHERE ((cid IN (1,15561,15557,1964) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15563
]
0.43 ms
(0.33%)
3
SELECT * FROM properties WHERE ((cid IN (1,15673,15607,15564,15561,15557,1964) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15712
]
0.34 ms
(0.26%)
2
SELECT * FROM properties WHERE ((cid IN (1,15568,15559,15557,1964) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15655
]
0.30 ms
(0.23%)
2
SELECT * FROM properties WHERE ((cid IN (1,15572,15559,15557,1964) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15612
]
0.29 ms
(0.22%)
2
SELECT * FROM properties WHERE ((cid IN (1,15714,15673,15607,15564,15561,15557,1964) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15744
]
0.28 ms
(0.21%)
1
SELECT * FROM properties WHERE ((cid IN (1,15633,15592,15558,15557,1964) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15687
]
0.27 ms
(0.21%)
2
SELECT * FROM properties WHERE ((cid IN (1,15607,15564,15561,15557,1964) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15673
]
0.27 ms
(0.21%)
2
SELECT * FROM properties WHERE ((cid IN (1,15606,15564,15561,15557,1964) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15665
]
0.26 ms
(0.20%)
1
SELECT * FROM properties WHERE ((cid IN (1,16492,15558,15557,1964) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  16493
]
0.25 ms
(0.19%)
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 = '1' AND priority = 99 ORDER BY `priority` DESC
Parameters:
[
  "sourcePath" => "/en/construction-equipment/services/e-parts-store"
  "sourcePathQuery" => "/en/construction-equipment/services/e-parts-store"
  "sourceEntireUri" => "https://kuhn-de.roromedia.at/en/construction-equipment/services/e-parts-store"
  "typePath" => "path"
  "typePathQuery" => "path_query"
  "typeEntireUri" => "entire_uri"
  "typeAuto" => "auto_create"
]
0.19 ms
(0.15%)
1
SELECT * FROM properties WHERE ((cid IN (1,15613,15589,15558,15557,1964) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15664
]
0.19 ms
(0.14%)
2
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  15578
]
0.18 ms
(0.14%)
2
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[]
0.18 ms
(0.14%)
1
SELECT * FROM properties WHERE ((cid IN (1,15665,15606,15564,15561,15557,1964) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15704
]
0.17 ms
(0.13%)
1
SELECT * FROM properties WHERE ((cid IN (1,15614,15589,15558,15557,1964) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15638
]
0.16 ms
(0.13%)
1
SELECT id FROM sites ORDER BY (SELECT LENGTH(path) FROM documents WHERE documents.id = sites.rootId) DESC
Parameters:
[]
0.16 ms
(0.13%)
1
SELECT * FROM properties WHERE ((cid IN (1,15562,15561,15557,1964) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15578
]
0.16 ms
(0.12%)
1
SELECT * FROM properties WHERE ((cid IN (1,15617,15589,15558,15557,1964) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15639
]
0.16 ms
(0.12%)
1
SELECT * FROM properties WHERE ((cid IN (1,15615,15589,15558,15557,1964) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15637
]
0.15 ms
(0.12%)
1
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "reports"
  "scope" => "pimcore"
]
0.15 ms
(0.12%)
1
SELECT * FROM properties WHERE ((cid IN (1,15573,15559,15557,1964) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15610
]
0.13 ms
(0.10%)
1
SELECT * FROM properties WHERE ((cid IN (1,15609,15564,15561,15557,1964) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15686
]
0.13 ms
(0.10%)
1
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:
[
  15653
]
0.12 ms
(0.09%)
1
SELECT * FROM object_url_slugs WHERE slug = '/en/construction-equipment/services/e-parts-store' AND (siteId = 1 OR siteId = 0) ORDER BY siteId DESC LIMIT 1
Parameters:
[]
0.08 ms
(0.06%)
1
SELECT id FROM documents WHERE path = BINARY :path AND `key` = BINARY :key
Parameters:
[
  "key" => "e-parts-store"
  "path" => "/deutschland/en/construction-equipment/services/"
]
0.08 ms
(0.06%)
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.