routewatch/internal/database
sneak 05805b8847 Optimize SQLite settings for better balance
- Reduce cache size from 8GB to 512MB (still plenty for 2.4GB DB)
- Reduce mmap_size from 10GB to 256MB (reasonable default)
- Use default page size (4KB) instead of 8KB
- Use default WAL checkpoint interval (1000 pages)
- Remove redundant pragmas (threads, cache_spill, read_uncommitted)
- Clean up connection string to only use _txlock parameter
- Keep synchronous=OFF for performance (since we have mutex protection)
2025-07-28 18:06:31 +02:00
..
database_test.go Add IPv4 range optimization for IP to AS lookups 2025-07-28 03:23:25 +02:00
database.go Optimize SQLite settings for better balance 2025-07-28 18:06:31 +02:00
interface.go Optimize database batch operations with prepared statements 2025-07-28 17:21:40 +02:00
models.go Optimize database batch operations with prepared statements 2025-07-28 17:21:40 +02:00
schema.sql Add IPv4 range optimization for IP to AS lookups 2025-07-28 03:23:25 +02:00
slowquery.go Add custom logger with source location tracking and remove verbose database logs 2025-07-28 01:14:51 +02:00
utils.go Add IPv4 range optimization for IP to AS lookups 2025-07-28 03:23:25 +02:00