Query Metrics

87 Database Queries
26 Different statements
127.36 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

default connection

Time Count Info
32.57 ms
(25.57%)
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:
[]
28.90 ms
(22.69%)
1
select o_id,contentScore,priority,bookable  from object_8 where o_published = 1
Parameters:
[]
1.92 ms
(1.51%)
14
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "SiteConfig"
]
1.38 ms
(1.09%)
28
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "reports"
  "scope" => "pimcore"
]
0.73 ms
(0.58%)
2
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  18620
]
0.69 ms
(0.54%)
7
SELECT id FROM documents WHERE path = BINARY :path AND `key` = BINARY :key
Parameters:
[
  "key" => "Accommodations"
  "path" => "/steiermark.com/en/Oststeiermark/Plan-your-holiday/"
]
0.68 ms
(0.53%)
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/Oststeiermark/Plan-your-holiday/Accommodations"
  "sourcePathQuery" => "/en/Oststeiermark/Plan-your-holiday/Accommodations?nearbySearchId=9811740&nearbySearchLat=47.18248&nearbySearchLong=14.11128&sorting=nearbySearchAsc"
  "sourceEntireUri" => "https://stage.steiermark.com/en/Oststeiermark/Plan-your-holiday/Accommodations?nearbySearchId=9811740&nearbySearchLat=47.18248&nearbySearchLong=14.11128&sorting=nearbySearchAsc"
  "typePath" => "path"
  "typePathQuery" => "path_query"
  "typeEntireUri" => "entire_uri"
  "typeAuto" => "auto_create"
]
0.59 ms
(0.46%)
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.51 ms
(0.40%)
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:
[
  12089
]
0.43 ms
(0.33%)
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/Oststeiermark/Plan-your-holiday/Accommodations"
]
0.41 ms
(0.32%)
4
SELECT id FROM sites
Parameters:
[]
0.28 ms
(0.22%)
5
SELECT id FROM documents_page WHERE prettyUrl = :prettyUrl
Parameters:
[
  "prettyUrl" => "/en/Oststeiermark/Plan-your-holiday/Accommodations"
]
0.26 ms
(0.20%)
1
SELECT * FROM object_url_slugs WHERE slug = '/steiermark.com//en/Oststeiermark/Plan-your-holiday/Accommodations' AND siteId = 0 ORDER BY siteId DESC LIMIT 1
Parameters:
[]
0.23 ms
(0.18%)
1
SELECT * FROM object_collection_demiDatePickerInfoText_21 WHERE o_id = ? AND fieldname = ? ORDER BY `index` ASC
Parameters:
[
  5882754
  "datepickerInfoTexts"
]
0.21 ms
(0.17%)
2
SELECT id,language FROM documents_translations WHERE sourceId = ? UNION SELECT sourceId as id,"source" FROM documents_translations WHERE id = ?
Parameters:
[
  18620
  18620
]
0.20 ms
(0.15%)
1
SELECT * FROM object_url_slugs WHERE slug = '/en/Oststeiermark/Plan-your-holiday/Accommodations' AND (siteId = 6 OR siteId = 0) ORDER BY siteId DESC LIMIT 1
Parameters:
[]
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:
[
  15454
  18620
  18620
]
0.16 ms
(0.12%)
2
SELECT * FROM website_settings WHERE id = ?
Parameters:
[
  1
]
0.15 ms
(0.12%)
1
SELECT sourceId FROM documents_translations WHERE id = ?
Parameters:
[
  18620
]
0.15 ms
(0.12%)
1
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[]
0.14 ms
(0.11%)
1
SELECT id FROM targeting_target_groups UNION SELECT id FROM targeting_rules LIMIT 1
Parameters:
[]
0.11 ms
(0.09%)
1
SELECT * FROM assets_image_thumbnail_cache WHERE cid = :cid
Parameters:
[
  "cid" => 1327906
]
0.08 ms
(0.06%)
1
SELECT * FROM object_url_slugs WHERE slug = '/en/Oststeiermark/Plan-your-holiday/Accommodations' AND siteId = 0 ORDER BY siteId DESC LIMIT 1
Parameters:
[]
0.06 ms
(0.05%)
1
SELECT id FROM settings_store WHERE scope = ?
Parameters:
[
  "pimcore_staticroutes"
]

demi_vacancies connection

Time Count Info
52.93 ms
(41.56%)
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 (43484376,1976678,27982954,1967421,1961040,1981153,44526346,1971221,1968789,1972521,34961275,1982334,1981704,1976710,17593669,1974719,1964207,41969421,1971191,17275786,1969409,1975205,13104309,1984371,1981922,1972350,1959380,1964833,1973992,1962754,1963035,1974414,1963049,44526349,1974566,1978760,1962811,1967244,1979549,1968595,19472755,1970440,1980881,1977491,1974937,27700476,1976587,1964588,4062930,1964231,15201310,15176970,1980873,1970969,1971344,1979347,1968001,1963111,1962257,42448818,1966052,1967229,1975374,1980341,1983516,1970788,26342382,1961476,1972642,1984347,42829790,1968545,1982263,1967010,1971267,29072957,1971852,1983086,1967131,1962451,1965864,1964612,1978863,1983915,2679537,1981615,4063201,1974380,1972326,1984093,1980584,1962416,1966896,1971966,25052280,1965726,1978012,14659907,1972698,1958820,1975247,1978232,1977269,1968062,1966440,1976860,26447592,22204981,1958966,1969741,1968497,1965052,1966648,1979772,1977360,1981033,1969455,1975076,1970828,1968807,1969057,1968072,1968049,1970810,1976273,7938552,1982666,1959914,25681111,1974283,1969702,1960488,1959487,1972586,1960667,14660255,1975511,1969075,1966779,1964309,1971834,1968105,1981594,1983681,1964283,1975952,1970018,1983752,20847844,1966219,1977863,1981054,17770044,1981017,45930227,1983110,1974607,1961528,1965803,1965992,1966954,1972880,1961566,1964566,47158211,1962766,1967144,1969318,1973113,1972617,1977210,1970266,1980402,1980553,1957311,1976775,1983483,1964182,39685585,17804775,1958743,1968982,1961578,1979421,2082137,1970366,17469346,1968884,42830442,1980321,1974122,15862624,29195233,1981496,1975018,1969164,1967192,1968121,1982005,1978670,1982812,1967217,12253807,1965083,1984126,1971387,15692025,1980918,49924348,1970550,1961516,1976365,1956234,1977652,1967609,1965688,1959845,49585241,1980474,1959573,1962474,9886077,1967087,1982404,1972399,1974755,1960995,1967866,1969382,1957403,1977743,1973715,1964932,1975755,1969267,1969608,1969581,2676863,1965631,1974528,28018930,1978568,1966865,1973199,1972098,1960586,1970986,7970607,1966404,1964721,1965827,1972286,1977077,1960354,1982912,1976486,1979290,1976233,1978718,43604597,1960316,1972784,3190492,1980623,1972169,1964399,25413382,1981655,1957466,1976167,41188273,20847987,49681004,1973855,1957805,1974078,1973431,1973664,1972255,1960869,1967445,1960793,1972735,1971898,1967514,1966986,1979726,2679052,1977942,34024549,1958857,1956154,7018201,1961503,1983839,1956116,39312810,1964801,1976549,1980811,1965841,1969595,1968180,1973899,1974684,1983002,14600421,1979472,11281445,1965236,1971885,2194254,1972047,17462725,1959784,30763608,1979636,1978070,1971299,1976408,1978956,1969193,4063124,2082202,1972504,1981953,1965642,1973018,2486062,1968641,1973794,1969008,1976977,17804792,50878032,1970644,1959616,1980389,1975571,1973390,1960208,1976935,1961622,1982238,1975478,1970683,1964869,1970512,1976072,1981834,1959004,1968484,1974902,1979378)
                  
                   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.66%)
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 (3239518, 12146, 12115, 12122, 12133, 12531, 12143, 12116, 12129, 12138, 12136, 12118, 12163, 12164, 12155, 12152, 12525, 3552351, 12162, 12154, 5099244, 3552346, 3190431, 12157, 3552350, 3238735, 12110, 3552345, 3552348, 3552347, 12120, 12123, 12135, 12137, 12140, 12099, 12098, 12117, 12108, 12151, 12134, 12109, 12156, 12106, 12126, 12132, 3190432, 12158, 12103, 12139, 3552349, 12114, 12111, 12160, 12112))  GROUP BY dacco.oo_id  ORDER BY  RAND(946)
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.