Query Metrics

43 Database Queries
20 Different statements
7.68 ms Query time
0 Invalid entities

Queries

Group similar statements

default connection

# Time Info
1 0.32 ms
SELECT *
            FROM website_settings
            WHERE name = ?
                AND (
                    siteId IS NULL
                    OR siteId = 0
                    OR siteId = ?
                )
                AND (
                    language IS NULL
                    OR language = ''
                    OR language = ?
                )
            ORDER BY CONCAT(siteId, language) DESC, siteId DESC, language DESC
Parameters:
[
  "defaultSiteConfig"
  null
  null
]
2 0.06 ms
SELECT * FROM website_settings WHERE id = ?
Parameters:
[
  1
]
3 0.25 ms
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "SiteConfig"
]
4 0.38 ms
SELECT *
            FROM website_settings
            WHERE name = ?
                AND (
                    siteId IS NULL
                    OR siteId = 0
                    OR siteId = ?
                )
                AND (
                    language IS NULL
                    OR language = ''
                    OR language = ?
                )
            ORDER BY CONCAT(siteId, language) DESC, siteId DESC, language DESC
Parameters:
[
  "mainBlogPortal"
  null
  null
]
5 0.08 ms
SELECT * FROM website_settings WHERE id = ?
Parameters:
[
  8
]
6 0.06 ms
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "BlogPortal"
]
7 0.52 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 = '6' AND priority = 99 ORDER BY `priority` DESC
Parameters:
[
  "sourcePath" => "/Alpstein/Images/10332172/192802/image-thumb__192802__gallery-item/felber-schokoladenmanufaktur-9071737.jpg"
  "sourcePathQuery" => "/Alpstein/Images/10332172/192802/image-thumb__192802__gallery-item/felber-schokoladenmanufaktur-9071737.jpg"
  "sourceEntireUri" => "https://stage.steiermark.com/Alpstein/Images/10332172/192802/image-thumb__192802__gallery-item/felber-schokoladenmanufaktur-9071737.jpg"
  "typePath" => "path"
  "typePathQuery" => "path_query"
  "typeEntireUri" => "entire_uri"
  "typeAuto" => "auto_create"
]
8 0.18 ms
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "reports"
  "scope" => "pimcore"
]
9 0.27 ms
SELECT id FROM documents WHERE path = BINARY :path AND `key` = BINARY :key
Parameters:
[
  "key" => "felber-schokoladenmanufaktur-9071737.jpg"
  "path" => "/steiermark.com/Alpstein/Images/10332172/192802/image-thumb__192802__gallery-item/"
]
10 0.11 ms
SELECT id FROM documents_page WHERE prettyUrl = :prettyUrl
Parameters:
[
  "prettyUrl" => "/steiermark.com/Alpstein/Images/10332172/192802/image-thumb__192802__gallery-item/felber-schokoladenmanufaktur-9071737.jpg"
]
11 0.14 ms
SELECT documents.id FROM documents
            LEFT JOIN documents_page ON documents.id = documents_page.id
            WHERE documents.path LIKE ? AND documents_page.prettyUrl = ?
Parameters:
[
  "/steiermark.com/%"
  "/Alpstein/Images/10332172/192802/image-thumb__192802__gallery-item/felber-schokoladenmanufaktur-9071737.jpg"
]
12 0.07 ms
SELECT id FROM documents WHERE path = BINARY :path AND `key` = BINARY :key
Parameters:
[
  "key" => "image-thumb__192802__gallery-item"
  "path" => "/steiermark.com/Alpstein/Images/10332172/192802/"
]
13 0.07 ms
SELECT id FROM documents_page WHERE prettyUrl = :prettyUrl
Parameters:
[
  "prettyUrl" => "/steiermark.com/Alpstein/Images/10332172/192802/image-thumb__192802__gallery-item"
]
14 0.10 ms
SELECT documents.id FROM documents
            LEFT JOIN documents_page ON documents.id = documents_page.id
            WHERE documents.path LIKE ? AND documents_page.prettyUrl = ?
Parameters:
[
  "/steiermark.com/%"
  "/Alpstein/Images/10332172/192802/image-thumb__192802__gallery-item"
]
15 0.07 ms
SELECT id FROM documents WHERE path = BINARY :path AND `key` = BINARY :key
Parameters:
[
  "key" => "192802"
  "path" => "/steiermark.com/Alpstein/Images/10332172/"
]
16 0.06 ms
SELECT id FROM documents_page WHERE prettyUrl = :prettyUrl
Parameters:
[
  "prettyUrl" => "/steiermark.com/Alpstein/Images/10332172/192802"
]
17 0.10 ms
SELECT documents.id FROM documents
            LEFT JOIN documents_page ON documents.id = documents_page.id
            WHERE documents.path LIKE ? AND documents_page.prettyUrl = ?
Parameters:
[
  "/steiermark.com/%"
  "/Alpstein/Images/10332172/192802"
]
18 0.07 ms
SELECT id FROM documents WHERE path = BINARY :path AND `key` = BINARY :key
Parameters:
[
  "key" => "10332172"
  "path" => "/steiermark.com/Alpstein/Images/"
]
19 0.06 ms
SELECT id FROM documents_page WHERE prettyUrl = :prettyUrl
Parameters:
[
  "prettyUrl" => "/steiermark.com/Alpstein/Images/10332172"
]
20 0.10 ms
SELECT documents.id FROM documents
            LEFT JOIN documents_page ON documents.id = documents_page.id
            WHERE documents.path LIKE ? AND documents_page.prettyUrl = ?
Parameters:
[
  "/steiermark.com/%"
  "/Alpstein/Images/10332172"
]
21 0.06 ms
SELECT id FROM documents WHERE path = BINARY :path AND `key` = BINARY :key
Parameters:
[
  "key" => "Images"
  "path" => "/steiermark.com/Alpstein/"
]
22 0.06 ms
SELECT id FROM documents_page WHERE prettyUrl = :prettyUrl
Parameters:
[
  "prettyUrl" => "/steiermark.com/Alpstein/Images"
]
23 0.10 ms
SELECT documents.id FROM documents
            LEFT JOIN documents_page ON documents.id = documents_page.id
            WHERE documents.path LIKE ? AND documents_page.prettyUrl = ?
Parameters:
[
  "/steiermark.com/%"
  "/Alpstein/Images"
]
24 0.06 ms
SELECT id FROM documents WHERE path = BINARY :path AND `key` = BINARY :key
Parameters:
[
  "key" => "Alpstein"
  "path" => "/steiermark.com/"
]
25 0.06 ms
SELECT id FROM documents_page WHERE prettyUrl = :prettyUrl
Parameters:
[
  "prettyUrl" => "/steiermark.com/Alpstein"
]
26 0.10 ms
SELECT documents.id FROM documents
            LEFT JOIN documents_page ON documents.id = documents_page.id
            WHERE documents.path LIKE ? AND documents_page.prettyUrl = ?
Parameters:
[
  "/steiermark.com/%"
  "/Alpstein"
]
27 0.07 ms
SELECT id FROM documents WHERE path = BINARY :path AND `key` = BINARY :key
Parameters:
[
  "key" => "steiermark.com"
  "path" => "/"
]
28 0.14 ms
SELECT id FROM targeting_target_groups UNION SELECT id FROM targeting_rules LIMIT 1
Parameters:
[]
29 0.31 ms
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:
[
  192802
]
30 0.12 ms
SELECT * FROM assets_metadata WHERE cid = ?
Parameters:
[
  192802
]
31 0.09 ms
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:
[
  192802
]
32 0.08 ms
SELECT * FROM assets_metadata WHERE cid = ?
Parameters:
[
  192802
]
33 0.09 ms
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "gallery-item"
  "scope" => "pimcore_image_thumbnails"
]
34 0.36 ms
INSERT INTO lock_keys (key_id, key_token, key_expiration) VALUES (?, ?, UNIX_TIMESTAMP() + 300)
Parameters:
[
  "eb0e66a9f8a65cdd95b54d02a813aad14e392047eb057dda400dd32365d9620c"
  "FKhPJP6GyLQcK4hlldV6r1OlnB0agCbkluJpEhEtdsM="
]
35 0.11 ms
UPDATE lock_keys SET key_expiration = UNIX_TIMESTAMP() + ?, key_token = ? WHERE key_id = ? AND (key_token = ? OR key_expiration <= UNIX_TIMESTAMP())
Parameters:
[
  300.0
  "FKhPJP6GyLQcK4hlldV6r1OlnB0agCbkluJpEhEtdsM="
  "eb0e66a9f8a65cdd95b54d02a813aad14e392047eb057dda400dd32365d9620c"
  "FKhPJP6GyLQcK4hlldV6r1OlnB0agCbkluJpEhEtdsM="
]
36 0.10 ms
SELECT 1 FROM lock_keys WHERE key_id = ? AND key_token = ? AND key_expiration > UNIX_TIMESTAMP()
Parameters:
[
  "eb0e66a9f8a65cdd95b54d02a813aad14e392047eb057dda400dd32365d9620c"
  "FKhPJP6GyLQcK4hlldV6r1OlnB0agCbkluJpEhEtdsM="
]
37 0.60 ms
DELETE FROM lock_keys WHERE key_id = ? AND key_token = ?
Parameters:
[
  "eb0e66a9f8a65cdd95b54d02a813aad14e392047eb057dda400dd32365d9620c"
  "FKhPJP6GyLQcK4hlldV6r1OlnB0agCbkluJpEhEtdsM="
]
38 0.15 ms
SELECT 1 FROM lock_keys WHERE key_id = ? AND key_token = ? AND key_expiration > UNIX_TIMESTAMP()
Parameters:
[
  "eb0e66a9f8a65cdd95b54d02a813aad14e392047eb057dda400dd32365d9620c"
  "FKhPJP6GyLQcK4hlldV6r1OlnB0agCbkluJpEhEtdsM="
]
39 0.68 ms
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 = 'steiermark' AND TABLE_NAME = 'assets_image_thumbnail_cache' ORDER BY ORDINAL_POSITION ASC
Parameters:
[]
40 0.29 ms
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 = 'steiermark' /*!50116 AND c.constraint_schema = 'steiermark' */ AND k.`REFERENCED_COLUMN_NAME` is not NULL
Parameters:
[]
41 0.21 ms
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 = 'steiermark' ORDER BY SEQ_IN_INDEX ASC
Parameters:
[]
42 0.20 ms
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:
[]
43 0.57 ms
INSERT INTO `assets_image_thumbnail_cache` (`cid`, `name`, `filename`, `modificationDate`) VALUES (:col0, :col1, :col2, :col3) ON DUPLICATE KEY UPDATE `cid` = :col0, `name` = :col1, `filename` = :col2, `modificationDate` = :col3;
Parameters:
[
  ":col0" => 192802
  ":col1" => "gallery-item"
  ":col2" => "felber-schokoladenmanufaktur-9071737.jpg"
  ":col3" => 1733334207
]

demi_vacancies connection

No database queries were performed.

Database Connections

Name Service
default doctrine.dbal.default_connection
demi_vacancies doctrine.dbal.demi_vacancies_connection

Entity Managers

Name Service
portal_engine doctrine.orm.portal_engine_entity_manager
pimcore_direct_edit doctrine.orm.pimcore_direct_edit_entity_manager
statistics_explorer doctrine.orm.statistics_explorer_entity_manager

Second Level Cache

Second Level Cache is not enabled.

Entities Mapping

portal_engine entity manager

No loaded entities.

pimcore_direct_edit entity manager

No loaded entities.

statistics_explorer entity manager

No loaded entities.