Query Metrics

531 Database Queries
50 Different statements
133.78 ms Query time
0 Invalid entities
0 Managed entities

Grouped Statements

Show all queries

Time Count Info
32.69 ms
(24.43%)
156
SELECT id FROM documents d WHERE parentId = ?  AND published = 1 LIMIT 1
Parameters:
[
  2
]
10.30 ms
(7.70%)
68
SELECT * FROM website_settings WHERE id = ?
Parameters:
[
  1
]
8.65 ms
(6.46%)
32
SELECT customSettings FROM assets WHERE id = ?
Parameters:
[
  1571
]
8.22 ms
(6.14%)
32
SELECT * FROM assets_image_thumbnail_cache WHERE cid = ?
Parameters:
[
  1571
]
7.67 ms
(5.73%)
32
SELECT documents.id, documents.type FROM documents WHERE  (parentId = ?) AND published = 1 ORDER BY `index` ASC
Parameters:
[
  2
]
7.29 ms
(5.45%)
25
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,2) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  124
]
5.64 ms
(4.21%)
11
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  124
]
3.58 ms
(2.68%)
13
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,393,2) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  396
]
3.34 ms
(2.50%)
9
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,74,72,2) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  75
]
3.13 ms
(2.34%)
9
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,4,2) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  68
]
2.60 ms
(1.94%)
8
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,118,2) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  119
]
2.58 ms
(1.93%)
7
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,98,4,2) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  99
]
2.34 ms
(1.75%)
8
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,158,156,2) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  160
]
2.29 ms
(1.71%)
7
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,86,2) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  87
]
2.17 ms
(1.62%)
10
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,3,2) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  42
]
2.16 ms
(1.61%)
6
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,59,4,2) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  60
]
1.86 ms
(1.39%)
8
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "CNMAG_ARTICLE"
]
1.85 ms
(1.39%)
5
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,395,91,2) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  96
]
1.73 ms
(1.29%)
6
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,125,2) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  127
]
1.60 ms
(1.20%)
5
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,72,2) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  73
]
1.59 ms
(1.19%)
4
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,113,112,2) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  114
]
1.45 ms
(1.08%)
4
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,54,4,2) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  55
]
1.42 ms
(1.06%)
4
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,112,2) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  113
]
1.35 ms
(1.01%)
6
SELECT id FROM documents WHERE `path` = BINARY ? AND `key` = BINARY ?
Parameters:
[
  "/de/blog/"
  "zwei-kleinhirten-und-ihr-sommer-auf-der-alpe-baergunt~82"
]
1.35 ms
(1.01%)
4
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,108,2) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  109
]
1.34 ms
(1.00%)
4
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,394,91,2) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  92
]
1.27 ms
(0.95%)
4
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,10,2) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  655
]
1.02 ms
(0.77%)
3
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,49,4,2) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  52
]
0.98 ms
(0.73%)
3
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,91,2) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  394
]
0.97 ms
(0.73%)
3
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,84,72,2) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  689
]
0.91 ms
(0.68%)
3
SELECT id,language FROM documents_translations WHERE sourceId IN(?, ?) UNION SELECT sourceId as id,"source" FROM documents_translations WHERE id = ?
Parameters:
[
  124
  124
  124
]
0.90 ms
(0.67%)
2
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:
[
  "/de/blog/zwei-kleinhirten-und-ihr-sommer-auf-der-alpe-baergunt~82"
  "path"
  "auto_create"
  "/de/blog/zwei-kleinhirten-und-ihr-sommer-auf-der-alpe-baergunt~82"
  "path_query"
  "https://kleinwalsertal-dev.conecto.rocks/de/blog/zwei-kleinhirten-und-ihr-sommer-auf-der-alpe-baergunt~82"
  "entire_uri"
]
0.73 ms
(0.54%)
3
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:
[
  "magazin_breadcrumb"
  null
  null
]
0.69 ms
(0.52%)
2
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,24,2) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  693
]
0.69 ms
(0.51%)
3
SELECT id,language FROM documents_translations WHERE sourceId = ? UNION SELECT sourceId as id,"source" FROM documents_translations WHERE id = ?
Parameters:
[
  440
  440
]
0.65 ms
(0.49%)
2
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,622,2) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  624
]
0.61 ms
(0.46%)
3
SELECT sourceId FROM documents_translations WHERE id = ?
Parameters:
[
  124
]
0.61 ms
(0.46%)
2
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,157,156,2) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  159
]
0.58 ms
(0.43%)
2
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,156,2) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  157
]
0.40 ms
(0.30%)
2
SELECT * FROM settings_store WHERE id = ? AND scope = ?
Parameters:
[
  "BUNDLE_INSTALLED__Pimcore\Bundle\SeoBundle\PimcoreSeoBundle"
  "pimcore"
]
0.35 ms
(0.26%)
2
SELECT id FROM documents_page WHERE prettyUrl = ?
Parameters:
[
  "/de/blog/zwei-kleinhirten-und-ihr-sommer-auf-der-alpe-baergunt~82"
]
0.35 ms
(0.26%)
1
SELECT id FROM website_settings
Parameters:
[]
0.34 ms
(0.25%)
1
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,27,2) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  28
]
0.31 ms
(0.23%)
1
SELECT object_CN_WEATHERSTATION.id as id, object_CN_WEATHERSTATION.type as `type` FROM object_CN_WEATHERSTATION WHERE (( id = ? OR id = ?)  AND  object_CN_WEATHERSTATION.type IN ('object','variant','folder')) AND object_CN_WEATHERSTATION.published = 1 ORDER BY `altitude`    LIMIT 2
Parameters:
[
  null
  null
]
0.26 ms
(0.20%)
1
SELECT * FROM object_collection_Weather_CN_WEATHERDAY WHERE id = ? AND fieldname = ? ORDER BY `index` ASC
Parameters:
[
  3901
  "weatherData"
]
0.23 ms
(0.17%)
1
SELECT * FROM object_relations_CNMAG_ARTICLE WHERE src_id = ?
Parameters:
[
  82
]
0.19 ms
(0.15%)
1
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[]
0.19 ms
(0.14%)
1
SELECT documents.*, tree_locks.locked FROM documents
            LEFT JOIN tree_locks ON documents.id = tree_locks.id AND tree_locks.type = 'document'
                WHERE documents.id = ?
Parameters:
[
  9
]
0.18 ms
(0.13%)
1
SELECT * FROM object_relations_CN_WEATHERSTATION WHERE src_id = ?
Parameters:
[
  3840
]
0.16 ms
(0.12%)
1
SELECT * FROM tmp_store WHERE id = ?
Parameters:
[
  "maintenance_mode"
]

Database Connections

Name Service
default doctrine.dbal.default_connection

Entity Managers

Name Service
default doctrine.orm.default_entity_manager

Second Level Cache

Second Level Cache is not enabled.

Managed Entities

default entity manager

Class Amount of managed objects