greenplum 5.7 + gpinitsystem_config详解数据库
数据库 详解 config 5.7 GreenPlum
2023-06-13 09:20:08 时间
#### Name of this Greenplum system enclosed in quotes.
ARRAY_NAME="test Greenplum Data Platform"
#### Naming convention for utility-generated data directories.
SEG_PREFIX=gpseg
#### Base number by which primary segment port numbers
#### are calculated.
PORT_BASE=40000
#### File system location(s) where primary segment data directories
#### will be created. The number of locations in the list dictate
#### the number of primary segments that will get created per
#### physical host (if multiple addresses for a host are listed in
#### the hostfile, the number of segments will be spread evenly across
#### the specified interface addresses).
declare -a DATA_DIRECTORY=(/u01/greenplum-data)
#### OS-configured hostname or IP address of the master host.
MASTER_HOSTNAME=node1
#### File system location where the master data directory
#### will be created.
MASTER_DIRECTORY=/u01/greenplum-data
#### Port number for the master instance.
MASTER_PORT=5432
#### Shell utility used to connect to remote hosts.
TRUSTED_SHELL=ssh
#### Maximum log file segments between automatic WAL checkpoints.
CHECK_POINT_SEGMENTS=8
#### Default server-side character set encoding.
ENCODING=UNICODE
################################################
#### OPTIONAL MIRROR PARAMETERS
################################################
#### Base number by which mirror segment port numbers
#### are calculated.
#MIRROR_PORT_BASE=50000
#### Base number by which primary file replication port
#### numbers are calculated.
#REPLICATION_PORT_BASE=41000
#### Base number by which mirror file replication port
#### numbers are calculated.
#MIRROR_REPLICATION_PORT_BASE=51000
#### File system location(s) where mirror segment data directories
#### will be created. The number of mirror locations must equal the
#### number of primary locations as specified in the
#### DATA_DIRECTORY parameter.
#declare -a MIRROR_DATA_DIRECTORY=(/data1/mirror /data1/mirror /data1/mirror /data2/mirror /data2/mirror /data2/mirror)
#### Specify the location of the host address file here instead of #### with the the -h option of gpinitsystem. MACHINE_LIST_FILE=/usr/local/greenplum-db/all_segment
#### Specify the location of the host address file here instead of #### with the the -h option of gpinitsystem. MACHINE_LIST_FILE=/usr/local/greenplum-db/all_segment
简单说明下
ARRAY_NAME:设置阵列名称,默认EMC Greenplum DW。
SEG_PREFIX:设置segment的前缀,默认gpseg。
PORT_BASE:设置segment的起始端口,会从此端口往上增加,默认从40000开始。
DATA_DIRECTORY:设置segment primary的数据存储目录,控制每个机器上segment实例个数。
MASTER_HOSTNAME:设置master的主机名。
MASTER_DIRECTORY:设置master的存储目录。
MASTER_PORT:设置master的端口,默认5432。
TRUSTED_SHELL:设置节点之间的信任方式,默认SSH。
CHECK_POINT_SEGMENTS:预写日志文件(WAL)数量,默认为8,这意味着为主机上的每个Segment或Master实例分配1088MB的WAL空间。
ENCODING=UNICODE:设置初始字符集,默认UNICODE(UTF-8)。
MACHINE_LIST_FILE:仅包含segment主机地址
注意,其中所有需要的目录都是在创建数据存储区域时做好的。
3881.html
相关文章
- 一个隐藏SQLite数据库长达22年的漏洞
- MySQL间隙锁问题详解数据库
- 如何删除mysql注释详解数据库
- postgresql 清空数据表 truncate详解数据库
- mysql查看正在运行的语句详解数据库
- 修改Oracle数据库表中的字段顺序详解数据库
- Oracle中对数字加汉字的排序(再完善)详解数据库
- Oracle和Mysql分别生成sequence序列详解数据库
- Oracle的子查询和集合运算详解数据库
- postgresql数据库安装及简单操作详解数据库
- Memcached set 命令详解数据库
- 非关系数据库redis学习和java中的使用详解数据库
- mysql死锁,等待资源,事务锁,Lock wait timeout exceeded; try restarting transaction解决详解数据库
- Oracle创建用户详解数据库
- Oracle分组函数之ROLLUP用法详解数据库
- Day4 MySql触发器视图索引以及设计优化详解数据库
- 用Java代码备份和还原MySQL数据库详解编程语言
- MSSQL数据库连接:从零开始(mssql数据库链接)
- Oracle数据库触发器及其类型介绍(oracle触发器类型)
- 「MySQL查询格式化」让你的数据库查询更直观!(mysql查询格式化)
- Oracle数据库8080端口详解:安全配置与使用(oracle8080)
- 手动在Oracle中建立数据库(手动建库 oracle)
- 更改Oracle数据库时区配置(oracle改时区)
- 类C中MySQL数据库实体类的构建方法介绍(C mysql数据库实体)
- Redis浩瀚存储空间,支撑大数据神迹(数据库redis内存)
- Oracle数据库中CHAR类型的使用(oracle中的char)
- 从Oracle OHASD优势来看数据库性能的提升(oracle ohasd)
- Oracle 10g开启数据库革新之路(oracle 1081)