Query Metrics

90 Database Queries
29 Different statements
163.10 ms Query time
0 Invalid entities

Queries

Group similar statements

default connection

# Time Info
1 0.37 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.08 ms
SELECT * FROM website_settings WHERE id = ?
Parameters:
[
  1
]
3 0.25 ms
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "SiteConfig"
]
4 0.26 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.09 ms
SELECT * FROM website_settings WHERE id = ?
Parameters:
[
  8
]
6 0.08 ms
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "BlogPortal"
]
7 0.51 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" => "/en/Murtal/Plan-Holiday/Offers-and-Packages"
  "sourcePathQuery" => "/en/Murtal/Plan-Holiday/Offers-and-Packages"
  "sourceEntireUri" => "https://stage.steiermark.com/en/Murtal/Plan-Holiday/Offers-and-Packages"
  "typePath" => "path"
  "typePathQuery" => "path_query"
  "typeEntireUri" => "entire_uri"
  "typeAuto" => "auto_create"
]
8 0.12 ms
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "reports"
  "scope" => "pimcore"
]
9 0.22 ms
SELECT id FROM documents WHERE path = BINARY :path AND `key` = BINARY :key
Parameters:
[
  "key" => "Offers-and-Packages"
  "path" => "/steiermark.com/en/Murtal/Plan-Holiday/"
]
10 0.20 ms
SELECT * FROM object_url_slugs WHERE slug = '/en/Murtal/Plan-Holiday/Offers-and-Packages' AND (siteId = 6 OR siteId = 0) ORDER BY siteId DESC LIMIT 1
Parameters:
[]
11 0.13 ms
SELECT id FROM targeting_target_groups UNION SELECT id FROM targeting_rules LIMIT 1
Parameters:
[]
12 0.30 ms
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "21"
]
13 0.33 ms
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  16435
]
14 0.19 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:
[
  16480
]
15 0.14 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:
[
  16480
]
16 0.08 ms
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "31"
]
17 0.06 ms
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "59"
]
18 42.91 ms
select o_id,contentScore,priority,bookable  from object_8 where o_published = 1
Parameters:
[]
19 0.51 ms
SELECT objects.o_id as o_id, objects.o_type as o_type FROM objects WHERE (o_parentId = ? AND  objects.o_type IN ('object','folder')) AND objects.o_published = 1 ORDER BY `o_key` ASC
Parameters:
[
  11886
]
20 0.09 ms
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "72"
]
21 0.18 ms
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "44"
]
22 0.17 ms
SELECT * FROM object_url_slugs WHERE slug = '/steiermark.com//en/Murtal/Plan-Holiday/Offers-and-Packages' AND siteId = 0 ORDER BY siteId DESC LIMIT 1
Parameters:
[]
23 0.12 ms
SELECT sourceId FROM documents_translations WHERE id = ?
Parameters:
[
  16435
]
24 0.18 ms
SELECT id,language FROM documents_translations WHERE sourceId IN(?, ?) UNION SELECT sourceId as id,"source" FROM documents_translations WHERE id = ?
Parameters:
[
  11315
  16435
  16435
]
25 0.12 ms
SELECT id,language FROM documents_translations WHERE sourceId = ? UNION SELECT sourceId as id,"source" FROM documents_translations WHERE id = ?
Parameters:
[
  16435
  16435
]
26 0.11 ms
SELECT id,language FROM documents_translations WHERE sourceId = ? UNION SELECT sourceId as id,"source" FROM documents_translations WHERE id = ?
Parameters:
[
  11315
  11315
]
27 0.09 ms
SELECT * FROM object_url_slugs WHERE slug = '/steiermark.com//en/Murtal/Plan-Holiday/Offers-and-Packages' AND siteId = 0 ORDER BY siteId DESC LIMIT 1
Parameters:
[]
28 0.15 ms
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "Region"
]
29 0.10 ms
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[]
30 0.09 ms
SELECT id FROM sites
Parameters:
[]
31 0.12 ms
SELECT sourceId FROM documents_translations WHERE id = ?
Parameters:
[
  16435
]
32 0.18 ms
SELECT id,language FROM documents_translations WHERE sourceId IN(?, ?) UNION SELECT sourceId as id,"source" FROM documents_translations WHERE id = ?
Parameters:
[
  11315
  16435
  16435
]
33 0.11 ms
SELECT id,language FROM documents_translations WHERE sourceId = ? UNION SELECT sourceId as id,"source" FROM documents_translations WHERE id = ?
Parameters:
[
  16435
  16435
]
34 0.11 ms
SELECT id,language FROM documents_translations WHERE sourceId = ? UNION SELECT sourceId as id,"source" FROM documents_translations WHERE id = ?
Parameters:
[
  11315
  11315
]
35 0.10 ms
SELECT id FROM documents WHERE path = BINARY :path AND `key` = BINARY :key
Parameters:
[
  "key" => "Offers-and-Packages"
  "path" => "/en/Murtal/Plan-Holiday/"
]
36 0.08 ms
SELECT id FROM documents_page WHERE prettyUrl = :prettyUrl
Parameters:
[
  "prettyUrl" => "/en/Murtal/Plan-Holiday/Offers-and-Packages"
]
37 0.07 ms
SELECT id FROM documents WHERE path = BINARY :path AND `key` = BINARY :key
Parameters:
[
  "key" => "Offers-and-Packages"
  "path" => "/en/Murtal/Plan-Holiday/"
]
38 0.07 ms
SELECT id FROM documents_page WHERE prettyUrl = :prettyUrl
Parameters:
[
  "prettyUrl" => "/en/Murtal/Plan-Holiday/Offers-and-Packages"
]
39 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/%"
  "/en/Murtal/Plan-Holiday/Offers-and-Packages"
]
40 0.07 ms
SELECT id FROM documents WHERE path = BINARY :path AND `key` = BINARY :key
Parameters:
[
  "key" => "Plan-Holiday"
  "path" => "/en/Murtal/"
]
41 0.08 ms
SELECT id FROM documents_page WHERE prettyUrl = :prettyUrl
Parameters:
[
  "prettyUrl" => "/en/Murtal/Plan-Holiday"
]
42 0.11 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/%"
  "/en/Murtal/Plan-Holiday"
]
43 0.07 ms
SELECT id FROM documents WHERE path = BINARY :path AND `key` = BINARY :key
Parameters:
[
  "key" => "Murtal"
  "path" => "/en/"
]
44 0.07 ms
SELECT id FROM documents_page WHERE prettyUrl = :prettyUrl
Parameters:
[
  "prettyUrl" => "/en/Murtal"
]
45 0.11 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/%"
  "/en/Murtal"
]
46 0.07 ms
SELECT id FROM documents WHERE path = BINARY :path AND `key` = BINARY :key
Parameters:
[
  "key" => "en"
  "path" => "/"
]
47 0.07 ms
SELECT id FROM documents_page WHERE prettyUrl = :prettyUrl
Parameters:
[
  "prettyUrl" => "/en"
]
48 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/%"
  "/en"
]
49 0.11 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/%"
  ""
]
50 0.08 ms
SELECT id FROM documents WHERE path = BINARY :path AND `key` = BINARY :key
Parameters:
[
  "key" => ""
  "path" => "/"
]
51 0.09 ms
SELECT * FROM object_url_slugs WHERE slug = '/en/Murtal/Plan-Holiday/Offers-and-Packages' AND siteId = 0 ORDER BY siteId DESC LIMIT 1
Parameters:
[]
52 0.08 ms
SELECT id FROM settings_store WHERE scope = ?
Parameters:
[
  "pimcore_staticroutes"
]
53 0.08 ms
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "1"
  "scope" => "pimcore_staticroutes"
]
54 0.06 ms
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "2"
  "scope" => "pimcore_staticroutes"
]
55 0.06 ms
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "3"
  "scope" => "pimcore_staticroutes"
]
56 0.06 ms
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "4"
  "scope" => "pimcore_staticroutes"
]
57 0.06 ms
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "5"
  "scope" => "pimcore_staticroutes"
]
58 0.06 ms
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "6"
  "scope" => "pimcore_staticroutes"
]
59 0.06 ms
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "7"
  "scope" => "pimcore_staticroutes"
]
60 0.06 ms
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "8"
  "scope" => "pimcore_staticroutes"
]
61 0.06 ms
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "9"
  "scope" => "pimcore_staticroutes"
]
62 0.06 ms
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "10"
  "scope" => "pimcore_staticroutes"
]
63 0.06 ms
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "11"
  "scope" => "pimcore_staticroutes"
]
64 0.06 ms
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "12"
  "scope" => "pimcore_staticroutes"
]
65 0.06 ms
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "13"
  "scope" => "pimcore_staticroutes"
]
66 0.06 ms
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "15"
  "scope" => "pimcore_staticroutes"
]
67 0.06 ms
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "16"
  "scope" => "pimcore_staticroutes"
]
68 0.06 ms
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "17"
  "scope" => "pimcore_staticroutes"
]
69 0.06 ms
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "18"
  "scope" => "pimcore_staticroutes"
]
70 0.06 ms
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "19"
  "scope" => "pimcore_staticroutes"
]
71 0.06 ms
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "20"
  "scope" => "pimcore_staticroutes"
]
72 0.06 ms
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "21"
  "scope" => "pimcore_staticroutes"
]
73 0.06 ms
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "22"
  "scope" => "pimcore_staticroutes"
]
74 0.06 ms
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "23"
  "scope" => "pimcore_staticroutes"
]
75 0.06 ms
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "24"
  "scope" => "pimcore_staticroutes"
]
76 0.06 ms
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "25"
  "scope" => "pimcore_staticroutes"
]
77 0.06 ms
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "26"
  "scope" => "pimcore_staticroutes"
]
78 0.06 ms
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "27"
  "scope" => "pimcore_staticroutes"
]
79 0.06 ms
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "28"
  "scope" => "pimcore_staticroutes"
]
80 0.07 ms
SELECT id FROM sites
Parameters:
[]
81 0.12 ms
SELECT * FROM assets_image_thumbnail_cache WHERE cid = :cid
Parameters:
[
  "cid" => 1382164
]
82 0.07 ms
SELECT id FROM sites
Parameters:
[]
83 0.06 ms
SELECT id FROM sites
Parameters:
[]
84 0.30 ms
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  16480
]
85 0.12 ms
SELECT * FROM object_collection_demiDatePickerInfoText_21 WHERE o_id = ? AND fieldname = ? ORDER BY `index` ASC
Parameters:
[
  5882753
  "datepickerInfoTexts"
]
86 0.28 ms
SELECT * FROM properties WHERE ((cid IN (1,16407,16394,16384,3943,1430) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  16480
]
87 0.15 ms
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "18"
]

demi_vacancies connection

# Time Info
1 38.87 ms
SELECT   dacco.isTop, dacco.bookable, dacco.oo_id oo_id, products.oo_id product_id, hpMasters.src_id hpMaster_id  FROM `steiermark`.object_8 dacco INNER JOIN `steiermark`.object_7 services ON dacco.oo_id = services.o_parentId  INNER JOIN `steiermark`.object_6 products ON services.oo_id = products.o_parentId  INNER JOIN `steiermark`.object_relations_44 hpMasters ON hpMasters.dest_id = products.oo_id  WHERE  dacco.o_published = 1  AND (products.o_published = 1  AND products.productType = 'Package') AND (dacco.town__id IN (11956, 11929, 11935, 11923, 11936, 11926, 11927, 11918, 11966, 11971, 11972, 11931, 11928, 11953, 11930, 11924, 11954, 11955, 11942, 11932)) AND (
                products.oo_id  IN (SELECT DISTINCT o_id FROM `steiermark`.object_collection_demiDate_6
                WHERE  `to` > 1732650347) OR validDatesType = 'Always'
            )  AND hpMasters.src_id in (select o_id from `steiermark`.object_44 where o_published = 1 and active=1) GROUP BY product_id  ORDER BY  RAND(422)
Parameters:
[]
2 39.81 ms
SELECT 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.product_id IN (44136448)
                       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:
[]
3 31.26 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 (1945937)
                  AND pt.product_id IN (44136448)
                   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.