Query Metrics

1227 Database Queries
54 Different statements
540.70 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

Time Count Info
266.78 ms
(49.34%)
644
SELECT id FROM documents d WHERE parentId = ?  AND published = 1 LIMIT 1
Parameters:
[
  1
]
102.95 ms
(19.04%)
232
SELECT documents.id, documents.type FROM documents WHERE  (parentId = ?) AND published = 1 ORDER BY `index` ASC
Parameters:
[
  1
]
44.92 ms
(8.31%)
123
SELECT * FROM website_settings WHERE id = ?
Parameters:
[
  1
]
37.82 ms
(6.99%)
68
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:
[
  694
]
12.20 ms
(2.26%)
16
SELECT documents.*, documents_page.*, tree_locks.locked FROM documents
            LEFT JOIN documents_page ON documents.id = documents_page.id
            LEFT JOIN tree_locks ON documents.id = tree_locks.id AND tree_locks.type = 'document'
                WHERE documents.id = ?
Parameters:
[
  214
]
7.79 ms
(1.44%)
19
SELECT id FROM documents WHERE `path` = BINARY ? AND `key` = BINARY ?
Parameters:
[
  "/silvretta-bielerhoehe/nl/"
  "silvrettasee-winter_vc3444"
]
4.97 ms
(0.92%)
9
SELECT documents.*, documents_link.*, tree_locks.locked FROM documents
            LEFT JOIN documents_link ON documents.id = documents_link.id
                LEFT JOIN tree_locks ON documents.id = tree_locks.id AND tree_locks.type = 'document'
                WHERE documents.id = ?
Parameters:
[
  702
]
4.42 ms
(0.82%)
14
SELECT id FROM documents_page WHERE prettyUrl = ?
Parameters:
[
  "/silvretta-bielerhoehe/nl/silvrettasee-winter_vc3444"
]
3.92 ms
(0.73%)
7
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  213
]
3.37 ms
(0.62%)
5
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,143) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  144
]
3.24 ms
(0.60%)
5
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,707) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  708
]
2.85 ms
(0.53%)
4
SELECT customSettings FROM assets WHERE id = ?
Parameters:
[
  147
]
2.54 ms
(0.47%)
3
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,290,289) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  296
]
2.53 ms
(0.47%)
5
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,692,95) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  696
]
2.31 ms
(0.43%)
5
SELECT documents.*, documents_snippet.*, tree_locks.locked FROM documents
            LEFT JOIN documents_snippet ON documents.id = documents_snippet.id
            LEFT JOIN tree_locks ON documents.id = tree_locks.id AND tree_locks.type = 'document'
                WHERE documents.id = ?
Parameters:
[
  698
]
2.27 ms
(0.42%)
3
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,254,261) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  255
]
2.11 ms
(0.39%)
4
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,214,213) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  223
]
2.06 ms
(0.38%)
3
SELECT * FROM sites WHERE rootId = ?
Parameters:
[
  129
]
1.85 ms
(0.34%)
4
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  80
]
1.52 ms
(0.28%)
2
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,217,216,214,213) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  219
]
1.50 ms
(0.28%)
3
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,298,289) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  304
]
1.41 ms
(0.26%)
2
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,695,692,95) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  699
]
1.40 ms
(0.26%)
1
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,302,300,298,289) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  303
]
1.28 ms
(0.24%)
1
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,258,257,254,261) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  259
]
1.27 ms
(0.24%)
3
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,3) AND inheritable = 1) OR cid = ? )
                                 AND ctype='asset'
Parameters:
[
  147
]
1.25 ms
(0.23%)
4
SELECT documents.id FROM documents
            LEFT JOIN documents_page ON documents.id = documents_page.id
            WHERE documents.path LIKE ? AND documents_page.prettyUrl = ?
Parameters:
[
  "/silvretta-bielerhoehe/%"
  "/nl/silvrettasee-winter_vc3444"
]
1.14 ms
(0.21%)
2
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,216,214,213) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  217
]
1.12 ms
(0.21%)
2
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,289) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  290
]
1.10 ms
(0.20%)
1
SELECT * FROM object_collection_vcloudOpeningHours_vcloud_poi WHERE id = ? AND fieldname = ? ORDER BY `index` ASC
Parameters:
[
  3444
  "openingHours"
]
0.99 ms
(0.18%)
2
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,699,695,692,95) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  702
]
0.93 ms
(0.17%)
1
SELECT * FROM object_relations_vcloud_poi WHERE src_id = ?
Parameters:
[
  3444
]
0.93 ms
(0.17%)
2
SELECT id,language FROM documents_translations WHERE sourceId IN(?, ?) UNION SELECT sourceId as id,"source" FROM documents_translations WHERE id = ?
Parameters:
[
  129
  129
  129
]
0.92 ms
(0.17%)
2
SELECT * FROM assets_image_thumbnail_cache WHERE cid = ?
Parameters:
[
  147
]
0.91 ms
(0.17%)
1
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,700,695,692,95) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  701
]
0.90 ms
(0.17%)
1
SELECT * FROM object_collection_vcloudExternalLink_vcloud_poi WHERE id = ? AND fieldname = ? ORDER BY `index` ASC
Parameters:
[
  3444
  "externalLinks"
]
0.87 ms
(0.16%)
3
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[]
0.78 ms
(0.15%)
2
SELECT * FROM settings_store WHERE id = ? AND scope = ?
Parameters:
[
  "BUNDLE_INSTALLED__Pimcore\Bundle\SeoBundle\PimcoreSeoBundle"
  "pimcore"
]
0.76 ms
(0.14%)
2
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "vcloud_poi"
]
0.73 ms
(0.13%)
1
SELECT * FROM object_collection_vcloudContentblock_vcloud_poi WHERE id = ? AND fieldname = ? ORDER BY `index` ASC
Parameters:
[
  3444
  "contentblocks"
]
0.73 ms
(0.13%)
1
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,257,254,261) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  258
]
0.73 ms
(0.13%)
1
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,300,298,289) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  302
]
0.67 ms
(0.12%)
1
SELECT documents.*, documents_email.*, tree_locks.locked FROM documents
            LEFT JOIN documents_email ON documents.id = documents_email.id
            LEFT JOIN tree_locks ON documents.id = tree_locks.id AND tree_locks.type = 'document'
                WHERE documents.id = ?
Parameters:
[
  149
]
0.58 ms
(0.11%)
1
SELECT * FROM object_relations_vcloud_concept WHERE src_id = ?
Parameters:
[
  12417
]
0.58 ms
(0.11%)
2
SELECT sourceId FROM documents_translations WHERE id = ?
Parameters:
[
  129
]
0.58 ms
(0.11%)
1
SELECT id FROM website_settings
Parameters:
[]
0.57 ms
(0.11%)
1
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,213) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  214
]
0.56 ms
(0.10%)
1
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,218,216,214,213) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  221
]
0.55 ms
(0.10%)
1
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,294,292,290,289) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  295
]
0.53 ms
(0.10%)
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 = 7 AND priority = 99 ORDER BY `priority` DESC
Parameters:
[
  "/nl/silvrettasee-winter_vc3444"
  "path"
  "auto_create"
  "/nl/silvrettasee-winter_vc3444"
  "path_query"
  "https://silvretta.montafon-staging.conecto.rocks/nl/silvrettasee-winter_vc3444"
  "entire_uri"
]
0.53 ms
(0.10%)
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:
[
  "/_fragment"
  "path"
  "auto_create"
  "/_fragment?_path=_locale=de&_format=html&_controller=CONECTO%5CProviderBundle%5CController%5CDocumentController%3A%3AfooterSnippetAction"
  "path_query"
  "https://silvretta.montafon-staging.conecto.rocks/_fragment?_path=_locale=de&_format=html&_controller=CONECTO%5CProviderBundle%5CController%5CDocumentController%3A%3AfooterSnippetAction"
  "entire_uri"
]
0.48 ms
(0.09%)
1
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,292,290,289) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  294
]
0.37 ms
(0.07%)
1
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,261) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  254
]
0.32 ms
(0.06%)
1
SELECT * FROM tmp_store WHERE id = ?
Parameters:
[
  "maintenance_mode"
]
0.31 ms
(0.06%)
1
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,14) AND inheritable = 1) OR cid = ? )
                                 AND ctype='asset'
Parameters:
[
  38
]

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.

Entities Mapping