Query Metrics

88 Database Queries
26 Different statements
121.43 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

default connection

Time Count Info
31.85 ms
(26.23%)
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:
[]
27.12 ms
(22.34%)
1
select o_id,contentScore,priority,bookable  from object_8 where o_published = 1
Parameters:
[]
2.18 ms
(1.79%)
28
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "reports"
  "scope" => "pimcore"
]
1.43 ms
(1.18%)
13
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "SiteConfig"
]
0.80 ms
(0.66%)
7
SELECT id FROM documents WHERE path = BINARY :path AND `key` = BINARY :key
Parameters:
[
  "key" => "book-accommodation"
  "path" => "/steiermark.com/en/Suedsteiermark/Holiday/"
]
0.64 ms
(0.53%)
4
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  19883
]
0.59 ms
(0.48%)
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=1000&showMap=1&nearbySearchId=46460139&nearbySearchLat=46.93022&nearbySearchLong=15.25725&page=4&sorting=nearbySearchAsc"
  "sourceEntireUri" => "https://stage.steiermark.com/en/Suedsteiermark/Holiday/book-accommodation?nearbySearchId=46460139&nearbySearchLat=46.93022&nearbySearchLong=15.25725&page=4&randSeed=1000&showMap=1&sorting=nearbySearchAsc"
  "typePath" => "path"
  "typePathQuery" => "path_query"
  "typeEntireUri" => "entire_uri"
  "typeAuto" => "auto_create"
]
0.57 ms
(0.47%)
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.56 ms
(0.46%)
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.48 ms
(0.39%)
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.42 ms
(0.35%)
5
SELECT id FROM documents_page WHERE prettyUrl = :prettyUrl
Parameters:
[
  "prettyUrl" => "/en/Suedsteiermark/Holiday/book-accommodation"
]
0.34 ms
(0.28%)
4
SELECT id FROM sites
Parameters:
[]
0.23 ms
(0.19%)
2
SELECT id,language FROM documents_translations WHERE sourceId = ? UNION SELECT sourceId as id,"source" FROM documents_translations WHERE id = ?
Parameters:
[
  19883
  19883
]
0.23 ms
(0.19%)
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.19 ms
(0.15%)
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.14%)
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.16 ms
(0.13%)
2
SELECT * FROM website_settings WHERE id = ?
Parameters:
[
  1
]
0.12 ms
(0.10%)
1
SELECT id FROM targeting_target_groups UNION SELECT id FROM targeting_rules LIMIT 1
Parameters:
[]
0.12 ms
(0.10%)
1
SELECT * FROM assets_image_thumbnail_cache WHERE cid = :cid
Parameters:
[
  "cid" => 1223526
]
0.12 ms
(0.10%)
1
SELECT * FROM object_collection_demiDatePickerInfoText_21 WHERE o_id = ? AND fieldname = ? ORDER BY `index` ASC
Parameters:
[
  5882756
  "datepickerInfoTexts"
]
0.11 ms
(0.09%)
1
SELECT sourceId FROM documents_translations WHERE id = ?
Parameters:
[
  19883
]
0.11 ms
(0.09%)
1
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[]
0.10 ms
(0.08%)
1
SELECT id FROM settings_store WHERE scope = ?
Parameters:
[
  "pimcore_staticroutes"
]
0.09 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:
[]

demi_vacancies connection

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