fix .env.example var and docs

This commit is contained in:
2025-12-30 15:29:26 +01:00
parent 5f6e3215a5
commit bcedae40fc
5 changed files with 31 additions and 16 deletions

View File

@@ -74,8 +74,9 @@ nano .env
# POSTGRES_PASSWORD=password123
# POSTGRES_DATABASE=production_migrated
#
# BATCH_SIZE=50000 # Large batches for speed
# LOG_LEVEL=INFO
# CONSOLIDATION_GROUP_LIMIT=80000 # Large batches for speed
# PROGRESS_LOG_INTERVAL=20000
```
### 4. Verifica Configurazione (5 min)
@@ -335,8 +336,11 @@ python main.py setup --create-schema
### Migrazione molto lenta
```bash
# Aumentare batch size temporaneamente
# Editare .env: BATCH_SIZE=100000
# Aumentare consolidation group limit temporaneamente
# Editare .env: CONSOLIDATION_GROUP_LIMIT=100000
# Ridurre logging
# Editare .env: PROGRESS_LOG_INTERVAL=50000
# Oppure verificare:
# - Latency rete MySQL↔PostgreSQL