fix .env.example var and docs
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user