aktin / aktin/aktin-scripts

Add usability features to migration scripts

オープン
#11 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Shell
スター
0
フォーク
0
PR マージ指標
30日以内にマージされた PR はありません

説明

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"
```

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。