Query Metrics

88 Database Queries
26 Different statements
137.88 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

default connection

Time Count Info
49.68 ms
(36.03%)
1
select o_id,contentScore,priority,bookable  from object_8 where o_published = 1
Parameters:
[]
33.04 ms
(23.96%)
1
select o_id as id, position__longitude as lon,  position__latitude as lat from object_8 WHERE position__longitude IS NOT NULL AND position__latitude IS NOT NULL
Parameters:
[]
2.52 ms
(1.83%)
29
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "reports"
  "scope" => "pimcore"
]
2.27 ms
(1.64%)
13
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "SiteConfig"
]
1.21 ms
(0.88%)
3
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  11846
]
0.81 ms
(0.59%)
2
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
]
0.77 ms
(0.56%)
1
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/Hochsteiermark/Urlaub-planen/Unterkuenfte-suchen-und-buchen"
  "sourcePathQuery" => "/de/Hochsteiermark/Urlaub-planen/Unterkuenfte-suchen-und-buchen?nearbySearchId=324394&nearbySearchLat=46.9193&nearbySearchLong=15.19495&randSeed=100&sorting=nearbySearchAsc"
  "sourceEntireUri" => "https://stage.steiermark.com/de/Hochsteiermark/Urlaub-planen/Unterkuenfte-suchen-und-buchen?nearbySearchId=324394&nearbySearchLat=46.9193&nearbySearchLong=15.19495&randSeed=100&sorting=nearbySearchAsc"
  "typePath" => "path"
  "typePathQuery" => "path_query"
  "typeEntireUri" => "entire_uri"
  "typeAuto" => "auto_create"
]
0.68 ms
(0.49%)
7
SELECT id FROM documents WHERE path = BINARY :path AND `key` = BINARY :key
Parameters:
[
  "key" => "Unterkuenfte-suchen-und-buchen"
  "path" => "/steiermark.com/de/Hochsteiermark/Urlaub-planen/"
]
0.58 ms
(0.42%)
5
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/Hochsteiermark/Urlaub-planen/Unterkuenfte-suchen-und-buchen"
]
0.52 ms
(0.38%)
1
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:
[
  11507
]
0.52 ms
(0.38%)
4
SELECT id FROM sites
Parameters:
[]
0.44 ms
(0.32%)
5
SELECT id FROM documents_page WHERE prettyUrl = :prettyUrl
Parameters:
[
  "prettyUrl" => "/de/Hochsteiermark/Urlaub-planen/Unterkuenfte-suchen-und-buchen"
]
0.43 ms
(0.32%)
2
SELECT * FROM assets_image_thumbnail_cache WHERE cid = :cid
Parameters:
[
  "cid" => 1276968
]
0.29 ms
(0.21%)
1
SELECT * FROM object_url_slugs WHERE slug = '/steiermark.com//de/Hochsteiermark/Urlaub-planen/Unterkuenfte-suchen-und-buchen' AND siteId = 0 ORDER BY siteId DESC LIMIT 1
Parameters:
[]
0.28 ms
(0.20%)
1
SELECT sourceId FROM documents_translations WHERE id = ?
Parameters:
[
  11846
]
0.24 ms
(0.18%)
2
SELECT * FROM website_settings WHERE id = ?
Parameters:
[
  1
]
0.24 ms
(0.17%)
1
SELECT * FROM object_url_slugs WHERE slug = '/de/Hochsteiermark/Urlaub-planen/Unterkuenfte-suchen-und-buchen' AND (siteId = 6 OR siteId = 0) ORDER BY siteId DESC LIMIT 1
Parameters:
[]
0.24 ms
(0.17%)
1
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[]
0.18 ms
(0.13%)
1
SELECT id,language FROM documents_translations WHERE sourceId IN(?, ?) UNION SELECT sourceId as id,"source" FROM documents_translations WHERE id = ?
Parameters:
[
  11846
  11846
  11846
]
0.16 ms
(0.12%)
1
SELECT id FROM targeting_target_groups UNION SELECT id FROM targeting_rules LIMIT 1
Parameters:
[]
0.12 ms
(0.09%)
1
SELECT id,language FROM documents_translations WHERE sourceId = ? UNION SELECT sourceId as id,"source" FROM documents_translations WHERE id = ?
Parameters:
[
  14994
  14994
]
0.11 ms
(0.08%)
1
SELECT * FROM object_collection_demiDatePickerInfoText_21 WHERE o_id = ? AND fieldname = ? ORDER BY `index` ASC
Parameters:
[
  5882751
  "datepickerInfoTexts"
]
0.10 ms
(0.07%)
1
SELECT * FROM object_url_slugs WHERE slug = '/de/Hochsteiermark/Urlaub-planen/Unterkuenfte-suchen-und-buchen' AND siteId = 0 ORDER BY siteId DESC LIMIT 1
Parameters:
[]
0.09 ms
(0.06%)
1
SELECT id FROM settings_store WHERE scope = ?
Parameters:
[
  "pimcore_staticroutes"
]

demi_vacancies connection

Time Count Info
38.97 ms
(28.26%)
1
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 (1620881,1619783,1635377,1640812,13418149,43384764,1620528,39226898,1622610,6356118,1633182,1633506,1631738,1621683,1648391,1636022,1623749,1633679,1646646,4062278,1624685,1622914,1634078,1621086,1620047,2661087,1637831,1637797,1632798,1621181,1633155,1625496,1622327,1621239,1621646,1625132,1620658,11753981,1632608,1645676,1637716,1622267,1619833,1648477,1621367,43384756,1624206,1625106,6142093,1625798,1637922,1631825,1648548,1625836,1625179,1632999,1635281,1633626,18129824,11753999,1619043,1624824,1639729,1624490,1626974,1643484,1625784,1639192,1638503,1931242,1624928,1625445,9624503,8484467,2587910,1623363,1631532,1623716,1622865,1638938,1620355,1624562,1625755,1647231,1621213,1620371,1626047,1622191,1625429,1638661,1639682,1633994,1625639,21236516,1621941,26342359,1632749,1632452,2660121,1646659,1620331,1640572,1622502,1620087,1632667,1620033,1631662,1635442,1635520,1634962,4062202,1640108,1619633,1633887,35322667,1625909,1625875,2659288,1634090,1634217,1634534,1643418,1623678,1622686,4062150,1634372,2659058,1638980,1622382,1622536,1645256,1637581,1626927,1632497,1622470,1626131,1623990,1619305,1620732,1633857,1626078,12406905,1646152,1626620,1620303,1638201,1633946,1621340,1619289,1646091,1626378,1625303,32341429,15730622,1622139,1624054,1646822,1621542,1623962,1637479,1648359,1635097,1636769,1634918,1619864,1624179,1633380,1623157,19326229,1619453,1620998,2661674,39952619,1646975,1626287,1632926,1635202,1623305,1633762,35617129,1647500,3213231,42105627,5367350,1635895,42449618,1633581,1625771,1619430,1645885,45794146,1624901,1620892,1632762,1619716,1635138,1634602,48224470,1620627,1633774,1632008,1632826,5612646,35757609,1648428,1627052,1645934,1648586,1625983,1619257,1645656,43384770,1635495,1620967,1647275,2530373,12435028,3379852,1624427,1625225,1624458,2660012,1621280,1620205,1619082,1634109,1634459,1648515,39270097,1635550,23455755,1633481,1621992,2657360,1619615,1634280,1632111,1632429,1622066,1633707,1627127,1621080,1634574,1625388,1635930,16605339,1624588,1625681,1626162,1634247,1639599,1619845,1626434,36619704,1643509,1632225,1620737,1635028,1633276,1637071,1620510,45916289,14383937,1620709,1648697,1621908,1648172,31729351,1646258,1634862,1640532,1622643,8925508,1632860,36260848,1635360,1646511,18743357,1625285,1623492,1625728,1638406,10490264,1625531,1622416,1636646,1633539,1646563,5612752,1619113,1624776,1622354,1619797,1626682,1646625,6285088,1635256,1639755,1634940,1635060,1633342)
                  
                   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.38 ms
(2.45%)
1
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 (11534, 11539, 11538, 11527, 11522, 11524, 11559, 11521, 11567, 11560, 11526, 11536, 3896603, 11528, 11535, 11537))  GROUP BY dacco.oo_id  ORDER BY  RAND(100)
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.