Query Metrics

827 Database Queries
61 Different statements
142.89 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

Time Count Info
29.67 ms
(20.76%)
254
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:
[
  2477
]
21.40 ms
(14.98%)
132
SELECT id FROM documents d WHERE parentId = ?  AND published = 1 LIMIT 1
Parameters:
[
  2453
]
14.17 ms
(9.91%)
108
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:
[
  2477
]
13.62 ms
(9.53%)
85
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:
[
  16909
]
8.61 ms
(6.02%)
1
SELECT * FROM translations_messages WHERE language = ?
Parameters:
[
  "de"
]
8.53 ms
(5.97%)
43
SELECT documents.id, documents.type FROM documents WHERE  (parentId = ?) AND published = 1 ORDER BY `index` ASC
Parameters:
[
  2451
]
4.15 ms
(2.90%)
14
SELECT * FROM properties WHERE ((cid IN (1,2453,2451,1966) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  2503
]
4.03 ms
(2.82%)
13
SELECT * FROM properties WHERE ((cid IN (1,2455,2451,1966) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  2479
]
2.31 ms
(1.62%)
9
SELECT * FROM properties WHERE ((cid IN (1,2506,2453,2451,1966) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  2594
]
2.26 ms
(1.58%)
13
SELECT * FROM properties WHERE ((cid IN (1,2581,2503,2453,2451,1966) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  2614
]
1.82 ms
(1.27%)
6
SELECT * FROM properties WHERE ((cid IN (1,2451,1966) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  2453
]
1.81 ms
(1.26%)
10
SELECT * FROM properties WHERE ((cid IN (1,3215,2503,2453,2451,1966) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  3220
]
1.63 ms
(1.14%)
7
SELECT * FROM properties WHERE ((cid IN (1,2503,2453,2451,1966) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  2581
]
1.61 ms
(1.12%)
7
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:
[
  2520
]
1.43 ms
(1.00%)
5
SELECT * FROM properties WHERE ((cid IN (1,2600,2506,2453,2451,1966) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  2768
]
1.41 ms
(0.99%)
6
SELECT * FROM properties WHERE ((cid IN (1,2504,2453,2451,1966) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  2588
]
1.26 ms
(0.88%)
8
SELECT * FROM properties WHERE cid = ? AND ctype='document'
Parameters:
[
  2472
]
1.24 ms
(0.87%)
4
SELECT * FROM properties WHERE ((cid IN (1,16855,2451,1966) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  16858
]
1.20 ms
(0.84%)
4
SELECT * FROM properties WHERE ((cid IN (1,2598,2506,2453,2451,1966) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  2694
]
1.12 ms
(0.79%)
8
SELECT * FROM properties WHERE ((cid IN (1,2584,2503,2453,2451,1966) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  2657
]
1.12 ms
(0.79%)
4
SELECT * FROM properties WHERE ((cid IN (1,2650,2544,2469,2457,2451,1966) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  2727
]
1.12 ms
(0.79%)
1
SELECT * FROM object_relations_SiteConfig WHERE src_id = ?
Parameters:
[
  538
]
1.08 ms
(0.75%)
4
SELECT * FROM properties WHERE ((cid IN (1,2585,2503,2453,2451,1966) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  2604
]
1.06 ms
(0.74%)
4
SELECT * FROM properties WHERE ((cid IN (1,2599,2506,2453,2451,1966) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  2665
]
1.05 ms
(0.74%)
4
SELECT * FROM properties WHERE ((cid IN (1,2457,2451,1966) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  2468
]
1.02 ms
(0.71%)
4
SELECT * FROM properties WHERE ((cid IN (1,2469,2457,2451,1966) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  2544
]
0.92 ms
(0.64%)
3
SELECT * FROM properties WHERE ((cid IN (1,16935,16934,2503,2453,2451,1966) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  16937
]
0.80 ms
(0.56%)
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:
[
  2508
]
0.79 ms
(0.55%)
3
SELECT * FROM properties WHERE ((cid IN (1,2670,2545,2469,2457,2451,1966) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  2752
]
0.70 ms
(0.49%)
2
SELECT * FROM properties WHERE ((cid IN (1,2467,2457,2451,1966) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  2493
]
0.69 ms
(0.48%)
6
SELECT id FROM documents WHERE path = BINARY :path AND `key` = BINARY :key
Parameters:
[
  "key" => "kontakt"
  "path" => "/schweiz/de/kuhn-world/"
]
0.63 ms
(0.44%)
4
SELECT documents.id FROM documents
            LEFT JOIN documents_page ON documents.id = documents_page.id
            WHERE documents.path LIKE ? AND documents_page.prettyUrl = ?
Parameters:
[
  "/schweiz/%"
  "/de/kuhn-world/kontakt"
]
0.59 ms
(0.42%)
2
SELECT * FROM properties WHERE ((cid IN (1,2478,2455,2451,1966) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  2568
]
0.55 ms
(0.38%)
2
SELECT * FROM properties WHERE ((cid IN (1,2545,2469,2457,2451,1966) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  2670
]
0.54 ms
(0.37%)
2
SELECT * FROM properties WHERE ((cid IN (1,2754,2670,2545,2469,2457,2451,1966) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  2816
]
0.53 ms
(0.37%)
2
SELECT * FROM properties WHERE ((cid IN (1,16934,2503,2453,2451,1966) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  16935
]
0.53 ms
(0.37%)
3
SELECT id,language FROM documents_translations WHERE sourceId = ? UNION SELECT sourceId as id,"source" FROM documents_translations WHERE id = ?
Parameters:
[
  15144
  15144
]
0.50 ms
(0.35%)
2
SELECT * FROM properties WHERE ((cid IN (1,2544,2469,2457,2451,1966) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  2650
]
0.45 ms
(0.31%)
1
SELECT * FROM object_store_SiteConfig WHERE oo_id = ?
Parameters:
[
  538
]
0.42 ms
(0.29%)
2
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:
[
  16601
]
0.42 ms
(0.29%)
4
SELECT id FROM documents_page WHERE prettyUrl = :prettyUrl
Parameters:
[
  "prettyUrl" => "/de/kuhn-world/kontakt"
]
0.38 ms
(0.26%)
1
SELECT * FROM object_localized_data_SiteConfig WHERE ooo_id = ? AND language IN ('en')
Parameters:
[
  538
]
0.31 ms
(0.22%)
1
SELECT * FROM properties WHERE ((cid IN (1,12021,2503,2453,2451,1966) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  12020
]
0.30 ms
(0.21%)
2
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  2493
]
0.30 ms
(0.21%)
1
SELECT * FROM properties WHERE ((cid IN (1,2479,2455,2451,1966) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  2556
]
0.28 ms
(0.19%)
2
SELECT * FROM properties WHERE ((cid IN (1,16764,2503,2453,2451,1966) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  16766
]
0.27 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 = '3' AND priority = 99 ORDER BY `priority` DESC
Parameters:
[
  "sourcePath" => "/de/kuhn-world/kontakt"
  "sourcePathQuery" => "/de/kuhn-world/kontakt"
  "sourceEntireUri" => "https://kuhn-ch.roromedia.at/de/kuhn-world/kontakt"
  "typePath" => "path"
  "typePathQuery" => "path_query"
  "typeEntireUri" => "entire_uri"
  "typeAuto" => "auto_create"
]
0.27 ms
(0.19%)
1
SELECT * FROM properties WHERE ((cid IN (1,2602,2506,2453,2451,1966) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  2688
]
0.26 ms
(0.19%)
1
SELECT id FROM sites ORDER BY (SELECT LENGTH(path) FROM documents WHERE documents.id = sites.rootId) DESC
Parameters:
[]
0.25 ms
(0.17%)
1
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "reports"
  "scope" => "pimcore"
]
0.22 ms
(0.15%)
1
SELECT id,language FROM documents_translations WHERE sourceId IN(?, ?) UNION SELECT sourceId as id,"source" FROM documents_translations WHERE id = ?
Parameters:
[
  2479
  2479
  2479
]
0.21 ms
(0.15%)
2
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[]
0.17 ms
(0.12%)
1
SELECT * FROM object_url_slugs WHERE slug = '/de/kuhn-world/kontakt' AND (siteId = 3 OR siteId = 0) ORDER BY siteId DESC LIMIT 1
Parameters:
[]
0.15 ms
(0.10%)
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:
[
  538
]
0.14 ms
(0.10%)
1
SELECT sourceId FROM documents_translations WHERE id = ?
Parameters:
[
  2479
]
0.12 ms
(0.08%)
1
SELECT id FROM targeting_target_groups UNION SELECT id FROM targeting_rules LIMIT 1
Parameters:
[]
0.12 ms
(0.08%)
1
SELECT o_type,o_className,o_classId FROM objects WHERE o_id = ?
Parameters:
[
  538
]
0.11 ms
(0.08%)
1
SELECT * FROM object_url_slugs WHERE slug = '/de/kuhn-world/kontakt' AND siteId = 0 ORDER BY siteId DESC LIMIT 1
Parameters:
[]
0.11 ms
(0.07%)
1
SELECT id FROM settings_store WHERE scope = ?
Parameters:
[
  "pimcore_staticroutes"
]
0.08 ms
(0.06%)
1
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "SiteConfig"
]
0.08 ms
(0.05%)
1
select `sharingServices` from object_store_SiteConfig where oo_id  = 538
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.