Query Metrics

86 Database Queries
26 Different statements
209.33 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

default connection

Time Count Info
55.50 ms
(26.51%)
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:
[]
46.86 ms
(22.38%)
1
select o_id,contentScore,priority,bookable  from object_8 where o_published = 1
Parameters:
[]
3.42 ms
(1.63%)
14
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "SiteConfig"
]
2.24 ms
(1.07%)
28
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "reports"
  "scope" => "pimcore"
]
1.06 ms
(0.51%)
7
SELECT id FROM documents WHERE path = BINARY :path AND `key` = BINARY :key
Parameters:
[
  "key" => "Unterkuenfte-suchen-und-buchen"
  "path" => "/steiermark.com/de/Oststeiermark/Urlaub-planen/"
]
0.99 ms
(0.47%)
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.97 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.88 ms
(0.42%)
2
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  15454
]
0.79 ms
(0.38%)
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" => "/de/Oststeiermark/Urlaub-planen/Unterkuenfte-suchen-und-buchen"
  "sourcePathQuery" => "/de/Oststeiermark/Urlaub-planen/Unterkuenfte-suchen-und-buchen?nearbySearchId=324333&nearbySearchLat=46.9909&nearbySearchLong=14.94222&sorting=nearbySearchAsc"
  "sourceEntireUri" => "https://stage.steiermark.com/de/Oststeiermark/Urlaub-planen/Unterkuenfte-suchen-und-buchen?nearbySearchId=324333&nearbySearchLat=46.9909&nearbySearchLong=14.94222&sorting=nearbySearchAsc"
  "typePath" => "path"
  "typePathQuery" => "path_query"
  "typeEntireUri" => "entire_uri"
  "typeAuto" => "auto_create"
]
0.77 ms
(0.37%)
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/%"
  "/de/Oststeiermark/Urlaub-planen/Unterkuenfte-suchen-und-buchen"
]
0.68 ms
(0.32%)
4
SELECT id FROM sites
Parameters:
[]
0.54 ms
(0.26%)
5
SELECT id FROM documents_page WHERE prettyUrl = :prettyUrl
Parameters:
[
  "prettyUrl" => "/de/Oststeiermark/Urlaub-planen/Unterkuenfte-suchen-und-buchen"
]
0.41 ms
(0.20%)
1
SELECT * FROM object_url_slugs WHERE slug = '/steiermark.com//de/Oststeiermark/Urlaub-planen/Unterkuenfte-suchen-und-buchen' AND siteId = 0 ORDER BY siteId DESC LIMIT 1
Parameters:
[]
0.39 ms
(0.19%)
1
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[]
0.30 ms
(0.14%)
1
SELECT sourceId FROM documents_translations WHERE id = ?
Parameters:
[
  15454
]
0.26 ms
(0.13%)
1
SELECT id,language FROM documents_translations WHERE sourceId IN(?, ?) UNION SELECT sourceId as id,"source" FROM documents_translations WHERE id = ?
Parameters:
[
  15454
  15454
  15454
]
0.22 ms
(0.11%)
2
SELECT * FROM website_settings WHERE id = ?
Parameters:
[
  1
]
0.22 ms
(0.10%)
1
SELECT * FROM assets_image_thumbnail_cache WHERE cid = :cid
Parameters:
[
  "cid" => 1327906
]
0.21 ms
(0.10%)
1
SELECT * FROM object_url_slugs WHERE slug = '/de/Oststeiermark/Urlaub-planen/Unterkuenfte-suchen-und-buchen' AND (siteId = 6 OR siteId = 0) ORDER BY siteId DESC LIMIT 1
Parameters:
[]
0.19 ms
(0.09%)
1
SELECT id FROM targeting_target_groups UNION SELECT id FROM targeting_rules LIMIT 1
Parameters:
[]
0.17 ms
(0.08%)
1
SELECT * FROM object_collection_demiDatePickerInfoText_21 WHERE o_id = ? AND fieldname = ? ORDER BY `index` ASC
Parameters:
[
  5882754
  "datepickerInfoTexts"
]
0.16 ms
(0.08%)
1
SELECT id,language FROM documents_translations WHERE sourceId = ? UNION SELECT sourceId as id,"source" FROM documents_translations WHERE id = ?
Parameters:
[
  18620
  18620
]
0.14 ms
(0.07%)
1
SELECT * FROM object_url_slugs WHERE slug = '/de/Oststeiermark/Urlaub-planen/Unterkuenfte-suchen-und-buchen' AND siteId = 0 ORDER BY siteId DESC LIMIT 1
Parameters:
[]
0.11 ms
(0.05%)
1
SELECT id FROM settings_store WHERE scope = ?
Parameters:
[
  "pimcore_staticroutes"
]

demi_vacancies connection

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