Query Metrics

96 Database Queries
25 Different statements
128.33 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

default connection

Time Count Info
36.76 ms
(28.64%)
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:
[]
31.44 ms
(24.50%)
1
select o_id,contentScore,priority,bookable  from object_8 where o_published = 1
Parameters:
[]
3.14 ms
(2.45%)
11
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  11846
]
2.04 ms
(1.59%)
9
SELECT * FROM assets_image_thumbnail_cache WHERE cid = :cid
Parameters:
[
  "cid" => 5272620
]
1.89 ms
(1.47%)
30
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "reports"
  "scope" => "pimcore"
]
1.39 ms
(1.08%)
8
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "SiteConfig"
]
0.70 ms
(0.54%)
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=45897330&nearbySearchLat=47.21928&nearbySearchLong=14.76519&sorting=nearbySearchAsc"
  "sourceEntireUri" => "https://stage.steiermark.com/de/Hochsteiermark/Urlaub-planen/Unterkuenfte-suchen-und-buchen?nearbySearchId=45897330&nearbySearchLat=47.21928&nearbySearchLong=14.76519&sorting=nearbySearchAsc"
  "typePath" => "path"
  "typePathQuery" => "path_query"
  "typeEntireUri" => "entire_uri"
  "typeAuto" => "auto_create"
]
0.65 ms
(0.50%)
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.61 ms
(0.48%)
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.55 ms
(0.43%)
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.50 ms
(0.39%)
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.38 ms
(0.30%)
2
SELECT id FROM sites
Parameters:
[]
0.36 ms
(0.28%)
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.35 ms
(0.27%)
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.32 ms
(0.25%)
5
SELECT id FROM documents_page WHERE prettyUrl = :prettyUrl
Parameters:
[
  "prettyUrl" => "/de/Hochsteiermark/Urlaub-planen/Unterkuenfte-suchen-und-buchen"
]
0.30 ms
(0.23%)
1
SELECT sourceId FROM documents_translations WHERE id = ?
Parameters:
[
  11846
]
0.22 ms
(0.17%)
1
SELECT id FROM targeting_target_groups UNION SELECT id FROM targeting_rules LIMIT 1
Parameters:
[]
0.20 ms
(0.15%)
1
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[]
0.20 ms
(0.15%)
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%)
2
SELECT * FROM website_settings WHERE id = ?
Parameters:
[
  1
]
0.11 ms
(0.08%)
1
SELECT id,language FROM documents_translations WHERE sourceId = ? UNION SELECT sourceId as id,"source" FROM documents_translations WHERE id = ?
Parameters:
[
  14994
  14994
]
0.10 ms
(0.08%)
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.07 ms
(0.06%)
1
SELECT id FROM settings_store WHERE scope = ?
Parameters:
[
  "pimcore_staticroutes"
]

demi_vacancies connection

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