Query Metrics

85 Database Queries
25 Different statements
133.17 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

default connection

Time Count Info
38.70 ms
(29.06%)
1
select o_id,contentScore,priority,bookable  from object_8 where o_published = 1
Parameters:
[]
35.25 ms
(26.47%)
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.21 ms
(1.66%)
28
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "reports"
  "scope" => "pimcore"
]
2.12 ms
(1.59%)
13
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "SiteConfig"
]
0.74 ms
(0.56%)
7
SELECT id FROM documents WHERE path = BINARY :path AND `key` = BINARY :key
Parameters:
[
  "key" => "Accommodation"
  "path" => "/steiermark.com/en/Region-Graz/Vacation-planning/"
]
0.64 ms
(0.48%)
4
SELECT id FROM sites
Parameters:
[]
0.60 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/Region-Graz/Vacation-planning/Accommodation"
]
0.54 ms
(0.41%)
2
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  13974
]
0.42 ms
(0.32%)
5
SELECT id FROM documents_page WHERE prettyUrl = :prettyUrl
Parameters:
[
  "prettyUrl" => "/en/Region-Graz/Vacation-planning/Accommodation"
]
0.41 ms
(0.31%)
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.40 ms
(0.30%)
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/Region-Graz/Vacation-planning/Accommodation"
  "sourcePathQuery" => "/en/Region-Graz/Vacation-planning/Accommodation?nearbySearchId=324211&nearbySearchLat=47.24384&nearbySearchLong=15.80029&sorting=nearbySearchAsc&page=2&randSeed=166"
  "sourceEntireUri" => "https://stage.steiermark.com/en/Region-Graz/Vacation-planning/Accommodation?nearbySearchId=324211&nearbySearchLat=47.24384&nearbySearchLong=15.80029&page=2&randSeed=166&sorting=nearbySearchAsc"
  "typePath" => "path"
  "typePathQuery" => "path_query"
  "typeEntireUri" => "entire_uri"
  "typeAuto" => "auto_create"
]
0.33 ms
(0.25%)
1
SELECT * FROM object_url_slugs WHERE slug = '/steiermark.com//en/Region-Graz/Vacation-planning/Accommodation' AND siteId = 0 ORDER BY siteId DESC LIMIT 1
Parameters:
[]
0.30 ms
(0.22%)
1
SELECT sourceId FROM documents_translations WHERE id = ?
Parameters:
[
  13974
]
0.24 ms
(0.18%)
2
SELECT id,language FROM documents_translations WHERE sourceId = ? UNION SELECT sourceId as id,"source" FROM documents_translations WHERE id = ?
Parameters:
[
  13974
  13974
]
0.19 ms
(0.14%)
1
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[]
0.19 ms
(0.14%)
1
SELECT * FROM assets_image_thumbnail_cache WHERE cid = :cid
Parameters:
[
  "cid" => 1058282
]
0.19 ms
(0.14%)
1
SELECT * FROM object_collection_demiDatePickerInfoText_21 WHERE o_id = ? AND fieldname = ? ORDER BY `index` ASC
Parameters:
[
  5882750
  "datepickerInfoTexts"
]
0.18 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:
[
  5970
  13974
  13974
]
0.13 ms
(0.10%)
2
SELECT * FROM website_settings WHERE id = ?
Parameters:
[
  1
]
0.11 ms
(0.08%)
1
SELECT id FROM targeting_target_groups UNION SELECT id FROM targeting_rules LIMIT 1
Parameters:
[]
0.11 ms
(0.08%)
1
SELECT * FROM object_url_slugs WHERE slug = '/en/Region-Graz/Vacation-planning/Accommodation' AND siteId = 0 ORDER BY siteId DESC LIMIT 1
Parameters:
[]
0.11 ms
(0.08%)
1
SELECT * FROM object_url_slugs WHERE slug = '/en/Region-Graz/Vacation-planning/Accommodation' AND (siteId = 6 OR siteId = 0) ORDER BY siteId DESC LIMIT 1
Parameters:
[]
0.09 ms
(0.07%)
1
SELECT id FROM settings_store WHERE scope = ?
Parameters:
[
  "pimcore_staticroutes"
]

demi_vacancies connection

Time Count Info
45.59 ms
(34.23%)
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 (26740229,26739871,4608269,26740070,26739531,363263,42682918,26740112,1567369,28256420,26739822,42769488,1713553,26739383,42811906,1713366,41305644,362476,26739502,1715510,26739876,40739591,1713989,26740102,26739802,363436,26740025,20969330,26739856,29502930,1714423,26740005,26739890,1618699,26739403,26739919,2663172,42811912,26739378,36640534,3406278,26740257,1715444,39126410,42724854,362238,363214,1713862,26740195,15468314,1712994,1712652,26740060,26739817,26739635,1713460,42724832,26740155,26740020,26739846,1567956,1568248,1617658,1716219,363139,26739413,26739408,26739927,26740205,41305633,26739467,363560,1712193,26739861,10141050,26739438,10684008,36640514,1618763,26740160,363337,1714772,1567091,26740097,36640531,26740150,1714453,1567972,2662461,1713696,42769497,42769482,1713325,42811918,5418662,1567028,42682891,42724862,26739881,26740130,2661877,45112981,2655626,26740299,39669088,42769461,26740269,26740079,26740055,26739966,2655655,1714377,1714209,362207,26740330,26739942,1716290,1712283,1568474,26739841,363284,40695402,1712703,51194931,26740087,36598477,1567748,1715186,1568439,1567186,26739398,1717034,26740309,26740140,26740304,1567284,1713652,26740092,42724868,42433218,1716720,10680394,1617964,1712323,1714881,1716944,26740210,11365151,27189478,1716637,42811899,1715597,6173328,42682912,26739827,10680500,26740242,40818571,1713138,362414,362789,1715692,26740247,42724880,1567525,1567856,26739981,1567898,26740175,1712145,11366349,1715779,26740313,36640524,363505,1822910,26739986,11366305,26739866,26739885,26740135,10680223,1618672,10684637,26739772,26739895,1715325,26740015,26739832,1716696,26739373,1713829,26739952,1714950,26739787,362224,362272,26739792,26740126,362821,1712581,32526079,40739609,1568301,1618898,26739976,26740165,1712819,40818577,26740010,26739837,363102,26739910,26740224,42724847,26739851,26739452,36090619,1568651,26739393,26739995,26740265,26739388,362915,42724838,36258298,26684353,26740121,42682885,1616740,26739418,2662512,1567825,1713759,362951,26739782,42724874,1568361,1568208,26740050,363511,1567017,1713102,1617940,26739932,26740030,26739546,1714248,362255,1568525,26740233,1567618,26740000,1716000,26739957,42682901,26740035,1568610,1568590,26739991,40818583,36640511,1715129,26740045,26740040,36640521,26739447,1715485,1717056,1714011,1715720,362302,1713909,1567581,1713496,26739443,26739905,1711987,1567553,26740117,39338675,26740170,1568077,42478172,26739961,26740325,363159,40739599,26740294,1568396,1717100,26739900,26740200,1714298,28035682,1715372,26739971,1713950)
                  
                   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.39 ms
(2.55%)
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 (11848, 10003651, 11849, 10003652, 11470, 10003641, 11493, 11492, 10003643, 11841, 11495, 10003660, 11487, 10003613, 11501, 10003644, 11475, 10003610, 11494, 11846, 10003653, 11506, 10003617, 11479, 10003618, 11839, 10003654, 11505, 10003621, 11489, 11842, 10003655, 11845, 10003656, 11836, 11476, 10003646, 11503, 10003624, 11471, 10003648, 11497, 11490, 10003628, 11498, 10003659, 11481, 10003629, 11477, 10003633, 11502, 10003634, 11488, 10003636, 11840, 10003658, 11485, 10003637))  GROUP BY dacco.oo_id  ORDER BY  RAND(166)
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.