Query Metrics

90 Database Queries
24 Different statements
97.29 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

default connection

Time Count Info
33.84 ms
(34.78%)
1
select o_id,contentScore,priority,bookable  from object_8 where o_published = 1
Parameters:
[]
2.23 ms
(2.29%)
11
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "SiteConfig"
]
1.84 ms
(1.89%)
28
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "reports"
  "scope" => "pimcore"
]
0.91 ms
(0.93%)
9
SELECT id FROM documents WHERE path = BINARY :path AND `key` = BINARY :key
Parameters:
[
  "key" => "book-holiday"
  "path" => "/steiermark.com/en/Suedsteiermark/Region/wine-theme-trails/Schilcher-wine-trail/"
]
0.88 ms
(0.90%)
4
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  20067
]
0.80 ms
(0.82%)
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/%"
  "/en/Suedsteiermark/Region/wine-theme-trails/Schilcher-wine-trail/book-holiday"
]
0.67 ms
(0.69%)
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.64 ms
(0.65%)
4
SELECT id FROM sites
Parameters:
[]
0.51 ms
(0.53%)
7
SELECT id FROM documents_page WHERE prettyUrl = :prettyUrl
Parameters:
[
  "prettyUrl" => "/en/Suedsteiermark/Region/wine-theme-trails/Schilcher-wine-trail/book-holiday"
]
0.50 ms
(0.51%)
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/Suedsteiermark/Region/wine-theme-trails/Schilcher-wine-trail/book-holiday"
  "sourcePathQuery" => "/en/Suedsteiermark/Region/wine-theme-trails/Schilcher-wine-trail/book-holiday?page=2&randSeed=985"
  "sourceEntireUri" => "https://stage.steiermark.com/en/Suedsteiermark/Region/wine-theme-trails/Schilcher-wine-trail/book-holiday?page=2&randSeed=985"
  "typePath" => "path"
  "typePathQuery" => "path_query"
  "typeEntireUri" => "entire_uri"
  "typeAuto" => "auto_create"
]
0.27 ms
(0.28%)
2
SELECT id,language FROM documents_translations WHERE sourceId = ? UNION SELECT sourceId as id,"source" FROM documents_translations WHERE id = ?
Parameters:
[
  20067
  20067
]
0.26 ms
(0.27%)
1
SELECT * FROM object_url_slugs WHERE slug = '/steiermark.com//en/Suedsteiermark/Region/wine-theme-trails/Schilcher-wine-trail/book-holiday' AND siteId = 0 ORDER BY siteId DESC LIMIT 1
Parameters:
[]
0.24 ms
(0.25%)
2
SELECT * FROM website_settings WHERE id = ?
Parameters:
[
  1
]
0.23 ms
(0.24%)
1
SELECT sourceId FROM documents_translations WHERE id = ?
Parameters:
[
  20067
]
0.19 ms
(0.20%)
1
SELECT id,language FROM documents_translations WHERE sourceId IN(?, ?) UNION SELECT sourceId as id,"source" FROM documents_translations WHERE id = ?
Parameters:
[
  11212
  20067
  20067
]
0.17 ms
(0.18%)
1
SELECT * FROM object_url_slugs WHERE slug = '/en/Suedsteiermark/Region/wine-theme-trails/Schilcher-wine-trail/book-holiday' AND (siteId = 6 OR siteId = 0) ORDER BY siteId DESC LIMIT 1
Parameters:
[]
0.17 ms
(0.17%)
1
SELECT * FROM assets_image_thumbnail_cache WHERE cid = :cid
Parameters:
[
  "cid" => 1223526
]
0.14 ms
(0.14%)
1
SELECT id FROM targeting_target_groups UNION SELECT id FROM targeting_rules LIMIT 1
Parameters:
[]
0.11 ms
(0.12%)
1
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[]
0.11 ms
(0.12%)
1
SELECT * FROM object_collection_demiDatePickerInfoText_21 WHERE o_id = ? AND fieldname = ? ORDER BY `index` ASC
Parameters:
[
  5882756
  "datepickerInfoTexts"
]
0.09 ms
(0.10%)
1
SELECT * FROM object_url_slugs WHERE slug = '/en/Suedsteiermark/Region/wine-theme-trails/Schilcher-wine-trail/book-holiday' AND siteId = 0 ORDER BY siteId DESC LIMIT 1
Parameters:
[]
0.08 ms
(0.08%)
1
SELECT id FROM settings_store WHERE scope = ?
Parameters:
[
  "pimcore_staticroutes"
]

demi_vacancies connection

Time Count Info
50.32 ms
(51.72%)
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 (2064618,1987463,1993878,7738640,1989566,15498539,2063745,2064168,9484915,1989306,1989012,14659516,2060888,1985522,4149206,1986865,2064808,2065496,1988816,1984760,1991623,2059839,25723022,2059361,1984959,7738339,2060516,1986015,43837572,35330412,1990539,1995175,1994545,12910566,1995103,15375608,2065944,1986716,4063051,6645142,7351637,1986795,2063458,1984904,2059991,1987706,1992394,1988874,1994889,2059260,2062410,2064720,1988207,1988937,24781077,1986433,46152494,9313566,1990954,1988385,32305843,1993711,24375268,1991966,25423486,28470795,1986681,1985474,1987095,1988139,9455693,31117139,1992261,1995257,4525614,1984508,1986946,1984665,1991492,1994374,1993645,1984997,2684053,11364731,39558266,36531210,1994732,12910729,8142109,1993811,16110362,32750792,4608272,2061355,11365272,5367477,1992182,4761749,1985660,20023418,1993242,36531205,1985415,1993209,32298578,8537205,1993946,2062684,1990285,43184382,1985351,1986627,1985174,2058868)
                  
                   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:
[]
2.08 ms
(2.14%)
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 (12312, 12321, 12320, 12309, 12304, 12305, 12342, 12333, 12323, 12316, 12318, 12311)) AND dacco.bookable = 1  GROUP BY dacco.oo_id  ORDER BY  RAND(985)
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.