Query Metrics

81 Database Queries
26 Different statements
142.39 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

default connection

Time Count Info
41.59 ms
(29.21%)
1
select o_id,contentScore,priority,bookable  from object_8 where o_published = 1
Parameters:
[]
36.45 ms
(25.60%)
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.00 ms
(1.41%)
28
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "reports"
  "scope" => "pimcore"
]
0.91 ms
(0.64%)
6
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "SiteConfig"
]
0.78 ms
(0.55%)
4
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  19883
]
0.74 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.66 ms
(0.46%)
7
SELECT id FROM documents WHERE path = BINARY :path AND `key` = BINARY :key
Parameters:
[
  "key" => "book-accommodation"
  "path" => "/steiermark.com/en/Suedsteiermark/Holiday/"
]
0.60 ms
(0.42%)
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/Suedsteiermark/Holiday/book-accommodation"
]
0.55 ms
(0.39%)
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/Suedsteiermark/Holiday/book-accommodation"
  "sourcePathQuery" => "/en/Suedsteiermark/Holiday/book-accommodation?randSeed=370&showMap=1&nearbySearchId=854019&nearbySearchLat=46.94606&nearbySearchLong=15.3425&sorting=nearbySearchAsc&page=11"
  "sourceEntireUri" => "https://stage.steiermark.com/en/Suedsteiermark/Holiday/book-accommodation?nearbySearchId=854019&nearbySearchLat=46.94606&nearbySearchLong=15.3425&page=11&randSeed=370&showMap=1&sorting=nearbySearchAsc"
  "typePath" => "path"
  "typePathQuery" => "path_query"
  "typeEntireUri" => "entire_uri"
  "typeAuto" => "auto_create"
]
0.52 ms
(0.37%)
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:
[
  6938
]
0.46 ms
(0.32%)
4
SELECT id FROM sites
Parameters:
[]
0.45 ms
(0.32%)
2
SELECT id,language FROM documents_translations WHERE sourceId = ? UNION SELECT sourceId as id,"source" FROM documents_translations WHERE id = ?
Parameters:
[
  19883
  19883
]
0.39 ms
(0.27%)
5
SELECT id FROM documents_page WHERE prettyUrl = :prettyUrl
Parameters:
[
  "prettyUrl" => "/en/Suedsteiermark/Holiday/book-accommodation"
]
0.31 ms
(0.22%)
1
SELECT * FROM object_url_slugs WHERE slug = '/steiermark.com//en/Suedsteiermark/Holiday/book-accommodation' AND siteId = 0 ORDER BY siteId DESC LIMIT 1
Parameters:
[]
0.28 ms
(0.19%)
1
SELECT id,language FROM documents_translations WHERE sourceId IN(?, ?) UNION SELECT sourceId as id,"source" FROM documents_translations WHERE id = ?
Parameters:
[
  6515
  19883
  19883
]
0.24 ms
(0.17%)
1
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[]
0.20 ms
(0.14%)
1
SELECT sourceId FROM documents_translations WHERE id = ?
Parameters:
[
  19883
]
0.18 ms
(0.12%)
1
SELECT * FROM object_url_slugs WHERE slug = '/en/Suedsteiermark/Holiday/book-accommodation' AND (siteId = 6 OR siteId = 0) ORDER BY siteId DESC LIMIT 1
Parameters:
[]
0.17 ms
(0.12%)
2
SELECT * FROM website_settings WHERE id = ?
Parameters:
[
  1
]
0.15 ms
(0.10%)
1
SELECT * FROM assets_image_thumbnail_cache WHERE cid = :cid
Parameters:
[
  "cid" => 1223526
]
0.14 ms
(0.10%)
1
SELECT * FROM object_collection_demiDatePickerInfoText_21 WHERE o_id = ? AND fieldname = ? ORDER BY `index` ASC
Parameters:
[
  5882756
  "datepickerInfoTexts"
]
0.13 ms
(0.09%)
1
SELECT id FROM targeting_target_groups UNION SELECT id FROM targeting_rules LIMIT 1
Parameters:
[]
0.10 ms
(0.07%)
1
SELECT * FROM object_url_slugs WHERE slug = '/en/Suedsteiermark/Holiday/book-accommodation' AND siteId = 0 ORDER BY siteId DESC LIMIT 1
Parameters:
[]
0.08 ms
(0.06%)
1
SELECT id FROM settings_store WHERE scope = ?
Parameters:
[
  "pimcore_staticroutes"
]

demi_vacancies connection

Time Count Info
46.06 ms
(32.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 (28124,1989566,35666833,48496,45375,4063051,30482936,44339,51833,5367477,18776204,36531210,49790,39558266,1994545,1992261,11367489,54695,42114,2064168,20203610,1988385,1991623,49497910,1984760,30756,10114007,1986015,17811174,34831,1993878,7738640,18680,20707,52476,27471,1990539,23077,43526,12279128,43184382,20840,1990285,1994374,2065496,55395,37942,1992182,42785,47398,30980,51357,31117139,42428,38060,9455693,40646,18746,33451,2061355,46636,1993811,39007,1993645,46450,1985660,1984665,27685,50194,43804,28278,8142109,17904,19158,35655,35324,48017,11185192,1991966,24242,54118,1433530,2060516,46968,2062684,2059361,14659516,1985174,14913865,25025,43414,36664,28470795,38480,45797,48365,1988207,4149206,44172,35666823,55167,35070,25723022,45252,1987463,22475,54166,4061211,28657,33768,39231,39687,24781077,15843263,1993242,26431,50189,44587191,18432,28828,28867350,34983,42753168,33905,31474,41615,43065,1989012,9313566,21368,9484915,1146742,33100,12910729,17126,1988816,4608272,1985522,45319,1990954,23435,38373,21659,22213550,43702020,46316,30773134,29547,42911,19852,32010,18462,48890,367300,31340,2059991,28587,18290,2065944,19115,31422,53593,2063458,40425,28091523,45054,2064618,36160,17593634,16110362,24971,2063745,39998,23620,38423,51034,7351637,35382,21859,17823,21427,2064720,1993209,53159,26721,15498539,50850,53347,26570,5949155,1986795,41879,41793,36617,50011,1985351,26851,47606,55324,2058868,42841,1986716,43125,1986433,1995175,39083,31203,31625,44050,52545,1985474,12879304,26337,47487,47921,44660,53239,8537205,1994889,32750792,1989306,30764208,11365272,1833139,46250,18042,1984997,49276,52190,1987095,43641,18813,12910566,19857,1984508,18165472,2059839,52801,1986681,42350,15375608,36327,23920,50086,19054,2684053,6645142,11436541,1995103,46733,1991492,24448,40768,24375268,34358,41366,27631,24793,50325,1986865,36531205,41239,1987706,9283115,41198698,37365,39377,40556,41649,47131,47781,44387,31543,32353,39575,30731557,42655,7738339,45122,1988937,47247,46578,28876,1984959,17676,34013,1992394,20023418,33519,39454,1988874,20577,49548934,17418,35206879,44222,54523,38904,43837572,43155,34270,53474,45143324,1994732,44781642,1988139,40473,43758,19475,2064808,1984904,45198113,1986627,32298578,9529160,49387,42581,23991,28867356,48570,1985415,10664738,44831,31843325,27419533,37746,1995257,45582,46874,30101,53743,48905589,25423486,49502,1993946,18328480,54798,25942,4761749,54339,55242,46206,36492,4061338,32689,37217,27868,51151,46152494,59655,44781629,38807,23500,4061187,20291,11364731,39297,2059260,32305843,35330412,1986946,4061122,1993711,31772,25763,37175,36935,41160,25273,38616,25766745,25522,2062410,35206874,53948,4525614,20108,35666828,43433,30565,1146711,2060888)
                  
                   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:
[]
8.25 ms
(5.79%)
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 (6944, 6971, 12312, 12321, 6973, 12320, 6953, 12309, 6955, 6957, 6963, 6948, 12304, 6969, 6945, 6966, 6951, 6968, 6949, 12305, 6958, 6959, 6970, 6974, 12324, 12342, 6946, 6956, 6964, 6954, 6967, 12319, 12333, 6965, 12323, 12316, 6961, 12318, 6972, 6962, 6960, 12329, 12311, 6947)) AND dacco.bookable = 1  GROUP BY dacco.oo_id  ORDER BY  RAND(370)
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.