Go to file
sneak 21921a170c Optimize database performance to fix slow queries
- Add VACUUM on startup to defragment database
- Increase cache size from 256MB to 2GB for better performance
- Increase mmap_size from 256MB to 512MB
- Add PRAGMA analysis_limit=0 to disable automatic ANALYZE
- Remove PRAGMA optimize which could trigger slow ANALYZE

These changes should dramatically improve query performance and prevent
the 5+ second query times seen in production.
2025-07-28 16:47:59 +02:00
cmd Add custom logger with source location tracking and remove verbose database logs 2025-07-28 01:14:51 +02:00
docs Initial commit: RouteWatch BGP stream monitor 2025-07-27 21:18:57 +02:00
internal Optimize database performance to fix slow queries 2025-07-28 16:47:59 +02:00
pkg/asinfo Remove BGP keepalive logging and add peer tracking 2025-07-27 21:54:58 +02:00
.gitignore Extract database schema to separate SQL file 2025-07-27 22:38:51 +02:00
.golangci.yml Initial commit: RouteWatch BGP stream monitor 2025-07-27 21:18:57 +02:00
CLAUDE.md Initial commit: RouteWatch BGP stream monitor 2025-07-27 21:18:57 +02:00
go.mod Remove routing table and snapshotter packages, update status page 2025-07-28 03:11:36 +02:00
go.sum Remove routing table and snapshotter packages, update status page 2025-07-28 03:11:36 +02:00
Makefile Replace live_routes database table with in-memory routing table 2025-07-27 23:16:19 +02:00