Query Metrics

91 Database Queries
10 Different statements
138.77 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

Time Count Info
91.28 ms
(65.78%)
69
SELECT item_id, CASE WHEN item_lifetime IS NULL OR item_lifetime + item_time > ? THEN item_data ELSE NULL END FROM cache_items WHERE item_id IN (?)
Parameters:
[
  1782489304
  [
    "\x00tags\x00output_3fd538078f32a4be36c03fa43923c672_desktop"
    "output_3fd538078f32a4be36c03fa43923c672_desktop"
  ]
]
23.60 ms
(17.01%)
10
SELECT * FROM object_collection_mobileJobOfferWorkingDay_mobile_job_offer WHERE o_id = ? AND fieldname = ? ORDER BY `index` ASC
Parameters:
[
  8506
  "workingDays"
]
10.14 ms
(7.31%)
2
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "mobile_job_offer"
]
5.15 ms
(3.71%)
1
SELECT object_mobile_job_offer.o_id as o_id, object_mobile_job_offer.o_type as o_type FROM object_mobile_job_offer WHERE (position__id IN (:position__id0) AND (city__id IN (:city__id0) OR (
            6371 * 2 * ASIN(
                SQRT(
                    POWER(SIN((:gpsLat0 - coordinates__latitude) * PI() / 180 / 2), 2) +
                    COS(coordinates__latitude * PI() / 180) * COS(:gpsLat0 * PI() / 180) *
                    POWER(SIN((:gpsLon0 - coordinates__longitude) * PI() / 180 / 2), 2)
                )
            ) <= :gpsRadius0
        )) AND  object_mobile_job_offer.o_type IN ('object','folder')) AND object_mobile_job_offer.o_published = 1 ORDER BY `publicationDate` DESC   LIMIT 21
Parameters:
[
  "position__id0" => "7631"
  "city__id0" => "394"
  "gpsLat0" => 54.3482907
  "gpsLon0" => 18.6540233
  "gpsRadius0" => 50
]
2.92 ms
(2.10%)
3
SELECT id FROM documents WHERE path = BINARY :path AND `key` = BINARY :key
Parameters:
[
  "key" => "job-offers"
  "path" => "/api/"
]
1.48 ms
(1.07%)
2
SELECT id FROM documents_page WHERE prettyUrl = :prettyUrl
Parameters:
[
  "prettyUrl" => "/api/job-offers"
]
1.39 ms
(1.01%)
1
SELECT COUNT(*) FROM object_mobile_job_offer WHERE (position__id IN (:position__id0) AND (city__id IN (:city__id0) OR (
            6371 * 2 * ASIN(
                SQRT(
                    POWER(SIN((:gpsLat0 - coordinates__latitude) * PI() / 180 / 2), 2) +
                    COS(coordinates__latitude * PI() / 180) * COS(:gpsLat0 * PI() / 180) *
                    POWER(SIN((:gpsLon0 - coordinates__longitude) * PI() / 180 / 2), 2)
                )
            ) <= :gpsRadius0
        )) AND  object_mobile_job_offer.o_type IN ('object','folder')) AND object_mobile_job_offer.o_published = 1
Parameters:
[
  "position__id0" => "7631"
  "city__id0" => "394"
  "gpsLat0" => 54.3482907
  "gpsLon0" => 18.6540233
  "gpsRadius0" => 50
]
1.13 ms
(0.82%)
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 IS NULL AND priority = 99 ORDER BY `priority` DESC
Parameters:
[
  "sourcePath" => "/api/job-offers"
  "sourcePathQuery" => "/api/job-offers?cityIds=394&positionIds=7631&gpsPoints[]=54.3482907,18.6540233&gpsRadius=50&offset=0"
  "sourceEntireUri" => "http://www.geminipolska.com.pl/api/job-offers?cityIds=394&gpsPoints[0]=54.3482907,18.6540233&gpsRadius=50&offset=0&positionIds=7631"
  "typePath" => "path"
  "typePathQuery" => "path_query"
  "typeEntireUri" => "entire_uri"
  "typeAuto" => "auto_create"
]
0.86 ms
(0.62%)
1
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "reports"
  "scope" => "pimcore"
]
0.80 ms
(0.58%)
1
SELECT id FROM targeting_target_groups UNION SELECT id FROM targeting_rules LIMIT 1
Parameters:
[]

Database Connections

Name Service
default doctrine.dbal.default_connection

Entity Managers

There are no configured entity managers.

Second Level Cache

Second Level Cache is not enabled.