第6章gp_toolkit管理架构-Checking Server Configuration Files
来源:互联网 发布:crossover软件多少钱 编辑:程序博客网 时间:2024/04/25 17:37
Checking Server Configuration Files
Greenplum数据库系统的每个组件(主数据库,备用主数据库,主数据段和镜像数据块)都有自己的服务器配置文件(postgresql.conf)。 以下gp_tooikit对象可用于检查系统中所有主要postgresql.conf文件的参数设置:
• gp_param_setting('parameter_name')
• gp_param_settings_seg_value_diffs
gp_param_settlng('parameter_name')
This function takes the name of a serverconfiguration parameter and returns the postgresqi.confvalue for themaster and each active segment. This function is accessible to all users.
Table 108: gp_param_setting('parameter_name,) function
Column
描述
paramsegment
段内容ID(仅显示活动细分)。 master内容ID始终为-1。
paramname
参数的名称。
paramvalue
参数的值
Example:
SELECT * FROM gp_param_setting(,max_connections,);
gp_param_settlngs_seg_value_dlffs
被分类为本地参数的服务器配置参数(意味着每个段从它自己的postgresql.conf文件中获取参数值)应该在所有段上设置相同。 该视图显示不一致的本地参数设置。 不包括应该具有不同值的参数(如端口)。 所有用户都可以访问该视图。
Table 109: gp_param_settings_seg_value_diffs view
Column
描述
psdname
参数的名称。
psdvalue
参数的值。
psdcount
具有此值的段的数量。
Checking for Failed Segments
gp_pgdatabase_invalid视图可以用来检查停机的段。
gp_pgdatabase_invalid
This viewshows information about segments that are marked as down in the system catalog.This view is accessible to all users.
Table 110: gp_pgdatabase_invalid view
Column
描述
pgdbidbid
段dbid。 每个段都有一个唯一的dbid。
pgdbiisprimary
目前这个细分市场是否是主要细分市场? (t或f)
pgdbicontent
该细分的内容ID。 主要和镜像将具有相同的内容ID。
pgdbivalid
这个细分是有效的吗? (t或f)
pgdbidefinedprimary
在系统初始化的时候,这个部分是否被赋予了主角色? (t或f
- 第6章gp_toolkit管理架构-Checking Server Configuration Files
- 第6章gp_toolkit管理架构-Checking for Locks
- 第6章gp_toolkit管理架构-Checking Append-Optimized Tables
- 第6章gp_toolkit管理架构-Checking for Failed Segments
- 第6章gp_toolkit管理架构-Checking Resource Queue Activity and Status
- 第6章gp_toolkit管理架构-Checking Query Disk Spill Space Usage
- 第6章gp_toolkit管理架构-Checking Database Object Sizes and Disk Space
- 第6章gp_toolkit管理架构-Checking for Uneven Data Distribution
- 第6章gp_toolkit管理架构
- 第6章gp_toolkit管理架构_gp_bloat_diag
- 第6章gp_toolkit管理架构_gp_stats_missing
- 第6章gp_toolkit管理架构-gp_locks_on_resqueue
- 第6章gp_toolkit管理架构-gp_log_command_timings
- Checking Network Configuration requirements Failed
- 第6章 Jenkins – Configuration
- SQL SERVER 架构管理
- log4j - configuration files
- Entity Configuration Files
- 3364 数据结构实验之图论八:欧拉回路
- 独家 | AI大神沈向洋做客网易乌镇论坛,讲了两个笑话和一堆干货
- 漫读 | 这三部科幻电影让你一步步恋上人工智能!
- lg1045麦森数
- 【十八】机器学习之路——决策树Python实现(4)
- 第6章gp_toolkit管理架构-Checking Server Configuration Files
- 聚焦 | 火爆的AI话题 这次大佬们在乌镇都说了些什么?
- 人工智能、机器学习和深度学习之间的区别和联系
- Java中的可变参数
- 利用 Hexo + Github Pages 搭建免费博客
- conda 命令异常(一)
- 《编程人生:15位软件先驱访谈录》【PDF】下载
- 多线程初识二
- python算法实战2