Query Metrics

42 Database Queries
20 Different statements
8.01 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

default connection

Time Count Info
0.91 ms
(11.41%)
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/48589355/459156/image-thumb__459156__jsonld/bankerl-bei-der-bergstation-49787966.jpg"
]
0.75 ms
(9.35%)
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.74 ms
(9.19%)
7
SELECT id FROM documents WHERE path = BINARY :path AND `key` = BINARY :key
Parameters:
[
  "key" => "bankerl-bei-der-bergstation-49787966.jpg"
  "path" => "/steiermark.com/Alpstein/Images/48589355/459156/image-thumb__459156__jsonld/"
]
0.65 ms
(8.07%)
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.56 ms
(7.02%)
6
SELECT id FROM documents_page WHERE prettyUrl = :prettyUrl
Parameters:
[
  "prettyUrl" => "/steiermark.com/Alpstein/Images/48589355/459156/image-thumb__459156__jsonld/bankerl-bei-der-bergstation-49787966.jpg"
]
0.51 ms
(6.33%)
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/48589355/459156/image-thumb__459156__jsonld/bankerl-bei-der-bergstation-49787966.jpg"
  "sourcePathQuery" => "/Alpstein/Images/48589355/459156/image-thumb__459156__jsonld/bankerl-bei-der-bergstation-49787966.jpg"
  "sourceEntireUri" => "https://stage.steiermark.com/Alpstein/Images/48589355/459156/image-thumb__459156__jsonld/bankerl-bei-der-bergstation-49787966.jpg"
  "typePath" => "path"
  "typePathQuery" => "path_query"
  "typeEntireUri" => "entire_uri"
  "typeAuto" => "auto_create"
]
0.47 ms
(5.87%)
2
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:
[
  459156
]
0.44 ms
(5.56%)
1
DELETE FROM lock_keys WHERE key_id = ? AND key_token = ?
Parameters:
[
  "6276de3eaaa85528084b37343d9c07df7a052276bca5f9c064770719d65e35f0"
  "ve3woQXRhDWqxnbo+ZFwclGAbFUqWOvnA3Ly1vU/kw4="
]
0.43 ms
(5.35%)
2
SELECT * FROM assets_metadata WHERE cid = ?
Parameters:
[
  459156
]
0.40 ms
(4.99%)
1
INSERT INTO lock_keys (key_id, key_token, key_expiration) VALUES (?, ?, UNIX_TIMESTAMP() + 300)
Parameters:
[
  "6276de3eaaa85528084b37343d9c07df7a052276bca5f9c064770719d65e35f0"
  "ve3woQXRhDWqxnbo+ZFwclGAbFUqWOvnA3Ly1vU/kw4="
]
0.38 ms
(4.71%)
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" => 459156
  ":col1" => "jsonld"
  ":col2" => "bankerl-bei-der-bergstation-49787966.jpg"
  ":col3" => 1733321882
]
0.30 ms
(3.70%)
2
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "SiteConfig"
]
0.29 ms
(3.65%)
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.28 ms
(3.52%)
2
SELECT 1 FROM lock_keys WHERE key_id = ? AND key_token = ? AND key_expiration > UNIX_TIMESTAMP()
Parameters:
[
  "6276de3eaaa85528084b37343d9c07df7a052276bca5f9c064770719d65e35f0"
  "ve3woQXRhDWqxnbo+ZFwclGAbFUqWOvnA3Ly1vU/kw4="
]
0.17 ms
(2.12%)
2
SELECT * FROM website_settings WHERE id = ?
Parameters:
[
  1
]
0.16 ms
(1.99%)
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.88%)
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
  "ve3woQXRhDWqxnbo+ZFwclGAbFUqWOvnA3Ly1vU/kw4="
  "6276de3eaaa85528084b37343d9c07df7a052276bca5f9c064770719d65e35f0"
  "ve3woQXRhDWqxnbo+ZFwclGAbFUqWOvnA3Ly1vU/kw4="
]
0.15 ms
(1.85%)
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.14 ms
(1.72%)
1
SELECT id FROM targeting_target_groups UNION SELECT id FROM targeting_rules LIMIT 1
Parameters:
[]
0.14 ms
(1.72%)
1
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "reports"
  "scope" => "pimcore"
]

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.