Query Metrics

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

Queries

Group similar statements

default connection

# Time Info
1 0.37 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.07 ms
SELECT * FROM website_settings WHERE id = ?
Parameters:
[
  1
]
3 0.24 ms
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "SiteConfig"
]
4 0.33 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.07 ms
SELECT * FROM website_settings WHERE id = ?
Parameters:
[
  8
]
6 0.07 ms
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "BlogPortal"
]
7 0.46 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/38763910/477364/image-thumb__477364__tour-teaser/radtour-der-grosse-jogl--38993443@2x.jpg"
  "sourcePathQuery" => "/Alpstein/Images/38763910/477364/image-thumb__477364__tour-teaser/radtour-der-grosse-jogl--38993443@2x.jpg"
  "sourceEntireUri" => "https://stage.steiermark.com/Alpstein/Images/38763910/477364/image-thumb__477364__tour-teaser/radtour-der-grosse-jogl--38993443@2x.jpg"
  "typePath" => "path"
  "typePathQuery" => "path_query"
  "typeEntireUri" => "entire_uri"
  "typeAuto" => "auto_create"
]
8 0.10 ms
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "reports"
  "scope" => "pimcore"
]
9 0.09 ms
SELECT id FROM documents WHERE path = BINARY :path AND `key` = BINARY :key
Parameters:
[
  "key" => "radtour-der-grosse-jogl--38993443@2x.jpg"
  "path" => "/steiermark.com/Alpstein/Images/38763910/477364/image-thumb__477364__tour-teaser/"
]
10 0.08 ms
SELECT id FROM documents_page WHERE prettyUrl = :prettyUrl
Parameters:
[
  "prettyUrl" => "/steiermark.com/Alpstein/Images/38763910/477364/image-thumb__477364__tour-teaser/radtour-der-grosse-jogl--38993443@2x.jpg"
]
11 0.12 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/38763910/477364/image-thumb__477364__tour-teaser/radtour-der-grosse-jogl--38993443@2x.jpg"
]
12 0.07 ms
SELECT id FROM documents WHERE path = BINARY :path AND `key` = BINARY :key
Parameters:
[
  "key" => "image-thumb__477364__tour-teaser"
  "path" => "/steiermark.com/Alpstein/Images/38763910/477364/"
]
13 0.06 ms
SELECT id FROM documents_page WHERE prettyUrl = :prettyUrl
Parameters:
[
  "prettyUrl" => "/steiermark.com/Alpstein/Images/38763910/477364/image-thumb__477364__tour-teaser"
]
14 0.09 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/38763910/477364/image-thumb__477364__tour-teaser"
]
15 0.06 ms
SELECT id FROM documents WHERE path = BINARY :path AND `key` = BINARY :key
Parameters:
[
  "key" => "477364"
  "path" => "/steiermark.com/Alpstein/Images/38763910/"
]
16 0.06 ms
SELECT id FROM documents_page WHERE prettyUrl = :prettyUrl
Parameters:
[
  "prettyUrl" => "/steiermark.com/Alpstein/Images/38763910/477364"
]
17 0.09 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/38763910/477364"
]
18 0.06 ms
SELECT id FROM documents WHERE path = BINARY :path AND `key` = BINARY :key
Parameters:
[
  "key" => "38763910"
  "path" => "/steiermark.com/Alpstein/Images/"
]
19 0.06 ms
SELECT id FROM documents_page WHERE prettyUrl = :prettyUrl
Parameters:
[
  "prettyUrl" => "/steiermark.com/Alpstein/Images/38763910"
]
20 0.08 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/38763910"
]
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.08 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.07 ms
SELECT id FROM documents_page WHERE prettyUrl = :prettyUrl
Parameters:
[
  "prettyUrl" => "/steiermark.com/Alpstein"
]
26 0.08 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.11 ms
SELECT id FROM targeting_target_groups UNION SELECT id FROM targeting_rules LIMIT 1
Parameters:
[]
29 0.16 ms
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "tour-teaser"
  "scope" => "pimcore_image_thumbnails"
]
30 0.57 ms
INSERT INTO lock_keys (key_id, key_token, key_expiration) VALUES (?, ?, UNIX_TIMESTAMP() + 300)
Parameters:
[
  "270a62dce4335d1112676e9fdf59f28041cbded524753c6a2c974f68427b53c5"
  "WarG1UYSNDR8iXg4GIicqVVgj7TbezhgoXtqlcXxkYM="
]
31 0.10 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
  "WarG1UYSNDR8iXg4GIicqVVgj7TbezhgoXtqlcXxkYM="
  "270a62dce4335d1112676e9fdf59f28041cbded524753c6a2c974f68427b53c5"
  "WarG1UYSNDR8iXg4GIicqVVgj7TbezhgoXtqlcXxkYM="
]
32 0.08 ms
SELECT 1 FROM lock_keys WHERE key_id = ? AND key_token = ? AND key_expiration > UNIX_TIMESTAMP()
Parameters:
[
  "270a62dce4335d1112676e9fdf59f28041cbded524753c6a2c974f68427b53c5"
  "WarG1UYSNDR8iXg4GIicqVVgj7TbezhgoXtqlcXxkYM="
]
33 0.38 ms
DELETE FROM lock_keys WHERE key_id = ? AND key_token = ?
Parameters:
[
  "270a62dce4335d1112676e9fdf59f28041cbded524753c6a2c974f68427b53c5"
  "WarG1UYSNDR8iXg4GIicqVVgj7TbezhgoXtqlcXxkYM="
]
34 0.11 ms
SELECT 1 FROM lock_keys WHERE key_id = ? AND key_token = ? AND key_expiration > UNIX_TIMESTAMP()
Parameters:
[
  "270a62dce4335d1112676e9fdf59f28041cbded524753c6a2c974f68427b53c5"
  "WarG1UYSNDR8iXg4GIicqVVgj7TbezhgoXtqlcXxkYM="
]
35 0.47 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:
[]
36 0.18 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:
[]
37 0.10 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:
[]
38 0.10 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:
[]
39 0.36 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" => 477364
  ":col1" => "tour-teaser"
  ":col2" => "radtour-der-grosse-jogl--38993443@2x.jpg"
  ":col3" => 1731730107
]

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.