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

@@ -42,8 +42,9 @@ POSTGRES_USER=postgres
POSTGRES_PASSWORD=pgpassword
POSTGRES_DATABASE=migrated_db
BATCH_SIZE=10000
LOG_LEVEL=INFO
CONSOLIDATION_GROUP_LIMIT=40000
PROGRESS_LOG_INTERVAL=10000
```
### 3. Creare PostgreSQL in Incus
@@ -224,8 +225,11 @@ python main.py setup --create-schema
### "Migration is slow"
```bash
# Aumentare batch size in .env
BATCH_SIZE=50000
# Aumentare consolidation group limit in .env
CONSOLIDATION_GROUP_LIMIT=80000
# Oppure ridurre logging
PROGRESS_LOG_INTERVAL=20000
# Oppure ottimizzare MySQL
mysql> FLUSH PRIVILEGES;