Query Metrics

244 Database Queries
47 Different statements
113.04 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

default connection

Time Count Info
24.76 ms
(21.90%)
1
SELECT COUNT(*) FROM object_localized_AlpsteinTour_en WHERE ((name != '' AND name IS NOT NULL)  AND ((regions LIKE "%,11173819,%" OR regions LIKE "%,234379,%" OR regions LIKE "%,231055,%"))  AND ((RADIANS(ACOS(SIN(RADIANS(startingPoint__latitude)) * SIN(RADIANS(47.3976611)) + COS(RADIANS(startingPoint__latitude)) * COS(RADIANS(47.3976611)) * COS(RADIANS(startingPoint__longitude - 15.1579188)) )) * 111.189577 * 3277.5) <= 10)  AND  object_localized_AlpsteinTour_en.o_type IN ('object','folder')) AND object_localized_AlpsteinTour_en.o_published = 1
Parameters:
[]
24.08 ms
(21.31%)
1
SELECT object_localized_AlpsteinTour_en.o_id as o_id, object_localized_AlpsteinTour_en.o_type as o_type FROM object_localized_AlpsteinTour_en WHERE ((name != '' AND name IS NOT NULL)  AND ((regions LIKE "%,11173819,%" OR regions LIKE "%,234379,%" OR regions LIKE "%,231055,%"))  AND ((RADIANS(ACOS(SIN(RADIANS(startingPoint__latitude)) * SIN(RADIANS(47.3976611)) + COS(RADIANS(startingPoint__latitude)) * COS(RADIANS(47.3976611)) * COS(RADIANS(startingPoint__longitude - 15.1579188)) )) * 111.189577 * 3277.5) <= 10)  AND  object_localized_AlpsteinTour_en.o_type IN ('object','folder')) AND object_localized_AlpsteinTour_en.o_published = 1 ORDER BY opened DESC    LIMIT 16
Parameters:
[]
13.38 ms
(11.84%)
40
SELECT * FROM object_metadata_AlpsteinTour WHERE o_id = ? AND dest_id = ? AND fieldname = ? AND ownertype = ? AND ownername = ? and position = ? and `index` = ?  AND (type = 'object' or type = '')
Parameters:
[
  853816
  234390
  "regions"
  "object"
  ""
  "0"
  1
]
7.60 ms
(6.72%)
16
SELECT object_localized_Region_en.o_id as o_id, object_localized_Region_en.o_type as o_type FROM object_localized_Region_en WHERE ((alpsteinRegions like '%,234379,%')  AND  object_localized_Region_en.o_type IN ('object','folder')) AND object_localized_Region_en.o_published = 1
Parameters:
[]
7.32 ms
(6.48%)
16
SELECT object_localized_AlpsteinRoadblock_en.o_id as o_id, object_localized_AlpsteinRoadblock_en.o_type as o_type FROM object_localized_AlpsteinRoadblock_en WHERE ((affectedTourObject LIKE :tourId)  AND  object_localized_AlpsteinRoadblock_en.o_type IN ('object','folder')) AND object_localized_AlpsteinRoadblock_en.o_published = 1
Parameters:
[
  "tourId" => "%,853816,%"
]
6.23 ms
(5.51%)
6
SELECT object_localized_80_en.o_id as o_id, object_localized_80_en.o_type as o_type FROM object_localized_80_en WHERE ((alpsteinObjects like '%,234389,%')  AND  object_localized_80_en.o_type IN ('object','folder')) AND object_localized_80_en.o_published = 1
Parameters:
[]
4.11 ms
(3.64%)
4
SELECT object_localized_80_en.o_id as o_id, object_localized_80_en.o_type as o_type FROM object_localized_80_en WHERE ((alpsteinObjects like '%,234397,%')  AND  object_localized_80_en.o_type IN ('object','folder')) AND object_localized_80_en.o_published = 1
Parameters:
[]
2.52 ms
(2.23%)
19
SELECT * FROM assets_image_thumbnail_cache WHERE cid = :cid
Parameters:
[
  "cid" => 1062499
]
2.37 ms
(2.10%)
30
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "reports"
  "scope" => "pimcore"
]
2.04 ms
(1.81%)
2
SELECT object_localized_80_en.o_id as o_id, object_localized_80_en.o_type as o_type FROM object_localized_80_en WHERE ((alpsteinObjects like '%,234381,%')  AND  object_localized_80_en.o_type IN ('object','folder')) AND object_localized_80_en.o_published = 1
Parameters:
[]
2.04 ms
(1.80%)
2
SELECT object_localized_80_en.o_id as o_id, object_localized_80_en.o_type as o_type FROM object_localized_80_en WHERE ((alpsteinObjects like '%,234390,%')  AND  object_localized_80_en.o_type IN ('object','folder')) AND object_localized_80_en.o_published = 1
Parameters:
[]
1.97 ms
(1.74%)
14
SELECT o_id FROM objects WHERE o_published=1 AND o_id IN (234379,234387,11173819);
Parameters:
[]
1.43 ms
(1.27%)
3
SELECT object_localized_Region_en.o_id as o_id, object_localized_Region_en.o_type as o_type FROM object_localized_Region_en WHERE ((alpsteinRegions like '%,234389,%')  AND  object_localized_Region_en.o_type IN ('object','folder')) AND object_localized_Region_en.o_published = 1
Parameters:
[]
0.95 ms
(0.84%)
2
SELECT object_localized_Region_en.o_id as o_id, object_localized_Region_en.o_type as o_type FROM object_localized_Region_en WHERE ((alpsteinRegions like '%,11173819,%')  AND  object_localized_Region_en.o_type IN ('object','folder')) AND object_localized_Region_en.o_published = 1
Parameters:
[]
0.91 ms
(0.81%)
2
SELECT object_localized_Region_en.o_id as o_id, object_localized_Region_en.o_type as o_type FROM object_localized_Region_en WHERE ((alpsteinRegions like '%,234397,%')  AND  object_localized_Region_en.o_type IN ('object','folder')) AND object_localized_Region_en.o_published = 1
Parameters:
[]
0.83 ms
(0.74%)
8
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "SiteConfig"
]
0.79 ms
(0.70%)
6
SELECT o_id FROM objects WHERE o_published=1 AND o_id IN (234389,11173819);
Parameters:
[]
0.77 ms
(0.68%)
6
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  11613
]
0.77 ms
(0.68%)
7
SELECT o_id FROM objects WHERE o_id IN (234379,234387,11173819)
Parameters:
[]
0.68 ms
(0.60%)
7
SELECT id FROM documents WHERE path = BINARY :path AND `key` = BINARY :key
Parameters:
[
  "key" => "Tour-portal"
  "path" => "/steiermark.com/en/Erzberg-Leoben/Activities/"
]
0.67 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.62 ms
(0.55%)
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/%"
  "/en/Erzberg-Leoben/Activities/Tour-portal"
]
0.50 ms
(0.45%)
4
SELECT o_id FROM objects WHERE o_published=1 AND o_id IN (234397,11173819);
Parameters:
[]
0.49 ms
(0.43%)
1
SELECT object_localized_Region_en.o_id as o_id, object_localized_Region_en.o_type as o_type FROM object_localized_Region_en WHERE ((alpsteinRegions like '%,234390,%')  AND  object_localized_Region_en.o_type IN ('object','folder')) AND object_localized_Region_en.o_published = 1
Parameters:
[]
0.47 ms
(0.41%)
1
SELECT object_localized_Region_en.o_id as o_id, object_localized_Region_en.o_type as o_type FROM object_localized_Region_en WHERE ((alpsteinRegions like '%,234381,%')  AND  object_localized_Region_en.o_type IN ('object','folder')) AND object_localized_Region_en.o_published = 1
Parameters:
[]
0.41 ms
(0.36%)
5
SELECT id FROM documents_page WHERE prettyUrl = :prettyUrl
Parameters:
[
  "prettyUrl" => "/en/Erzberg-Leoben/Activities/Tour-portal"
]
0.38 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" => "/en/Erzberg-Leoben/Activities/Tour-portal"
  "sourcePathQuery" => "/en/Erzberg-Leoben/Activities/Tour-portal?community=841644"
  "sourceEntireUri" => "https://stage.steiermark.com/en/Erzberg-Leoben/Activities/Tour-portal?community=841644"
  "typePath" => "path"
  "typePathQuery" => "path_query"
  "typeEntireUri" => "entire_uri"
  "typeAuto" => "auto_create"
]
0.35 ms
(0.31%)
4
SELECT id FROM sites
Parameters:
[]
0.32 ms
(0.28%)
2
SELECT o_id FROM objects WHERE o_published=1 AND o_id IN (234381,234382,234396,11173819);
Parameters:
[]
0.31 ms
(0.28%)
3
SELECT o_id FROM objects WHERE o_id IN (234389,11173819)
Parameters:
[]
0.30 ms
(0.26%)
2
SELECT id,language FROM documents_translations WHERE sourceId = ? UNION SELECT sourceId as id,"source" FROM documents_translations WHERE id = ?
Parameters:
[
  11613
  11613
]
0.28 ms
(0.24%)
2
SELECT o_id FROM objects WHERE o_published=1 AND o_id IN (234390,11173819);
Parameters:
[]
0.26 ms
(0.23%)
2
SELECT o_id FROM objects WHERE o_published=1 AND o_id IN (234379,234387);
Parameters:
[]
0.24 ms
(0.21%)
2
SELECT o_id FROM objects WHERE o_id IN (234397,11173819)
Parameters:
[]
0.22 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:
[
  6594
  11613
  11613
]
0.22 ms
(0.19%)
2
SELECT * FROM website_settings WHERE id = ?
Parameters:
[
  1
]
0.20 ms
(0.18%)
2
SELECT id FROM settings_store WHERE scope = ?
Parameters:
[
  "pimcore_staticroutes"
]
0.17 ms
(0.15%)
1
SELECT * FROM object_url_slugs WHERE slug = '/en/Erzberg-Leoben/Activities/Tour-portal' AND (siteId = 6 OR siteId = 0) ORDER BY siteId DESC LIMIT 1
Parameters:
[]
0.17 ms
(0.15%)
2
SELECT o_id FROM objects WHERE o_published=1 AND o_id IN (11173819);
Parameters:
[]
0.15 ms
(0.14%)
1
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[]
0.13 ms
(0.12%)
1
SELECT sourceId FROM documents_translations WHERE id = ?
Parameters:
[
  11613
]
0.12 ms
(0.11%)
1
SELECT id FROM targeting_target_groups UNION SELECT id FROM targeting_rules LIMIT 1
Parameters:
[]
0.12 ms
(0.10%)
1
SELECT o_id FROM objects WHERE o_id IN (234390,11173819)
Parameters:
[]
0.11 ms
(0.10%)
1
SELECT o_id FROM objects WHERE o_id IN (234381,234382,234396,11173819)
Parameters:
[]
0.10 ms
(0.09%)
1
SELECT o_id FROM objects WHERE o_id IN (234379,234387)
Parameters:
[]
0.09 ms
(0.08%)
1
SELECT * FROM object_url_slugs WHERE slug = '/en/Erzberg-Leoben/Activities/Tour-portal' AND siteId = 0 ORDER BY siteId DESC LIMIT 1
Parameters:
[]
0.08 ms
(0.07%)
1
SELECT o_id FROM objects WHERE o_id IN (11173819)
Parameters:
[]

demi_vacancies connection

No database queries were performed.

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.