Query Metrics
22
Database Queries
20
Different statements
736.47 ms
Query time
0
Invalid entities
4538
Managed entities
Queries
default connection
| #▲ | Time | Info | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | 0.33 ms |
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:
[
"02006"
]
|
||||||||||||||||||||||||||||||
| 2 | 16.05 ms |
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:
[ 27297 "healthcare_count" "healthcare_completion" ]
|
||||||||||||||||||||||||||||||
| 3 | 145.61 ms |
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:
[
"02006"
]
|
||||||||||||||||||||||||||||||
| 4 | 0.19 ms |
"START TRANSACTION"
Parameters:
[]
|
||||||||||||||||||||||||||||||
| 5 | 35.08 ms |
INSERT INTO action_log (type, data, created_at, from_url, who) VALUES (?, ?, ?, ?, ?)
Parameters:
[ "[DEBUG][followupThemeGraph]" "{"theme":"healthcare","tagKey":null,"tagValue":null,"main_tags":[],"places_count":0,"filtered_count":0,"filtered_main_tags":[]}" "2026-07-15 04:11:05" null null ]
|
||||||||||||||||||||||||||||||
| 6 | 428.31 ms |
"COMMIT"
Parameters:
[]
|
||||||||||||||||||||||||||||||
| 7 | 0.58 ms |
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:
[
27297
]
|
||||||||||||||||||||||||||||||
| 8 | 19.91 ms |
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:
[
27297
]
|
||||||||||||||||||||||||||||||
| 9 | 0.50 ms |
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:
[ 27297 "healthcare" ]
|
osm connection
| #▲ | Time | Info | ||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | 0.92 ms |
SELECT 1
Parameters:
[]
|
||||||||||||||||||||||||||||||||
| 2 | 5.05 ms |
SELECT COUNT(*) FROM information_schema.tables WHERE table_schema = 'public' AND table_name = 'osm_object_meta'
Parameters:
[]
|
||||||||||||||||||||||||||||||||
| 3 | 2.62 ms |
SELECT COUNT(*) FROM information_schema.tables WHERE table_schema = ? AND table_name = ?
Parameters:
[ "public" "osm_object_meta" ]
|
||||||||||||||||||||||||||||||||
| 4 | 0.78 ms |
SELECT COUNT(*) FROM information_schema.tables WHERE table_schema = ? AND table_name = ?
Parameters:
[ "public" "osm_object_history" ]
|
||||||||||||||||||||||||||||||||
| 5 | 4.84 ms |
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:
[]
|
||||||||||||||||||||||||||||||||
| 6 | 2.27 ms |
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:
[]
|
||||||||||||||||||||||||||||||||
| 7 | 15.74 ms |
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:
[
"02006"
]
|
||||||||||||||||||||||||||||||||
| 8 | 1.07 ms |
SELECT COUNT(*) FROM information_schema.tables WHERE table_schema = ? AND table_name = ?
Parameters:
[ "public" "osm_object_history" ] |
||||||||||||||||||||||||||||||||
| 9 | 1.30 ms |
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:
[
"02006"
]
|
||||||||||||||||||||||||||||||||
| 10 | 0.28 ms |
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:
[]
|
||||||||||||||||||||||||||||||||
| 11 | 3.41 ms |
CREATE INDEX IF NOT EXISTS zone_polygon_geom_idx ON zone_polygon USING GIST (geom)
Parameters:
[]
|
||||||||||||||||||||||||||||||||
| 12 | 0.71 ms |
SELECT ST_AsText(ST_Multi(geom)) FROM zone_polygon WHERE insee_code = ?
Parameters:
[
"02006"
]
|
||||||||||||||||||||||||||||||||
| 13 | 50.94 ms |
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 (exist(tags, 'healthcare') OR (tags->'amenity') IN ('doctors','pharmacy','hospital','clinic','social_facility'))
Parameters:
[
"MULTIPOLYGON(((3.48265 49.934107,3.481931 49.934226,3.481701 49.934823,3.480967 49.936372,3.481056 49.936628,3.481164 49.937984,3.481185 49.939242,3.480816 49.940171,3.482125 49.940838,3.482761 49.941231,3.482349 49.941522,3.482318 49.941604,3.483114 49.94218,3.484208 49.942912,3.484842 49.943243,3.484963 49.94309,3.485337 49.94275,3.485643 49.942614,3.486056 49.942302,3.486519 49.94235,3.486912 49.942435,3.487123 49.94256,3.486571 49.942733,3.486185 49.942952,3.486163 49.943174,3.486203 49.943358,3.486364 49.943739,3.486814 49.943862,3.487146 49.943921,3.487607 49.943944,3.488099 49.944025,3.489392 49.94358,3.490738 49.943731,3.491707 49.942102,3.494228 49.942603,3.495042 49.942828,3.494301 49.943458,3.493175 49.944358,3.492743 49.944763,3.494188 49.945223,3.494558 49.945328,3.493573 49.94697,3.494049 49.94704,3.495293 49.947203,3.495491 49.948213,3.49557 49.948455,3.495535 49.949058,3.495355 49.951401,3.496778 49.951593,3.496541 49.952774,3.499579 49.953144,3.499529 49.951835,3.499497 49.949006,3.499849 49.948815,3.500146 49.948622,3.50011 49.94834,3.500164 49.945453,3.501993 49.945861,3.502409 49.945009,3.502603 49.94466,3.503445 49.944256,3.503854 49.944008,3.504863 49.943345,3.505346 49.942637,3.505901 49.941802,3.50712 49.942113,3.507358 49.941534,3.507707 49.941117,3.508389 49.940431,3.508904 49.93988,3.50741 49.938665,3.508199 49.938153,3.509009 49.937653,3.510038 49.937142,3.511117 49.936798,3.511931 49.937518,3.512609 49.938091,3.51343 49.937753,3.516192 49.939427,3.516789 49.939837,3.516849 49.939743,3.521314 49.937832,3.521471 49.937842,3.522204 49.936944,3.522458 49.937409,3.523011 49.938052,3.523081 49.938194,3.523363 49.939241,3.523448 49.939456,3.523614 49.939685,3.525791 49.939133,3.527558 49.936933,3.527648 49.937001,3.528432 49.936424,3.530011 49.935245,3.530083 49.935245,3.531311 49.935796,3.532561 49.934909,3.533976 49.934322,3.535928 49.934955,3.536055 49.934643,3.536318 49.934135,3.537186 49.933622,3.537772 49.933239,3.538542 49.932484,3.538866 49.931065,3.538835 49.930915,3.535344 49.928979,3.536252 49.928506,3.536304 49.928506,3.538109 49.929394,3.539299 49.929989,3.542589 49.930374,3.542957 49.929211,3.543481 49.928273,3.543377 49.927778,3.54336 49.927487,3.543258 49.927214,3.54305 49.926874,3.542802 49.926681,3.542382 49.926181,3.542343 49.926055,3.542158 49.925904,3.541944 49.925952,3.541403 49.926007,3.540875 49.926101,3.540133 49.926319,3.539959 49.926305,3.539825 49.926105,3.539289 49.925191,3.537822 49.923022,3.537389 49.922395,3.537264 49.922244,3.536921 49.921663,3.536719 49.921592,3.536402 49.921607,3.534527 49.92167,3.534398 49.921599,3.533989 49.920783,3.533761 49.920259,3.533119 49.918866,3.532937 49.918562,3.532552 49.918461,3.531287 49.918247,3.530072 49.91797,3.529243 49.91781,3.528859 49.917856,3.527598 49.918115,3.525245 49.918564,3.523549 49.918892,3.521712 49.919462,3.520488 49.919901,3.518793 49.920664,3.517123 49.921343,3.515916 49.920623,3.51501 49.920138,3.514865 49.919886,3.514679 49.919367,3.514516 49.91868,3.513947 49.917665,3.513574 49.916947,3.513526 49.916722,3.513922 49.916529,3.51604 49.915629,3.516155 49.915376,3.515728 49.914959,3.515343 49.914805,3.514581 49.914586,3.513781 49.913327,3.516219 49.912018,3.515128 49.910597,3.51424 49.909788,3.513763 49.909455,3.513213 49.909747,3.513058 49.909801,3.511636 49.909944,3.509252 49.910163,3.508999 49.910175,3.508329 49.910146,3.50552 49.909912,3.50486 49.909874,3.504318 49.909895,3.503608 49.909994,3.503662 49.910225,3.503673 49.911695,3.503222 49.91243,3.503624 49.913276,3.504078 49.913116,3.505646 49.914109,3.505547 49.914526,3.505493 49.914631,3.50547 49.915021,3.505939 49.915885,3.503195 49.916338,3.503186 49.916402,3.504996 49.917707,3.50496 49.917974,3.50576 49.921414,3.505781 49.92164,3.505671 49.92182,3.505528 49.921932,3.504685 49.921993,3.503697 49.922102,3.503136 49.922254,3.501687 49.922575,3.501481 49.922345,3.5012 49.922721,3.50018 49.924277,3.500971 49.924621,3.499811 49.925842,3.498335 49.925721,3.496226 49.925502,3.49536 49.926907,3.49462 49.927208,3.494004 49.927971,3.493612 49.928263,3.49239 49.929296,3.493246 49.929404,3.49348 49.92946,3.493552 49.929543,3.493514 49.929769,3.493087 49.930063,3.492805 49.930308,3.49191 49.931006,3.491323 49.932038,3.492651 49.933229,3.491347 49.934206,3.48827 49.934271,3.48265 49.934107)))"
]
|
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 | 4536 |
| App\Entity\Stats | 1 |
| App\Entity\ActionLog | 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. |