Query Metrics

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

Grouped Statements

Show all queries

default connection

Time Count Info
53.39 ms
(31.21%)
1
select o_id,contentScore,priority,bookable  from object_8 where o_published = 1
Parameters:
[]
36.62 ms
(21.41%)
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:
[]
3.06 ms
(1.79%)
14
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "SiteConfig"
]
2.66 ms
(1.55%)
28
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "reports"
  "scope" => "pimcore"
]
1.37 ms
(0.80%)
4
SELECT id FROM sites
Parameters:
[]
1.11 ms
(0.65%)
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.58%)
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.80 ms
(0.47%)
2
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  15454
]
0.77 ms
(0.45%)
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=36477792&nearbySearchLat=47.03037&nearbySearchLong=14.45216&page=3&randSeed=685&sorting=nearbySearchAsc"
  "sourceEntireUri" => "https://stage.steiermark.com/de/Oststeiermark/Urlaub-planen/Unterkuenfte-suchen-und-buchen?nearbySearchId=36477792&nearbySearchLat=47.03037&nearbySearchLong=14.45216&page=3&randSeed=685&sorting=nearbySearchAsc"
  "typePath" => "path"
  "typePathQuery" => "path_query"
  "typeEntireUri" => "entire_uri"
  "typeAuto" => "auto_create"
]
0.74 ms
(0.43%)
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.40%)
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.53 ms
(0.31%)
5
SELECT id FROM documents_page WHERE prettyUrl = :prettyUrl
Parameters:
[
  "prettyUrl" => "/de/Oststeiermark/Urlaub-planen/Unterkuenfte-suchen-und-buchen"
]
0.40 ms
(0.23%)
1
SELECT sourceId FROM documents_translations WHERE id = ?
Parameters:
[
  15454
]
0.39 ms
(0.23%)
1
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[]
0.32 ms
(0.18%)
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.26 ms
(0.15%)
1
SELECT * FROM assets_image_thumbnail_cache WHERE cid = :cid
Parameters:
[
  "cid" => 1327906
]
0.24 ms
(0.14%)
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.21 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.20 ms
(0.12%)
2
SELECT * FROM website_settings WHERE id = ?
Parameters:
[
  1
]
0.17 ms
(0.10%)
1
SELECT id FROM targeting_target_groups UNION SELECT id FROM targeting_rules LIMIT 1
Parameters:
[]
0.15 ms
(0.09%)
1
SELECT id,language FROM documents_translations WHERE sourceId = ? UNION SELECT sourceId as id,"source" FROM documents_translations WHERE id = ?
Parameters:
[
  18620
  18620
]
0.15 ms
(0.09%)
1
SELECT * FROM object_collection_demiDatePickerInfoText_21 WHERE o_id = ? AND fieldname = ? ORDER BY `index` ASC
Parameters:
[
  5882754
  "datepickerInfoTexts"
]
0.13 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.06%)
1
SELECT id FROM settings_store WHERE scope = ?
Parameters:
[
  "pimcore_staticroutes"
]

demi_vacancies connection

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