perf(objective_lots): drop 3 dead indexes (status/rooms_area/bank) — write-amp (#1953) #2056
No reviewers
Labels
No labels
admin
analytics
auth
automation
bug
business
chore
ci
compliance
data
data-moat
docs
duplicate
dx
enhancement
Fable 5 ревью
feedback/max
generative
GG-форсайт
needs-discussion
needs-human
observability
pause-bots
performance
priority/p0
priority/p1
priority/p2
priority/p3
scope/backend
scope/db
scope/devops
scope/frontend
scope/qa
scrapers
security
site-finder
stage/1
stage/2
status/blocked
status/done
status/needs-analysis
status/needs-fix
status/qa
status/ready
status/review
status/wip
tech-debt
tradein
ux
week ревью 1
wontfix
вторичка
ИРД
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: lekss361/gendesign#2056
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "perf/drop-dead-objective-lots-indexes-1953"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Perf-хант #4. Дроп 3 verified-мёртвых индексов на hot-UPSERT таблице objective_lots (миграция 177).
Прод-verify (35d uptime, без reset): status_idx idx_scan=8 (предикат LOWER(COALESCE(status,..))=.. не-sargable→seq-scan), rooms_area_idx=7 (rooms_int/area_pd только в SELECT/CASE, не в WHERE), bank_idx=2 (bank_name только в has_mortgage-проекции). EXPLAIN подтвердил — планировщик их не выбирает. Ни одного hot/periodic консьюмера (grep).
trgm_idx (236МБ) НЕ тронут — ETL-консьюмер (objective_backfill similarity()), отдельный тикет.
~97МБ диск + write-amp на каждом upsert. Reversible (68_schema_objective.sql:250-256). DROP IF EXISTS, BEGIN/COMMIT, идемпотентно, dry-run на проде чисто. Refs #1953.