Query Metrics

96 Database Queries
33 Different statements
175.96 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

default connection

Time Count Info
52.55 ms
(29.86%)
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:
[]
44.05 ms
(25.04%)
1
select o_id,contentScore,priority,bookable  from object_8 where o_published = 1
Parameters:
[]
2.54 ms
(1.44%)
28
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "reports"
  "scope" => "pimcore"
]
1.61 ms
(0.92%)
1
SELECT * FROM object_localized_data_AlpsteinTour WHERE ooo_id = ? AND language IN ('de','en','hu','cs','pl','nl','it','sk')
Parameters:
[
  324809
]
1.34 ms
(0.76%)
14
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "SiteConfig"
]
0.83 ms
(0.47%)
7
SELECT id FROM documents WHERE path = BINARY :path AND `key` = BINARY :key
Parameters:
[
  "key" => "Find-book-accommodation"
  "path" => "/steiermark.com/en/Hochsteiermark/Plan-your-holiday/"
]
0.79 ms
(0.45%)
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/%"
  "/en/Hochsteiermark/Plan-your-holiday/Find-book-accommodation"
]
0.73 ms
(0.42%)
1
SELECT * FROM object_store_AlpsteinTour WHERE oo_id = ?
Parameters:
[
  324809
]
0.62 ms
(0.35%)
4
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  14994
]
0.62 ms
(0.35%)
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.53 ms
(0.30%)
5
SELECT id FROM documents_page WHERE prettyUrl = :prettyUrl
Parameters:
[
  "prettyUrl" => "/en/Hochsteiermark/Plan-your-holiday/Find-book-accommodation"
]
0.48 ms
(0.27%)
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" => "/en/Hochsteiermark/Plan-your-holiday/Find-book-accommodation"
  "sourcePathQuery" => "/en/Hochsteiermark/Plan-your-holiday/Find-book-accommodation?nearbySearchId=324809&nearbySearchLat=47.52855&nearbySearchLong=15.41556&sorting=nearbySearchAsc"
  "sourceEntireUri" => "https://stage.steiermark.com/en/Hochsteiermark/Plan-your-holiday/Find-book-accommodation?nearbySearchId=324809&nearbySearchLat=47.52855&nearbySearchLong=15.41556&sorting=nearbySearchAsc"
  "typePath" => "path"
  "typePathQuery" => "path_query"
  "typeEntireUri" => "entire_uri"
  "typeAuto" => "auto_create"
]
0.44 ms
(0.25%)
4
SELECT id FROM sites
Parameters:
[]
0.43 ms
(0.25%)
1
SELECT * FROM object_relations_AlpsteinTour WHERE src_id = ?
Parameters:
[
  324809
]
0.43 ms
(0.25%)
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.33 ms
(0.19%)
2
SELECT id,language FROM documents_translations WHERE sourceId = ? UNION SELECT sourceId as id,"source" FROM documents_translations WHERE id = ?
Parameters:
[
  14994
  14994
]
0.23 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
  14994
  14994
]
0.22 ms
(0.13%)
1
SELECT * FROM object_url_slugs WHERE slug = '/steiermark.com//en/Hochsteiermark/Plan-your-holiday/Find-book-accommodation' AND siteId = 0 ORDER BY siteId DESC LIMIT 1
Parameters:
[]
0.22 ms
(0.13%)
1
SELECT assets.*, tree_locks.locked FROM assets
            LEFT JOIN tree_locks ON assets.id = tree_locks.id AND tree_locks.type = 'asset'
                WHERE assets.id = ?
Parameters:
[
  2366355
]
0.21 ms
(0.12%)
2
SELECT * FROM website_settings WHERE id = ?
Parameters:
[
  1
]
0.17 ms
(0.10%)
1
SELECT * FROM object_url_slugs WHERE slug = '/en/Hochsteiermark/Plan-your-holiday/Find-book-accommodation' AND (siteId = 6 OR siteId = 0) ORDER BY siteId DESC LIMIT 1
Parameters:
[]
0.17 ms
(0.10%)
1
SELECT * FROM assets_image_thumbnail_cache WHERE cid = :cid
Parameters:
[
  "cid" => 1276968
]
0.17 ms
(0.10%)
1
SELECT objects.*, tree_locks.locked as o_locked FROM objects
            LEFT JOIN tree_locks ON objects.o_id = tree_locks.id AND tree_locks.type = 'object'
                WHERE o_id = ?
Parameters:
[
  324809
]
0.15 ms
(0.09%)
1
SELECT sourceId FROM documents_translations WHERE id = ?
Parameters:
[
  14994
]
0.15 ms
(0.08%)
1
SELECT * FROM object_collection_demiDatePickerInfoText_21 WHERE o_id = ? AND fieldname = ? ORDER BY `index` ASC
Parameters:
[
  5882751
  "datepickerInfoTexts"
]
0.14 ms
(0.08%)
1
SELECT id FROM targeting_target_groups UNION SELECT id FROM targeting_rules LIMIT 1
Parameters:
[]
0.12 ms
(0.07%)
1
SELECT * FROM object_url_slugs WHERE slug = '/en/Hochsteiermark/Plan-your-holiday/Find-book-accommodation' AND siteId = 0 ORDER BY siteId DESC LIMIT 1
Parameters:
[]
0.12 ms
(0.07%)
1
SELECT o_type,o_className,o_classId FROM objects WHERE o_id = ?
Parameters:
[
  324809
]
0.11 ms
(0.06%)
1
SELECT id FROM settings_store WHERE scope = ?
Parameters:
[
  "pimcore_staticroutes"
]
0.10 ms
(0.06%)
1
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[]
0.09 ms
(0.05%)
1
SELECT * FROM assets_metadata WHERE cid = ?
Parameters:
[
  2366355
]

demi_vacancies connection

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