Query Metrics
104
Database Queries
10
Different statements
124.97 ms
Query time
0
Invalid entities
Grouped Statements
| Time▼ | Count | Info |
|---|---|---|
|
92.72 ms (74.20%) |
81 |
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:
[ 1783000538 [ "\x00tags\x00output_6d5fdb557d1f6c508d6e22534ff147b9_desktop" "output_6d5fdb557d1f6c508d6e22534ff147b9_desktop" ] ] |
|
18.85 ms (15.09%) |
11 |
SELECT * FROM object_collection_mobileJobOfferWorkingDay_mobile_job_offer WHERE o_id = ? AND fieldname = ? ORDER BY `index` ASC
Parameters:
[ 8532 "workingDays" ] |
|
2.59 ms (2.08%) |
2 |
SELECT name FROM classes WHERE id = ?
Parameters:
[
"mobile_job_offer"
]
|
|
2.27 ms (1.82%) |
1 |
SELECT COUNT(*) FROM object_mobile_job_offer WHERE (position__id IN (:position__id0) AND (city__id IN (:city__id0,:city__id1,:city__id2,:city__id3,:city__id4) 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 ) OR ( 6371 * 2 * ASIN( SQRT( POWER(SIN((:gpsLat1 - coordinates__latitude) * PI() / 180 / 2), 2) + COS(coordinates__latitude * PI() / 180) * COS(:gpsLat1 * PI() / 180) * POWER(SIN((:gpsLon1 - coordinates__longitude) * PI() / 180 / 2), 2) ) ) <= :gpsRadius1 ) OR ( 6371 * 2 * ASIN( SQRT( POWER(SIN((:gpsLat2 - coordinates__latitude) * PI() / 180 / 2), 2) + COS(coordinates__latitude * PI() / 180) * COS(:gpsLat2 * PI() / 180) * POWER(SIN((:gpsLon2 - coordinates__longitude) * PI() / 180 / 2), 2) ) ) <= :gpsRadius2 ) OR ( 6371 * 2 * ASIN( SQRT( POWER(SIN((:gpsLat3 - coordinates__latitude) * PI() / 180 / 2), 2) + COS(coordinates__latitude * PI() / 180) * COS(:gpsLat3 * PI() / 180) * POWER(SIN((:gpsLon3 - coordinates__longitude) * PI() / 180 / 2), 2) ) ) <= :gpsRadius3 ) OR ( 6371 * 2 * ASIN( SQRT( POWER(SIN((:gpsLat4 - coordinates__latitude) * PI() / 180 / 2), 2) + COS(coordinates__latitude * PI() / 180) * COS(:gpsLat4 * PI() / 180) * POWER(SIN((:gpsLon4 - coordinates__longitude) * PI() / 180 / 2), 2) ) ) <= :gpsRadius4 )) AND object_mobile_job_offer.o_type IN ('object','folder')) AND object_mobile_job_offer.o_published = 1
Parameters:
[ "position__id0" => "7632" "city__id0" => "485" "city__id1" => "394" "city__id2" => "558" "city__id3" => "5779" "city__id4" => "388" "gpsLat0" => 54.5164982 "gpsLon0" => 18.5402738 "gpsRadius0" => 50 "gpsLat1" => 54.3482907 "gpsLon1" => 18.6540233 "gpsRadius1" => 50 "gpsLat2" => 52.2319581 "gpsLon2" => 21.0067249 "gpsRadius2" => 50 "gpsLat3" => 53.9119982 "gpsLon3" => 19.9279895 "gpsRadius3" => 50 "gpsLat4" => 53.1219648 "gpsLon4" => 18.0002529 "gpsRadius4" => 50 ] |
|
2.25 ms (1.80%) |
3 |
SELECT id FROM documents WHERE path = BINARY :path AND `key` = BINARY :key
Parameters:
[ "key" => "job-offers" "path" => "/api/" ] |
|
2.22 ms (1.77%) |
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,:city__id1,:city__id2,:city__id3,:city__id4) 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 ) OR ( 6371 * 2 * ASIN( SQRT( POWER(SIN((:gpsLat1 - coordinates__latitude) * PI() / 180 / 2), 2) + COS(coordinates__latitude * PI() / 180) * COS(:gpsLat1 * PI() / 180) * POWER(SIN((:gpsLon1 - coordinates__longitude) * PI() / 180 / 2), 2) ) ) <= :gpsRadius1 ) OR ( 6371 * 2 * ASIN( SQRT( POWER(SIN((:gpsLat2 - coordinates__latitude) * PI() / 180 / 2), 2) + COS(coordinates__latitude * PI() / 180) * COS(:gpsLat2 * PI() / 180) * POWER(SIN((:gpsLon2 - coordinates__longitude) * PI() / 180 / 2), 2) ) ) <= :gpsRadius2 ) OR ( 6371 * 2 * ASIN( SQRT( POWER(SIN((:gpsLat3 - coordinates__latitude) * PI() / 180 / 2), 2) + COS(coordinates__latitude * PI() / 180) * COS(:gpsLat3 * PI() / 180) * POWER(SIN((:gpsLon3 - coordinates__longitude) * PI() / 180 / 2), 2) ) ) <= :gpsRadius3 ) OR ( 6371 * 2 * ASIN( SQRT( POWER(SIN((:gpsLat4 - coordinates__latitude) * PI() / 180 / 2), 2) + COS(coordinates__latitude * PI() / 180) * COS(:gpsLat4 * PI() / 180) * POWER(SIN((:gpsLon4 - coordinates__longitude) * PI() / 180 / 2), 2) ) ) <= :gpsRadius4 )) 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" => "7632" "city__id0" => "485" "city__id1" => "394" "city__id2" => "558" "city__id3" => "5779" "city__id4" => "388" "gpsLat0" => 54.5164982 "gpsLon0" => 18.5402738 "gpsRadius0" => 50 "gpsLat1" => 54.3482907 "gpsLon1" => 18.6540233 "gpsRadius1" => 50 "gpsLat2" => 52.2319581 "gpsLon2" => 21.0067249 "gpsRadius2" => 50 "gpsLat3" => 53.9119982 "gpsLon3" => 19.9279895 "gpsRadius3" => 50 "gpsLat4" => 53.1219648 "gpsLon4" => 18.0002529 "gpsRadius4" => 50 ] |
|
1.63 ms (1.31%) |
2 |
SELECT id FROM documents_page WHERE prettyUrl = :prettyUrl
Parameters:
[ "prettyUrl" => "/api/job-offers" ] |
|
0.94 ms (0.75%) |
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=485,394,558,5779,388&positionIds=7632&gpsPoints[]=54.5164982,18.5402738&gpsPoints[]=54.3482907,18.6540233&gpsPoints[]=52.2319581,21.0067249&gpsPoints[]=53.9119982,19.9279895&gpsPoints[]=53.1219648,18.0002529&gpsRadius=50&offset=0" "sourceEntireUri" => "http://www.geminipolska.com.pl/api/job-offers?cityIds=485,394,558,5779,388&gpsPoints[0]=54.5164982,18.5402738&gpsPoints[1]=54.3482907,18.6540233&gpsPoints[2]=52.2319581,21.0067249&gpsPoints[3]=53.9119982,19.9279895&gpsPoints[4]=53.1219648,18.0002529&gpsRadius=50&offset=0&positionIds=7632" "typePath" => "path" "typePathQuery" => "path_query" "typeEntireUri" => "entire_uri" "typeAuto" => "auto_create" ] |
|
0.78 ms (0.63%) |
1 |
SELECT id FROM targeting_target_groups UNION SELECT id FROM targeting_rules LIMIT 1
Parameters:
[] |
|
0.70 ms (0.56%) |
1 |
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[ "id" => "reports" "scope" => "pimcore" ] |
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.