Query Metrics

62 Database Queries
20 Different statements
63.67 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

Time Count Info
13.15 ms
(20.65%)
1
INSERT INTO `assets_image_thumbnail_cache` (`cid`, `name`, `filename`, `modificationDate`, `filesize`, `width`, `height`) VALUES (:col0, :col1, :col2, :col3, :col4, :col5, :col6) ON DUPLICATE KEY UPDATE `cid` = :col0, `name` = :col1, `filename` = :col2, `modificationDate` = :col3, `filesize` = :col4, `width` = :col5, `height` = :col6;
Parameters:
[
  ":col0" => 152
  ":col1" => "galleryLightbox_auto_c298b8bbc8f0df2d75b4615e5f1764f0"
  ":col2" => "1975_Triumph_TR6_Injection_2.5_Front.jpg"
  ":col3" => 1731769595
  ":col4" => 5523
  ":col5" => 129
  ":col6" => 138
]
10.70 ms
(16.80%)
20
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:
[
  1731769595
  [
    "\x00tags\x00site_domain_358ff6f1d144c177b402a2e5feb8bdb0"
    "site_domain_358ff6f1d144c177b402a2e5feb8bdb0"
  ]
]
9.65 ms
(15.16%)
1
SELECT NON_UNIQUE AS Non_Unique, INDEX_NAME AS Key_name, COLUMN_NAME AS Column_Name, SUB_PART AS Sub_Part, INDEX_TYPE AS Index_Type FROM information_schema.STATISTICS WHERE TABLE_NAME = 'assets_image_thumbnail_cache' AND TABLE_SCHEMA = 'pimcoredb' ORDER BY SEQ_IN_INDEX ASC
Parameters:
[]
5.57 ms
(8.75%)
1
DELETE FROM lock_keys WHERE key_id = ? AND key_token = ?
Parameters:
[
  "f75d75f6ac44a1b466b970b6a00b71a72415bf7f6db42aaba6517bdfe6d7ab7e"
  "nEuTvg8nGDXZmE1hs6YA6FTAjPEpBXEpnTeVGKmuZOk="
]
3.96 ms
(6.22%)
1
DELETE FROM tmp_store WHERE id = ?
Parameters:
[
  "thumb_152__0cdcd802b3ffb2000ee1cfba55bed3da"
]
3.59 ms
(5.64%)
1
SELECT * FROM tmp_store WHERE id = ?
Parameters:
[
  "thumb_152__0cdcd802b3ffb2000ee1cfba55bed3da"
]
2.81 ms
(4.41%)
1
INSERT INTO lock_keys (key_id, key_token, key_expiration) VALUES (?, ?, UNIX_TIMESTAMP() + 300)
Parameters:
[
  "f75d75f6ac44a1b466b970b6a00b71a72415bf7f6db42aaba6517bdfe6d7ab7e"
  "nEuTvg8nGDXZmE1hs6YA6FTAjPEpBXEpnTeVGKmuZOk="
]
2.73 ms
(4.29%)
2
SELECT 1 FROM lock_keys WHERE key_id = ? AND key_token = ? AND key_expiration > UNIX_TIMESTAMP()
Parameters:
[
  "f75d75f6ac44a1b466b970b6a00b71a72415bf7f6db42aaba6517bdfe6d7ab7e"
  "nEuTvg8nGDXZmE1hs6YA6FTAjPEpBXEpnTeVGKmuZOk="
]
1.61 ms
(2.53%)
6
SELECT id FROM documents WHERE path = BINARY :path AND `key` = BINARY :key
Parameters:
[
  "key" => "1975_Triumph_TR6_Injection_2.5_Front.jpg"
  "path" => "/Car Images/triumph/152/image-thumb__152__galleryLightbox_auto_c298b8bbc8f0df2d75b4615e5f1764f0/"
]
1.51 ms
(2.36%)
9
SELECT * FROM targeting_rules WHERE id = ?
Parameters:
[
  1
]
1.30 ms
(2.04%)
1
SELECT COLUMN_NAME AS Field, COLUMN_TYPE AS Type, IS_NULLABLE AS `Null`, COLUMN_KEY AS `Key`, COLUMN_DEFAULT AS `Default`, EXTRA AS Extra, COLUMN_COMMENT AS Comment, CHARACTER_SET_NAME AS CharacterSet, COLLATION_NAME AS Collation FROM information_schema.COLUMNS WHERE TABLE_SCHEMA = 'pimcoredb' AND TABLE_NAME = 'assets_image_thumbnail_cache' ORDER BY ORDINAL_POSITION ASC
Parameters:
[]
1.21 ms
(1.91%)
5
SELECT id FROM documents_page WHERE prettyUrl = :prettyUrl
Parameters:
[
  "prettyUrl" => "/Car Images/triumph/152/image-thumb__152__galleryLightbox_auto_c298b8bbc8f0df2d75b4615e5f1764f0/1975_Triumph_TR6_Injection_2.5_Front.jpg"
]
1.03 ms
(1.62%)
5
SELECT o_id FROM objects WHERE o_path = :path AND `o_key` = :key
Parameters:
[
  "key" => "Sports-Cars-Fan"
  "path" => "/Customer Management/segments/calculated/Interest-Target-Groups/"
]
0.89 ms
(1.39%)
1
SELECT DISTINCT k.`CONSTRAINT_NAME`, k.`COLUMN_NAME`, k.`REFERENCED_TABLE_NAME`, k.`REFERENCED_COLUMN_NAME` /*!50116 , c.update_rule, c.delete_rule */ FROM information_schema.key_column_usage k /*!50116 INNER JOIN information_schema.referential_constraints c ON   c.constraint_name = k.constraint_name AND   c.table_name = 'assets_image_thumbnail_cache' */ WHERE k.table_name = 'assets_image_thumbnail_cache' AND k.table_schema = 'pimcoredb' /*!50116 AND c.constraint_schema = 'pimcoredb' */ AND k.`REFERENCED_COLUMN_NAME` is not NULL
Parameters:
[]
0.86 ms
(1.34%)
2
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "reports"
  "scope" => "pimcore"
]
0.72 ms
(1.14%)
1
SELECT id FROM targeting_target_groups UNION SELECT id FROM targeting_rules LIMIT 1
Parameters:
[]
0.72 ms
(1.13%)
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 IS NULL AND priority = 99 ORDER BY `priority` DESC
Parameters:
[
  "sourcePath" => "/Car Images/triumph/152/image-thumb__152__galleryLightbox_auto_c298b8bbc8f0df2d75b4615e5f1764f0/1975_Triumph_TR6_Injection_2.5_Front.jpg"
  "sourcePathQuery" => "/Car Images/triumph/152/image-thumb__152__galleryLightbox_auto_c298b8bbc8f0df2d75b4615e5f1764f0/1975_Triumph_TR6_Injection_2.5_Front.jpg"
  "sourceEntireUri" => "http://185.213.27.223/Car Images/triumph/152/image-thumb__152__galleryLightbox_auto_c298b8bbc8f0df2d75b4615e5f1764f0/1975_Triumph_TR6_Injection_2.5_Front.jpg"
  "typePath" => "path"
  "typePathQuery" => "path_query"
  "typeEntireUri" => "entire_uri"
  "typeAuto" => "auto_create"
]
0.64 ms
(1.00%)
1
UPDATE lock_keys SET key_expiration = UNIX_TIMESTAMP() + ?, key_token = ? WHERE key_id = ? AND (key_token = ? OR key_expiration <= UNIX_TIMESTAMP())
Parameters:
[
  300.0
  "nEuTvg8nGDXZmE1hs6YA6FTAjPEpBXEpnTeVGKmuZOk="
  "f75d75f6ac44a1b466b970b6a00b71a72415bf7f6db42aaba6517bdfe6d7ab7e"
  "nEuTvg8nGDXZmE1hs6YA6FTAjPEpBXEpnTeVGKmuZOk="
]
0.55 ms
(0.86%)
1
SELECT ENGINE, AUTO_INCREMENT, TABLE_COLLATION, TABLE_COMMENT, CREATE_OPTIONS
FROM information_schema.TABLES
WHERE TABLE_TYPE = 'BASE TABLE' AND TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'assets_image_thumbnail_cache'
Parameters:
[]
0.47 ms
(0.74%)
1
SELECT id FROM targeting_rules WHERE active = 1  ORDER BY `prio` ASC
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.