53c241c20f5fb41ab474ac9701bdf9d6705277fc
ST_SimplifyPreserveTopology in views runs on every Martin tile request, causing constant CPU load. Fix: pre-compute simplified geometries into dedicated columns (geom_z0, geom_z5, geom_z8) on the GisUat table. POST /api/geoportal/optimize-views: 1. Adds geom_z0/z5/z8 columns to GisUat 2. Backfills with pre-computed simplifications (one-time cost) 3. Creates GiST spatial indexes on each 4. Replaces views to use pre-computed columns (zero CPU reads) 5. Updates trigger to auto-compute on INSERT/UPDATE Setup banner: now checks optimization status and shows "Optimizeaza" button if needed. One-click, then docker restart martin. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
pre-launch hardening: Address Book type sort, Hot Desk proportions, TVA calculator, ROADMAP Phase 4B
Description
No description provided
Languages
TypeScript
98.7%
PLpgSQL
0.4%
Shell
0.3%
Dockerfile
0.2%
CSS
0.2%
Other
0.1%