Query Metrics

91 Database Queries
28 Different statements
108.66 ms Query time
0 Invalid entities

Queries

Group similar statements

default connection

# Time Info
1 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:
[
  "defaultSiteConfig"
  null
  null
]
2 0.06 ms
SELECT * FROM website_settings WHERE id = ?
Parameters:
[
  1
]
3 0.06 ms
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "SiteConfig"
]
4 0.12 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.06 ms
SELECT * FROM website_settings WHERE id = ?
Parameters:
[
  8
]
6 0.05 ms
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "BlogPortal"
]
7 0.41 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" => "/de/Oststeiermark/Regionen/Kraeuterregion-Wechselland/Betriebe"
  "sourcePathQuery" => "/de/Oststeiermark/Regionen/Kraeuterregion-Wechselland/Betriebe"
  "sourceEntireUri" => "https://stage.steiermark.com/de/Oststeiermark/Regionen/Kraeuterregion-Wechselland/Betriebe"
  "typePath" => "path"
  "typePathQuery" => "path_query"
  "typeEntireUri" => "entire_uri"
  "typeAuto" => "auto_create"
]
8 0.09 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" => "Betriebe"
  "path" => "/steiermark.com/de/Oststeiermark/Regionen/Kraeuterregion-Wechselland/"
]
10 0.12 ms
SELECT * FROM object_url_slugs WHERE slug = '/de/Oststeiermark/Regionen/Kraeuterregion-Wechselland/Betriebe' AND (siteId = 6 OR siteId = 0) ORDER BY siteId DESC LIMIT 1
Parameters:
[]
11 0.10 ms
SELECT id FROM targeting_target_groups UNION SELECT id FROM targeting_rules LIMIT 1
Parameters:
[]
12 0.19 ms
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "21"
]
13 0.43 ms
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  15700
]
14 0.13 ms
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:
[
  15702
]
15 0.10 ms
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:
[
  15702
]
16 0.06 ms
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "72"
]
17 37.96 ms
select o_id,contentScore,priority,bookable  from object_8 where o_published = 1
Parameters:
[]
18 0.14 ms
SELECT * FROM object_url_slugs WHERE slug = '/steiermark.com//de/Oststeiermark/Regionen/Kraeuterregion-Wechselland/Betriebe' AND siteId = 0 ORDER BY siteId DESC LIMIT 1
Parameters:
[]
19 0.10 ms
SELECT sourceId FROM documents_translations WHERE id = ?
Parameters:
[
  15700
]
20 0.15 ms
SELECT id,language FROM documents_translations WHERE sourceId IN(?, ?) UNION SELECT sourceId as id,"source" FROM documents_translations WHERE id = ?
Parameters:
[
  15700
  15700
  15700
]
21 0.12 ms
SELECT id,language FROM documents_translations WHERE sourceId = ? UNION SELECT sourceId as id,"source" FROM documents_translations WHERE id = ?
Parameters:
[
  18771
  18771
]
22 0.13 ms
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:
[
  18771
]
23 0.42 ms
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:
[
  18771
]
24 0.10 ms
SELECT * FROM object_url_slugs WHERE slug = '/steiermark.com//de/Oststeiermark/Regionen/Kraeuterregion-Wechselland/Betriebe' AND siteId = 0 ORDER BY siteId DESC LIMIT 1
Parameters:
[]
25 0.12 ms
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "Region"
]
26 0.09 ms
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[]
27 0.16 ms
SELECT id FROM sites
Parameters:
[]
28 0.19 ms
SELECT sourceId FROM documents_translations WHERE id = ?
Parameters:
[
  15700
]
29 0.20 ms
SELECT id,language FROM documents_translations WHERE sourceId IN(?, ?) UNION SELECT sourceId as id,"source" FROM documents_translations WHERE id = ?
Parameters:
[
  15700
  15700
  15700
]
30 0.15 ms
SELECT id,language FROM documents_translations WHERE sourceId = ? UNION SELECT sourceId as id,"source" FROM documents_translations WHERE id = ?
Parameters:
[
  18771
  18771
]
31 0.24 ms
SELECT id FROM documents WHERE path = BINARY :path AND `key` = BINARY :key
Parameters:
[
  "key" => "Betriebe"
  "path" => "/de/Oststeiermark/Regionen/Kraeuterregion-Wechselland/"
]
32 0.10 ms
SELECT id FROM documents_page WHERE prettyUrl = :prettyUrl
Parameters:
[
  "prettyUrl" => "/de/Oststeiermark/Regionen/Kraeuterregion-Wechselland/Betriebe"
]
33 0.08 ms
SELECT id FROM documents WHERE path = BINARY :path AND `key` = BINARY :key
Parameters:
[
  "key" => "Betriebe"
  "path" => "/de/Oststeiermark/Regionen/Kraeuterregion-Wechselland/"
]
34 0.08 ms
SELECT id FROM documents_page WHERE prettyUrl = :prettyUrl
Parameters:
[
  "prettyUrl" => "/de/Oststeiermark/Regionen/Kraeuterregion-Wechselland/Betriebe"
]
35 0.17 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/%"
  "/de/Oststeiermark/Regionen/Kraeuterregion-Wechselland/Betriebe"
]
36 0.08 ms
SELECT id FROM documents WHERE path = BINARY :path AND `key` = BINARY :key
Parameters:
[
  "key" => "Kraeuterregion-Wechselland"
  "path" => "/de/Oststeiermark/Regionen/"
]
37 0.08 ms
SELECT id FROM documents_page WHERE prettyUrl = :prettyUrl
Parameters:
[
  "prettyUrl" => "/de/Oststeiermark/Regionen/Kraeuterregion-Wechselland"
]
38 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/%"
  "/de/Oststeiermark/Regionen/Kraeuterregion-Wechselland"
]
39 0.08 ms
SELECT id FROM documents WHERE path = BINARY :path AND `key` = BINARY :key
Parameters:
[
  "key" => "Regionen"
  "path" => "/de/Oststeiermark/"
]
40 0.07 ms
SELECT id FROM documents_page WHERE prettyUrl = :prettyUrl
Parameters:
[
  "prettyUrl" => "/de/Oststeiermark/Regionen"
]
41 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/%"
  "/de/Oststeiermark/Regionen"
]
42 0.08 ms
SELECT id FROM documents WHERE path = BINARY :path AND `key` = BINARY :key
Parameters:
[
  "key" => "Oststeiermark"
  "path" => "/de/"
]
43 0.08 ms
SELECT id FROM documents_page WHERE prettyUrl = :prettyUrl
Parameters:
[
  "prettyUrl" => "/de/Oststeiermark"
]
44 0.13 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/%"
  "/de/Oststeiermark"
]
45 0.07 ms
SELECT id FROM documents WHERE path = BINARY :path AND `key` = BINARY :key
Parameters:
[
  "key" => "de"
  "path" => "/"
]
46 0.07 ms
SELECT id FROM documents_page WHERE prettyUrl = :prettyUrl
Parameters:
[
  "prettyUrl" => "/de"
]
47 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/%"
  "/de"
]
48 0.13 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/%"
  ""
]
49 0.09 ms
SELECT id FROM documents WHERE path = BINARY :path AND `key` = BINARY :key
Parameters:
[
  "key" => ""
  "path" => "/"
]
50 0.11 ms
SELECT * FROM object_url_slugs WHERE slug = '/de/Oststeiermark/Regionen/Kraeuterregion-Wechselland/Betriebe' AND siteId = 0 ORDER BY siteId DESC LIMIT 1
Parameters:
[]
51 0.10 ms
SELECT id FROM settings_store WHERE scope = ?
Parameters:
[
  "pimcore_staticroutes"
]
52 0.10 ms
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "1"
  "scope" => "pimcore_staticroutes"
]
53 0.08 ms
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "2"
  "scope" => "pimcore_staticroutes"
]
54 0.08 ms
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "3"
  "scope" => "pimcore_staticroutes"
]
55 0.08 ms
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "4"
  "scope" => "pimcore_staticroutes"
]
56 0.08 ms
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "5"
  "scope" => "pimcore_staticroutes"
]
57 0.08 ms
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "6"
  "scope" => "pimcore_staticroutes"
]
58 0.08 ms
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "7"
  "scope" => "pimcore_staticroutes"
]
59 0.08 ms
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "8"
  "scope" => "pimcore_staticroutes"
]
60 0.08 ms
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "9"
  "scope" => "pimcore_staticroutes"
]
61 0.08 ms
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "10"
  "scope" => "pimcore_staticroutes"
]
62 0.09 ms
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "11"
  "scope" => "pimcore_staticroutes"
]
63 0.08 ms
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "12"
  "scope" => "pimcore_staticroutes"
]
64 0.09 ms
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "13"
  "scope" => "pimcore_staticroutes"
]
65 0.09 ms
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "15"
  "scope" => "pimcore_staticroutes"
]
66 0.08 ms
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "16"
  "scope" => "pimcore_staticroutes"
]
67 0.08 ms
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "17"
  "scope" => "pimcore_staticroutes"
]
68 0.08 ms
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "18"
  "scope" => "pimcore_staticroutes"
]
69 0.09 ms
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "19"
  "scope" => "pimcore_staticroutes"
]
70 0.09 ms
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "20"
  "scope" => "pimcore_staticroutes"
]
71 0.08 ms
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "21"
  "scope" => "pimcore_staticroutes"
]
72 0.09 ms
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "22"
  "scope" => "pimcore_staticroutes"
]
73 0.08 ms
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "23"
  "scope" => "pimcore_staticroutes"
]
74 0.08 ms
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "24"
  "scope" => "pimcore_staticroutes"
]
75 0.08 ms
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "25"
  "scope" => "pimcore_staticroutes"
]
76 0.08 ms
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "26"
  "scope" => "pimcore_staticroutes"
]
77 0.08 ms
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "27"
  "scope" => "pimcore_staticroutes"
]
78 0.08 ms
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "28"
  "scope" => "pimcore_staticroutes"
]
79 0.09 ms
SELECT id FROM sites
Parameters:
[]
80 0.13 ms
SELECT * FROM assets_image_thumbnail_cache WHERE cid = :cid
Parameters:
[
  "cid" => 1327906
]
81 0.10 ms
SELECT id FROM sites
Parameters:
[]
82 0.09 ms
SELECT id FROM sites
Parameters:
[]
83 0.39 ms
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  15702
]
84 0.14 ms
SELECT * FROM object_collection_demiDatePickerInfoText_21 WHERE o_id = ? AND fieldname = ? ORDER BY `index` ASC
Parameters:
[
  5882754
  "datepickerInfoTexts"
]
85 0.33 ms
SELECT * FROM properties WHERE ((cid IN (1,6425,411,54,2,1430) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15702
]
86 0.13 ms
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "18"
]
87 0.10 ms
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "31"
]
88 0.10 ms
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "30"
]
89 0.09 ms
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "51"
]

demi_vacancies connection

# Time Info
1 1.02 ms
SELECT   dacco.isTop, dacco.bookable, dacco.oo_id oo_id  FROM `steiermark`.object_8 dacco WHERE  dacco.o_published = 1  AND (dacco.town__id IN (12133, 12136, 12135, 12132))  GROUP BY dacco.oo_id  ORDER BY  RAND(454)
Parameters:
[]
2 59.08 ms
SELECT pt.acco_id, pt.product_id, bp.price as minPrice, pt.rule type, pt.nights nights
              FROM    `steiermark_vacancies`.price_template pt
                   INNER JOIN
                      `steiermark_vacancies`.price_template_base_prices bp
                   ON bp.price_template_id = pt.id
             WHERE     pt.acco_id IN (39685585,43604597,1972880,44526349,14659907,1972735,1972698,1972617,1973018)
                  
                   AND pt.stdOccupancy BETWEEN bp.occupancyFrom AND bp.occupancyTo
                   AND price > 0 and (select active from `steiermark`.object_6 product where product.o_id = pt.product_id)
                   order by minPrice
Parameters:
[]

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.