aktin / aktin/aktin-scripts

Add usability features to migration scripts

Abierto
#11 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Shell
Estrellas
0
Forks
0
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

Especially while migrating large databases, the scripts have no user feedback implemented. If the data warehouse host interrupts there will be no feedback. Additionally it is helpful to have a approximation of calculation time.

## Task: Add a loading feature

Display loading progresses for each individual step and
display the overall progress (search for a progress marker that works for postgres as well)

There are apt libraries that can be used, like **pv (pipe viewer)**, to show progress by file size:
```
# install pipe viewer
sudo apt-get install pv

# example usage
sudo docker exec -i "$docker_db_container" \
bash -c "pv /backup/backup_i2b2.sql | psql -U postgres -d i2b2 -q"
```

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.