Redirect 302 redirect from GET @app_admin_labourer (abd5fe)

GET https://osm-commerces.cipherbliss.com/admin/stats/02133/followup-graph/travaux

Query Metrics

24 Database Queries
20 Different statements
403.71 ms Query time
0 Invalid entities
4792 Managed entities

Grouped Statements

Show all queries

default connection

Time Count Info
160.79 ms
(39.83%)
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:
[
  "02133"
]
88.07 ms
(21.81%)
1
"COMMIT"
Parameters:
[]
59.54 ms
(14.75%)
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:
[
  26990
]
14.06 ms
(3.48%)
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:
[
  26990
  "travaux_count"
  "travaux_completion"
]
0.63 ms
(0.15%)
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:
[
  "02133"
]
0.59 ms
(0.15%)
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:
[
  26990
]
0.49 ms
(0.12%)
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:
[
  26990
  "travaux"
]
0.36 ms
(0.09%)
1
INSERT INTO action_log (type, data, created_at, from_url, who) VALUES (?, ?, ?, ?, ?)
Parameters:
[
  "[DEBUG][followupThemeGraph]"
  "{"theme":"travaux","tagKey":null,"tagValue":null,"main_tags":[],"places_count":0,"filtered_count":0,"filtered_main_tags":[]}"
  "2026-07-15 04:11:30"
  null
  null
]
0.21 ms
(0.05%)
1
"START TRANSACTION"
Parameters:
[]

osm connection

Time Count Info
49.95 ms
(12.37%)
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,
       ST_AsGeoJSON(ST_Force2D(geom), 6, 0) AS geom_geojson,
       CASE WHEN GeometryType(geom) IN ('POLYGON', 'MULTIPOLYGON')
            THEN ST_Area(geom::geography)
            ELSE NULL END AS area_m2
FROM osm_object_meta m
WHERE geom IS NOT NULL
  AND ST_Intersects(m.geom, ST_GeomFromText(?, 4326))
  AND osm_type IN ('way', 'relation')
  AND (tags->'landuse') = 'construction'
Parameters:
[
  "MULTIPOLYGON(((3.871318 49.654218,3.8728 49.654706,3.874959 49.655398,3.876885 49.656008,3.877373 49.655814,3.881169 49.656744,3.882156 49.656732,3.883284 49.657144,3.884265 49.657571,3.884379 49.657318,3.884969 49.657574,3.885088 49.657374,3.888156 49.658234,3.888792 49.658088,3.890209 49.658162,3.892128 49.658933,3.892114 49.65975,3.892192 49.659786,3.892427 49.659616,3.893198 49.659113,3.894724 49.658216,3.895081 49.657953,3.895504 49.658092,3.896929 49.658524,3.898555 49.659007,3.899286 49.65921,3.900707 49.659545,3.901802 49.659833,3.902285 49.65993,3.904042 49.660433,3.908797 49.661713,3.910248 49.662123,3.910261 49.663621,3.90952 49.663685,3.909517 49.664148,3.908892 49.664211,3.908214 49.6643,3.908316 49.664644,3.908844 49.664619,3.908943 49.666693,3.909846 49.668328,3.909804 49.669487,3.908862 49.671545,3.909147 49.671575,3.910407 49.671763,3.910938 49.671876,3.913103 49.672173,3.924131 49.673126,3.922038 49.669306,3.921981 49.66885,3.921932 49.668286,3.921824 49.667788,3.921491 49.66525,3.92146 49.664882,3.921642 49.663239,3.921723 49.662416,3.921812 49.661373,3.921895 49.660074,3.921959 49.659833,3.92195 49.65932,3.921907 49.658435,3.92196 49.657758,3.92208 49.6578,3.922078 49.654235,3.929066 49.654715,3.930013 49.651987,3.931172 49.651016,3.932685 49.649652,3.932958 49.648007,3.932979 49.647931,3.932524 49.647901,3.932899 49.645505,3.933081 49.644558,3.933303 49.643467,3.933155 49.643416,3.932748 49.643182,3.932716 49.643084,3.932804 49.642865,3.933025 49.642615,3.933373 49.642372,3.93348 49.642106,3.933479 49.641987,3.933339 49.641469,3.933102 49.640937,3.933092 49.640854,3.933147 49.640236,3.933143 49.639861,3.933075 49.63932,3.933376 49.639291,3.935162 49.638993,3.936615 49.638789,3.938394 49.638525,3.939259 49.638451,3.940042 49.638468,3.940699 49.638509,3.941532 49.638504,3.942494 49.638521,3.943053 49.638513,3.943578 49.638475,3.944318 49.638367,3.944986 49.638288,3.944852 49.636784,3.944834 49.636485,3.944865 49.636314,3.945036 49.635849,3.94438 49.63589,3.941123 49.636232,3.940136 49.636315,3.938854 49.636453,3.93821 49.636506,3.937655 49.636573,3.937464 49.63658,3.935813 49.636771,3.934677 49.636878,3.93051 49.637259,3.925492 49.633954,3.925142 49.634158,3.924262 49.634696,3.920855 49.633753,3.920561 49.633652,3.920215 49.633577,3.920001 49.633498,3.918115 49.632979,3.917039 49.63267,3.916028 49.632399,3.914528 49.631986,3.913109 49.631581,3.914724 49.629862,3.907308 49.627801,3.905378 49.62756,3.904896 49.627478,3.903434 49.627311,3.901157 49.627032,3.900138 49.626896,3.898413 49.626657,3.897977 49.626591,3.89747 49.626554,3.896217 49.626356,3.896049 49.626042,3.895945 49.625717,3.895644 49.625733,3.894388 49.625753,3.893439 49.625781,3.89204 49.625808,3.891673 49.626225,3.891228 49.626806,3.890915 49.627257,3.890293 49.627971,3.887889 49.62788,3.887802 49.629699,3.886536 49.630891,3.885349 49.631931,3.884575 49.63258,3.88366 49.633223,3.882924 49.633714,3.882036 49.634343,3.881138 49.634951,3.880454 49.635391,3.874887 49.639101,3.874872 49.639383,3.874817 49.639712,3.874736 49.639989,3.874371 49.640893,3.87418 49.641403,3.873929 49.641496,3.873821 49.641758,3.872414 49.641618,3.869258 49.641894,3.869955 49.643168,3.867446 49.643569,3.866477 49.643869,3.865859 49.64374,3.865026 49.643669,3.864237 49.643704,3.863456 49.643836,3.863177 49.643853,3.862978 49.644861,3.864104 49.645238,3.864609 49.645311,3.864673 49.64572,3.864681 49.646017,3.864809 49.646754,3.867165 49.649158,3.867967 49.649409,3.868219 49.649515,3.868684 49.649607,3.869057 49.649699,3.869513 49.649857,3.869862 49.649941,3.870372 49.65003,3.871215 49.650194,3.87085 49.650736,3.870095 49.651829,3.869788 49.652257,3.869489 49.652417,3.869914 49.652434,3.870348 49.652927,3.871058 49.653827,3.871318 49.654218)))"
]
10.19 ms
(2.52%)
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:
[
  "02133"
]
6.08 ms
(1.51%)
2
SELECT COUNT(*) FROM information_schema.tables WHERE table_schema = 'public' AND table_name = 'osm_object_meta'
Parameters:
[]
4.03 ms
(1.00%)
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:
[]
3.05 ms
(0.75%)
3
SELECT COUNT(*) FROM information_schema.tables WHERE table_schema = ? AND table_name = ?
Parameters:
[
  "public"
  "osm_object_meta"
]
1.71 ms
(0.42%)
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:
[]
1.45 ms
(0.36%)
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:
[
  "02133"
]
0.85 ms
(0.21%)
1
SELECT ST_AsText(ST_Multi(geom)) FROM zone_polygon WHERE insee_code = ?
Parameters:
[
  "02133"
]
0.73 ms
(0.18%)
2
SELECT 1
Parameters:
[]
0.56 ms
(0.14%)
1
CREATE INDEX IF NOT EXISTS zone_polygon_geom_idx ON zone_polygon USING GIST (geom)
Parameters:
[]
0.39 ms
(0.10%)
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 4789
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.