Query Metrics

995 Database Queries
47 Different statements
179.66 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

Time Count Info
47.08 ms
(26.21%)
381
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:
[
  15558
]
41.11 ms
(22.88%)
103
SELECT id FROM documents d WHERE parentId = ?  AND published = 1 LIMIT 1
Parameters:
[
  15558
]
23.09 ms
(12.85%)
158
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
]
23.02 ms
(12.82%)
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
]
6.34 ms
(3.53%)
41
SELECT documents.id, documents.type FROM documents WHERE  (parentId = ?) AND published = 1 ORDER BY `index` ASC
Parameters:
[
  15557
]
3.74 ms
(2.08%)
13
SELECT * FROM properties WHERE ((cid IN (1,15616,15589,15558,15557,1964) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15640
]
3.63 ms
(2.02%)
14
SELECT * FROM properties WHERE ((cid IN (1,15559,15557,1964) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15774
]
3.31 ms
(1.84%)
13
SELECT * FROM properties WHERE ((cid IN (1,15558,15557,1964) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15589
]
3.26 ms
(1.82%)
1
SELECT * FROM translations_messages WHERE language = ?
Parameters:
[
  "en"
]
2.56 ms
(1.43%)
9
SELECT * FROM properties WHERE ((cid IN (1,15592,15558,15557,1964) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15625
]
1.68 ms
(0.94%)
6
SELECT * FROM properties WHERE ((cid IN (1,15589,15558,15557,1964) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15616
]
1.55 ms
(0.86%)
6
SELECT * FROM properties WHERE ((cid IN (1,15590,15558,15557,1964) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15619
]
1.39 ms
(0.78%)
5
SELECT * FROM properties WHERE ((cid IN (1,15631,15592,15558,15557,1964) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15719
]
1.24 ms
(0.69%)
4
SELECT * FROM properties WHERE ((cid IN (1,15630,15592,15558,15557,1964) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15668
]
1.18 ms
(0.66%)
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
]
1.17 ms
(0.65%)
8
SELECT * FROM properties WHERE cid = ? AND ctype='document'
Parameters:
[
  15566
]
1.17 ms
(0.65%)
5
SELECT * FROM properties WHERE ((cid IN (1,15564,15561,15557,1964) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15606
]
1.14 ms
(0.63%)
3
SELECT * FROM properties WHERE ((cid IN (1,15629,15592,15558,15557,1964) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15693
]
0.98 ms
(0.54%)
4
SELECT * FROM properties WHERE ((cid IN (1,15557,1964) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15558
]
0.94 ms
(0.53%)
8
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:
[
  15582
]
0.91 ms
(0.50%)
4
SELECT * FROM properties WHERE ((cid IN (1,15561,15557,1964) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15563
]
0.78 ms
(0.43%)
3
SELECT * FROM properties WHERE ((cid IN (1,15635,15589,15558,15557,1964) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15667
]
0.76 ms
(0.42%)
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.60 ms
(0.33%)
2
SELECT * FROM properties WHERE ((cid IN (1,15568,15559,15557,1964) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15655
]
0.54 ms
(0.30%)
2
SELECT * FROM properties WHERE ((cid IN (1,15572,15559,15557,1964) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15612
]
0.52 ms
(0.29%)
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.49 ms
(0.27%)
2
SELECT * FROM properties WHERE ((cid IN (1,15606,15564,15561,15557,1964) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15665
]
0.48 ms
(0.27%)
2
SELECT * FROM properties WHERE ((cid IN (1,15607,15564,15561,15557,1964) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15673
]
0.47 ms
(0.26%)
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/kuhn-world/whistleblower"
  "sourcePathQuery" => "/en/kuhn-world/whistleblower"
  "sourceEntireUri" => "https://kuhn-de.roromedia.at/en/kuhn-world/whistleblower"
  "typePath" => "path"
  "typePathQuery" => "path_query"
  "typeEntireUri" => "entire_uri"
  "typeAuto" => "auto_create"
]
0.45 ms
(0.25%)
1
SELECT * FROM properties WHERE ((cid IN (1,15617,15589,15558,15557,1964) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15639
]
0.33 ms
(0.19%)
1
SELECT * FROM properties WHERE ((cid IN (1,15633,15592,15558,15557,1964) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15687
]
0.29 ms
(0.16%)
1
SELECT * FROM properties WHERE ((cid IN (1,15613,15589,15558,15557,1964) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15664
]
0.28 ms
(0.16%)
1
SELECT id FROM sites ORDER BY (SELECT LENGTH(path) FROM documents WHERE documents.id = sites.rootId) DESC
Parameters:
[]
0.27 ms
(0.15%)
1
SELECT * FROM properties WHERE ((cid IN (1,15573,15559,15557,1964) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15610
]
0.27 ms
(0.15%)
2
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  15581
]
0.27 ms
(0.15%)
1
SELECT * FROM properties WHERE ((cid IN (1,16492,15558,15557,1964) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  16493
]
0.27 ms
(0.15%)
1
SELECT * FROM properties WHERE ((cid IN (1,15615,15589,15558,15557,1964) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15637
]
0.26 ms
(0.15%)
1
SELECT * FROM properties WHERE ((cid IN (1,15614,15589,15558,15557,1964) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15638
]
0.26 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.25 ms
(0.14%)
1
SELECT * FROM properties WHERE ((cid IN (1,15609,15564,15561,15557,1964) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15686
]
0.25 ms
(0.14%)
1
SELECT * FROM properties WHERE ((cid IN (1,15562,15561,15557,1964) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15581
]
0.24 ms
(0.13%)
2
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[]
0.21 ms
(0.12%)
1
SELECT * FROM object_url_slugs WHERE slug = '/en/kuhn-world/whistleblower' AND (siteId = 1 OR siteId = 0) ORDER BY siteId DESC LIMIT 1
Parameters:
[]
0.17 ms
(0.09%)
1
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "reports"
  "scope" => "pimcore"
]
0.16 ms
(0.09%)
1
SELECT id FROM documents WHERE path = BINARY :path AND `key` = BINARY :key
Parameters:
[
  "key" => "whistleblower"
  "path" => "/deutschland/en/kuhn-world/"
]
0.16 ms
(0.09%)
1
SELECT id FROM targeting_target_groups UNION SELECT id FROM targeting_rules LIMIT 1
Parameters:
[]
0.15 ms
(0.08%)
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
]

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.