aktin / aktin/aktin-scripts

Add usability features to migration scripts

Đang mở
#11 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Shell
Star
0
Fork
0
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.