Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Greenplum
Gpdb
提交
33be2541
G
Gpdb
项目概览
Greenplum
/
Gpdb
通知
7
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
G
Gpdb
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
33be2541
编写于
4月 02, 2019
作者:
C
Chuck Litzell
提交者:
David Yozie
4月 03, 2019
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Add -s and --no-progress options to gprecoverseg (#7282)
上级
1852a8b4
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
23 addition
and
2 deletion
+23
-2
gpdb-doc/dita/utility_guide/admin_utilities/gprecoverseg.xml
gpdb-doc/dita/utility_guide/admin_utilities/gprecoverseg.xml
+23
-2
未找到文件。
gpdb-doc/dita/utility_guide/admin_utilities/gprecoverseg.xml
浏览文件 @
33be2541
...
@@ -9,14 +9,15 @@
...
@@ -9,14 +9,15 @@
<section
id=
"section2"
>
<section
id=
"section2"
>
<title>
Synopsis
</title>
<title>
Synopsis
</title>
<codeblock><b>
gprecoverseg
</b>
[
<b>
-p
</b>
<varname>
new_recover_host
</varname>
[,...]] |
<b>
-i
</b>
<varname>
recover_config_file
</varname>
] [
<b>
-d
</b>
<varname>
master_data_directory
</varname>
]
<codeblock><b>
gprecoverseg
</b>
[
<b>
-p
</b>
<varname>
new_recover_host
</varname>
[,...]] |
<b>
-i
</b>
<varname>
recover_config_file
</varname>
] [
<b>
-d
</b>
<varname>
master_data_directory
</varname>
]
[
<b>
-B
</b>
<varname>
parallel_processes
</varname>
] [
<b>
-F
</b>
] [
<b>
-a
</b>
] [
<b>
-q
</b>
] [
<b>
-l
</b>
<varname>
logfile_directory
</varname>
]
[
<b>
-B
</b>
<varname>
parallel_processes
</varname>
] [
<b>
-F
</b>
[
<b>
-s
</b>
]] [
<b>
-a
</b>
] [
<b>
-q
</b>
]
[
<b>
--no-progress
</b>
] [
<b>
-l
</b>
<varname>
logfile_directory
</varname>
]
<b>
gprecoverseg
</b>
<b>
-r
</b>
<b>
gprecoverseg
</b>
<b>
-r
</b>
<b>
gprecoverseg
</b>
<b>
-o
</b>
<varname>
output_recover_config_file
</varname>
<b>
gprecoverseg
</b>
<b>
-o
</b>
<varname>
output_recover_config_file
</varname>
[
<b>
-p
</b>
<varname>
new_recover_host
</varname>
[,...]]
[
<b>
-p
</b>
<varname>
new_recover_host
</varname>
[,...]]
<b>
gprecoverseg
</b>
<b>
-?
</b>
<b>
gprecoverseg
</b>
<b>
-?
</b>
|
<b>
--help
</b>
<b>
gprecoverseg
</b>
<b>
--version
</b></codeblock>
<b>
gprecoverseg
</b>
<b>
--version
</b></codeblock>
</section>
</section>
...
@@ -105,6 +106,15 @@
...
@@ -105,6 +106,15 @@
instance before copying the data from the active (current primary) segment instance.
instance before copying the data from the active (current primary) segment instance.
Before performing a full recovery, ensure that the segment failure did not cause data
Before performing a full recovery, ensure that the segment failure did not cause data
corruption and that any host segment disk issues have been fixed.
</note></pd>
corruption and that any host segment disk issues have been fixed.
</note></pd>
<pd>
Full recovery can take a long time for large databases, so
<codeph>
gprecoverseg
</codeph>
displays a running estimate of the completion progress
of the copy for each segment. Progress for each segment is updated once per second,
using ANSI escape codes to update the line for each segment in-place. If you are
redirecting the
<codeph>
gprecoverseg
</codeph>
output to a file, or if the ANSI escape
codes do not work correctly on your terminal, you can include the
<codeph>
-s
</codeph>
option on the command line to omit the ANSI escape codes. This outputs a new line once
per second for each segment. Include the
<codeph>
--no-progress
</codeph>
option to
completely disable the progress reports.
</pd>
</plentry>
</plentry>
<plentry>
<plentry>
<pt>
-i
<varname>
recover_config_file
</varname></pt>
<pt>
-i
<varname>
recover_config_file
</varname></pt>
...
@@ -169,6 +179,17 @@ newPort:newDataDirectory</codeblock>
...
@@ -169,6 +179,17 @@ newPort:newDataDirectory</codeblock>
synchronized before running
<codeph>
gprecoverseg -r
</codeph>
. If there are any in
synchronized before running
<codeph>
gprecoverseg -r
</codeph>
. If there are any in
progress queries, they will be cancelled and rolled back.
</pd>
progress queries, they will be cancelled and rolled back.
</pd>
</plentry>
</plentry>
<plentry>
<pt>
-s
</pt>
<pd>
Show
<codeph>
pg_basebackup
</codeph>
progress sequentially instead of in-place. Useful
when writing to a file, or if a tty does not support escape sequences. The default is to
show progress in-place.
</pd>
</plentry>
<plentry>
<pt>
--no-progress
</pt>
<pd>
Suppresses progress reports from the
<codeph>
pg_basebackup
</codeph>
utility. The
default is to display progress of base backups.
</pd>
</plentry>
<plentry>
<plentry>
<pt>
-v (verbose)
</pt>
<pt>
-v (verbose)
</pt>
<pd>
Sets logging output to verbose.
</pd>
<pd>
Sets logging output to verbose.
</pd>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录