Query Metrics

1002 Database Queries
54 Different statements
176.00 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

Time Count Info
46.13 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
]
40.42 ms
(22.97%)
103
SELECT id FROM documents d WHERE parentId = ?  AND published = 1 LIMIT 1
Parameters:
[
  15558
]
23.04 ms
(13.09%)
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
]
22.89 ms
(13.00%)
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
]
6.61 ms
(3.76%)
41
SELECT documents.id, documents.type FROM documents WHERE  (parentId = ?) AND published = 1 ORDER BY `index` ASC
Parameters:
[
  15557
]
3.70 ms
(2.10%)
13
SELECT * FROM properties WHERE ((cid IN (1,15616,15589,15558,15557,1964) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15640
]
3.62 ms
(2.06%)
14
SELECT * FROM properties WHERE ((cid IN (1,15559,15557,1964) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15573
]
3.23 ms
(1.84%)
13
SELECT * FROM properties WHERE ((cid IN (1,15558,15557,1964) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15589
]
2.52 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.76 ms
(1.00%)
1
SELECT * FROM translations_messages WHERE language = ?
Parameters:
[
  "en"
]
1.68 ms
(0.96%)
5
SELECT * FROM properties WHERE ((cid IN (1,15631,15592,15558,15557,1964) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15719
]
1.63 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.44 ms
(0.82%)
6
SELECT * FROM properties WHERE ((cid IN (1,15590,15558,15557,1964) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15619
]
1.21 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.16 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.14 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.11 ms
(0.63%)
8
SELECT * FROM properties WHERE cid = ? AND ctype='document'
Parameters:
[
  15566
]
1.10 ms
(0.62%)
3
SELECT * FROM properties WHERE ((cid IN (1,15629,15592,15558,15557,1964) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15693
]
0.88 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.84 ms
(0.48%)
4
SELECT * FROM properties WHERE ((cid IN (1,15557,1964) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15558
]
0.76 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.75 ms
(0.43%)
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.73 ms
(0.41%)
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.52 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,15568,15559,15557,1964) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15655
]
0.50 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.28%)
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.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.44 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.35 ms
(0.20%)
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/contact"
  "sourcePathQuery" => "/en/kuhn-world/contact"
  "sourceEntireUri" => "https://kuhn-de.roromedia.at/en/kuhn-world/contact"
  "typePath" => "path"
  "typePathQuery" => "path_query"
  "typeEntireUri" => "entire_uri"
  "typeAuto" => "auto_create"
]
0.31 ms
(0.18%)
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.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%)
1
SELECT * FROM properties WHERE ((cid IN (1,15615,15589,15558,15557,1964) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15637
]
0.27 ms
(0.15%)
2
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  15581
]
0.26 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.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.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.26 ms
(0.15%)
2
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[]
0.26 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.25 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.23 ms
(0.13%)
1
SELECT * FROM properties WHERE ((cid IN (1,15609,15564,15561,15557,1964) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15686
]
0.18 ms
(0.10%)
1
SELECT id FROM sites ORDER BY (SELECT LENGTH(path) FROM documents WHERE documents.id = sites.rootId) DESC
Parameters:
[]
0.15 ms
(0.08%)
1
SELECT * FROM object_relations_SiteConfig WHERE src_id = ?
Parameters:
[
  500
]
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
]
0.13 ms
(0.08%)
1
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:
[
  500
]
0.12 ms
(0.07%)
1
SELECT * FROM object_url_slugs WHERE slug = '/en/kuhn-world/contact' AND (siteId = 1 OR siteId = 0) ORDER BY siteId DESC LIMIT 1
Parameters:
[]
0.10 ms
(0.06%)
1
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "reports"
  "scope" => "pimcore"
]
0.10 ms
(0.06%)
1
SELECT id FROM documents WHERE path = BINARY :path AND `key` = BINARY :key
Parameters:
[
  "key" => "contact"
  "path" => "/deutschland/en/kuhn-world/"
]
0.10 ms
(0.06%)
1
SELECT id FROM targeting_target_groups UNION SELECT id FROM targeting_rules LIMIT 1
Parameters:
[]
0.09 ms
(0.05%)
1
SELECT * FROM object_store_SiteConfig WHERE oo_id = ?
Parameters:
[
  500
]
0.09 ms
(0.05%)
1
SELECT o_type,o_className,o_classId FROM objects WHERE o_id = ?
Parameters:
[
  500
]
0.09 ms
(0.05%)
1
SELECT * FROM object_localized_data_SiteConfig WHERE ooo_id = ? AND language IN ('en')
Parameters:
[
  500
]
0.08 ms
(0.04%)
1
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "SiteConfig"
]
0.07 ms
(0.04%)
1
select `sharingServices` from object_store_SiteConfig where oo_id  = 500
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.