Query Metrics

558 Database Queries
35 Different statements
107.80 ms Query time
0 Invalid entities
0 Managed entities

Grouped Statements

Show all queries

Time Count Info
24.73 ms
(22.94%)
124
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:
[
  351
]
23.55 ms
(21.85%)
136
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:
[
  351
]
21.64 ms
(20.07%)
130
SELECT id FROM documents d WHERE parentId = ?  AND published = 1 LIMIT 1
Parameters:
[
  1
]
21.42 ms
(19.87%)
96
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,12,5) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  240
]
2.16 ms
(2.00%)
10
SELECT documents.id, documents.type FROM documents WHERE  (parentId = ?) AND published = 1 ORDER BY `index` ASC
Parameters:
[
  1
]
1.47 ms
(1.37%)
7
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,7,5) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  338
]
1.20 ms
(1.11%)
4
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,341,4) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  342
]
1.17 ms
(1.09%)
5
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  5
]
1.11 ms
(1.03%)
4
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,4) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  341
]
1.06 ms
(0.99%)
4
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,3) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  364
]
1.04 ms
(0.96%)
4
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,344) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  345
]
0.95 ms
(0.88%)
4
SELECT assets.*, tree_locks.locked FROM assets
            LEFT JOIN tree_locks ON assets.id = tree_locks.id AND tree_locks.type = 'asset'
                WHERE assets.id = ?
Parameters:
[
  666
]
0.87 ms
(0.81%)
2
INSERT INTO lock_keys (key_id, key_token, key_expiration) VALUES (?, ?, UNIX_TIMESTAMP(NOW(6)) + 300)
Parameters:
[
  "56077d86c930853c3d6d19af78a9d93e0618bf805082ea53d76a848b5f59d071"
  "zxjGUBowL7hS4Qm0FZAhUs00nZyurt6ZoWfz1Haw1DI="
]
0.69 ms
(0.64%)
3
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,5) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  7
]
0.43 ms
(0.40%)
1
SELECT * FROM sites WHERE mainDomain = ? OR domains LIKE ?
Parameters:
[
  "dev.eassh.eu"
  "%"dev.eassh.eu"%"
]
0.37 ms
(0.35%)
3
SELECT 1 FROM lock_keys WHERE key_id = ? AND key_token = ? AND key_expiration > UNIX_TIMESTAMP(NOW(6))
Parameters:
[
  "56077d86c930853c3d6d19af78a9d93e0618bf805082ea53d76a848b5f59d071"
  "zxjGUBowL7hS4Qm0FZAhUs00nZyurt6ZoWfz1Haw1DI="
]
0.32 ms
(0.30%)
2
UPDATE lock_keys SET key_expiration = UNIX_TIMESTAMP(NOW(6)) + ?, key_token = ? WHERE key_id = ? AND (key_token = ? OR key_expiration <= UNIX_TIMESTAMP(NOW(6)))
Parameters:
[
  300
  "zxjGUBowL7hS4Qm0FZAhUs00nZyurt6ZoWfz1Haw1DI="
  "56077d86c930853c3d6d19af78a9d93e0618bf805082ea53d76a848b5f59d071"
  "zxjGUBowL7hS4Qm0FZAhUs00nZyurt6ZoWfz1Haw1DI="
]
0.31 ms
(0.29%)
1
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,364,3) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  375
]
0.29 ms
(0.27%)
2
SELECT id FROM documents WHERE `path` = BINARY ? AND `key` = BINARY ?
Parameters:
[
  "/Publications/Position-Papers/"
  "EASSH-responds-to-the-Consultation-on-EU-funds-in-the-area-of-investment--research--innovation--SMEs-and-single-market~p462"
]
0.28 ms
(0.26%)
1
SELECT * FROM redirects WHERE
            (
                (source = ? AND (`type` = ? OR `type` = ?)) OR
                (source = ? AND `type` = ?) OR
                (source = ? AND `type` = ?)
            ) AND active = 1 AND (regex IS NULL OR regex = 0) AND (expiry > UNIX_TIMESTAMP() OR expiry IS NULL) AND sourceSite IS NULL AND priority = 99 ORDER BY `priority` DESC
Parameters:
[
  "/Publications/Position-Papers/EASSH-responds-to-the-Consultation-on-EU-funds-in-the-area-of-investment--research--innovation--SMEs-and-single-market~p462"
  "path"
  "auto_create"
  "/Publications/Position-Papers/EASSH-responds-to-the-Consultation-on-EU-funds-in-the-area-of-investment--research--innovation--SMEs-and-single-market~p462"
  "path_query"
  "https://dev.eassh.eu/Publications/Position-Papers/EASSH-responds-to-the-Consultation-on-EU-funds-in-the-area-of-investment--research--innovation--SMEs-and-single-market~p462"
  "entire_uri"
]
0.27 ms
(0.25%)
1
DELETE FROM lock_keys WHERE key_id = ? AND key_token = ?
Parameters:
[
  "56077d86c930853c3d6d19af78a9d93e0618bf805082ea53d76a848b5f59d071"
  "zxjGUBowL7hS4Qm0FZAhUs00nZyurt6ZoWfz1Haw1DI="
]
0.26 ms
(0.24%)
1
SELECT tagid FROM tags_assignment WHERE cid = ? AND ctype = ?
Parameters:
[
  462
  "object"
]
0.23 ms
(0.22%)
1
SELECT * FROM assets_image_thumbnail_cache WHERE cid = ?
Parameters:
[
  719
]
0.23 ms
(0.21%)
1
SELECT id FROM sites ORDER BY (SELECT LENGTH(CONCAT(`path`, `key`)) FROM documents WHERE documents.id = sites.rootId) DESC
Parameters:
[]
0.21 ms
(0.20%)
1
SELECT * FROM object_relations_4 WHERE src_id = ?
Parameters:
[
  462
]
0.21 ms
(0.20%)
1
SELECT objects.*, tree_locks.locked as locked FROM objects
            LEFT JOIN tree_locks ON objects.id = tree_locks.id AND tree_locks.type = 'object'
                WHERE objects.id = ?
Parameters:
[
  462
]
0.19 ms
(0.18%)
1
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,2) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  351
]
0.18 ms
(0.17%)
1
SELECT * FROM settings_store WHERE id = ? AND scope = ?
Parameters:
[
  "BUNDLE_INSTALLED__Pimcore\Bundle\SeoBundle\PimcoreSeoBundle"
  "pimcore"
]
0.18 ms
(0.17%)
1
SELECT id FROM redirects WHERE active = 1 AND regex = 1  ORDER BY `priority` DESC
Parameters:
[]
0.15 ms
(0.14%)
1
SELECT `type`,`className`,`classId` FROM objects WHERE `id` = ?
Parameters:
[
  462
]
0.13 ms
(0.12%)
1
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "4"
]
0.13 ms
(0.12%)
1
SELECT id FROM documents_page WHERE prettyUrl = ?
Parameters:
[
  "/Publications/Position-Papers/EASSH-responds-to-the-Consultation-on-EU-funds-in-the-area-of-investment--research--innovation--SMEs-and-single-market~p462"
]
0.13 ms
(0.12%)
1
SELECT * FROM tmp_store WHERE id = ?
Parameters:
[
  "maintenance_mode"
]
0.12 ms
(0.12%)
1
SELECT * FROM object_store_4 WHERE oo_id = ? FOR UPDATE
Parameters:
[
  462
]
0.11 ms
(0.10%)
1
SELECT id,domains FROM sites
Parameters:
[]

Database Connections

Name Service
default doctrine.dbal.default_connection

Entity Managers

Name Service
pimcore doctrine.orm.pimcore_entity_manager

Second Level Cache

Second Level Cache is not enabled.

Managed Entities

pimcore entity manager

Class Amount of managed objects

Entities Mapping

No loaded entities.