Query Metrics

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

Grouped Statements

Show all queries

default connection

Time Count Info
38.07 ms
(25.60%)
1
select o_id,contentScore,priority,bookable  from object_8 where o_published = 1
Parameters:
[]
38.06 ms
(25.59%)
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.73 ms
(1.83%)
14
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "SiteConfig"
]
2.47 ms
(1.66%)
28
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "reports"
  "scope" => "pimcore"
]
0.90 ms
(0.60%)
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.68 ms
(0.46%)
4
SELECT id FROM sites
Parameters:
[]
0.64 ms
(0.43%)
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.64 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.58 ms
(0.39%)
2
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  11846
]
0.57 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.44 ms
(0.29%)
5
SELECT id FROM documents_page WHERE prettyUrl = :prettyUrl
Parameters:
[
  "prettyUrl" => "/de/Hochsteiermark/Urlaub-planen/Unterkuenfte-suchen-und-buchen"
]
0.37 ms
(0.25%)
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=16359443&nearbySearchLat=47.54257&nearbySearchLong=14.88469&sorting=nearbySearchAsc"
  "sourceEntireUri" => "https://stage.steiermark.com/de/Hochsteiermark/Urlaub-planen/Unterkuenfte-suchen-und-buchen?nearbySearchId=16359443&nearbySearchLat=47.54257&nearbySearchLong=14.88469&sorting=nearbySearchAsc"
  "typePath" => "path"
  "typePathQuery" => "path_query"
  "typeEntireUri" => "entire_uri"
  "typeAuto" => "auto_create"
]
0.29 ms
(0.19%)
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.18%)
1
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[]
0.25 ms
(0.17%)
2
SELECT * FROM website_settings WHERE id = ?
Parameters:
[
  1
]
0.22 ms
(0.15%)
1
SELECT sourceId FROM documents_translations WHERE id = ?
Parameters:
[
  11846
]
0.20 ms
(0.14%)
1
SELECT * FROM assets_image_thumbnail_cache WHERE cid = :cid
Parameters:
[
  "cid" => 1276968
]
0.20 ms
(0.14%)
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.19 ms
(0.13%)
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.16 ms
(0.11%)
1
SELECT * FROM object_collection_demiDatePickerInfoText_21 WHERE o_id = ? AND fieldname = ? ORDER BY `index` ASC
Parameters:
[
  5882751
  "datepickerInfoTexts"
]
0.15 ms
(0.10%)
1
SELECT id FROM targeting_target_groups UNION SELECT id FROM targeting_rules LIMIT 1
Parameters:
[]
0.14 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.12 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.10 ms
(0.06%)
1
SELECT id FROM settings_store WHERE scope = ?
Parameters:
[
  "pimcore_staticroutes"
]

demi_vacancies connection

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