Query Metrics
22
Database Queries
20
Different statements
428.29 ms
Query time
0
Invalid entities
3782
Managed entities
Grouped Statements
default connection
| Time▼ | Count | Info | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
238.17 ms (55.61%) |
1 |
"COMMIT"
Parameters:
[]
|
||||||||||||||||||||||||||||||
|
136.91 ms (31.97%) |
1 |
SELECT t0.id AS id_1, t0.uuid_for_url AS uuid_for_url_2, t0.osm_kind AS osm_kind_3, t0.email AS email_4, t0.opted_out AS opted_out_5, t0.dead AS dead_6, t0.note AS note_7, t0.modified_date AS modified_date_8, t0.zip_code AS zip_code_9, t0.asked_humains_support AS asked_humains_support_10, t0.last_contact_attempt_date AS last_contact_attempt_date_11, t0.osm_id AS osm_id_12, t0.name AS name_13, t0.has_opening_hours AS has_opening_hours_14, t0.has_address AS has_address_15, t0.has_website AS has_website_16, t0.has_wheelchair AS has_wheelchair_17, t0.has_note AS has_note_18, t0.main_tag AS main_tag_19, t0.note_content AS note_content_20, t0.displayed_date AS displayed_date_21, t0.lat AS lat_22, t0.lon AS lon_23, t0.street AS street_24, t0.housenumber AS housenumber_25, t0.siret AS siret_26, t0.habitants AS habitants_27, t0.osm_data_date AS osm_data_date_28, t0.osm_version AS osm_version_29, t0.osm_user AS osm_user_30, t0.osm_uid AS osm_uid_31, t0.osm_changeset AS osm_changeset_32, t0.email_content AS email_content_33, t0.place_count AS place_count_34, t0.stats_id AS stats_id_35 FROM place t0 WHERE t0.zip_code = ?
Parameters:
[
"01026"
]
|
||||||||||||||||||||||||||||||
|
15.17 ms (3.54%) |
1 |
SELECT t0.id AS id_1, t0.name AS name_2, t0.measure AS measure_3, t0.date AS date_4, t0.stats_id AS stats_id_5 FROM city_follow_up t0 WHERE t0.stats_id = ?
Parameters:
[
27087
]
|
||||||||||||||||||||||||||||||
|
12.31 ms (2.87%) |
1 |
SELECT c0_.id AS id_0, c0_.name AS name_1, c0_.measure AS measure_2, c0_.date AS date_3, c0_.stats_id AS stats_id_4 FROM city_follow_up c0_ INNER JOIN stats s1_ ON c0_.stats_id = s1_.id WHERE s1_.id = ? AND c0_.name IN (?, ?) ORDER BY c0_.date ASC, c0_.id ASC
Parameters:
[ 27087 "playground_count" "playground_completion" ]
|
||||||||||||||||||||||||||||||
|
0.61 ms (0.14%) |
1 |
SELECT z0_.id AS id_0, z0_.disappeared_list AS disappeared_list_1, z0_.current_list AS current_list_2, z0_.theme AS theme_3, z0_.stats_id AS stats_id_4 FROM zone_places z0_ WHERE z0_.stats_id = ? AND z0_.theme = ? ORDER BY z0_.id ASC LIMIT 1
Parameters:
[ 27087 "playground" ]
|
||||||||||||||||||||||||||||||
|
0.39 ms (0.09%) |
1 |
SELECT t0.id AS id_1, t0.uuid_for_url AS uuid_for_url_2, t0.osm_kind AS osm_kind_3, t0.email AS email_4, t0.opted_out AS opted_out_5, t0.dead AS dead_6, t0.note AS note_7, t0.modified_date AS modified_date_8, t0.zip_code AS zip_code_9, t0.asked_humains_support AS asked_humains_support_10, t0.last_contact_attempt_date AS last_contact_attempt_date_11, t0.osm_id AS osm_id_12, t0.name AS name_13, t0.has_opening_hours AS has_opening_hours_14, t0.has_address AS has_address_15, t0.has_website AS has_website_16, t0.has_wheelchair AS has_wheelchair_17, t0.has_note AS has_note_18, t0.main_tag AS main_tag_19, t0.note_content AS note_content_20, t0.displayed_date AS displayed_date_21, t0.lat AS lat_22, t0.lon AS lon_23, t0.street AS street_24, t0.housenumber AS housenumber_25, t0.siret AS siret_26, t0.habitants AS habitants_27, t0.osm_data_date AS osm_data_date_28, t0.osm_version AS osm_version_29, t0.osm_user AS osm_user_30, t0.osm_uid AS osm_uid_31, t0.osm_changeset AS osm_changeset_32, t0.email_content AS email_content_33, t0.place_count AS place_count_34, t0.stats_id AS stats_id_35 FROM place t0 WHERE t0.stats_id = ?
Parameters:
[
27087
]
|
||||||||||||||||||||||||||||||
|
0.37 ms (0.09%) |
1 |
SELECT t0.id AS id_1, t0.zone AS zone_2, t0.completion_percent AS completion_percent_3, t0.places_count AS places_count_4, t0.avec_horaires AS avec_horaires_5, t0.avec_adresse AS avec_adresse_6, t0.avec_site AS avec_site_7, t0.avec_accessibilite AS avec_accessibilite_8, t0.avec_note AS avec_note_9, t0.name AS name_10, t0.population AS population_11, t0.siren AS siren_12, t0.code_epci AS code_epci_13, t0.codes_postaux AS codes_postaux_14, t0.date_created AS date_created_15, t0.date_modified AS date_modified_16, t0.avec_siret AS avec_siret_17, t0.avec_name AS avec_name_18, t0.avec_email AS avec_email_19, t0.osm_data_date_min AS osm_data_date_min_20, t0.osm_data_date_avg AS osm_data_date_avg_21, t0.osm_data_date_max AS osm_data_date_max_22, t0.budget_annuel AS budget_annuel_23, t0.lat AS lat_24, t0.lon AS lon_25, t0.date_labourage_requested AS date_labourage_requested_26, t0.date_labourage_done AS date_labourage_done_27, t0.kind AS kind_28 FROM stats t0 WHERE t0.zone = ? LIMIT 1
Parameters:
[
"01026"
]
|
||||||||||||||||||||||||||||||
|
0.34 ms (0.08%) |
1 |
INSERT INTO action_log (type, data, created_at, from_url, who) VALUES (?, ?, ?, ?, ?)
Parameters:
[ "[DEBUG][followupThemeGraph]" "{"theme":"playground","tagKey":null,"tagValue":null,"main_tags":[],"places_count":0,"filtered_count":0,"filtered_main_tags":[]}" "2026-07-13 00:40:20" null null ]
|
||||||||||||||||||||||||||||||
|
0.23 ms (0.05%) |
1 |
"START TRANSACTION"
Parameters:
[]
|
osm connection
| Time▼ | Count | Info | ||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
9.67 ms (2.26%) |
1 |
SELECT ST_AsText(ST_Multi(geom)) AS wkt FROM osm_object_meta m WHERE osm_type = 'relation' AND geom IS NOT NULL AND (tags->'ref:INSEE') = ? AND (tags->'admin_level') = '8' AND (tags->'boundary') = 'administrative' ORDER BY ST_Area(geom::geography) DESC NULLS LAST LIMIT 1
Parameters:
[
"01026"
]
|
||||||||||||||||||||||||||||||||
|
3.08 ms (0.72%) |
1 |
SELECT COUNT(*) FROM information_schema.tables WHERE table_schema = 'public' AND table_name = 'osm_object_meta'
Parameters:
[]
|
||||||||||||||||||||||||||||||||
|
3.06 ms (0.71%) |
3 |
SELECT COUNT(*) FROM information_schema.tables WHERE table_schema = ? AND table_name = ?
Parameters:
[ "public" "osm_object_meta" ]
|
||||||||||||||||||||||||||||||||
|
2.84 ms (0.66%) |
1 |
SELECT COUNT(*) FROM osm_object_meta WHERE osm_type = 'relation' AND geom IS NOT NULL AND (tags->'admin_level') = '8' AND (tags->'boundary') = 'administrative' AND (tags->'ref:INSEE') IS NOT NULL
Parameters:
[]
|
||||||||||||||||||||||||||||||||
|
1.78 ms (0.42%) |
1 |
SELECT osm_type, osm_id::text AS osm_id, ST_Y(ST_Centroid(geom)) AS lat, ST_X(ST_Centroid(geom)) AS lon, tags::jsonb AS tags_json, version, osm_timestamp, changeset, osm_user, uid::bigint AS uid FROM osm_object_meta m WHERE geom IS NOT NULL AND ST_Intersects(m.geom, ST_GeomFromText(?, 4326)) AND ((tags->'leisure') = 'playground')
Parameters:
[
"MULTIPOLYGON(((4.926422 46.304434,4.926131 46.30459,4.925908 46.304884,4.925835 46.304918,4.925315 46.304869,4.924961 46.304938,4.92477 46.304896,4.924677 46.30458,4.924574 46.304478,4.924461 46.304463,4.924322 46.30459,4.924136 46.304679,4.923868 46.304895,4.92368 46.304991,4.92313 46.305134,4.922546 46.305698,4.922302 46.305913,4.922363 46.306159,4.922327 46.306386,4.922165 46.306511,4.921882 46.306577,4.921667 46.30674,4.92145 46.30697,4.92109 46.3074,4.920867 46.307753,4.921491 46.307897,4.921884 46.308501,4.921968 46.308538,4.923285 46.308144,4.923887 46.308586,4.92433 46.308983,4.925081 46.309629,4.924197 46.310288,4.924447 46.310418,4.926364 46.310934,4.926455 46.310971,4.926579 46.311428,4.926834 46.312289,4.926848 46.312539,4.926816 46.312669,4.927685 46.312802,4.928366 46.312859,4.92921 46.312881,4.929656 46.312904,4.930455 46.312923,4.931469 46.312911,4.932399 46.312908,4.933115 46.312886,4.933593 46.312946,4.934171 46.313102,4.934505 46.313209,4.934882 46.313264,4.935992 46.313178,4.936726 46.313212,4.937197 46.313167,4.937495 46.313114,4.937909 46.312943,4.938772 46.312473,4.939318 46.312283,4.939803 46.312151,4.940173 46.312071,4.939703 46.311975,4.938547 46.311629,4.93779 46.311015,4.93571 46.310716,4.934896 46.310466,4.934064 46.310264,4.933445 46.310087,4.932429 46.309763,4.932964 46.308554,4.932717 46.30846,4.932911 46.308091,4.932886 46.30778,4.933068 46.307749,4.934096 46.307719,4.934375 46.306981,4.934152 46.306366,4.93403 46.305955,4.934016 46.305779,4.934468 46.305969,4.934602 46.305876,4.934656 46.30577,4.93491 46.304715,4.934893 46.304475,4.934915 46.304266,4.934897 46.303868,4.935098 46.303809,4.935161 46.303535,4.93512 46.30344,4.934904 46.303306,4.934715 46.303047,4.934489 46.302954,4.934118 46.30294,4.933623 46.303092,4.933391 46.303189,4.93258 46.303421,4.931978 46.303378,4.931437 46.303378,4.931127 46.303315,4.930991 46.303224,4.930694 46.303163,4.930306 46.303189,4.929873 46.303147,4.92965 46.303163,4.928815 46.303404,4.928536 46.303512,4.927923 46.303709,4.927388 46.304015,4.927202 46.304099,4.927018 46.304137,4.926644 46.304347,4.926422 46.304434)))"
]
|
||||||||||||||||||||||||||||||||
|
1.32 ms (0.31%) |
1 |
INSERT INTO osm_object_meta ( osm_type, osm_id, geom, tags, version, osm_timestamp, changeset, osm_user, uid ) SELECT 'relation', latest.osm_id, latest.geom, latest.tags, latest.version, to_char(latest.valid_from AT TIME ZONE 'UTC', 'YYYY-MM-DD"T"HH24:MI:SS"Z"'), latest.changeset, latest.osm_user, latest.uid FROM ( SELECT DISTINCT ON (h.osm_id) h.osm_id, h.geom, h.tags, h.version, h.valid_from, h.changeset, h.osm_user, h.uid FROM osm_object_history h WHERE h.osm_type = 'relation' AND h.visible = true AND h.geom IS NOT NULL AND (h.tags->'boundary') = 'administrative' AND (h.tags->'admin_level') = '8' AND (h.tags->'ref:INSEE') IS NOT NULL ORDER BY h.osm_id, h.version DESC, h.valid_from DESC ) AS latest WHERE NOT EXISTS ( SELECT 1 FROM osm_object_meta m WHERE m.osm_type = 'relation' AND m.osm_id = latest.osm_id )
Parameters:
[]
|
||||||||||||||||||||||||||||||||
|
0.60 ms (0.14%) |
1 |
SELECT ST_AsText(ST_Multi(geom)) FROM zone_polygon WHERE insee_code = ?
Parameters:
[
"01026"
]
|
||||||||||||||||||||||||||||||||
|
0.41 ms (0.09%) |
1 |
SELECT ST_AsText(ST_Multi(geom)) AS wkt FROM ( SELECT DISTINCT ON (h.osm_id) h.geom FROM osm_object_history h WHERE h.osm_type = 'relation' AND h.visible = true AND h.geom IS NOT NULL AND (h.tags->'ref:INSEE') = ? AND (h.tags->'admin_level') = '8' AND (h.tags->'boundary') = 'administrative' ORDER BY h.osm_id, h.version DESC, h.valid_from DESC ) latest ORDER BY ST_Area(geom::geography) DESC NULLS LAST LIMIT 1
Parameters:
[
"01026"
]
|
||||||||||||||||||||||||||||||||
|
0.40 ms (0.09%) |
1 |
SELECT 1
Parameters:
[]
|
||||||||||||||||||||||||||||||||
|
0.37 ms (0.09%) |
1 |
CREATE INDEX IF NOT EXISTS zone_polygon_geom_idx ON zone_polygon USING GIST (geom)
Parameters:
[]
|
||||||||||||||||||||||||||||||||
|
0.28 ms (0.07%) |
1 |
CREATE TABLE IF NOT EXISTS zone_polygon ( insee_code TEXT PRIMARY KEY, geom geometry(MultiPolygon, 4326) NOT NULL, source TEXT NOT NULL, updated_at TIMESTAMPTZ NOT NULL DEFAULT NOW() )
Parameters:
[]
|
Database Connections
| Name | Service |
|---|---|
| default | doctrine.dbal.default_connection |
| osm | doctrine.dbal.osm_connection |
Entity Managers
| Name | Service |
|---|---|
| default | doctrine.orm.default_entity_manager |
Second Level Cache
Second Level Cache is not enabled.
Managed Entities
default entity manager
| Class | Amount of managed objects |
|---|---|
| App\Entity\CityFollowUp | 3779 |
| App\Entity\Stats | 1 |
| App\Entity\ActionLog | 1 |
| App\Entity\ZonePlaces | 1 |
Entities Mapping
| Class | Mapping errors |
|---|---|
| App\Entity\Stats | No errors. |
| App\Entity\Place | No errors. |
| App\Entity\StatsHistory | No errors. |
| App\Entity\CityFollowUp | No errors. |
| App\Entity\ZonePlaces | No errors. |
| App\Entity\SireneEntreprise | No errors. |
| App\Entity\ActionLog | No errors. |