Query Metrics

109 Database Queries
35 Different statements
99.70 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

default connection

Time Count Info
28.65 ms
(28.74%)
1
select o_id,contentScore,priority,bookable  from object_8 where o_published = 1
Parameters:
[]
2.60 ms
(2.61%)
28
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "reports"
  "scope" => "pimcore"
]
1.76 ms
(1.77%)
2
SELECT * FROM object_collection_demiFacilityRelation_8 WHERE o_id = ? AND fieldname = ? ORDER BY `index` ASC
Parameters:
[
  2091472
  "facilities"
]
1.52 ms
(1.52%)
12
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "SiteConfig"
]
1.40 ms
(1.40%)
2
SELECT * FROM object_relations_8 WHERE src_id = ?
Parameters:
[
  2091472
]
1.14 ms
(1.15%)
9
SELECT id FROM documents WHERE path = BINARY :path AND `key` = BINARY :key
Parameters:
[
  "key" => "Bett-Bike-Betriebe-Weinland-Steiermark-Radtour"
  "path" => "/steiermark.com/de/Steiermark/Aktiv-in-der-Natur/Rad-Bike/Weinland-Steiermark-Radtour/"
]
1.09 ms
(1.09%)
7
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/Steiermark/Aktiv-in-der-Natur/Rad-Bike/Weinland-Steiermark-Radtour/Bett-Bike-Betriebe-Weinland-Steiermark-Radtour"
]
0.67 ms
(0.67%)
7
SELECT id FROM documents_page WHERE prettyUrl = :prettyUrl
Parameters:
[
  "prettyUrl" => "/de/Steiermark/Aktiv-in-der-Natur/Rad-Bike/Weinland-Steiermark-Radtour/Bett-Bike-Betriebe-Weinland-Steiermark-Radtour"
]
0.63 ms
(0.63%)
2
SELECT * FROM object_localized_data_8 WHERE ooo_id = ? AND language IN ('de','en','hu','cs','pl','nl','it','sk','es')
Parameters:
[
  2091472
]
0.61 ms
(0.61%)
2
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  2913
]
0.59 ms
(0.59%)
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.47 ms
(0.48%)
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/Steiermark/Aktiv-in-der-Natur/Rad-Bike/Weinland-Steiermark-Radtour/Bett-Bike-Betriebe-Weinland-Steiermark-Radtour"
  "sourcePathQuery" => "/de/Steiermark/Aktiv-in-der-Natur/Rad-Bike/Weinland-Steiermark-Radtour/Bett-Bike-Betriebe-Weinland-Steiermark-Radtour?page=4&randSeed=127"
  "sourceEntireUri" => "https://stage.steiermark.com/de/Steiermark/Aktiv-in-der-Natur/Rad-Bike/Weinland-Steiermark-Radtour/Bett-Bike-Betriebe-Weinland-Steiermark-Radtour?page=4&randSeed=127"
  "typePath" => "path"
  "typePathQuery" => "path_query"
  "typeEntireUri" => "entire_uri"
  "typeAuto" => "auto_create"
]
0.46 ms
(0.46%)
2
SELECT o_type,o_className,o_classId FROM objects WHERE o_id = ?
Parameters:
[
  2091472
]
0.46 ms
(0.46%)
4
SELECT id FROM sites
Parameters:
[]
0.34 ms
(0.34%)
2
SELECT objects.*, tree_locks.locked as o_locked FROM objects
            LEFT JOIN tree_locks ON objects.o_id = tree_locks.id AND tree_locks.type = 'object'
                WHERE o_id = ?
Parameters:
[
  2091472
]
0.33 ms
(0.33%)
2
SELECT * FROM object_store_8 WHERE oo_id = ?
Parameters:
[
  2091472
]
0.31 ms
(0.31%)
1
SELECT id FROM sites ORDER BY (SELECT LENGTH(path) FROM documents WHERE documents.id = sites.rootId) DESC
Parameters:
[]
0.28 ms
(0.28%)
1
SELECT * FROM object_url_slugs WHERE slug = '/steiermark.com//de/Steiermark/Aktiv-in-der-Natur/Rad-Bike/Weinland-Steiermark-Radtour/Bett-Bike-Betriebe-Weinland-Steiermark-Radtour' AND siteId = 0 ORDER BY siteId DESC LIMIT 1
Parameters:
[]
0.26 ms
(0.26%)
1
SELECT * FROM assets_image_thumbnail_cache WHERE cid = :cid
Parameters:
[
  "cid" => 3189171
]
0.26 ms
(0.26%)
1
SELECT * FROM object_url_slugs WHERE slug = '/de/Steiermark/Aktiv-in-der-Natur/Rad-Bike/Weinland-Steiermark-Radtour/Bett-Bike-Betriebe-Weinland-Steiermark-Radtour' AND (siteId = 6 OR siteId = 0) ORDER BY siteId DESC LIMIT 1
Parameters:
[]
0.25 ms
(0.25%)
2
SELECT * FROM object_brick_store_demiAccessibilityCategories_8 WHERE o_id = ? AND fieldname = ?
Parameters:
[
  2091472
  "demiExtension"
]
0.23 ms
(0.23%)
1
SELECT * FROM object_collection_demiDatePickerInfoText_21 WHERE o_id = ? AND fieldname = ? ORDER BY `index` ASC
Parameters:
[
  6804
  "datepickerInfoTexts"
]
0.23 ms
(0.23%)
2
SELECT * FROM website_settings WHERE id = ?
Parameters:
[
  1
]
0.19 ms
(0.19%)
1
SELECT id,language FROM documents_translations WHERE sourceId IN(?, ?) UNION SELECT sourceId as id,"source" FROM documents_translations WHERE id = ?
Parameters:
[
  2913
  2913
  2913
]
0.16 ms
(0.16%)
1
SELECT id,language FROM documents_translations WHERE sourceId = ? UNION SELECT sourceId as id,"source" FROM documents_translations WHERE id = ?
Parameters:
[
  5739
  5739
]
0.15 ms
(0.15%)
2
SELECT * FROM object_brick_store_demiEnrichAcco_8 WHERE o_id = ? AND fieldname = ?
Parameters:
[
  2091472
  "demiExtension"
]
0.14 ms
(0.14%)
1
SELECT id FROM targeting_target_groups UNION SELECT id FROM targeting_rules LIMIT 1
Parameters:
[]
0.14 ms
(0.14%)
2
SELECT * FROM object_brick_store_demiYoungStyria_8 WHERE o_id = ? AND fieldname = ?
Parameters:
[
  2091472
  "demiExtension"
]
0.14 ms
(0.14%)
2
SELECT * FROM object_brick_store_demiCanonicalRegion_8 WHERE o_id = ? AND fieldname = ?
Parameters:
[
  2091472
  "demiExtension"
]
0.12 ms
(0.12%)
1
SELECT * FROM object_url_slugs WHERE slug = '/de/Steiermark/Aktiv-in-der-Natur/Rad-Bike/Weinland-Steiermark-Radtour/Bett-Bike-Betriebe-Weinland-Steiermark-Radtour' AND siteId = 0 ORDER BY siteId DESC LIMIT 1
Parameters:
[]
0.11 ms
(0.11%)
1
SELECT id FROM settings_store WHERE scope = ?
Parameters:
[
  "pimcore_staticroutes"
]
0.11 ms
(0.11%)
1
SELECT sourceId FROM documents_translations WHERE id = ?
Parameters:
[
  2913
]
0.10 ms
(0.10%)
1
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[]

demi_vacancies connection

Time Count Info
46.99 ms
(47.14%)
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 (2655655,1977863,2081355,26740224,2090846,2064618,1618763,2088680,1985246,25942,2081799,1568301,2104416,2089077,32353,2061355,26337,2062684,2059839,2097658,26684353,23991,2092638,2085791,2074396,1986015,1975755,1985660,1980811,26739531,1957805,1993645,2095239,55010,2088269,26739976,1984760,26739438,2083262,1568590,2095560,23500,2088601,1983915,1973992,1146711,2090036,2095446,2084957,2093030,1959616,10684008,23620,1982005,1974414,2062975,1986716,2082077,2060516,1960208,1984126,2066578,21193899,11366349,40768,1984508,1991966,1992394,50325,1982404,1980623,2096263,1568077,1714950,1977942,1977652,28124,2065496,24242,2093101,2091472,2073379,2086710,1618672,1991623,1995103,1982666,21659,362915,1618699,1977491,2091589,39126410,2078155)
                  
                   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:
[]
6.83 ms
(6.85%)
1
SELECT   dacco.isTop, dacco.bookable, dacco.oo_id oo_id  FROM `steiermark`.object_8 dacco WHERE  dacco.o_published = 1  AND (dacco.marketingGroups LIKE '%,9804,%' AND dacco.marketingGroups LIKE '%,9665,%')  GROUP BY dacco.oo_id  ORDER BY  RAND(127)
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.