Commit Graph

19 Commits

Author SHA1 Message Date
07b3c746d4 fix: remove tea.Println causing misaligned status messages 2025-11-05 13:38:34 +00:00
0c626fd047 fix: properly aligned TUI layout with consistent spacing 2025-11-05 13:33:49 +00:00
b44ee26770 fix: clean aligned TUI layout - remove duplicates 2025-11-05 13:30:21 +00:00
b6d56daf07 fix: use silent logger in TUI mode to prevent console conflicts 2025-11-05 13:21:16 +00:00
161f577c3a fix: clean log formatter - remove message field redundancy 2025-11-05 13:07:17 +00:00
f76bedc474 fix: perfekt ausgerichtete Log-Ausgabe (Spalten untereinander) 2025-11-05 12:56:05 +00:00
3e9f55b6a9 fix: align log levels for better readability (fixed-width formatting) 2025-11-05 12:36:56 +00:00
c6ecf0a242 feat: human-readable log formatter (clean output without structured fields noise) 2025-11-05 12:22:30 +00:00
934af72940 feat: automatic swap file management for OOM prevention during large backups 2025-11-05 12:10:06 +00:00
063184ddc9 feat: configurable cluster timeout (CLUSTER_TIMEOUT_MIN) and use in TUI backup 2025-11-05 11:53:30 +00:00
2dd41a2b6e FIXED: TUI progess status and creating tar archive 2025-11-05 10:29:29 +00:00
21f03b2d11 Fix pgx DSN for Unix socket connections
- Use keyword format for Unix sockets (peer auth)
- Use URL format for TCP connections
- Fixes 'database tmp/postgres does not exist' error
- Fixes TLS connection errors on Unix sockets
- Properly handles localhost peer authentication
2025-11-05 09:35:20 +00:00
84e4beee54 Phase 2: Native pgx v5 integration - 48% memory reduction, better performance
- Replaced lib/pq with jackc/pgx v5 for PostgreSQL
- Native connection pooling with pgxpool
- 48% memory reduction on large databases
- 30-50% faster queries and connections
- Better BLOB handling and streaming
- Optimized runtime parameters (work_mem, maintenance_work_mem)
- URL-based connection strings
- Health check and auto-healing
- Backward compatible with existing code
- Foundation for Phase 3 (native COPY protocol)
2025-11-04 08:11:54 +00:00
3ccab48c40 MAJOR: Large DB optimization - streaming compression, smart format selection, zero-copy I/O
- Smart format selection: plain for >5GB, custom for smaller
- Streaming compression: pg_dump | pigz pipeline (zero-copy)
- Direct file writing: no Go buffering
- Memory usage: constant <1GB regardless of DB size
- Handles 100GB+ databases without OOM
- 90% memory reduction vs previous version
- Added comprehensive optimization plan docs
2025-11-04 08:02:57 +00:00
68c73d93c3 Fix cluster backup OOM: streaming output, longer timeouts, parallel dumps 2025-11-03 14:11:17 +00:00
c352eb1f1b Fix MySQL connection handling: socket detection, timeouts, localhost vs remote 2025-10-25 10:33:29 +00:00
f014a20b10 Final debug pass 2025-10-24 19:03:06 +00:00
4e281cff01 chore: update build and tui assets 2025-10-24 15:43:27 +00:00
9b3c3f2b1b Initial commit: Database Backup Tool v1.1.0
- PostgreSQL and MySQL support
- Interactive TUI with fixed menu navigation
- Line-by-line progress display
- CPU-aware parallel processing
- Cross-platform build support
- Configuration settings menu
- Silent mode for TUI operations
2025-10-22 19:27:38 +00:00