Query Metrics

87 Database Queries
25 Different statements
146.81 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

default connection

Time Count Info
36.10 ms
(24.59%)
1
select o_id,contentScore,priority,bookable  from object_8 where o_published = 1
Parameters:
[]
35.44 ms
(24.14%)
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:
[]
3.38 ms
(2.30%)
29
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "reports"
  "scope" => "pimcore"
]
2.78 ms
(1.89%)
8
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  11846
]
1.08 ms
(0.73%)
6
SELECT * FROM assets_image_thumbnail_cache WHERE cid = :cid
Parameters:
[
  "cid" => 5272620
]
0.98 ms
(0.67%)
7
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "SiteConfig"
]
0.86 ms
(0.59%)
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.83 ms
(0.57%)
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.61 ms
(0.42%)
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.60 ms
(0.41%)
5
SELECT id FROM documents_page WHERE prettyUrl = :prettyUrl
Parameters:
[
  "prettyUrl" => "/de/Hochsteiermark/Urlaub-planen/Unterkuenfte-suchen-und-buchen"
]
0.51 ms
(0.35%)
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=7133516&nearbySearchLat=46.89442&nearbySearchLong=15.8615&sorting=nearbySearchAsc"
  "sourceEntireUri" => "https://stage.steiermark.com/de/Hochsteiermark/Urlaub-planen/Unterkuenfte-suchen-und-buchen?nearbySearchId=7133516&nearbySearchLat=46.89442&nearbySearchLong=15.8615&sorting=nearbySearchAsc"
  "typePath" => "path"
  "typePathQuery" => "path_query"
  "typeEntireUri" => "entire_uri"
  "typeAuto" => "auto_create"
]
0.50 ms
(0.34%)
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.31 ms
(0.21%)
1
SELECT sourceId FROM documents_translations WHERE id = ?
Parameters:
[
  11846
]
0.30 ms
(0.21%)
1
SELECT id FROM sites
Parameters:
[]
0.29 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.26 ms
(0.18%)
1
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[]
0.22 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.17 ms
(0.12%)
1
SELECT id,language FROM documents_translations WHERE sourceId = ? UNION SELECT sourceId as id,"source" FROM documents_translations WHERE id = ?
Parameters:
[
  14994
  14994
]
0.17 ms
(0.11%)
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.15 ms
(0.10%)
2
SELECT * FROM website_settings WHERE id = ?
Parameters:
[
  1
]
0.13 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.13 ms
(0.09%)
1
SELECT id FROM settings_store WHERE scope = ?
Parameters:
[
  "pimcore_staticroutes"
]
0.11 ms
(0.08%)
1
SELECT id FROM targeting_target_groups UNION SELECT id FROM targeting_rules LIMIT 1
Parameters:
[]

demi_vacancies connection

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