Query Metrics
16
Database Queries
14
Different statements
114.66 ms
Query time
0
Invalid entities
4411
Managed entities
Queries
default connection
| #▲ | Time | Info | ||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | 0.37 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:
[
"26165"
]
|
||||||||||||||||||||||||||||
| 2 | 74.40 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:
[
27555
]
|
||||||||||||||||||||||||||||
| 3 | 0.51 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:
[
27555
]
|
osm connection
| #▲ | Time | Info | ||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | 0.34 ms |
SELECT 1
Parameters:
[]
|
||||||||||||||||||||||||||||||||||
| 2 | 1.72 ms |
SELECT COUNT(*) FROM information_schema.tables WHERE table_schema = 'public' AND table_name = 'osm_object_meta'
Parameters:
[]
|
||||||||||||||||||||||||||||||||||
| 3 | 0.60 ms |
SELECT COUNT(*) FROM information_schema.tables WHERE table_schema = ? AND table_name = ?
Parameters:
[ "public" "osm_object_meta" ]
|
||||||||||||||||||||||||||||||||||
| 4 | 0.49 ms |
SELECT COUNT(*) FROM information_schema.tables WHERE table_schema = ? AND table_name = ?
Parameters:
[ "public" "osm_object_history" ]
|
||||||||||||||||||||||||||||||||||
| 5 | 1.48 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 | 0.75 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 | 5.38 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:
[
"26165"
]
|
||||||||||||||||||||||||||||||||||
| 8 | 0.69 ms |
SELECT COUNT(*) FROM information_schema.tables WHERE table_schema = ? AND table_name = ?
Parameters:
[ "public" "osm_object_history" ]
|
||||||||||||||||||||||||||||||||||
| 9 | 0.33 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:
[
"26165"
]
|
||||||||||||||||||||||||||||||||||
| 10 | 0.17 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 | 0.30 ms |
CREATE INDEX IF NOT EXISTS zone_polygon_geom_idx ON zone_polygon USING GIST (geom)
Parameters:
[]
|
||||||||||||||||||||||||||||||||||
| 12 | 0.55 ms |
SELECT ST_AsText(ST_Multi(geom)) FROM zone_polygon WHERE insee_code = ?
Parameters:
[
"26165"
]
|
||||||||||||||||||||||||||||||||||
| 13 | 26.59 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 akeys(tags) && ARRAY['amenity','shop','office','craft','leisure','healthcare','emergency','man_made','power','highway','railway','public_transport','landuse','historic','barrier','tourism','sport','place','waterway','natural','geological','route','military','traffic_sign','traffic_calming','seamark','route_master','water','airway','aerialway','building']::text[]
Parameters:
[
"MULTIPOLYGON(((4.760903 44.771314,4.760719 44.771551,4.761021 44.772122,4.76162 44.773102,4.761767 44.773594,4.764537 44.777396,4.764798 44.777641,4.765708 44.778133,4.766274 44.77843,4.766801 44.778756,4.767645 44.779103,4.768851 44.779554,4.771199 44.780646,4.771789 44.780771,4.772259 44.780921,4.772726 44.781109,4.773603 44.781517,4.773742 44.781613,4.77401 44.78173,4.774436 44.781965,4.774764 44.782088,4.775045 44.782259,4.775456 44.782417,4.776253 44.78266,4.777203 44.782904,4.777753 44.783003,4.778012 44.783034,4.778602 44.783033,4.779252 44.783077,4.779896 44.783193,4.780152 44.783203,4.780391 44.783168,4.780994 44.783045,4.781382 44.782953,4.781604 44.782933,4.782078 44.782963,4.782644 44.782981,4.782765 44.78301,4.783066 44.783189,4.783346 44.783505,4.783709 44.783888,4.784168 44.784299,4.784417 44.784548,4.784802 44.785016,4.785076 44.785395,4.785662 44.786031,4.786166 44.786521,4.786748 44.787247,4.78684 44.787413,4.787255 44.788308,4.787323 44.788659,4.787281 44.789014,4.787295 44.789173,4.787378 44.789374,4.787598 44.789653,4.787735 44.789748,4.78882 44.79036,4.789165 44.790573,4.789619 44.790797,4.789831 44.79084,4.790169 44.790705,4.79043 44.790689,4.790863 44.791016,4.791245 44.791234,4.791751 44.791435,4.792556 44.79164,4.792725 44.791707,4.792978 44.791867,4.79354 44.792264,4.793828 44.792482,4.794502 44.792896,4.79486 44.793061,4.795398 44.793468,4.795644 44.793798,4.795778 44.794167,4.796012 44.794707,4.796151 44.794846,4.79639 44.795219,4.79649 44.795449,4.796587 44.796106,4.796607 44.796535,4.796547 44.797108,4.796581 44.797286,4.796749 44.797584,4.796924 44.797842,4.797096 44.798199,4.797243 44.798598,4.79738 44.799323,4.7974 44.799566,4.797367 44.799739,4.79714 44.800319,4.797107 44.800539,4.797084 44.800933,4.796942 44.801302,4.796766 44.801594,4.796521 44.801923,4.796265 44.802221,4.796189 44.80237,4.796145 44.802616,4.796168 44.802801,4.796251 44.802951,4.796524 44.803315,4.796748 44.803483,4.796897 44.803918,4.797007 44.805048,4.79763 44.805316,4.798726 44.805729,4.80093 44.8063,4.803747 44.807037,4.805178 44.807293,4.806827 44.80774,4.812105 44.809069,4.813148 44.809309,4.814235 44.809572,4.815004 44.809806,4.815875 44.810049,4.816787 44.810416,4.817274 44.810697,4.818271 44.811244,4.819014 44.811726,4.820568 44.810557,4.820964 44.810296,4.821465 44.810077,4.821658 44.810037,4.822056 44.810013,4.822277 44.810033,4.823103 44.810151,4.823621 44.8102,4.824563 44.810362,4.825217 44.810418,4.826086 44.810535,4.826278 44.810525,4.826817 44.810393,4.82727 44.810379,4.827907 44.810427,4.828256 44.810477,4.828506 44.810606,4.828723 44.810869,4.82919 44.811177,4.829847 44.811702,4.830538 44.812177,4.830738 44.812287,4.831368 44.812764,4.831514 44.812894,4.831731 44.812992,4.832144 44.813012,4.83238 44.812985,4.832585 44.812921,4.83311 44.812872,4.834322 44.812599,4.834613 44.812549,4.835818 44.81191,4.836063 44.811721,4.836976 44.811504,4.837215 44.811472,4.838804 44.811317,4.839086 44.811263,4.840366 44.810668,4.841657 44.810084,4.842254 44.809656,4.842953 44.809108,4.843198 44.80893,4.843678 44.808361,4.846553 44.807972,4.8464 44.807509,4.84714 44.807373,4.850496 44.806676,4.851143 44.807559,4.851209 44.80767,4.851251 44.807883,4.851225 44.808096,4.850955 44.809561,4.850943 44.80988,4.851978 44.809776,4.854357 44.809307,4.856283 44.80904,4.85641 44.809358,4.856873 44.810782,4.857772 44.813688,4.858105 44.814723,4.858837 44.817027,4.859084 44.81777,4.859432 44.818891,4.859795 44.819987,4.860328 44.821674,4.860747 44.822982,4.86152 44.825449,4.861882 44.825426,4.861822 44.825225,4.862195 44.824599,4.862288 44.824492,4.862848 44.824219,4.863263 44.823998,4.863902 44.823689,4.864532 44.82348,4.865108 44.823328,4.865432 44.823114,4.865736 44.822842,4.866343 44.822333,4.867437 44.82145,4.867623 44.821272,4.86793 44.820915,4.86827 44.820566,4.868726 44.820045,4.869123 44.81962,4.86928 44.819307,4.869858 44.818084,4.870089 44.817719,4.870222 44.817447,4.870366 44.817229,4.870432 44.81705,4.870563 44.816575,4.870552 44.816402,4.870947 44.816052,4.871131 44.815996,4.871406 44.815852,4.871871 44.815504,4.871973 44.8154,4.872005 44.815225,4.871963 44.815016,4.872083 44.814793,4.872712 44.814396,4.874121 44.813696,4.874627 44.813432,4.875207 44.813102,4.875647 44.812774,4.876681 44.811885,4.877183 44.811467,4.87747 44.811352,4.87812 44.811283,4.87864 44.811177,4.879241 44.811026,4.880177 44.810878,4.880415 44.810867,4.8808 44.810889,4.881976 44.811025,4.882634 44.811094,4.88283 44.811094,4.883121 44.811049,4.883552 44.810875,4.883794 44.810692,4.883885 44.810504,4.88391 44.810214,4.883845 44.810015,4.883697 44.809764,4.883455 44.809246,4.883501 44.809072,4.883626 44.808941,4.884128 44.808546,4.884554 44.808361,4.884979 44.808218,4.885212 44.8081,4.885383 44.807968,4.885584 44.807747,4.88636 44.806632,4.886588 44.806332,4.886994 44.805735,4.887355 44.805424,4.887777 44.805118,4.889097 44.804296,4.889274 44.804107,4.8896 44.803584,4.889801 44.803209,4.889924 44.803105,4.89026 44.803042,4.890476 44.802975,4.890602 44.802871,4.890662 44.802723,4.890706 44.802425,4.890323 44.802281,4.890216 44.802191,4.890047 44.801963,4.890105 44.801712,4.890268 44.801355,4.890161 44.800694,4.890212 44.800338,4.890308 44.800083,4.89046 44.799579,4.890518 44.799322,4.890517 44.799106,4.890419 44.798779,4.890284 44.798468,4.890073 44.798119,4.889978 44.797855,4.889998 44.797701,4.890095 44.797378,4.890136 44.797148,4.890167 44.796731,4.890323 44.796,4.890345 44.795643,4.890264 44.79526,4.890193 44.794657,4.890082 44.793852,4.89009 44.793451,4.890166 44.792528,4.8901 44.791767,4.890134 44.791559,4.89005 44.791168,4.889919 44.790809,4.889686 44.790233,4.889466 44.78962,4.889202 44.788744,4.889006 44.788052,4.888861 44.787665,4.888669 44.787096,4.888698 44.78691,4.888598 44.786606,4.888199 44.78604,4.887631 44.784704,4.887428 44.784393,4.887279 44.783632,4.887245 44.782872,4.886824 44.781755,4.885833 44.780964,4.885471 44.780651,4.885212 44.780061,4.885459 44.778495,4.885642 44.777405,4.885572 44.777218,4.883186 44.772261,4.882745 44.771338,4.881395 44.768562,4.881302 44.768327,4.880713 44.767133,4.88103 44.765669,4.881201 44.764769,4.881141 44.764431,4.880924 44.76356,4.880774 44.763175,4.880435 44.762468,4.880266 44.762271,4.879123 44.761104,4.87874 44.760929,4.877232 44.758352,4.876445 44.756966,4.871114 44.758481,4.868986 44.759188,4.862693 44.760863,4.861174 44.761187,4.859861 44.761366,4.858102 44.76138,4.856571 44.761287,4.854778 44.760965,4.853408 44.760668,4.852337 44.760552,4.851189 44.760675,4.850519 44.760772,4.848847 44.761305,4.847671 44.761865,4.847031 44.762338,4.84604 44.763227,4.844562 44.764249,4.843692 44.764728,4.84257 44.765192,4.840526 44.765612,4.839209 44.765879,4.838726 44.765942,4.837947 44.765992,4.837421 44.766002,4.837089 44.765973,4.836628 44.765897,4.833759 44.766426,4.832256 44.76673,4.830644 44.767397,4.828901 44.767706,4.828785 44.767857,4.828393 44.768231,4.827986 44.768536,4.827605 44.768787,4.827182 44.768961,4.825816 44.769241,4.825484 44.769297,4.824771 44.769225,4.824032 44.769133,4.823741 44.769109,4.82362 44.769131,4.823103 44.769413,4.822644 44.769645,4.822445 44.769727,4.822181 44.769729,4.821859 44.769786,4.821066 44.769967,4.820297 44.770114,4.818836 44.770566,4.81636 44.770319,4.81395 44.770095,4.8128 44.769806,4.811442 44.769072,4.810794 44.768975,4.810623 44.768344,4.810405 44.768038,4.810203 44.767898,4.809378 44.767256,4.808865 44.766933,4.808638 44.766824,4.807924 44.766572,4.807544 44.766469,4.807176 44.766416,4.806255 44.766433,4.805777 44.766487,4.804995 44.766594,4.804307 44.766252,4.802675 44.766469,4.802142 44.766803,4.801372 44.766642,4.801033 44.766531,4.800755 44.766391,4.800368 44.766326,4.800021 44.76635,4.798658 44.767045,4.797225 44.767481,4.795931 44.767403,4.795296 44.767687,4.794753 44.767951,4.794567 44.767954,4.794243 44.768014,4.793991 44.768091,4.793402 44.76817,4.793153 44.768251,4.792468 44.768588,4.791906 44.768816,4.792166 44.768987,4.791859 44.76904,4.790861 44.769181,4.78955 44.769397,4.788875 44.769494,4.787995 44.769647,4.788027 44.769803,4.787667 44.769833,4.787374 44.769823,4.787157 44.769859,4.786942 44.769968,4.78656 44.770294,4.785835 44.7702,4.783721 44.77123,4.783342 44.771353,4.782977 44.77152,4.781434 44.772094,4.781094 44.77227,4.780333 44.772247,4.779917 44.77233,4.77936 44.772407,4.775973 44.771979,4.774354 44.771935,4.773907 44.771988,4.773435 44.772023,4.773294 44.772076,4.77294 44.771972,4.771975 44.771811,4.771153 44.77172,4.770421 44.77167,4.770064 44.771671,4.76863 44.771746,4.768092 44.771739,4.766826 44.771661,4.765613 44.771521,4.764039 44.771589,4.763209 44.771575,4.762146 44.771422,4.760903 44.771314)))"
]
|
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 | 4410 |
| App\Entity\Stats | 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. |