Pivotal Greenplum Database is a MPP (massively parallel processing) database built on open source PostgreSQL.The system consists of a master node, standby master node, and segment nodes.
All of the data resides on the segment nodes and the catalog information is stored in the master nodes. Segment nodes run one or more segments, which are modified PostgreSQL database instances and are assigned a content identifier.
For each table the data is divided among the segment nodes based on the distribution column keys specified by the user in the DDL statement.
For each segment content identifier there is both a primary segment and mirror segment which are not running on the same physical host.
When a SQL query enters the master node, it is parsed, optimized and dispatched to all of the segments to execute the query plan and either return the requested data or insert the result of the query into a database table.
ubuntu@8837967a36f4:~$ gpssh-exkeys -h localhost [STEP1 of 5] create local ID and authorize on local host ... /home/ubuntu/.ssh/id_rsa file exists ... key generation skipped
[STEP2 of 5] keyscan all hosts and update known_hosts file
[STEP3 of 5] retrieving credentials from remote hosts ... send to localhost
[STEP4 of 5] determine common authentication file content
[STEP5 of 5] copy authentication files to all remote hosts ... finished key exchange with localhost
ubuntu@8837967a36f4:~/gpdb$ gpinitsystem -c gpinitsystem_singlenode /usr/bin/locale:Cannot set LC_CTYPE to default locale:No such file or directory /usr/bin/locale:Cannot set LC_MESSAGES to default locale:No such file or directory /usr/bin/locale:Cannot set LC_COLLATE to default locale:No such file or directory 20220611:12:20:16:005363gpinitsystem:8837967a36f4:ubuntu-[INFO]:-Checking configuration parameters, please wait... 20220611:12:20:16:005363gpinitsystem:8837967a36f4:ubuntu-[INFO]:-ReadingGreenplum configuration file gpinitsystem_singlenode 20220611:12:20:16:005363gpinitsystem:8837967a36f4:ubuntu-[INFO]:-Locale has not been set in gpinitsystem_singlenode, will set to default value /usr/bin/locale:Cannot set LC_CTYPE to default locale:No such file or directory /usr/bin/locale:Cannot set LC_MESSAGES to default locale:No such file or directory /usr/bin/locale:Cannot set LC_COLLATE to default locale:No such file or directory 20220611:12:20:17:005363gpinitsystem:8837967a36f4:ubuntu-[INFO]:-Locale set to en_US.utf8 /usr/bin/locale:Cannot set LC_CTYPE to default locale:No such file or directory /usr/bin/locale:Cannot set LC_MESSAGES to default locale:No such file or directory /usr/bin/locale:Cannot set LC_ALL to default locale:No such file or directory 20220611:12:20:17:005363gpinitsystem:8837967a36f4:ubuntu-[INFO]:-NoDATABASE_NAME set, will exit following template1 updates 20220611:12:20:17:005363gpinitsystem:8837967a36f4:ubuntu-[INFO]:-MASTER_MAX_CONNECTnot set, will set to default value 250 20220611:12:20:17:005363gpinitsystem:8837967a36f4:ubuntu-[INFO]:-Detected a single host GPDB array build, reducing value of BATCH_DEFAULT from 60 to 4 20220611:12:20:17:005363gpinitsystem:8837967a36f4:ubuntu-[WARN]:-Master open file limit is 1024 should be >= 65535 20220611:12:20:17:005363gpinitsystem:8837967a36f4:ubuntu-[INFO]:-Checking configuration parameters, Completed 20220611:12:20:17:005363gpinitsystem:8837967a36f4:ubuntu-[INFO]:-Commencing multi-home checks, please wait... . 20220611:12:20:17:005363gpinitsystem:8837967a36f4:ubuntu-[INFO]:-Configuring build for standard array 20220611:12:20:17:005363gpinitsystem:8837967a36f4:ubuntu-[INFO]:-Commencing multi-home checks, Completed 20220611:12:20:17:005363gpinitsystem:8837967a36f4:ubuntu-[INFO]:-Building primary segment instance array, please wait... .. 20220611:12:20:17:005363gpinitsystem:8837967a36f4:ubuntu-[INFO]:-CheckingMaster host 20220611:12:20:17:005363gpinitsystem:8837967a36f4:ubuntu-[INFO]:-Checking new segment hosts, please wait... 20220611:12:20:18:005363gpinitsystem:8837967a36f4:ubuntu-[WARN]:-Host8837967a36f4 open files limit is 1024 should be >= 65535 .. 20220611:12:20:19:005363gpinitsystem:8837967a36f4:ubuntu-[INFO]:-Checking new segment hosts, Completed 20220611:12:20:19:005363gpinitsystem:8837967a36f4:ubuntu-[INFO]:-GreenplumDatabaseCreationParameters 20220611:12:20:19:005363gpinitsystem:8837967a36f4:ubuntu-[INFO]:--------------------------------------- 20220611:12:20:19:005363gpinitsystem:8837967a36f4:ubuntu-[INFO]:-MasterConfiguration 20220611:12:20:19:005363gpinitsystem:8837967a36f4:ubuntu-[INFO]:--------------------------------------- 20220611:12:20:19:005363gpinitsystem:8837967a36f4:ubuntu-[INFO]:-Master instance name = GPDBSINGLENODE 20220611:12:20:19:005363gpinitsystem:8837967a36f4:ubuntu-[INFO]:-Master hostname = 8837967a36f4 20220611:12:20:19:005363gpinitsystem:8837967a36f4:ubuntu-[INFO]:-Master port = 5432 20220611:12:20:19:005363gpinitsystem:8837967a36f4:ubuntu-[INFO]:-Master instance dir = /home/ubuntu/gpdb/master/gpsne-1 20220611:12:20:19:005363gpinitsystem:8837967a36f4:ubuntu-[INFO]:-MasterLOCALE = en_US.utf8 20220611:12:20:19:005363gpinitsystem:8837967a36f4:ubuntu-[INFO]:-Greenplum segment prefix = gpsne 20220611:12:20:19:005363gpinitsystem:8837967a36f4:ubuntu-[INFO]:-MasterDatabase = 20220611:12:20:19:005363gpinitsystem:8837967a36f4:ubuntu-[INFO]:-Master connections = 250 20220611:12:20:19:005363gpinitsystem:8837967a36f4:ubuntu-[INFO]:-Master buffers = 128000kB 20220611:12:20:19:005363gpinitsystem:8837967a36f4:ubuntu-[INFO]:-Segment connections = 750 20220611:12:20:19:005363gpinitsystem:8837967a36f4:ubuntu-[INFO]:-Segment buffers = 128000kB 20220611:12:20:19:005363gpinitsystem:8837967a36f4:ubuntu-[INFO]:-Checkpoint segments = 8 20220611:12:20:19:005363gpinitsystem:8837967a36f4:ubuntu-[INFO]:-Encoding = UNICODE 20220611:12:20:19:005363gpinitsystem:8837967a36f4:ubuntu-[INFO]:-Postgres param file = Off 20220611:12:20:19:005363gpinitsystem:8837967a36f4:ubuntu-[INFO]:-Initdb to be used = /opt/greenplum-db-6.20.5/bin/initdb 20220611:12:20:19:005363gpinitsystem:8837967a36f4:ubuntu-[INFO]:-GP_LIBRARY_PATH is = /opt/greenplum-db-6.20.5/lib 20220611:12:20:19:005363gpinitsystem:8837967a36f4:ubuntu-[INFO]:-HEAP_CHECKSUM is = on 20220611:12:20:19:005363gpinitsystem:8837967a36f4:ubuntu-[INFO]:-HBA_HOSTNAMES is = 0 20220611:12:20:19:005363gpinitsystem:8837967a36f4:ubuntu-[WARN]:-Ulimit check = Warnings generated, see log file <<<<< 20220611:12:20:19:005363gpinitsystem:8837967a36f4:ubuntu-[INFO]:-Array host connect type = Single hostname per node 20220611:12:20:19:005363gpinitsystem:8837967a36f4:ubuntu-[INFO]:-MasterIP address [1] = 172.17.0.2 20220611:12:20:19:005363gpinitsystem:8837967a36f4:ubuntu-[INFO]:-StandbyMaster = NotConfigured 20220611:12:20:19:005363gpinitsystem:8837967a36f4:ubuntu-[INFO]:-Number of primary segments = 2 20220611:12:20:19:005363gpinitsystem:8837967a36f4:ubuntu-[INFO]:-TotalDatabase segments = 2 20220611:12:20:19:005363gpinitsystem:8837967a36f4:ubuntu-[INFO]:-Trusted shell = ssh 20220611:12:20:19:005363gpinitsystem:8837967a36f4:ubuntu-[INFO]:-Number segment hosts = 1 20220611:12:20:19:005363gpinitsystem:8837967a36f4:ubuntu-[INFO]:-Mirroring config = OFF 20220611:12:20:19:005363gpinitsystem:8837967a36f4:ubuntu-[INFO]:---------------------------------------- 20220611:12:20:19:005363gpinitsystem:8837967a36f4:ubuntu-[INFO]:-GreenplumPrimarySegmentConfiguration 20220611:12:20:19:005363gpinitsystem:8837967a36f4:ubuntu-[INFO]:---------------------------------------- 20220611:12:20:19:005363gpinitsystem:8837967a36f4:ubuntu-[INFO]:-8837967a36f4 60008837967a36f4 /home/ubuntu/gpdb/primary/gpsne0 2 20220611:12:20:19:005363gpinitsystem:8837967a36f4:ubuntu-[INFO]:-8837967a36f4 60018837967a36f4 /home/ubuntu/gpdb/primary/gpsne1 3