Query Metrics

81 Database Queries
24 Different statements
131.91 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

default connection

Time Count Info
39.61 ms
(30.03%)
1
select o_id,contentScore,priority,bookable  from object_8 where o_published = 1
Parameters:
[]
2.65 ms
(2.01%)
28
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "reports"
  "scope" => "pimcore"
]
1.29 ms
(0.98%)
8
SELECT id FROM documents WHERE path = BINARY :path AND `key` = BINARY :key
Parameters:
[
  "key" => "Private Rooms"
  "path" => "/steiermark.com/en/Murtal/Plan-Holiday/Room-Categories/"
]
1.17 ms
(0.89%)
6
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/Murtal/Plan-Holiday/Room-Categories/Private%20Rooms"
]
0.96 ms
(0.73%)
8
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "SiteConfig"
]
0.67 ms
(0.51%)
6
SELECT id FROM documents_page WHERE prettyUrl = :prettyUrl
Parameters:
[
  "prettyUrl" => "/en/Murtal/Plan-Holiday/Room-Categories/Private Rooms"
]
0.51 ms
(0.38%)
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.49 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:
[
  11886
]
0.48 ms
(0.36%)
4
SELECT id FROM sites
Parameters:
[]
0.47 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" => "/en/Murtal/Plan-Holiday/Room-Categories/Private%20Rooms"
  "sourcePathQuery" => "/en/Murtal/Plan-Holiday/Room-Categories/Private%20Rooms?page=1&randSeed=151"
  "sourceEntireUri" => "https://stage.steiermark.com/en/Murtal/Plan-Holiday/Room-Categories/Private%20Rooms?page=1&randSeed=151"
  "typePath" => "path"
  "typePathQuery" => "path_query"
  "typeEntireUri" => "entire_uri"
  "typeAuto" => "auto_create"
]
0.45 ms
(0.34%)
2
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  34014
]
0.24 ms
(0.18%)
1
SELECT id,language FROM documents_translations WHERE sourceId IN(?, ?) UNION SELECT sourceId as id,"source" FROM documents_translations WHERE id = ?
Parameters:
[
  34014
  34014
  34014
]
0.24 ms
(0.18%)
1
SELECT * FROM object_collection_demiDatePickerInfoText_21 WHERE o_id = ? AND fieldname = ? ORDER BY `index` ASC
Parameters:
[
  5882753
  "datepickerInfoTexts"
]
0.21 ms
(0.16%)
1
SELECT * FROM object_url_slugs WHERE slug = '/en/Murtal/Plan-Holiday/Room-Categories/Private%20Rooms' AND (siteId = 6 OR siteId = 0) ORDER BY siteId DESC LIMIT 1
Parameters:
[]
0.19 ms
(0.15%)
1
SELECT id FROM settings_store WHERE scope = ?
Parameters:
[
  "pimcore_staticroutes"
]
0.18 ms
(0.14%)
1
SELECT sourceId FROM documents_translations WHERE id = ?
Parameters:
[
  34014
]
0.18 ms
(0.14%)
1
SELECT * FROM assets_image_thumbnail_cache WHERE cid = :cid
Parameters:
[
  "cid" => 1382164
]
0.15 ms
(0.11%)
1
SELECT * FROM object_url_slugs WHERE slug = '/en/Murtal/Plan-Holiday/Room-Categories/Private%20Rooms' AND siteId = 0 ORDER BY siteId DESC LIMIT 1
Parameters:
[]
0.15 ms
(0.11%)
2
SELECT * FROM website_settings WHERE id = ?
Parameters:
[
  1
]
0.14 ms
(0.11%)
1
SELECT id FROM targeting_target_groups UNION SELECT id FROM targeting_rules LIMIT 1
Parameters:
[]
0.13 ms
(0.10%)
1
SELECT * FROM object_url_slugs WHERE slug = '/steiermark.com//en/Murtal/Plan-Holiday/Room-Categories/Private%20Rooms' AND siteId = 0 ORDER BY siteId DESC LIMIT 1
Parameters:
[]
0.11 ms
(0.08%)
1
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[]

demi_vacancies connection

Time Count Info
52.64 ms
(39.90%)
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 (1746888,1740630,49345129,1744618,1749288,1944324,49299937,4704486,5612896,1745241,38928823,2668546,42442514,31613769,1944935,31406343,1953843,41655076,1945227,1747203,1749431,16942941,34168343,25577919,4553064,14012385,46896212,16943153,2611644,6497553,1946351,4525596,45532997,47929048,1744000,3429558,1746933,2668273,1743604,3022806,1745085,2673150,48933696,48804069,1741295,24767419,1740354,1945387,6553977,1954031,48610530,33321369,1748613,9394208,48313377,1741616,16329832,4062845,11432158,1954287,1742903,1741041,1744741,6553925,49253798,1743467,41909293,6497577,35562327,25086439,45479665,12894885,1740280,4062664,1743861,1750076,47644595,46409424,9923960,48313374,1735817,1742670,17517682,33321359,2566254,49029361,1944279,6497634,1945246,1945611,48804066,6553921,15399861,1747672,4580781,1744680,1743089,48313371,48265993,1745277,6497598,45830452,6493635,47644592,1944896,1953708,1736352,46409417,1944389,26899206,1736268,1744374,4062685,1745754,1739920,47601194,1945531,3283083,1952871,36022010,1944971,1746869,1945680,1741314,1741179,48981909,15465861,8695297,40661069,1954000,1743121,1746508,1944638,15432854,26956680,1746070,48891238,2667581,1742732,30838280,1744810,1744492,31820473,12894895,22786995,15399851,30522747,11892410,1745650,34012809,1748239,36985954,1946327,33611480,7542353,12963484,48981906,9665940,4062502,1746188,24767422,2978039,1740806,1742553,1953230,16349108,1748053,1944590,1945464,1743288,26848408,1735769,22149479,1747013,32570986,31820476,48563833,1944838,1953506,50341773,30564071,1743804,1742316,1746456)
                  
                   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:
[]
28.59 ms
(21.68%)
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 (11956, 11929, 11935, 11923, 11936, 11926, 11927, 11918, 11966, 11971, 11972, 11931, 11928, 11953, 11930, 11924, 11954, 11955, 11942, 11932)) AND EXISTS (
              SELECT 1 FROM
                `steiermark`.object_relations_8 subfacrel
              WHERE subfacrel.src_id = dacco.o_id AND subfacrel.dest_id IN (6816,6812,6809) AND subfacrel.fieldname = 'categories'
            )  GROUP BY dacco.oo_id  ORDER BY  RAND(151)
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.