Query Metrics

169 Database Queries
26 Different statements
43.25 ms Query time
0 Invalid entities
0 Managed entities

Grouped Statements

Show all queries

default connection

Time Count Info
14.93 ms
(34.52%)
68
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:
[
  1786635512
  "site_domain_2f66a5d22a53d8f08d7ba98373a8f8c0"
]
8.08 ms
(18.67%)
39
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:
[
  1786635512
  "system\x01tags\x01"
  "site\x01tags\x01"
]
3.02 ms
(6.99%)
1
SELECT t.name, COUNT(*) AS entrades
                 FROM tags_assignment a
                 JOIN tags t ON t.id = a.tagid
                 WHERE a.ctype = ?
                 GROUP BY t.id, t.name
                 HAVING entrades > 1
                 ORDER BY entrades DESC, t.name ASC
                 LIMIT 25
Parameters:
[
  "object"
]
2.51 ms
(5.81%)
10
SELECT * FROM object_relations_news WHERE src_id = ?
Parameters:
[
  94
]
1.95 ms
(4.52%)
10
SELECT * FROM assets_image_thumbnail_cache WHERE cid = ?
Parameters:
[
  114
]
1.76 ms
(4.07%)
10
SELECT customSettings FROM assets WHERE id = ?
Parameters:
[
  114
]
1.16 ms
(2.69%)
4
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:
[
  "coorporate_address"
  null
  null
]
1.06 ms
(2.46%)
1
SELECT object_localized_news_ca.id as id, object_localized_news_ca.type as `type` FROM object_localized_news_ca WHERE (oo_id IN (17,18,19,20,21,22,25,60,61,62,64,65,66,68,69,71,72,73,74,75,77,78,79,82,83,84,88,89,91,92,93,94) AND  object_localized_news_ca.type IN ('object','variant','folder')) AND object_localized_news_ca.published = 1 ORDER BY `date` DESC   LIMIT 10
Parameters:
[]
0.81 ms
(1.87%)
1
SELECT COUNT(*) FROM object_localized_news_ca WHERE (oo_id IN (17,18,19,20,21,22,25,60,61,62,64,65,66,68,69,71,72,73,74,75,77,78,79,82,83,84,88,89,91,92,93,94) AND  object_localized_news_ca.type IN ('object','variant','folder')) AND object_localized_news_ca.published = 1
Parameters:
[]
0.72 ms
(1.67%)
4
SELECT * FROM website_settings WHERE id = ?
Parameters:
[
  1
]
0.72 ms
(1.66%)
3
SELECT id FROM documents WHERE `path` = BINARY ? AND `key` = BINARY ?
Parameters:
[
  "/blog/etiqueta/"
  "tècniques de relaxació física i mental"
]
0.67 ms
(1.54%)
2
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:
[
  1786635512
  "system\x01tags\x01"
  "redirect\x01tags\x01"
  "route\x01tags\x01"
]
0.63 ms
(1.46%)
1
SELECT object_localized_news_ca.id as id, object_localized_news_ca.type as `type` FROM object_localized_news_ca WHERE ( object_localized_news_ca.type IN ('object','variant','folder')) AND object_localized_news_ca.published = 1 ORDER BY `date` DESC   LIMIT 5
Parameters:
[]
0.54 ms
(1.24%)
1
SELECT r.dest_id, COUNT(*) FROM object_relations_news r
             WHERE r.fieldname = 'categories' GROUP BY r.dest_id
Parameters:
[]
0.51 ms
(1.18%)
1
SELECT object_localized_news_category_ca.id as id, object_localized_news_category_ca.type as `type` FROM object_localized_news_category_ca WHERE ( object_localized_news_category_ca.type IN ('object','variant','folder')) AND object_localized_news_category_ca.published = 1
Parameters:
[]
0.49 ms
(1.14%)
1
SELECT * FROM tags_assignment INNER JOIN objects el ON tags_assignment.cId = el.id WHERE (tags_assignment.ctype = ?) AND (tags_assignment.tagid = ?)
Parameters:
[
  "object"
  168
]
0.48 ms
(1.11%)
2
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "news"
]
0.43 ms
(1.00%)
1
SELECT id FROM tags WHERE LOWER(name) = ?  LIMIT 1
Parameters:
[
  "tècniques de relaxació física i mental"
]
0.43 ms
(0.99%)
2
SELECT id FROM documents_page WHERE prettyUrl = ?
Parameters:
[
  "/blog/etiqueta/tècniques de relaxació física i mental"
]
0.43 ms
(0.98%)
1
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:
[
  1786635512
  "output\x01tags\x01"
  "navigation\x01tags\x01"
  "document_2\x01tags\x01"
  "document_3\x01tags\x01"
  "document_5\x01tags\x01"
  "document_6\x01tags\x01"
  "document_7\x01tags\x01"
  "document_8\x01tags\x01"
  "document_9\x01tags\x01"
  "document_10\x01tags\x01"
  "document_11\x01tags\x01"
  "document_12\x01tags\x01"
  "document_13\x01tags\x01"
  "document_14\x01tags\x01"
  "document_15\x01tags\x01"
  "document_4\x01tags\x01"
  "document_18\x01tags\x01"
  "document_16\x01tags\x01"
  "document_22\x01tags\x01"
]
0.42 ms
(0.96%)
1
SELECT * FROM redirects WHERE
            (
                (source = ? AND (`type` = ? OR `type` = ?)) OR
                (source = ? AND `type` = ?) OR
                (source = ? AND `type` = ?)
            ) AND active = 1 AND (regex IS NULL OR regex = 0) AND (expiry > UNIX_TIMESTAMP() OR expiry IS NULL) AND sourceSite IS NULL AND priority = 99 ORDER BY `priority` DESC
Parameters:
[
  "/blog/etiqueta/tècniques de relaxació física i mental"
  "path"
  "auto_create"
  "/blog/etiqueta/tècniques de relaxació física i mental?page=1"
  "path_query"
  "https://psicopnaturmolins.cat/blog/etiqueta/tècniques de relaxació física i mental?page=1"
  "entire_uri"
]
0.38 ms
(0.89%)
1
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[]
0.36 ms
(0.83%)
1
SELECT YEAR(FROM_UNIXTIME(date)) AS any, MONTH(FROM_UNIXTIME(date)) AS mes,
                        COUNT(*) AS entrades
                 FROM object_store_news
                 WHERE date IS NOT NULL
                 GROUP BY any, mes
                 ORDER BY any DESC, mes DESC
Parameters:
[]
0.34 ms
(0.78%)
1
SELECT * FROM settings_store WHERE id = ? AND scope = ?
Parameters:
[
  "BUNDLE_INSTALLED__Pimcore\Bundle\SeoBundle\PimcoreSeoBundle"
  "pimcore"
]
0.24 ms
(0.55%)
1
SELECT * FROM tmp_store WHERE id = ?
Parameters:
[
  "maintenance_mode"
]
0.18 ms
(0.43%)
1
SELECT * FROM tags WHERE id = ?
Parameters:
[
  168
]

Database Connections

Name Service
default doctrine.dbal.default_connection
antic doctrine.dbal.antic_connection

Entity Managers

There are no configured entity managers.

Second Level Cache

Second Level Cache is not enabled.

Managed Entities

No managed entities.

Entities Mapping

No mapped entities.