Query Metrics

82 Database Queries
26 Different statements
151.68 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

default connection

Time Count Info
39.96 ms
(26.35%)
1
select o_id,contentScore,priority,bookable  from object_8 where o_published = 1
Parameters:
[]
39.06 ms
(25.75%)
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:
[]
1.80 ms
(1.19%)
28
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "reports"
  "scope" => "pimcore"
]
1.70 ms
(1.12%)
10
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "SiteConfig"
]
0.81 ms
(0.53%)
4
SELECT id FROM sites
Parameters:
[]
0.79 ms
(0.52%)
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.78 ms
(0.51%)
2
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  15454
]
0.72 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.56 ms
(0.37%)
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.54 ms
(0.36%)
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.50 ms
(0.33%)
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?randSeed=108&showMap=1&nearbySearchId=854525&nearbySearchLat=47.24421&nearbySearchLong=15.55323&page=7&sorting=nearbySearchAsc"
  "sourceEntireUri" => "https://stage.steiermark.com/de/Oststeiermark/Urlaub-planen/Unterkuenfte-suchen-und-buchen?nearbySearchId=854525&nearbySearchLat=47.24421&nearbySearchLong=15.55323&page=7&randSeed=108&showMap=1&sorting=nearbySearchAsc"
  "typePath" => "path"
  "typePathQuery" => "path_query"
  "typeEntireUri" => "entire_uri"
  "typeAuto" => "auto_create"
]
0.37 ms
(0.25%)
5
SELECT id FROM documents_page WHERE prettyUrl = :prettyUrl
Parameters:
[
  "prettyUrl" => "/de/Oststeiermark/Urlaub-planen/Unterkuenfte-suchen-und-buchen"
]
0.31 ms
(0.20%)
1
SELECT sourceId FROM documents_translations WHERE id = ?
Parameters:
[
  15454
]
0.30 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.21 ms
(0.14%)
1
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[]
0.19 ms
(0.13%)
1
SELECT * FROM assets_image_thumbnail_cache WHERE cid = :cid
Parameters:
[
  "cid" => 1327906
]
0.19 ms
(0.12%)
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.18 ms
(0.12%)
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.15 ms
(0.10%)
1
SELECT * FROM object_collection_demiDatePickerInfoText_21 WHERE o_id = ? AND fieldname = ? ORDER BY `index` ASC
Parameters:
[
  5882754
  "datepickerInfoTexts"
]
0.13 ms
(0.09%)
2
SELECT * FROM website_settings WHERE id = ?
Parameters:
[
  1
]
0.12 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.12 ms
(0.08%)
1
SELECT id FROM targeting_target_groups UNION SELECT id FROM targeting_rules LIMIT 1
Parameters:
[]
0.10 ms
(0.06%)
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.08 ms
(0.05%)
1
SELECT id FROM settings_store WHERE scope = ?
Parameters:
[
  "pimcore_staticroutes"
]

demi_vacancies connection

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