Query Metrics

187 Database Queries
41 Different statements
121.59 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

default connection

Time Count Info
26.65 ms
(21.91%)
1
select o_id,contentScore,priority,bookable  from object_8 where o_published = 1
Parameters:
[]
4.15 ms
(3.42%)
28
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "reports"
  "scope" => "pimcore"
]
2.30 ms
(1.89%)
5
SELECT * FROM object_relations_8 WHERE src_id = ?
Parameters:
[
  134210
]
2.14 ms
(1.76%)
5
SELECT * FROM object_collection_demiFacilityRelation_8 WHERE o_id = ? AND fieldname = ? ORDER BY `index` ASC
Parameters:
[
  134210
  "facilities"
]
2.00 ms
(1.65%)
8
SELECT * FROM object_localized_data_51 WHERE ooo_id = ? AND language IN ('de','en','hu','cs','pl','nl','it','sk')
Parameters:
[
  13148
]
1.66 ms
(1.37%)
9
SELECT id FROM documents WHERE path = BINARY :path AND `key` = BINARY :key
Parameters:
[
  "key" => "Enns-Cycle-Path-accommodation"
  "path" => "/steiermark.com/en/Styria/Active-holidays-in-nature/Biking-cycling/Enns-Cycle-Path/"
]
1.54 ms
(1.26%)
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/Styria/Active-holidays-in-nature/Biking-cycling/Enns-Cycle-Path/Enns-Cycle-Path-accommodation"
]
1.53 ms
(1.26%)
14
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:
[
  134210
]
1.45 ms
(1.19%)
14
SELECT o_type,o_className,o_classId FROM objects WHERE o_id = ?
Parameters:
[
  134210
]
1.40 ms
(1.15%)
12
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "SiteConfig"
]
1.12 ms
(0.92%)
7
SELECT id FROM documents_page WHERE prettyUrl = :prettyUrl
Parameters:
[
  "prettyUrl" => "/en/Styria/Active-holidays-in-nature/Biking-cycling/Enns-Cycle-Path/Enns-Cycle-Path-accommodation"
]
1.08 ms
(0.88%)
8
SELECT * FROM object_relations_51 WHERE src_id = ?
Parameters:
[
  13148
]
0.91 ms
(0.75%)
8
SELECT * FROM object_store_51 WHERE oo_id = ?
Parameters:
[
  13148
]
0.85 ms
(0.70%)
5
SELECT * FROM object_localized_data_8 WHERE ooo_id = ? AND language IN ('de','en','hu','cs','pl','nl','it','sk')
Parameters:
[
  134210
]
0.72 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.71 ms
(0.58%)
4
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  5296
]
0.63 ms
(0.52%)
5
SELECT * FROM object_store_8 WHERE oo_id = ?
Parameters:
[
  134210
]
0.60 ms
(0.49%)
4
SELECT id FROM sites
Parameters:
[]
0.48 ms
(0.39%)
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/Styria/Active-holidays-in-nature/Biking-cycling/Enns-Cycle-Path/Enns-Cycle-Path-accommodation"
  "sourcePathQuery" => "/en/Styria/Active-holidays-in-nature/Biking-cycling/Enns-Cycle-Path/Enns-Cycle-Path-accommodation?page=2&randSeed=186"
  "sourceEntireUri" => "https://stage.steiermark.com/en/Styria/Active-holidays-in-nature/Biking-cycling/Enns-Cycle-Path/Enns-Cycle-Path-accommodation?page=2&randSeed=186"
  "typePath" => "path"
  "typePathQuery" => "path_query"
  "typeEntireUri" => "entire_uri"
  "typeAuto" => "auto_create"
]
0.45 ms
(0.37%)
2
SELECT id,language FROM documents_translations WHERE sourceId = ? UNION SELECT sourceId as id,"source" FROM documents_translations WHERE id = ?
Parameters:
[
  5296
  5296
]
0.44 ms
(0.36%)
5
SELECT * FROM object_brick_store_demiAccessibilityCategories_8 WHERE o_id = ? AND fieldname = ?
Parameters:
[
  134210
  "demiExtension"
]
0.40 ms
(0.33%)
1
SELECT * FROM object_localized_data_20 WHERE ooo_id = ? AND language IN ('de','en','hu','cs','pl','nl','it','sk')
Parameters:
[
  323701
]
0.37 ms
(0.31%)
5
SELECT * FROM object_brick_store_demiEnrichAcco_8 WHERE o_id = ? AND fieldname = ?
Parameters:
[
  134210
  "demiExtension"
]
0.37 ms
(0.30%)
5
SELECT * FROM object_brick_store_demiYoungStyria_8 WHERE o_id = ? AND fieldname = ?
Parameters:
[
  134210
  "demiExtension"
]
0.36 ms
(0.30%)
5
SELECT * FROM object_brick_store_demiCanonicalRegion_8 WHERE o_id = ? AND fieldname = ?
Parameters:
[
  134210
  "demiExtension"
]
0.28 ms
(0.23%)
1
SELECT id,language FROM documents_translations WHERE sourceId IN(?, ?) UNION SELECT sourceId as id,"source" FROM documents_translations WHERE id = ?
Parameters:
[
  2916
  5296
  5296
]
0.27 ms
(0.22%)
1
SELECT * FROM assets_image_thumbnail_cache WHERE cid = :cid
Parameters:
[
  "cid" => 3189171
]
0.24 ms
(0.20%)
1
SELECT * FROM object_url_slugs WHERE slug = '/en/Styria/Active-holidays-in-nature/Biking-cycling/Enns-Cycle-Path/Enns-Cycle-Path-accommodation' AND (siteId = 6 OR siteId = 0) ORDER BY siteId DESC LIMIT 1
Parameters:
[]
0.22 ms
(0.18%)
1
SELECT * FROM object_store_20 WHERE oo_id = ?
Parameters:
[
  323701
]
0.21 ms
(0.17%)
1
SELECT * FROM object_collection_demiDatePickerInfoText_21 WHERE o_id = ? AND fieldname = ? ORDER BY `index` ASC
Parameters:
[
  6804
  "datepickerInfoTexts"
]
0.20 ms
(0.16%)
1
SELECT sourceId FROM documents_translations WHERE id = ?
Parameters:
[
  5296
]
0.19 ms
(0.16%)
1
SELECT id FROM targeting_target_groups UNION SELECT id FROM targeting_rules LIMIT 1
Parameters:
[]
0.17 ms
(0.14%)
1
SELECT * FROM object_url_slugs WHERE slug = '/en/Styria/Active-holidays-in-nature/Biking-cycling/Enns-Cycle-Path/Enns-Cycle-Path-accommodation' AND siteId = 0 ORDER BY siteId DESC LIMIT 1
Parameters:
[]
0.17 ms
(0.14%)
2
SELECT * FROM website_settings WHERE id = ?
Parameters:
[
  1
]
0.16 ms
(0.13%)
1
SELECT id FROM settings_store WHERE scope = ?
Parameters:
[
  "pimcore_staticroutes"
]
0.12 ms
(0.10%)
1
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[]
0.12 ms
(0.10%)
1
SELECT * FROM object_url_slugs WHERE slug = '/steiermark.com//en/Styria/Active-holidays-in-nature/Biking-cycling/Enns-Cycle-Path/Enns-Cycle-Path-accommodation' AND siteId = 0 ORDER BY siteId DESC LIMIT 1
Parameters:
[]
0.10 ms
(0.08%)
1
SELECT * FROM object_relations_20 WHERE src_id = ?
Parameters:
[
  323701
]
0.08 ms
(0.07%)
1
SELECT * FROM object_brick_store_demiAccommodationClassExternalMapping_20 WHERE o_id = ? AND fieldname = ?
Parameters:
[
  323701
  "demiExtension"
]

demi_vacancies connection

Time Count Info
53.02 ms
(43.61%)
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 (174798,386334,207573,205493,213537,1603030,195918,386089,272587,164234,1602156,193068,388302,1603143,214160,90830,201732,81753,208109,388947,387852,7512292,104153,195752,389586,161142,206198,191428,3259752,388808,1600537,193837,385472,169035,389422,161664,213358,81094,181045,1602757,209054,119873,134210,211256,173602,132768,385639,1602560,388227,1603434,387091,207780,9520223,118621,1600091,271832)
                  
                   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:
[]
11.72 ms
(9.64%)
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 '%,9648,%')  GROUP BY dacco.oo_id  ORDER BY  RAND(186)
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.