Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit e81b542

Browse files
authored
Update pg_backup.sh
1 parent 64dbee5 commit e81b542

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎pg_backup/pg_backup.sh‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@ elapsed() {
4646
printf '%dd:%02d:%02d:%02d' $dd $dh $dm $ds
4747
}
4848

49-
# меняем приоритет этого процесса ($$ - это его pid) на минимальный (дочерние процессы наследуют значение приоритета родительского процесса)
49+
# для минимизации рисков влияния на работающую СУБД меняем приоритет этого процесса ($$ - это его pid) на минимальный
50+
# (дочерние процессы наследуют значение приоритета родительского процесса)
5051
ionice -c 2 -n 7 -p $$
5152
renice -n 19 -p $$
5253

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /