routewatch/internal/database
sneak d7e6f46320 Switch to incremental vacuum for non-blocking space reclamation
- Use PRAGMA incremental_vacuum instead of full VACUUM
- Frees ~1000 pages (~4MB) per run without blocking writes
- Run every 10 minutes instead of 6 hours since it's lightweight
- Set auto_vacuum=INCREMENTAL pragma for new databases
- Remove blocking VACUUM on startup
2025-12-29 16:00:33 +07:00
..
database_test.go Add IPv4 range optimization for IP to AS lookups 2025-07-28 03:23:25 +02:00
database.go Switch to incremental vacuum for non-blocking space reclamation 2025-12-29 16:00:33 +07:00
interface.go Add production hardening: health check, streamer panic fix, db maintenance 2025-12-29 15:55:54 +07:00
models.go Unify IP lookup response structure and add PTR lookups 2025-12-27 15:56:10 +07:00
schema.sql Add WHOIS stats to status page with adaptive fetcher improvements 2025-12-27 16:20:09 +07:00
slowquery.go Reduce slow query threshold from 50ms to 25ms 2025-07-29 04:20:43 +02:00
utils.go Add IPv4 range optimization for IP to AS lookups 2025-07-28 03:23:25 +02:00