Query Metrics

136 Database Queries
38 Different statements
106.17 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

Time Count Info
42.15 ms
(39.71%)
1
CREATE OR REPLACE VIEW `object_localized_22_fr` AS

SELECT `oo_id`,`oo_classId`,`oo_className`,`name`,`image`,`linksite`,`slug`,`id`,`parentId`,`type`,`key`,`path`,`index`,`published`,`creationDate`,`modificationDate`,`userOwner`,`userModification`,`classId`,`className`,`childrenSortBy`,`childrenSortOrder`,`versionCount`,`fr`.`ooo_id`,`fr`.`language`
FROM `object_query_22`
    JOIN `objects`
        ON (`objects`.`id` = `object_query_22`.`oo_id`)LEFT JOIN object_localized_query_22_fr as `fr`
    ON( 1
        AND object_query_22.oo_id = fr.ooo_id
    )
Parameters:
[]
25.33 ms
(23.86%)
56
SELECT item_id, CASE WHEN item_lifetime IS NULL OR item_lifetime + item_time > ? THEN item_data ELSE NULL END FROM cache_items WHERE item_id IN (?, ?)
Parameters:
[
  1770172885
  "\x01tags\x01site_domain_ea7e467d23ab80526c1d2a28ecf6eb8e"
  "site_domain_ea7e467d23ab80526c1d2a28ecf6eb8e"
]
5.46 ms
(5.14%)
13
SELECT * FROM assets_image_thumbnail_cache WHERE cid = ?
Parameters:
[
  36
]
4.31 ms
(4.06%)
1
DELETE FROM cache_items WHERE item_id IN (?, ?)
Parameters:
[
  "system\x01tags\x01"
  "resource\x01tags\x01"
]
4.16 ms
(3.92%)
1
INSERT INTO cache_items (item_id, item_data, item_lifetime, item_time) VALUES (?, ?, ?, ?) ON DUPLICATE KEY UPDATE item_data = VALUES(item_data), item_lifetime = VALUES(item_lifetime), item_time = VALUES(item_time)
Parameters:
[
  2 => 30
  3 => 1770172885
  0 => "system_cache_write_lock"
  1 => b"O:1:"©":1:{s:6:"l\x0EE\x07À\x1E";i:1770172885;}"
]
3.29 ms
(3.10%)
12
SELECT item_id, CASE WHEN item_lifetime IS NULL OR item_lifetime + item_time > ? THEN item_data ELSE NULL END FROM cache_items WHERE item_id IN (?, ?, ?)
Parameters:
[
  1770172885
  "system\x01tags\x01"
  "redirect\x01tags\x01"
  "route\x01tags\x01"
]
3.14 ms
(2.95%)
4
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:
[
  "/fr/qui-sommes-nous"
  "path"
  "auto_create"
  "/fr/qui-sommes-nous"
  "path_query"
  "https://flow.apik-pp.be/fr/qui-sommes-nous"
  "entire_uri"
]
1.99 ms
(1.87%)
1
SELECT object_localized_20_fr.id as id, object_localized_20_fr.type as `type` FROM object_localized_20_fr WHERE ( object_localized_20_fr.type IN ('object','variant','folder')) AND object_localized_20_fr.published = 1
Parameters:
[]
1.66 ms
(1.56%)
5
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:
[
  36
]
1.61 ms
(1.51%)
2
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  16
]
1.18 ms
(1.11%)
1
SELECT item_id, CASE WHEN item_lifetime IS NULL OR item_lifetime + item_time > ? THEN item_data ELSE NULL END FROM cache_items WHERE item_id IN (?, ?, ?, ?, ?, ?, ?)
Parameters:
[
  1770172885
  "document_2\x01tags\x01"
  "document_1\x01tags\x01"
  "asset_86\x01tags\x01"
  "asset_103\x01tags\x01"
  "asset_92\x01tags\x01"
  "asset_98\x01tags\x01"
  "asset_94\x01tags\x01"
]
0.90 ms
(0.85%)
4
SELECT item_id, CASE WHEN item_lifetime IS NULL OR item_lifetime + item_time > ? THEN item_data ELSE NULL END FROM cache_items WHERE item_id IN (?)
Parameters:
[
  1770172885
  "asset_30\x01tags\x01"
]
0.89 ms
(0.84%)
4
SELECT * FROM settings_store WHERE id = ? AND scope = ?
Parameters:
[
  "BUNDLE_INSTALLED__Pimcore\Bundle\SeoBundle\PimcoreSeoBundle"
  "pimcore"
]
0.81 ms
(0.77%)
1
SHOW COLUMNS FROM `object_localized_query_22_fr`
Parameters:
[]
0.78 ms
(0.73%)
1
SELECT id,language FROM documents_translations WHERE sourceId IN(?, ?) UNION SELECT sourceId as id,"source" FROM documents_translations WHERE id = ?
Parameters:
[
  16
  16
  16
]
0.77 ms
(0.73%)
2
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,7,2) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  44
]
0.75 ms
(0.70%)
1
SELECT item_id, CASE WHEN item_lifetime IS NULL OR item_lifetime + item_time > ? THEN item_data ELSE NULL END FROM cache_items WHERE item_id IN (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
Parameters:
[
  1770172885
  "output\x01tags\x01"
  "navigation\x01tags\x01"
  "document_7\x01tags\x01"
  "document_24\x01tags\x01"
  "document_25\x01tags\x01"
  "document_10\x01tags\x01"
  "document_11\x01tags\x01"
  "document_3\x01tags\x01"
  "document_4\x01tags\x01"
  "document_5\x01tags\x01"
  "document_14\x01tags\x01"
  "document_6\x01tags\x01"
  "document_16\x01tags\x01"
  "document_17\x01tags\x01"
  "document_18\x01tags\x01"
  "document_19\x01tags\x01"
  "document_20\x01tags\x01"
  "document_21\x01tags\x01"
  "document_22\x01tags\x01"
]
0.70 ms
(0.66%)
2
SELECT id FROM documents WHERE `path` = BINARY ? AND `key` = BINARY ?
Parameters:
[
  "/fr/"
  "qui-sommes-nous"
]
0.69 ms
(0.65%)
3
SELECT * FROM assets_metadata WHERE cid = ?
Parameters:
[
  36
]
0.50 ms
(0.47%)
2
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "20"
]
0.47 ms
(0.44%)
1
show columns from object_localized_data_22
Parameters:
[]
0.44 ms
(0.41%)
1
SHOW COLUMNS FROM object_localized_data_22
Parameters:
[]
0.43 ms
(0.41%)
2
SELECT object_22.id as id, object_22.type as `type` FROM object_22 WHERE ( object_22.type IN ('object','variant','folder')) AND object_22.published = 1
Parameters:
[]
0.42 ms
(0.40%)
1
SHOW COLUMNS FROM `objects`
Parameters:
[]
0.41 ms
(0.38%)
1
SHOW COLUMNS FROM object_localized_query_22_fr
Parameters:
[]
0.39 ms
(0.37%)
1
SELECT * FROM object_url_slugs WHERE slug = '/fr/qui-sommes-nous' AND siteId = 0 ORDER BY siteId DESC LIMIT 1
Parameters:
[]
0.38 ms
(0.36%)
1
SHOW COLUMNS FROM `object_query_22`
Parameters:
[]
0.37 ms
(0.35%)
1
SELECT sourceId FROM documents_translations WHERE id = ?
Parameters:
[
  16
]
0.36 ms
(0.34%)
1
show columns from object_localized_query_22_fr
Parameters:
[]
0.29 ms
(0.27%)
1
SELECT item_id, CASE WHEN item_lifetime IS NULL OR item_lifetime + item_time > ? THEN item_data ELSE NULL END FROM cache_items WHERE item_id IN (?, ?, ?, ?, ?, ?)
Parameters:
[
  1770172885
  "document_18\x01tags\x01"
  "asset_81\x01tags\x01"
  "asset_82\x01tags\x01"
  "asset_83\x01tags\x01"
  "asset_84\x01tags\x01"
  "asset_85\x01tags\x01"
]
0.27 ms
(0.25%)
1
SELECT item_id, CASE WHEN item_lifetime IS NULL OR item_lifetime + item_time > ? THEN item_data ELSE NULL END FROM cache_items WHERE item_id IN (?, ?, ?, ?, ?)
Parameters:
[
  1770172885
  "website_config\x01tags\x01"
  "system\x01tags\x01"
  "config\x01tags\x01"
  "output\x01tags\x01"
  "asset_105\x01tags\x01"
]
0.18 ms
(0.17%)
1
SHOW INDEXES FROM `object_localized_query_22_fr` WHERE Key_Name LIKE 'c\_%'
Parameters:
[]
0.17 ms
(0.16%)
1
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[]
0.14 ms
(0.13%)
1
SHOW INDEXES FROM `object_localized_data_22` WHERE Key_Name LIKE 'c\_%'
Parameters:
[]
0.11 ms
(0.11%)
1
CREATE TABLE IF NOT EXISTS `object_localized_query_22_fr` (
                      `ooo_id` int(11) UNSIGNED NOT NULL default '0',
                      `language` varchar(10) NOT NULL DEFAULT '',
                      PRIMARY KEY (`ooo_id`,`language`),
                      INDEX `language` (`language`),
                      CONSTRAINT `fk_object_localized_query_22_fr__ooo_id` FOREIGN KEY (`ooo_id`) REFERENCES objects (`id`) ON DELETE CASCADE
                    ) DEFAULT CHARSET=utf8mb4;
Parameters:
[]
0.11 ms
(0.11%)
1
CREATE TABLE IF NOT EXISTS `object_localized_data_22` (
              `ooo_id` int(11) UNSIGNED NOT NULL default '0',
              `language` varchar(10) NOT NULL DEFAULT '',
              PRIMARY KEY (`ooo_id`,`language`),
              INDEX `language` (`language`),
              CONSTRAINT `fk_object_localized_data_22__ooo_id` FOREIGN KEY (`ooo_id`) REFERENCES objects (`id`) ON DELETE CASCADE
            ) DEFAULT CHARSET=utf8mb4;
Parameters:
[]
0.10 ms
(0.09%)
1
SELECT * FROM tmp_store WHERE id = ?
Parameters:
[
  "maintenace_mode"
]
0.06 ms
(0.06%)
1
SELECT id FROM sites ORDER BY (SELECT LENGTH(`path`) FROM documents WHERE documents.id = sites.rootId) DESC
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.

Entities Mapping

No mapped entities.