Query Metrics

39 Database Queries
18 Different statements
8.74 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

default connection

Time Count Info
1.04 ms
(11.86%)
2
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
]
0.90 ms
(10.32%)
6
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/36976534/469398/image-thumb__469398__lightbox/steyrtal-breitenau-reitern-bodinggraben-steyrst-40595519.jpg"
]
0.85 ms
(9.72%)
2
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "reports"
  "scope" => "pimcore"
]
0.81 ms
(9.27%)
7
SELECT id FROM documents WHERE path = BINARY :path AND `key` = BINARY :key
Parameters:
[
  "key" => "steyrtal-breitenau-reitern-bodinggraben-steyrst-40595519.jpg"
  "path" => "/steiermark.com/Alpstein/Images/36976534/469398/image-thumb__469398__lightbox/"
]
0.77 ms
(8.86%)
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 = '6' AND priority = 99 ORDER BY `priority` DESC
Parameters:
[
  "sourcePath" => "/Alpstein/Images/36976534/469398/image-thumb__469398__lightbox/steyrtal-breitenau-reitern-bodinggraben-steyrst-40595519.jpg"
  "sourcePathQuery" => "/Alpstein/Images/36976534/469398/image-thumb__469398__lightbox/steyrtal-breitenau-reitern-bodinggraben-steyrst-40595519.jpg"
  "sourceEntireUri" => "https://stage.steiermark.com/Alpstein/Images/36976534/469398/image-thumb__469398__lightbox/steyrtal-breitenau-reitern-bodinggraben-steyrst-40595519.jpg"
  "typePath" => "path"
  "typePathQuery" => "path_query"
  "typeEntireUri" => "entire_uri"
  "typeAuto" => "auto_create"
]
0.65 ms
(7.40%)
6
SELECT id FROM documents_page WHERE prettyUrl = :prettyUrl
Parameters:
[
  "prettyUrl" => "/steiermark.com/Alpstein/Images/36976534/469398/image-thumb__469398__lightbox/steyrtal-breitenau-reitern-bodinggraben-steyrst-40595519.jpg"
]
0.65 ms
(7.39%)
1
INSERT INTO lock_keys (key_id, key_token, key_expiration) VALUES (?, ?, UNIX_TIMESTAMP() + 300)
Parameters:
[
  "dfeb66259846533a4298a6c0dd9956004291fde87b09addd9a51c514d465b2b5"
  "FnlWdMsiDC/+JCNUJwMBHSAUTwTt7WR/hZLUWDIaPdE="
]
0.63 ms
(7.22%)
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 = 'steiermark' AND TABLE_NAME = 'assets_image_thumbnail_cache' ORDER BY ORDINAL_POSITION ASC
Parameters:
[]
0.39 ms
(4.44%)
2
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "SiteConfig"
]
0.35 ms
(3.98%)
1
DELETE FROM lock_keys WHERE key_id = ? AND key_token = ?
Parameters:
[
  "dfeb66259846533a4298a6c0dd9956004291fde87b09addd9a51c514d465b2b5"
  "FnlWdMsiDC/+JCNUJwMBHSAUTwTt7WR/hZLUWDIaPdE="
]
0.32 ms
(3.63%)
2
SELECT 1 FROM lock_keys WHERE key_id = ? AND key_token = ? AND key_expiration > UNIX_TIMESTAMP()
Parameters:
[
  "dfeb66259846533a4298a6c0dd9956004291fde87b09addd9a51c514d465b2b5"
  "FnlWdMsiDC/+JCNUJwMBHSAUTwTt7WR/hZLUWDIaPdE="
]
0.27 ms
(3.04%)
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 = 'steiermark' /*!50116 AND c.constraint_schema = 'steiermark' */ AND k.`REFERENCED_COLUMN_NAME` is not NULL
Parameters:
[]
0.26 ms
(3.00%)
1
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" => 469398
  ":col1" => "lightbox"
  ":col2" => "steyrtal-breitenau-reitern-bodinggraben-steyrst-40595519.jpg"
  ":col3" => 1731691815
]
0.20 ms
(2.26%)
2
SELECT * FROM website_settings WHERE id = ?
Parameters:
[
  1
]
0.18 ms
(2.06%)
1
SELECT id FROM targeting_target_groups UNION SELECT id FROM targeting_rules LIMIT 1
Parameters:
[]
0.18 ms
(2.06%)
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
  "FnlWdMsiDC/+JCNUJwMBHSAUTwTt7WR/hZLUWDIaPdE="
  "dfeb66259846533a4298a6c0dd9956004291fde87b09addd9a51c514d465b2b5"
  "FnlWdMsiDC/+JCNUJwMBHSAUTwTt7WR/hZLUWDIaPdE="
]
0.16 ms
(1.80%)
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 = 'steiermark' ORDER BY SEQ_IN_INDEX ASC
Parameters:
[]
0.15 ms
(1.69%)
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:
[]

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.