https://cessda.openconcept.no/Training/Training-Resources/Resource-crd-5

Query Metrics

27 Database Queries
10 Different statements
4.33 ms Query time
0 Invalid entities

Queries

Group similar statements

# Time Info
1 0.42 ms
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 IS NULL AND priority = 99 ORDER BY `priority` DESC
Parameters:
[
  "sourcePath" => "/Training/Training-Resources/Resource-crd-5"
  "sourcePathQuery" => "/Training/Training-Resources/Resource-crd-5"
  "sourceEntireUri" => "https://cessda.openconcept.no/Training/Training-Resources/Resource-crd-5"
  "typePath" => "path"
  "typePathQuery" => "path_query"
  "typeEntireUri" => "entire_uri"
  "typeAuto" => "auto_create"
]
2 0.12 ms
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "reports"
  "scope" => "pimcore"
]
3 0.13 ms
SELECT id FROM documents WHERE path = BINARY :path AND `key` = BINARY :key
Parameters:
[
  "key" => "Resource-crd-5"
  "path" => "/Training/Training-Resources/"
]
4 0.11 ms
SELECT id FROM documents_page WHERE prettyUrl = :prettyUrl
Parameters:
[
  "prettyUrl" => "/Training/Training-Resources/Resource-crd-5"
]
5 0.11 ms
SELECT id FROM documents WHERE path = BINARY :path AND `key` = BINARY :key
Parameters:
[
  "key" => "Training-Resources"
  "path" => "/Training/"
]
6 0.14 ms
SELECT id FROM targeting_target_groups UNION SELECT id FROM targeting_rules LIMIT 1
Parameters:
[]
7 0.10 ms
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "1"
]
8 0.09 ms
SELECT id FROM classes WHERE name = ?
Parameters:
[
  "ResourceCollection"
]
9 0.08 ms
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "4"
]
10 0.41 ms
SELECT r.src_id as dest_id, r.src_id as id, r.type, o.o_className as subtype, o.o_published as published, concat(o.o_path ,o.o_key) as path , r.index
            FROM objects o, object_relations_4 r
            WHERE r.fieldname= ?
            AND r.ownertype = 'object'
            AND r.dest_id = ?
            AND o.o_id = r.src_id
            AND r.type='object'

            UNION SELECT r.src_id as dest_id, r.src_id as id, r.type,  a.type as subtype, "null" as published, concat(a.path,a.filename) as path, r.index
            FROM assets a, object_relations_4 r
            WHERE r.fieldname= ?
            AND r.ownertype = 'object'
            AND r.dest_id = ?
            AND a.id = r.src_id
            AND r.type='asset'

            UNION SELECT r.src_id as dest_id, r.src_id as id, r.type, d.type as subtype, d.published as published, concat(d.path,d.key) as path, r.index
            FROM documents d, object_relations_4 r
            WHERE r.fieldname= ?
            AND r.ownertype = 'object'
            AND r.dest_id = ?
            AND d.id = r.src_id
            AND r.type='document'

            ORDER BY `index` ASC
Parameters:
[
  "resource_item"
  5
  "resource_item"
  5
  "resource_item"
  5
]
11 0.20 ms
SELECT 1 FROM objects o WHERE o_parentId = ?  AND o_published = 1 AND o_type IN ('object','folder') LIMIT 1
Parameters:
[
  5
]
12 0.18 ms
SELECT objects.o_id as o_id, objects.o_type as o_type FROM objects WHERE (o_parentId = ? AND  objects.o_type IN ('object','folder')) AND objects.o_published = 1 ORDER BY `o_key` ASC
Parameters:
[
  5
]
13 0.16 ms
SELECT 1 FROM objects o WHERE o_parentId = ?  AND o_published = 1 AND o_type IN ('object','folder') LIMIT 1
Parameters:
[
  2538
]
14 0.13 ms
SELECT 1 FROM objects o WHERE o_parentId = ?  AND o_published = 1 AND o_type IN ('object','folder') LIMIT 1
Parameters:
[
  2577
]
15 0.13 ms
SELECT 1 FROM objects o WHERE o_parentId = ?  AND o_published = 1 AND o_type IN ('object','folder') LIMIT 1
Parameters:
[
  23
]
16 0.14 ms
SELECT 1 FROM objects o WHERE o_parentId = ?  AND o_published = 1 AND o_type IN ('object','folder') LIMIT 1
Parameters:
[
  22
]
17 0.16 ms
SELECT objects.o_id as o_id, objects.o_type as o_type FROM objects WHERE (o_parentId = ? AND  objects.o_type IN ('object','folder')) AND objects.o_published = 1 ORDER BY `o_key` ASC
Parameters:
[
  22
]
18 0.14 ms
SELECT 1 FROM objects o WHERE o_parentId = ?  AND o_published = 1 AND o_type IN ('object','folder') LIMIT 1
Parameters:
[
  24
]
19 0.16 ms
SELECT objects.o_id as o_id, objects.o_type as o_type FROM objects WHERE (o_parentId = ? AND  objects.o_type IN ('object','folder')) AND objects.o_published = 1 ORDER BY `o_key` ASC
Parameters:
[
  24
]
20 0.14 ms
SELECT 1 FROM objects o WHERE o_parentId = ?  AND o_published = 1 AND o_type IN ('object','folder') LIMIT 1
Parameters:
[
  30
]
21 0.15 ms
SELECT objects.o_id as o_id, objects.o_type as o_type FROM objects WHERE (o_parentId = ? AND  objects.o_type IN ('object','folder')) AND objects.o_published = 1 ORDER BY `o_key` ASC
Parameters:
[
  30
]
22 0.16 ms
SELECT 1 FROM objects o WHERE o_parentId = ?  AND o_published = 1 AND o_type IN ('object','folder') LIMIT 1
Parameters:
[
  27
]
23 0.16 ms
SELECT objects.o_id as o_id, objects.o_type as o_type FROM objects WHERE (o_parentId = ? AND  objects.o_type IN ('object','folder')) AND objects.o_published = 1 ORDER BY `o_key` ASC
Parameters:
[
  27
]
24 0.15 ms
SELECT 1 FROM objects o WHERE o_parentId = ?  AND o_published = 1 AND o_type IN ('object','folder') LIMIT 1
Parameters:
[
  31
]
25 0.15 ms
SELECT objects.o_id as o_id, objects.o_type as o_type FROM objects WHERE (o_parentId = ? AND  objects.o_type IN ('object','folder')) AND objects.o_published = 1 ORDER BY `o_key` ASC
Parameters:
[
  31
]
26 0.15 ms
SELECT 1 FROM objects o WHERE o_parentId = ?  AND o_published = 1 AND o_type IN ('object','folder') LIMIT 1
Parameters:
[
  25
]
27 0.16 ms
SELECT objects.o_id as o_id, objects.o_type as o_type FROM objects WHERE (o_parentId = ? AND  objects.o_type IN ('object','folder')) AND objects.o_published = 1 ORDER BY `o_key` ASC
Parameters:
[
  25
]

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.