Query Metrics

86 Database Queries
26 Different statements
160.65 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

default connection

Time Count Info
47.05 ms
(29.28%)
1
select o_id,contentScore,priority,bookable  from object_8 where o_published = 1
Parameters:
[]
32.80 ms
(20.42%)
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.59 ms
(1.61%)
28
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "reports"
  "scope" => "pimcore"
]
2.55 ms
(1.59%)
14
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "SiteConfig"
]
1.11 ms
(0.69%)
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.86 ms
(0.54%)
4
SELECT id FROM sites
Parameters:
[]
0.84 ms
(0.52%)
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.82 ms
(0.51%)
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.72 ms
(0.45%)
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=854321&nearbySearchLat=47.07247&nearbySearchLong=15.1278&page=11&randSeed=662&sorting=nearbySearchAsc"
  "sourceEntireUri" => "https://stage.steiermark.com/de/Hochsteiermark/Urlaub-planen/Unterkuenfte-suchen-und-buchen?nearbySearchId=854321&nearbySearchLat=47.07247&nearbySearchLong=15.1278&page=11&randSeed=662&sorting=nearbySearchAsc"
  "typePath" => "path"
  "typePathQuery" => "path_query"
  "typeEntireUri" => "entire_uri"
  "typeAuto" => "auto_create"
]
0.68 ms
(0.42%)
2
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  11846
]
0.53 ms
(0.33%)
5
SELECT id FROM documents_page WHERE prettyUrl = :prettyUrl
Parameters:
[
  "prettyUrl" => "/de/Hochsteiermark/Urlaub-planen/Unterkuenfte-suchen-und-buchen"
]
0.49 ms
(0.31%)
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.32 ms
(0.20%)
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.27 ms
(0.17%)
1
SELECT sourceId FROM documents_translations WHERE id = ?
Parameters:
[
  11846
]
0.27 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.25 ms
(0.16%)
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.24 ms
(0.15%)
1
SELECT * FROM assets_image_thumbnail_cache WHERE cid = :cid
Parameters:
[
  "cid" => 1276968
]
0.22 ms
(0.14%)
2
SELECT * FROM website_settings WHERE id = ?
Parameters:
[
  1
]
0.19 ms
(0.12%)
1
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[]
0.17 ms
(0.11%)
1
SELECT id,language FROM documents_translations WHERE sourceId = ? UNION SELECT sourceId as id,"source" FROM documents_translations WHERE id = ?
Parameters:
[
  14994
  14994
]
0.16 ms
(0.10%)
1
SELECT id FROM targeting_target_groups UNION SELECT id FROM targeting_rules LIMIT 1
Parameters:
[]
0.15 ms
(0.10%)
1
SELECT * FROM object_collection_demiDatePickerInfoText_21 WHERE o_id = ? AND fieldname = ? ORDER BY `index` ASC
Parameters:
[
  5882751
  "datepickerInfoTexts"
]
0.15 ms
(0.09%)
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.12 ms
(0.07%)
1
SELECT id FROM settings_store WHERE scope = ?
Parameters:
[
  "pimcore_staticroutes"
]

demi_vacancies connection

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