原 横向及纵向扩容Greenplum系统实战过程
Tags: 原创GreenPlumscale out(横向扩展)scale up(纵向扩展)增加节点扩容删除mirror缩容
简介
更多理论知识请参考:https://www.dbaup.com/kuoronggreenplumxitongzengjiasegmentjiedian.html
若是组镜像(默认),则至少需要增加2个主机!!!
环境介绍
接下来的实验环境参考:https://www.dbaup.com/mppjiagouzhigreenplumdeanzhuangpeizhigaojiban.html
https://www.dbaup.com/liyongqiantaodockerzaidangerongqizhonganzhuanggreenplumduozhujihuanjing.html
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 | docker rm -f lhrgpdball docker run -itd --name lhrgpdball -h lhrgpdball \ -p 5433:5432 -p 28180:28080 -p 28181:28081 -p 23189:3389 \ -v /sys/fs/cgroup:/sys/fs/cgroup \ --restart=always \ --privileged=true lhrbest/gpdball:6.25.1 \ /usr/sbin/init docker exec -it lhrgpdball bash -- 新增2个节点 docker rm -f sdw5 docker run -itd --name sdw5 -h sdw5 \ --net=lhrnw --ip 192.72.6.56 \ -v /sys/fs/cgroup:/sys/fs/cgroup \ --privileged=true \ --add-host='mdw mdw:192.72.6.50' \ --add-host='smdw smdw:192.72.6.51' \ --add-host='sdw1:192.72.6.52' \ --add-host='sdw2:192.72.6.53' \ --add-host='sdw3:192.72.6.54' \ --add-host='sdw4:192.72.6.55' \ --add-host='sdw5:192.72.6.56' \ --add-host='sdw6:192.72.6.57' \ lhrbest/lhrcentos76:9.2 \ /usr/sbin/init docker rm -f sdw6 docker run -itd --name sdw6 -h sdw6 \ --net=lhrnw --ip 192.72.6.57 \ -v /sys/fs/cgroup:/sys/fs/cgroup \ --privileged=true \ --add-host='mdw mdw:192.72.6.50' \ --add-host='smdw smdw:192.72.6.51' \ --add-host='sdw1:192.72.6.52' \ --add-host='sdw2:192.72.6.53' \ --add-host='sdw3:192.72.6.54' \ --add-host='sdw4:192.72.6.55' \ --add-host='sdw5:192.72.6.56' \ --add-host='sdw6:192.72.6.57' \ lhrbest/lhrcentos76:9.2 \ /usr/sbin/init [root@lhrgpdball /]# docker ps -a CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES bce5848f314c lhrbest/lhrcentos76:9.2 "/usr/sbin/init" 11 minutes ago Up 2 minutes sdw6 e414c039fdc2 lhrbest/lhrcentos76:9.2 "/usr/sbin/init" 11 minutes ago Up 2 minutes sdw5 d358e01c0f86 lhrbest/lhrcentos76:9.2 "/usr/sbin/init" 10 days ago Up 12 minutes sdw4 e8b3f1a2bd4d lhrbest/lhrcentos76:9.2 "/usr/sbin/init" 10 days ago Up 12 minutes sdw3 be22a8e05ff4 lhrbest/lhrcentos76:9.2 "/usr/sbin/init" 10 days ago Up 12 minutes sdw2 c682042f585e lhrbest/lhrcentos76:9.2 "/usr/sbin/init" 10 days ago Up 12 minutes sdw1 a3aa845d78be lhrbest/lhrcentos76:9.2 "/usr/sbin/init" 10 days ago Up 12 minutes 0.0.0.0:5433->5432/tcp, 0.0.0.0:28081->28080/tcp smdw 03254d50b7d6 lhrbest/lhrcentos76:9.2 "/usr/sbin/init" 10 days ago Up 12 minutes 0.0.0.0:5432->5432/tcp, 0.0.0.0:28080->28080/tcp mdw [root@lhrgpdball /]# |
横向扩容(增加节点数)
greenplum横向扩容相当于增加服务器数量,原有服务器节点保持现状,增加服务器存储节点!!!
横向扩容之后的环境:
现有环境
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 | postgres=# select * from gp_segment_configuration order by hostname,role desc; dbid | content | role | preferred_role | mode | status | port | hostname | address | datadir ------+---------+------+----------------+------+--------+------+----------+---------+------------------------------------- 1 | -1 | p | p | n | u | 5432 | mdw1 | mdw1 | /opt/greenplum/data/master/gpseg-1 34 | -1 | m | m | s | u | 5432 | mdw2 | mdw2 | /opt/greenplum/data/master/gpseg-1 2 | 0 | p | p | s | u | 6000 | sdw1 | sdw1 | /opt/greenplum/data/primary/gpseg0 3 | 1 | p | p | s | u | 6001 | sdw1 | sdw1 | /opt/greenplum/data/primary/gpseg1 4 | 2 | p | p | s | u | 6002 | sdw1 | sdw1 | /opt/greenplum/data/primary/gpseg2 5 | 3 | p | p | s | u | 6003 | sdw1 | sdw1 | /opt/greenplum/data/primary/gpseg3 31 | 13 | m | m | s | u | 7001 | sdw1 | sdw1 | /opt/greenplum/data/mirror/gpseg13 33 | 15 | m | m | s | u | 7003 | sdw1 | sdw1 | /opt/greenplum/data/mirror/gpseg15 32 | 14 | m | m | s | u | 7002 | sdw1 | sdw1 | /opt/greenplum/data/mirror/gpseg14 30 | 12 | m | m | s | u | 7000 | sdw1 | sdw1 | /opt/greenplum/data/mirror/gpseg12 6 | 4 | p | p | s | u | 6000 | sdw2 | sdw2 | /opt/greenplum/data/primary/gpseg4 9 | 7 | p | p | s | u | 6003 | sdw2 | sdw2 | /opt/greenplum/data/primary/gpseg7 7 | 5 | p | p | s | u | 6001 | sdw2 | sdw2 | /opt/greenplum/data/primary/gpseg5 8 | 6 | p | p | s | u | 6002 | sdw2 | sdw2 | /opt/greenplum/data/primary/gpseg6 19 | 1 | m | m | s | u | 7001 | sdw2 | sdw2 | /opt/greenplum/data/mirror/gpseg1 20 | 2 | m | m | s | u | 7002 | sdw2 | sdw2 | /opt/greenplum/data/mirror/gpseg2 21 | 3 | m | m | s | u | 7003 | sdw2 | sdw2 | /opt/greenplum/data/mirror/gpseg3 18 | 0 | m | m | s | u | 7000 | sdw2 | sdw2 | /opt/greenplum/data/mirror/gpseg0 11 | 9 | p | p | s | u | 6001 | sdw3 | sdw3 | /opt/greenplum/data/primary/gpseg9 10 | 8 | p | p | s | u | 6000 | sdw3 | sdw3 | /opt/greenplum/data/primary/gpseg8 13 | 11 | p | p | s | u | 6003 | sdw3 | sdw3 | /opt/greenplum/data/primary/gpseg11 12 | 10 | p | p | s | u | 6002 | sdw3 | sdw3 | /opt/greenplum/data/primary/gpseg10 23 | 5 | m | m | s | u | 7001 | sdw3 | sdw3 | /opt/greenplum/data/mirror/gpseg5 22 | 4 | m | m | s | u | 7000 | sdw3 | sdw3 | /opt/greenplum/data/mirror/gpseg4 24 | 6 | m | m | s | u | 7002 | sdw3 | sdw3 | /opt/greenplum/data/mirror/gpseg6 25 | 7 | m | m | s | u | 7003 | sdw3 | sdw3 | /opt/greenplum/data/mirror/gpseg7 15 | 13 | p | p | s | u | 6001 | sdw4 | sdw4 | /opt/greenplum/data/primary/gpseg13 14 | 12 | p | p | s | u | 6000 | sdw4 | sdw4 | /opt/greenplum/data/primary/gpseg12 17 | 15 | p | p | s | u | 6003 | sdw4 | sdw4 | /opt/greenplum/data/primary/gpseg15 16 | 14 | p | p | s | u | 6002 | sdw4 | sdw4 | /opt/greenplum/data/primary/gpseg14 29 | 11 | m | m | s | u | 7003 | sdw4 | sdw4 | /opt/greenplum/data/mirror/gpseg11 26 | 8 | m | m | s | u | 7000 | sdw4 | sdw4 | /opt/greenplum/data/mirror/gpseg8 28 | 10 | m | m | s | u | 7002 | sdw4 | sdw4 | /opt/greenplum/data/mirror/gpseg10 27 | 9 | m | m | s | u | 7001 | sdw4 | sdw4 | /opt/greenplum/data/mirror/gpseg9 (34 rows) |
新增节点配置
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 | hostnamectl set-hostname sdw5 sed -i s/SELINUX=enforcing/SELINUX=disabled/g /etc/selinux/config setenforce 0 ll /lib64/security/pam_limits.so echo "session required /lib64/security/pam_limits.so" >> /etc/pam.d/login cat >> /etc/security/limits.conf <<"EOF" * soft nofile 655350 * hard nofile 655350 * soft nproc 655350 * hard nproc 655350 gpadmin soft priority -20 EOF sed -i 's/4096/655350/' /etc/security/limits.d/20-nproc.conf cat /etc/security/limits.d/20-nproc.conf cat >> /etc/sysctl.conf <<"EOF" fs.file-max=9000000 fs.inotify.max_user_instances = 1000000 fs.inotify.max_user_watches = 1000000 kernel.pid_max=4194304 kernel.shmmax = 4398046511104 kernel.shmmni = 4096 kernel.shmall = 4000000000 kernel.sem = 32000 1024000000 500 32000 vm.overcommit_memory=1 vm.overcommit_ratio=95 net.ipv4.ip_forward=1 vm.swappiness=20 vm.dirty_background_bytes = 0 vm.dirty_background_ratio = 5 vm.dirty_bytes = 0 vm.dirty_expire_centisecs = 600 vm.dirty_ratio = 10 vm.dirty_writeback_centisecs = 100 vm.vfs_cache_pressure = 500 vm.min_free_kbytes = 2097152 EOF sysctl -p groupadd -g 530 gpadmin useradd -g 530 -u 530 -m -d /home/gpadmin -s /bin/bash gpadmin chown -R gpadmin:gpadmin /home/gpadmin echo "gpadmin:lhr" | chpasswd |
所有节点更新
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 | -- 所有节点更新 cat >> /etc/hosts <<"EOF" 192.72.6.50 mdw 192.72.6.51 smdw 192.72.6.52 sdw1 192.72.6.53 sdw2 192.72.6.54 sdw3 192.72.6.55 sdw4 192.72.6.56 sdw5 192.72.6.57 sdw6 EOF su - gpadmin mkdir -p /home/gpadmin/conf/ cat > /home/gpadmin/conf/all_hosts <<"EOF" mdw smdw sdw1 sdw2 sdw3 sdw4 sdw5 sdw6 EOF cat > /home/gpadmin/conf/seg_hosts <<"EOF" sdw1 sdw2 sdw3 sdw4 sdw5 sdw6 EOF |
配置互信
master配置:
1 2 3 4 5 6 7 | ./sshUserSetup.sh -user root -hosts "mdw smdw sdw1 sdw2 sdw3 sdw4 sdw5 sdw6" -advanced -noPromptPassphrase ./sshUserSetup.sh -user gpadmin -hosts "mdw smdw sdw1 sdw2 sdw3 sdw4 sdw5 sdw6" -advanced -noPromptPassphrase chmod 600 /home/gpadmin/.ssh/config -- 校验 gpssh -f /home/gpadmin/conf/all_hosts date |
新增节点安装GP软件和gpcc软件
sdw5和sdw6操作:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | yum install -y apr apr-util bash bzip2 curl krb5 libcurl libevent libxml2 libyaml zlib openldap openssh openssl openssl-libs perl readline rsync R sed tar zip krb5-devel -- 主要安装包 yum install -y apr apr-util bzip2 krb5-devel libyaml perl rsync zip libevent --downloadonly --downloaddir=/soft -- 安装gp和gpcc软件(建议直接拷贝) rpm -ivh /soft/open-source-greenplum-db-6.25.1-rhel7-x86_64.rpm -- 或者直接拷贝mdw上的安装文件 scp -r -q /usr/local/greenplum-db-6.25.1 root@sdw5:/usr/local scp -r -q /usr/local/greenplum-cc-6.9.0 root@sdw5:/usr/local scp -r -q /usr/local/greenplum-db-6.25.1 root@sdw6:/usr/local scp -r -q /usr/local/greenplum-cc-6.9.0 root@sdw6:/usr/local ln -s /usr/local/greenplum-db-6.25.1 /usr/local/greenplum-db ln -s /usr/local/greenplum-cc-6.9.0 /usr/local/greenplum-cc chown -R gpadmin:gpadmin /usr/local/greenplum-db chown -R gpadmin:gpadmin /usr/local/greenplum-db-6.25.1 chown -R gpadmin:gpadmin /usr/local/greenplum-cc chown -R gpadmin:gpadmin /usr/local/greenplum-cc-6.9.0 mkdir -p /opt/greenplum/data/ chown -R gpadmin:gpadmin /opt/greenplum echo ". /usr/local/greenplum-db/greenplum_path.sh" >> /home/gpadmin/.bashrc |
扩容前的检查
master操作:
1 2 3 4 5 6 7 8 9 10 | -- 扩容前原集群应该处于启动状态 gpstate -e gpcc status -- 若测试环境配置较低,则需要修改参数shared_buffers参数 gpconfig -c shared_buffers -v 125MB -m 125MB gpstop -M fast -ar -- 检查 gpcheckcat -A -B 32 |
开始4步扩容
master操作:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | su - gpadmin -- 1、使用gpexpand创建初始化文件,输入Y,然后2个回车即可 cd /home/gpadmin/conf gpexpand -f /home/gpadmin/conf/seg_hosts -- 2、利用生成的初始化文件,初始化Segment并且创建扩容schema -- 该步骤若报错,可以修复错误后,再重复运行如下命令 gpexpand -i gpexpand_inputfile_20230804_102314 -- 若有gpcc,可以启动gpcc gpcc start -- 3、重新分布数据,最长时间1小时 gpexpand -d 1:00:00 -- 4、移除扩容schema,输入Y gpexpand -c -- 扩容过程中的检查 select * from gpexpand.status order by updated; select * from gpexpand.status_detail; select * from gpexpand.expansion_progress; -- 监控进度 gpstate -x |
示例:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 | [gpadmin@mdw soft]$ gpexpand -f /home/gpadmin/conf/seg_hosts 20230804:10:22:11:005997 gpexpand:mdw:gpadmin-[INFO]:-local Greenplum Version: 'postgres (Greenplum Database) 6.25.1 build commit:337d85331f0330dea32d229f450da438d5e948f6 Open Source' 20230804:10:22:11:005997 gpexpand:mdw:gpadmin-[INFO]:-master Greenplum Version: 'PostgreSQL 9.4.26 (Greenplum Database 6.25.1 build commit:337d85331f0330dea32d229f450da438d5e948f6 Open Source) on x86_64-unknown-linux-gnu, compiled by gcc (GCC) 6.4.0, 64-bit compiled on Jul 19 2023 22:02:50' 20230804:10:22:11:005997 gpexpand:mdw:gpadmin-[INFO]:-Querying gpexpand schema for current expansion state System Expansion is used to add segments to an existing GPDB array. gpexpand did not detect a System Expansion that is in progress. Before initiating a System Expansion, you need to provision and burn-in the new hardware. Please be sure to run gpcheckperf to make sure the new hardware is working properly. Please refer to the Admin Guide for more information. Would you like to initiate a new System Expansion Yy|Nn (default=N): > y You must now specify a mirroring strategy for the new hosts. Spread mirroring places a given hosts mirrored segments each on a separate host. You must be adding more hosts than the number of segments per host to use this. Grouped mirroring places all of a given hosts segments on a single mirrored host. You must be adding at least 2 hosts in order to use this. What type of mirroring strategy would you like? spread|grouped (default=grouped): > By default, new hosts are configured with the same number of primary segments as existing hosts. Optionally, you can increase the number of segments per host. For example, if existing hosts have two primary segments, entering a value of 2 will initialize two additional segments on existing hosts, and four segments on new hosts. In addition, mirror segments will be added for these new primary segments if mirroring is enabled. How many new primary segments per host do you want to add? (default=0): > Generating configuration file... 20230804:10:23:14:005997 gpexpand:mdw:gpadmin-[INFO]:-Generating input file... Input configuration file was written to 'gpexpand_inputfile_20230804_102314'. Please review the file and make sure that it is correct then re-run with: gpexpand -i gpexpand_inputfile_20230804_102314 20230804:10:23:14:005997 gpexpand:mdw:gpadmin-[INFO]:-Exiting... [gpadmin@mdw soft]$ cat gpexpand -i gpexpand_inputfile_20230804_102314 cat: invalid option -- 'i' Try 'cat --help' for more information. [gpadmin@mdw soft]$ cat gpexpand_inputfile_20230804_102314 sdw5|sdw5|6000|/opt/greenplum/data/primary/gpseg16|35|16|p sdw6|sdw6|7000|/opt/greenplum/data/mirror/gpseg16|47|16|m sdw5|sdw5|6001|/opt/greenplum/data/primary/gpseg17|36|17|p sdw6|sdw6|7001|/opt/greenplum/data/mirror/gpseg17|48|17|m sdw5|sdw5|6002|/opt/greenplum/data/primary/gpseg18|37|18|p sdw6|sdw6|7002|/opt/greenplum/data/mirror/gpseg18|49|18|m sdw5|sdw5|6003|/opt/greenplum/data/primary/gpseg19|38|19|p sdw6|sdw6|7003|/opt/greenplum/data/mirror/gpseg19|50|19|m sdw6|sdw6|6000|/opt/greenplum/data/primary/gpseg20|39|20|p sdw5|sdw5|7000|/opt/greenplum/data/mirror/gpseg20|43|20|m sdw6|sdw6|6001|/opt/greenplum/data/primary/gpseg21|40|21|p sdw5|sdw5|7001|/opt/greenplum/data/mirror/gpseg21|44|21|m sdw6|sdw6|6002|/opt/greenplum/data/primary/gpseg22|41|22|p sdw5|sdw5|7002|/opt/greenplum/data/mirror/gpseg22|45|22|m sdw6|sdw6|6003|/opt/greenplum/data/primary/gpseg23|42|23|p sdw5|sdw5|7003|/opt/greenplum/data/mirror/gpseg23|46|23|m [gpadmin@mdw soft]$ gpexpand -i gpexpand_inputfile_20230804_102314 20230804:10:24:23:006134 gpexpand:mdw:gpadmin-[INFO]:-local Greenplum Version: 'postgres (Greenplum Database) 6.25.1 build commit:337d85331f0330dea32d229f450da438d5e948f6 Open Source' 20230804:10:24:23:006134 gpexpand:mdw:gpadmin-[INFO]:-master Greenplum Version: 'PostgreSQL 9.4.26 (Greenplum Database 6.25.1 build commit:337d85331f0330dea32d229f450da438d5e948f6 Open Source) on x86_64-unknown-linux-gnu, compiled by gcc (GCC) 6.4.0, 64-bit compiled on Jul 19 2023 22:02:50' 20230804:10:24:23:006134 gpexpand:mdw:gpadmin-[INFO]:-Querying gpexpand schema for current expansion state 20230804:10:24:24:006134 gpexpand:mdw:gpadmin-[INFO]:-Successfully finished pg_controldata /opt/greenplum/data/mirror/gpseg1 for dbid 19: stdout: pg_control version number: 9420600 Catalog version number: 301908232 Database system identifier: 7259560595826789885 Database cluster state: in archive recovery pg_control last modified: Fri 04 Aug 2023 10:21:41 AM CST Latest checkpoint location: 0/4B699BC0 Prior checkpoint location: 0/4B699BC0 Latest checkpoint's REDO location: 0/4B699BC0 Latest checkpoint's REDO WAL file: 000000010000000000000012 Latest checkpoint's TimeLineID: 1 Latest checkpoint's PrevTimeLineID: 1 Latest checkpoint's full_page_writes: on Latest checkpoint's NextXID: 0/49923 Latest checkpoint's NextOID: 34550 Latest checkpoint's NextRelfilenode: 83290 Latest checkpoint's NextMultiXactId: 1 Latest checkpoint's NextMultiOffset: 0 Latest checkpoint's oldestXID: 702 Latest checkpoint's oldestXID's DB: 1 Latest checkpoint's oldestActiveXID: 0 Latest checkpoint's oldestMultiXid: 1 Latest checkpoint's oldestMulti's DB: 1 Time of latest checkpoint: Fri 04 Aug 2023 10:21:32 AM CST Fake LSN counter for unlogged rels: 0/1 Minimum recovery ending location: 0/4B699C78 Min recovery ending loc's timeline: 1 Backup start location: 0/0 Backup end location: 0/0 End-of-backup record required: no Current wal_level setting: archive Current wal_log_hints setting: off Current max_connections setting: 300 Current max_worker_processes setting: 14 Current max_prepared_xacts setting: 250 Current max_locks_per_xact setting: 128 Maximum data alignment: 8 Database block size: 32768 Blocks per segment of large relation: 32768 WAL block size: 32768 Bytes per WAL segment: 67108864 Maximum length of identifiers: 64 Maximum columns in an index: 32 Maximum size of a TOAST chunk: 8140 Size of a large-object chunk: 8192 Date/time type storage: 64-bit integers Float4 argument passing: by value Float8 argument passing: by value Data page checksum version: 1 stderr: 20230804:10:24:24:006134 gpexpand:mdw:gpadmin-[INFO]:-Successfully finished pg_controldata /opt/greenplum/data/primary/gpseg2 for dbid 4: stdout: pg_control version number: 9420600 Catalog version number: 301908232 Database system identifier: 7259560597108313599 Database cluster state: in production pg_control last modified: Fri 04 Aug 2023 10:21:41 AM CST Latest checkpoint location: 0/4B52B818 Prior checkpoint location: 0/4B52B798 Latest checkpoint's REDO location: 0/4B52B818 Latest checkpoint's REDO WAL file: 000000010000000000000012 Latest checkpoint's TimeLineID: 1 Latest checkpoint's PrevTimeLineID: 1 Latest checkpoint's full_page_writes: on Latest checkpoint's NextXID: 0/49923 Latest checkpoint's NextOID: 34550 Latest checkpoint's NextRelfilenode: 83290 Latest checkpoint's NextMultiXactId: 1 Latest checkpoint's NextMultiOffset: 0 Latest checkpoint's oldestXID: 702 Latest checkpoint's oldestXID's DB: 1 Latest checkpoint's oldestActiveXID: 0 Latest checkpoint's oldestMultiXid: 1 Latest checkpoint's oldestMulti's DB: 1 Time of latest checkpoint: Fri 04 Aug 2023 10:21:32 AM CST Fake LSN counter for unlogged rels: 0/1 Minimum recovery ending location: 0/0 Min recovery ending loc's timeline: 0 Backup start location: 0/0 Backup end location: 0/0 End-of-backup record required: no Current wal_level setting: archive Current wal_log_hints setting: off Current max_connections setting: 300 Current max_worker_processes setting: 14 Current max_prepared_xacts setting: 250 Current max_locks_per_xact setting: 128 Maximum data alignment: 8 Database block size: 32768 Blocks per segment of large relation: 32768 WAL block size: 32768 Bytes per WAL segment: 67108864 Maximum length of identifiers: 64 Maximum columns in an index: 32 Maximum size of a TOAST chunk: 8140 Size of a large-object chunk: 8192 Date/time type storage: 64-bit integers Float4 argument passing: by value Float8 argument passing: by value Data page checksum version: 1 stderr: 20230804:10:24:24:006134 gpexpand:mdw:gpadmin-[INFO]:-Successfully finished pg_controldata /opt/greenplum/data/primary/gpseg0 for dbid 2: stdout: pg_control version number: 9420600 Catalog version number: 301908232 Database system identifier: 7259560595287125500 Database cluster state: in production pg_control last modified: Fri 04 Aug 2023 10:21:41 AM CST Latest checkpoint location: 0/4B7ADC60 Prior checkpoint location: 0/4B7ADBE0 Latest checkpoint's REDO location: 0/4B7ADC60 Latest checkpoint's REDO WAL file: 000000010000000000000012 Latest checkpoint's TimeLineID: 1 Latest checkpoint's PrevTimeLineID: 1 Latest checkpoint's full_page_writes: on Latest checkpoint's NextXID: 0/49923 Latest checkpoint's NextOID: 34550 Latest checkpoint's NextRelfilenode: 83290 Latest checkpoint's NextMultiXactId: 1 Latest checkpoint's NextMultiOffset: 0 Latest checkpoint's oldestXID: 702 Latest checkpoint's oldestXID's DB: 1 Latest checkpoint's oldestActiveXID: 0 Latest checkpoint's oldestMultiXid: 1 Latest checkpoint's oldestMulti's DB: 1 Time of latest checkpoint: Fri 04 Aug 2023 10:21:32 AM CST Fake LSN counter for unlogged rels: 0/1 Minimum recovery ending location: 0/0 Min recovery ending loc's timeline: 0 Backup start location: 0/0 Backup end location: 0/0 End-of-backup record required: no Current wal_level setting: archive Current wal_log_hints setting: off Current max_connections setting: 300 Current max_worker_processes setting: 14 Current max_prepared_xacts setting: 250 Current max_locks_per_xact setting: 128 Maximum data alignment: 8 Database block size: 32768 Blocks per segment of large relation: 32768 WAL block size: 32768 Bytes per WAL segment: 67108864 Maximum length of identifiers: 64 Maximum columns in an index: 32 Maximum size of a TOAST chunk: 8140 Size of a large-object chunk: 8192 Date/time type storage: 64-bit integers Float4 argument passing: by value Float8 argument passing: by value Data page checksum version: 1 stderr: 20230804:10:24:24:006134 gpexpand:mdw:gpadmin-[INFO]:-Successfully finished pg_controldata /opt/greenplum/data/mirror/gpseg2 for dbid 20: stdout: pg_control version number: 9420600 Catalog version number: 301908232 Database system identifier: 7259560597108313599 Database cluster state: in archive recovery pg_control last modified: Fri 04 Aug 2023 10:21:41 AM CST Latest checkpoint location: 0/4B52B818 Prior checkpoint location: 0/4B52B818 Latest checkpoint's REDO location: 0/4B52B818 Latest checkpoint's REDO WAL file: 000000010000000000000012 Latest checkpoint's TimeLineID: 1 Latest checkpoint's PrevTimeLineID: 1 Latest checkpoint's full_page_writes: on Latest checkpoint's NextXID: 0/49923 Latest checkpoint's NextOID: 34550 Latest checkpoint's NextRelfilenode: 83290 Latest checkpoint's NextMultiXactId: 1 Latest checkpoint's NextMultiOffset: 0 Latest checkpoint's oldestXID: 702 Latest checkpoint's oldestXID's DB: 1 Latest checkpoint's oldestActiveXID: 0 Latest checkpoint's oldestMultiXid: 1 Latest checkpoint's oldestMulti's DB: 1 Time of latest checkpoint: Fri 04 Aug 2023 10:21:32 AM CST Fake LSN counter for unlogged rels: 0/1 Minimum recovery ending location: 0/4B52B8D0 Min recovery ending loc's timeline: 1 Backup start location: 0/0 Backup end location: 0/0 End-of-backup record required: no Current wal_level setting: archive Current wal_log_hints setting: off Current max_connections setting: 300 Current max_worker_processes setting: 14 Current max_prepared_xacts setting: 250 Current max_locks_per_xact setting: 128 Maximum data alignment: 8 Database block size: 32768 Blocks per segment of large relation: 32768 WAL block size: 32768 Bytes per WAL segment: 67108864 Maximum length of identifiers: 64 Maximum columns in an index: 32 Maximum size of a TOAST chunk: 8140 Size of a large-object chunk: 8192 Date/time type storage: 64-bit integers Float4 argument passing: by value Float8 argument passing: by value Data page checksum version: 1 stderr: 20230804:10:24:24:006134 gpexpand:mdw:gpadmin-[INFO]:-Successfully finished pg_controldata /opt/greenplum/data/mirror/gpseg0 for dbid 18: stdout: pg_control version number: 9420600 Catalog version number: 301908232 Database system identifier: 7259560595287125500 Database cluster state: in archive recovery pg_control last modified: Fri 04 Aug 2023 10:21:41 AM CST Latest checkpoint location: 0/4B7ADC60 Prior checkpoint location: 0/4B7ADC60 Latest checkpoint's REDO location: 0/4B7ADC60 Latest checkpoint's REDO WAL file: 000000010000000000000012 Latest checkpoint's TimeLineID: 1 Latest checkpoint's PrevTimeLineID: 1 Latest checkpoint's full_page_writes: on Latest checkpoint's NextXID: 0/49923 Latest checkpoint's NextOID: 34550 Latest checkpoint's NextRelfilenode: 83290 Latest checkpoint's NextMultiXactId: 1 Latest checkpoint's NextMultiOffset: 0 Latest checkpoint's oldestXID: 702 Latest checkpoint's oldestXID's DB: 1 Latest checkpoint's oldestActiveXID: 0 Latest checkpoint's oldestMultiXid: 1 Latest checkpoint's oldestMulti's DB: 1 Time of latest checkpoint: Fri 04 Aug 2023 10:21:32 AM CST Fake LSN counter for unlogged rels: 0/1 Minimum recovery ending location: 0/4B7ADD18 Min recovery ending loc's timeline: 1 Backup start location: 0/0 Backup end location: 0/0 End-of-backup record required: no Current wal_level setting: archive Current wal_log_hints setting: off Current max_connections setting: 300 Current max_worker_processes setting: 14 Current max_prepared_xacts setting: 250 Current max_locks_per_xact setting: 128 Maximum data alignment: 8 Database block size: 32768 Blocks per segment of large relation: 32768 WAL block size: 32768 Bytes per WAL segment: 67108864 Maximum length of identifiers: 64 Maximum columns in an index: 32 Maximum size of a TOAST chunk: 8140 Size of a large-object chunk: 8192 Date/time type storage: 64-bit integers Float4 argument passing: by value Float8 argument passing: by value Data page checksum version: 1 stderr: 20230804:10:24:24:006134 gpexpand:mdw:gpadmin-[INFO]:-Successfully finished pg_controldata /opt/greenplum/data/primary/gpseg1 for dbid 3: stdout: pg_control version number: 9420600 Catalog version number: 301908232 Database system identifier: 7259560595826789885 Database cluster state: in production pg_control last modified: Fri 04 Aug 2023 10:21:41 AM CST Latest checkpoint location: 0/4B699BC0 Prior checkpoint location: 0/4B699B40 Latest checkpoint's REDO location: 0/4B699BC0 Latest checkpoint's REDO WAL file: 000000010000000000000012 Latest checkpoint's TimeLineID: 1 Latest checkpoint's PrevTimeLineID: 1 Latest checkpoint's full_page_writes: on Latest checkpoint's NextXID: 0/49923 Latest checkpoint's NextOID: 34550 Latest checkpoint's NextRelfilenode: 83290 Latest checkpoint's NextMultiXactId: 1 Latest checkpoint's NextMultiOffset: 0 Latest checkpoint's oldestXID: 702 Latest checkpoint's oldestXID's DB: 1 Latest checkpoint's oldestActiveXID: 0 Latest checkpoint's oldestMultiXid: 1 Latest checkpoint's oldestMulti's DB: 1 Time of latest checkpoint: Fri 04 Aug 2023 10:21:32 AM CST Fake LSN counter for unlogged rels: 0/1 Minimum recovery ending location: 0/0 Min recovery ending loc's timeline: 0 Backup start location: 0/0 Backup end location: 0/0 End-of-backup record required: no Current wal_level setting: archive Current wal_log_hints setting: off Current max_connections setting: 300 Current max_worker_processes setting: 14 Current max_prepared_xacts setting: 250 Current max_locks_per_xact setting: 128 Maximum data alignment: 8 Database block size: 32768 Blocks per segment of large relation: 32768 WAL block size: 32768 Bytes per WAL segment: 67108864 Maximum length of identifiers: 64 Maximum columns in an index: 32 Maximum size of a TOAST chunk: 8140 Size of a large-object chunk: 8192 Date/time type storage: 64-bit integers Float4 argument passing: by value Float8 argument passing: by value Data page checksum version: 1 stderr: 20230804:10:24:24:006134 gpexpand:mdw:gpadmin-[INFO]:-Successfully finished pg_controldata /opt/greenplum/data/primary/gpseg3 for dbid 5: stdout: pg_control version number: 9420600 Catalog version number: 301908232 Database system identifier: 7259560596312464894 Database cluster state: in production pg_control last modified: Fri 04 Aug 2023 10:21:41 AM CST Latest checkpoint location: 0/4B7FE838 Prior checkpoint location: 0/4B7FE7B8 Latest checkpoint's REDO location: 0/4B7FE838 Latest checkpoint's REDO WAL file: 000000010000000000000012 Latest checkpoint's TimeLineID: 1 Latest checkpoint's PrevTimeLineID: 1 Latest checkpoint's full_page_writes: on Latest checkpoint's NextXID: 0/49923 Latest checkpoint's NextOID: 34550 Latest checkpoint's NextRelfilenode: 83290 Latest checkpoint's NextMultiXactId: 1 Latest checkpoint's NextMultiOffset: 0 Latest checkpoint's oldestXID: 702 Latest checkpoint's oldestXID's DB: 1 Latest checkpoint's oldestActiveXID: 0 Latest checkpoint's oldestMultiXid: 1 Latest checkpoint's oldestMulti's DB: 1 Time of latest checkpoint: Fri 04 Aug 2023 10:21:32 AM CST Fake LSN counter for unlogged rels: 0/1 Minimum recovery ending location: 0/0 Min recovery ending loc's timeline: 0 Backup start location: 0/0 Backup end location: 0/0 End-of-backup record required: no Current wal_level setting: archive Current wal_log_hints setting: off Current max_connections setting: 300 Current max_worker_processes setting: 14 Current max_prepared_xacts setting: 250 Current max_locks_per_xact setting: 128 Maximum data alignment: 8 Database block size: 32768 Blocks per segment of large relation: 32768 WAL block size: 32768 Bytes per WAL segment: 67108864 Maximum length of identifiers: 64 Maximum columns in an index: 32 Maximum size of a TOAST chunk: 8140 Size of a large-object chunk: 8192 Date/time type storage: 64-bit integers Float4 argument passing: by value Float8 argument passing: by value Data page checksum version: 1 stderr: 20230804:10:24:24:006134 gpexpand:mdw:gpadmin-[INFO]:-Successfully finished pg_controldata /opt/greenplum/data/mirror/gpseg3 for dbid 21: stdout: pg_control version number: 9420600 Catalog version number: 301908232 Database system identifier: 7259560596312464894 Database cluster state: in archive recovery pg_control last modified: Fri 04 Aug 2023 10:21:41 AM CST Latest checkpoint location: 0/4B7FE838 Prior checkpoint location: 0/4B7FE838 Latest checkpoint's REDO location: 0/4B7FE838 Latest checkpoint's REDO WAL file: 000000010000000000000012 Latest checkpoint's TimeLineID: 1 Latest checkpoint's PrevTimeLineID: 1 Latest checkpoint's full_page_writes: on Latest checkpoint's NextXID: 0/49923 Latest checkpoint's NextOID: 34550 Latest checkpoint's NextRelfilenode: 83290 Latest checkpoint's NextMultiXactId: 1 Latest checkpoint's NextMultiOffset: 0 Latest checkpoint's oldestXID: 702 Latest checkpoint's oldestXID's DB: 1 Latest checkpoint's oldestActiveXID: 0 Latest checkpoint's oldestMultiXid: 1 Latest checkpoint's oldestMulti's DB: 1 Time of latest checkpoint: Fri 04 Aug 2023 10:21:32 AM CST Fake LSN counter for unlogged rels: 0/1 Minimum recovery ending location: 0/4B7FE8F0 Min recovery ending loc's timeline: 1 Backup start location: 0/0 Backup end location: 0/0 End-of-backup record required: no Current wal_level setting: archive Current wal_log_hints setting: off Current max_connections setting: 300 Current max_worker_processes setting: 14 Current max_prepared_xacts setting: 250 Current max_locks_per_xact setting: 128 Maximum data alignment: 8 Database block size: 32768 Blocks per segment of large relation: 32768 WAL block size: 32768 Bytes per WAL segment: 67108864 Maximum length of identifiers: 64 Maximum columns in an index: 32 Maximum size of a TOAST chunk: 8140 Size of a large-object chunk: 8192 Date/time type storage: 64-bit integers Float4 argument passing: by value Float8 argument passing: by value Data page checksum version: 1 stderr: 20230804:10:24:24:006134 gpexpand:mdw:gpadmin-[INFO]:-Successfully finished pg_controldata /opt/greenplum/data/primary/gpseg4 for dbid 6: stdout: pg_control version number: 9420600 Catalog version number: 301908232 Database system identifier: 7259560597433453772 Database cluster state: in production pg_control last modified: Fri 04 Aug 2023 10:21:41 AM CST Latest checkpoint location: 0/4C98C0D8 Prior checkpoint location: 0/4C98C058 Latest checkpoint's REDO location: 0/4C98C0D8 Latest checkpoint's REDO WAL file: 000000010000000000000013 Latest checkpoint's TimeLineID: 1 Latest checkpoint's PrevTimeLineID: 1 Latest checkpoint's full_page_writes: on Latest checkpoint's NextXID: 0/49923 Latest checkpoint's NextOID: 34550 Latest checkpoint's NextRelfilenode: 83290 Latest checkpoint's NextMultiXactId: 1 Latest checkpoint's NextMultiOffset: 0 Latest checkpoint's oldestXID: 702 Latest checkpoint's oldestXID's DB: 1 Latest checkpoint's oldestActiveXID: 0 Latest checkpoint's oldestMultiXid: 1 Latest checkpoint's oldestMulti's DB: 1 Time of latest checkpoint: Fri 04 Aug 2023 10:21:32 AM CST Fake LSN counter for unlogged rels: 0/1 Minimum recovery ending location: 0/0 Min recovery ending loc's timeline: 0 Backup start location: 0/0 Backup end location: 0/0 End-of-backup record required: no Current wal_level setting: archive Current wal_log_hints setting: off Current max_connections setting: 300 Current max_worker_processes setting: 14 Current max_prepared_xacts setting: 250 Current max_locks_per_xact setting: 128 Maximum data alignment: 8 Database block size: 32768 Blocks per segment of large relation: 32768 WAL block size: 32768 Bytes per WAL segment: 67108864 Maximum length of identifiers: 64 Maximum columns in an index: 32 Maximum size of a TOAST chunk: 8140 Size of a large-object chunk: 8192 Date/time type storage: 64-bit integers Float4 argument passing: by value Float8 argument passing: by value Data page checksum version: 1 stderr: 20230804:10:24:24:006134 gpexpand:mdw:gpadmin-[INFO]:-Successfully finished pg_controldata /opt/greenplum/data/mirror/gpseg4 for dbid 22: stdout: pg_control version number: 9420600 Catalog version number: 301908232 Database system identifier: 7259560597433453772 Database cluster state: in archive recovery pg_control last modified: Fri 04 Aug 2023 10:21:41 AM CST Latest checkpoint location: 0/4C98C0D8 Prior checkpoint location: 0/4C98C0D8 Latest checkpoint's REDO location: 0/4C98C0D8 Latest checkpoint's REDO WAL file: 000000010000000000000013 Latest checkpoint's TimeLineID: 1 Latest checkpoint's PrevTimeLineID: 1 Latest checkpoint's full_page_writes: on Latest checkpoint's NextXID: 0/49923 Latest checkpoint's NextOID: 34550 Latest checkpoint's NextRelfilenode: 83290 Latest checkpoint's NextMultiXactId: 1 Latest checkpoint's NextMultiOffset: 0 Latest checkpoint's oldestXID: 702 Latest checkpoint's oldestXID's DB: 1 Latest checkpoint's oldestActiveXID: 0 Latest checkpoint's oldestMultiXid: 1 Latest checkpoint's oldestMulti's DB: 1 Time of latest checkpoint: Fri 04 Aug 2023 10:21:32 AM CST Fake LSN counter for unlogged rels: 0/1 Minimum recovery ending location: 0/4C98C190 Min recovery ending loc's timeline: 1 Backup start location: 0/0 Backup end location: 0/0 End-of-backup record required: no Current wal_level setting: archive Current wal_log_hints setting: off Current max_connections setting: 300 Current max_worker_processes setting: 14 Current max_prepared_xacts setting: 250 Current max_locks_per_xact setting: 128 Maximum data alignment: 8 Database block size: 32768 Blocks per segment of large relation: 32768 WAL block size: 32768 Bytes per WAL segment: 67108864 Maximum length of identifiers: 64 Maximum columns in an index: 32 Maximum size of a TOAST chunk: 8140 Size of a large-object chunk: 8192 Date/time type storage: 64-bit integers Float4 argument passing: by value Float8 argument passing: by value Data page checksum version: 1 stderr: 20230804:10:24:24:006134 gpexpand:mdw:gpadmin-[INFO]:-Successfully finished pg_controldata /opt/greenplum/data/primary/gpseg5 for dbid 7: stdout: pg_control version number: 9420600 Catalog version number: 301908232 Database system identifier: 7259560597505948877 Database cluster state: in production pg_control last modified: Fri 04 Aug 2023 10:21:41 AM CST Latest checkpoint location: 0/4B5335B8 Prior checkpoint location: 0/4B533538 Latest checkpoint's REDO location: 0/4B5335B8 Latest checkpoint's REDO WAL file: 000000010000000000000012 Latest checkpoint's TimeLineID: 1 Latest checkpoint's PrevTimeLineID: 1 Latest checkpoint's full_page_writes: on Latest checkpoint's NextXID: 0/49923 Latest checkpoint's NextOID: 34550 Latest checkpoint's NextRelfilenode: 83290 Latest checkpoint's NextMultiXactId: 1 Latest checkpoint's NextMultiOffset: 0 Latest checkpoint's oldestXID: 702 Latest checkpoint's oldestXID's DB: 1 Latest checkpoint's oldestActiveXID: 0 Latest checkpoint's oldestMultiXid: 1 Latest checkpoint's oldestMulti's DB: 1 Time of latest checkpoint: Fri 04 Aug 2023 10:21:32 AM CST Fake LSN counter for unlogged rels: 0/1 Minimum recovery ending location: 0/0 Min recovery ending loc's timeline: 0 Backup start location: 0/0 Backup end location: 0/0 End-of-backup record required: no Current wal_level setting: archive Current wal_log_hints setting: off Current max_connections setting: 300 Current max_worker_processes setting: 14 Current max_prepared_xacts setting: 250 Current max_locks_per_xact setting: 128 Maximum data alignment: 8 Database block size: 32768 Blocks per segment of large relation: 32768 WAL block size: 32768 Bytes per WAL segment: 67108864 Maximum length of identifiers: 64 Maximum columns in an index: 32 Maximum size of a TOAST chunk: 8140 Size of a large-object chunk: 8192 Date/time type storage: 64-bit integers Float4 argument passing: by value Float8 argument passing: by value Data page checksum version: 1 stderr: 20230804:10:24:24:006134 gpexpand:mdw:gpadmin-[INFO]:-Successfully finished pg_controldata /opt/greenplum/data/mirror/gpseg5 for dbid 23: stdout: pg_control version number: 9420600 Catalog version number: 301908232 Database system identifier: 7259560597505948877 Database cluster state: in archive recovery pg_control last modified: Fri 04 Aug 2023 10:21:41 AM CST Latest checkpoint location: 0/4B5335B8 Prior checkpoint location: 0/4B5335B8 Latest checkpoint's REDO location: 0/4B5335B8 Latest checkpoint's REDO WAL file: 000000010000000000000012 Latest checkpoint's TimeLineID: 1 Latest checkpoint's PrevTimeLineID: 1 Latest checkpoint's full_page_writes: on Latest checkpoint's NextXID: 0/49923 Latest checkpoint's NextOID: 34550 Latest checkpoint's NextRelfilenode: 83290 Latest checkpoint's NextMultiXactId: 1 Latest checkpoint's NextMultiOffset: 0 Latest checkpoint's oldestXID: 702 Latest checkpoint's oldestXID's DB: 1 Latest checkpoint's oldestActiveXID: 0 Latest checkpoint's oldestMultiXid: 1 Latest checkpoint's oldestMulti's DB: 1 Time of latest checkpoint: Fri 04 Aug 2023 10:21:32 AM CST Fake LSN counter for unlogged rels: 0/1 Minimum recovery ending location: 0/4B533670 Min recovery ending loc's timeline: 1 Backup start location: 0/0 Backup end location: 0/0 End-of-backup record required: no Current wal_level setting: archive Current wal_log_hints setting: off Current max_connections setting: 300 Current max_worker_processes setting: 14 Current max_prepared_xacts setting: 250 Current max_locks_per_xact setting: 128 Maximum data alignment: 8 Database block size: 32768 Blocks per segment of large relation: 32768 WAL block size: 32768 Bytes per WAL segment: 67108864 Maximum length of identifiers: 64 Maximum columns in an index: 32 Maximum size of a TOAST chunk: 8140 Size of a large-object chunk: 8192 Date/time type storage: 64-bit integers Float4 argument passing: by value Float8 argument passing: by value Data page checksum version: 1 stderr: 20230804:10:24:24:006134 gpexpand:mdw:gpadmin-[INFO]:-Successfully finished pg_controldata /opt/greenplum/data/mirror/gpseg6 for dbid 24: stdout: pg_control version number: 9420600 Catalog version number: 301908232 Database system identifier: 7259560598351060175 Database cluster state: in archive recovery pg_control last modified: Fri 04 Aug 2023 10:21:41 AM CST Latest checkpoint location: 0/4B2ABF80 Prior checkpoint location: 0/4B2ABF80 Latest checkpoint's REDO location: 0/4B2ABF80 Latest checkpoint's REDO WAL file: 000000010000000000000012 Latest checkpoint's TimeLineID: 1 Latest checkpoint's PrevTimeLineID: 1 Latest checkpoint's full_page_writes: on Latest checkpoint's NextXID: 0/49923 Latest checkpoint's NextOID: 34550 Latest checkpoint's NextRelfilenode: 83290 Latest checkpoint's NextMultiXactId: 1 Latest checkpoint's NextMultiOffset: 0 Latest checkpoint's oldestXID: 702 Latest checkpoint's oldestXID's DB: 1 Latest checkpoint's oldestActiveXID: 0 Latest checkpoint's oldestMultiXid: 1 Latest checkpoint's oldestMulti's DB: 1 Time of latest checkpoint: Fri 04 Aug 2023 10:21:32 AM CST Fake LSN counter for unlogged rels: 0/1 Minimum recovery ending location: 0/4B2AC038 Min recovery ending loc's timeline: 1 Backup start location: 0/0 Backup end location: 0/0 End-of-backup record required: no Current wal_level setting: archive Current wal_log_hints setting: off Current max_connections setting: 300 Current max_worker_processes setting: 14 Current max_prepared_xacts setting: 250 Current max_locks_per_xact setting: 128 Maximum data alignment: 8 Database block size: 32768 Blocks per segment of large relation: 32768 WAL block size: 32768 Bytes per WAL segment: 67108864 Maximum length of identifiers: 64 Maximum columns in an index: 32 Maximum size of a TOAST chunk: 8140 Size of a large-object chunk: 8192 Date/time type storage: 64-bit integers Float4 argument passing: by value Float8 argument passing: by value Data page checksum version: 1 stderr: 20230804:10:24:24:006134 gpexpand:mdw:gpadmin-[INFO]:-Successfully finished pg_controldata /opt/greenplum/data/primary/gpseg6 for dbid 8: stdout: pg_control version number: 9420600 Catalog version number: 301908232 Database system identifier: 7259560598351060175 Database cluster state: in production pg_control last modified: Fri 04 Aug 2023 10:21:41 AM CST Latest checkpoint location: 0/4B2ABF80 Prior checkpoint location: 0/4B2ABF00 Latest checkpoint's REDO location: 0/4B2ABF80 Latest checkpoint's REDO WAL file: 000000010000000000000012 Latest checkpoint's TimeLineID: 1 Latest checkpoint's PrevTimeLineID: 1 Latest checkpoint's full_page_writes: on Latest checkpoint's NextXID: 0/49923 Latest checkpoint's NextOID: 34550 Latest checkpoint's NextRelfilenode: 83290 Latest checkpoint's NextMultiXactId: 1 Latest checkpoint's NextMultiOffset: 0 Latest checkpoint's oldestXID: 702 Latest checkpoint's oldestXID's DB: 1 Latest checkpoint's oldestActiveXID: 0 Latest checkpoint's oldestMultiXid: 1 Latest checkpoint's oldestMulti's DB: 1 Time of latest checkpoint: Fri 04 Aug 2023 10:21:32 AM CST Fake LSN counter for unlogged rels: 0/1 Minimum recovery ending location: 0/0 Min recovery ending loc's timeline: 0 Backup start location: 0/0 Backup end location: 0/0 End-of-backup record required: no Current wal_level setting: archive Current wal_log_hints setting: off Current max_connections setting: 300 Current max_worker_processes setting: 14 Current max_prepared_xacts setting: 250 Current max_locks_per_xact setting: 128 Maximum data alignment: 8 Database block size: 32768 Blocks per segment of large relation: 32768 WAL block size: 32768 Bytes per WAL segment: 67108864 Maximum length of identifiers: 64 Maximum columns in an index: 32 Maximum size of a TOAST chunk: 8140 Size of a large-object chunk: 8192 Date/time type storage: 64-bit integers Float4 argument passing: by value Float8 argument passing: by value Data page checksum version: 1 stderr: 20230804:10:24:24:006134 gpexpand:mdw:gpadmin-[INFO]:-Successfully finished pg_controldata /opt/greenplum/data/mirror/gpseg7 for dbid 25: stdout: pg_control version number: 9420600 Catalog version number: 301908232 Database system identifier: 7259560598450097358 Database cluster state: in archive recovery pg_control last modified: Fri 04 Aug 2023 10:21:41 AM CST Latest checkpoint location: 0/4B3D9808 Prior checkpoint location: 0/4B3D9808 Latest checkpoint's REDO location: 0/4B3D9808 Latest checkpoint's REDO WAL file: 000000010000000000000012 Latest checkpoint's TimeLineID: 1 Latest checkpoint's PrevTimeLineID: 1 Latest checkpoint's full_page_writes: on Latest checkpoint's NextXID: 0/49923 Latest checkpoint's NextOID: 34550 Latest checkpoint's NextRelfilenode: 83290 Latest checkpoint's NextMultiXactId: 1 Latest checkpoint's NextMultiOffset: 0 Latest checkpoint's oldestXID: 702 Latest checkpoint's oldestXID's DB: 1 Latest checkpoint's oldestActiveXID: 0 Latest checkpoint's oldestMultiXid: 1 Latest checkpoint's oldestMulti's DB: 1 Time of latest checkpoint: Fri 04 Aug 2023 10:21:32 AM CST Fake LSN counter for unlogged rels: 0/1 Minimum recovery ending location: 0/4B3D98C0 Min recovery ending loc's timeline: 1 Backup start location: 0/0 Backup end location: 0/0 End-of-backup record required: no Current wal_level setting: archive Current wal_log_hints setting: off Current max_connections setting: 300 Current max_worker_processes setting: 14 Current max_prepared_xacts setting: 250 Current max_locks_per_xact setting: 128 Maximum data alignment: 8 Database block size: 32768 Blocks per segment of large relation: 32768 WAL block size: 32768 Bytes per WAL segment: 67108864 Maximum length of identifiers: 64 Maximum columns in an index: 32 Maximum size of a TOAST chunk: 8140 Size of a large-object chunk: 8192 Date/time type storage: 64-bit integers Float4 argument passing: by value Float8 argument passing: by value Data page checksum version: 1 stderr: 20230804:10:24:24:006134 gpexpand:mdw:gpadmin-[INFO]:-Successfully finished pg_controldata /opt/greenplum/data/primary/gpseg7 for dbid 9: stdout: pg_control version number: 9420600 Catalog version number: 301908232 Database system identifier: 7259560598450097358 Database cluster state: in production pg_control last modified: Fri 04 Aug 2023 10:21:41 AM CST Latest checkpoint location: 0/4B3D9808 Prior checkpoint location: 0/4B3D9788 Latest checkpoint's REDO location: 0/4B3D9808 Latest checkpoint's REDO WAL file: 000000010000000000000012 Latest checkpoint's TimeLineID: 1 Latest checkpoint's PrevTimeLineID: 1 Latest checkpoint's full_page_writes: on Latest checkpoint's NextXID: 0/49923 Latest checkpoint's NextOID: 34550 Latest checkpoint's NextRelfilenode: 83290 Latest checkpoint's NextMultiXactId: 1 Latest checkpoint's NextMultiOffset: 0 Latest checkpoint's oldestXID: 702 Latest checkpoint's oldestXID's DB: 1 Latest checkpoint's oldestActiveXID: 0 Latest checkpoint's oldestMultiXid: 1 Latest checkpoint's oldestMulti's DB: 1 Time of latest checkpoint: Fri 04 Aug 2023 10:21:32 AM CST Fake LSN counter for unlogged rels: 0/1 Minimum recovery ending location: 0/0 Min recovery ending loc's timeline: 0 Backup start location: 0/0 Backup end location: 0/0 End-of-backup record required: no Current wal_level setting: archive Current wal_log_hints setting: off Current max_connections setting: 300 Current max_worker_processes setting: 14 Current max_prepared_xacts setting: 250 Current max_locks_per_xact setting: 128 Maximum data alignment: 8 Database block size: 32768 Blocks per segment of large relation: 32768 WAL block size: 32768 Bytes per WAL segment: 67108864 Maximum length of identifiers: 64 Maximum columns in an index: 32 Maximum size of a TOAST chunk: 8140 Size of a large-object chunk: 8192 Date/time type storage: 64-bit integers Float4 argument passing: by value Float8 argument passing: by value Data page checksum version: 1 stderr: 20230804:10:24:24:006134 gpexpand:mdw:gpadmin-[INFO]:-Successfully finished pg_controldata /opt/greenplum/data/mirror/gpseg8 for dbid 26: stdout: pg_control version number: 9420600 Catalog version number: 301908232 Database system identifier: 7259560597928450946 Database cluster state: in archive recovery pg_control last modified: Fri 04 Aug 2023 10:21:41 AM CST Latest checkpoint location: 0/4B7AC848 Prior checkpoint location: 0/4B7AC848 Latest checkpoint's REDO location: 0/4B7AC848 Latest checkpoint's REDO WAL file: 000000010000000000000012 Latest checkpoint's TimeLineID: 1 Latest checkpoint's PrevTimeLineID: 1 Latest checkpoint's full_page_writes: on Latest checkpoint's NextXID: 0/49923 Latest checkpoint's NextOID: 34550 Latest checkpoint's NextRelfilenode: 83290 Latest checkpoint's NextMultiXactId: 1 Latest checkpoint's NextMultiOffset: 0 Latest checkpoint's oldestXID: 702 Latest checkpoint's oldestXID's DB: 1 Latest checkpoint's oldestActiveXID: 0 Latest checkpoint's oldestMultiXid: 1 Latest checkpoint's oldestMulti's DB: 1 Time of latest checkpoint: Fri 04 Aug 2023 10:21:32 AM CST Fake LSN counter for unlogged rels: 0/1 Minimum recovery ending location: 0/4B7AC900 Min recovery ending loc's timeline: 1 Backup start location: 0/0 Backup end location: 0/0 End-of-backup record required: no Current wal_level setting: archive Current wal_log_hints setting: off Current max_connections setting: 300 Current max_worker_processes setting: 14 Current max_prepared_xacts setting: 250 Current max_locks_per_xact setting: 128 Maximum data alignment: 8 Database block size: 32768 Blocks per segment of large relation: 32768 WAL block size: 32768 Bytes per WAL segment: 67108864 Maximum length of identifiers: 64 Maximum columns in an index: 32 Maximum size of a TOAST chunk: 8140 Size of a large-object chunk: 8192 Date/time type storage: 64-bit integers Float4 argument passing: by value Float8 argument passing: by value Data page checksum version: 1 stderr: 20230804:10:24:24:006134 gpexpand:mdw:gpadmin-[INFO]:-Successfully finished pg_controldata /opt/greenplum/data/primary/gpseg8 for dbid 10: stdout: pg_control version number: 9420600 Catalog version number: 301908232 Database system identifier: 7259560597928450946 Database cluster state: in production pg_control last modified: Fri 04 Aug 2023 10:21:41 AM CST Latest checkpoint location: 0/4B7AC848 Prior checkpoint location: 0/4B7AC7C8 Latest checkpoint's REDO location: 0/4B7AC848 Latest checkpoint's REDO WAL file: 000000010000000000000012 Latest checkpoint's TimeLineID: 1 Latest checkpoint's PrevTimeLineID: 1 Latest checkpoint's full_page_writes: on Latest checkpoint's NextXID: 0/49923 Latest checkpoint's NextOID: 34550 Latest checkpoint's NextRelfilenode: 83290 Latest checkpoint's NextMultiXactId: 1 Latest checkpoint's NextMultiOffset: 0 Latest checkpoint's oldestXID: 702 Latest checkpoint's oldestXID's DB: 1 Latest checkpoint's oldestActiveXID: 0 Latest checkpoint's oldestMultiXid: 1 Latest checkpoint's oldestMulti's DB: 1 Time of latest checkpoint: Fri 04 Aug 2023 10:21:32 AM CST Fake LSN counter for unlogged rels: 0/1 Minimum recovery ending location: 0/0 Min recovery ending loc's timeline: 0 Backup start location: 0/0 Backup end location: 0/0 End-of-backup record required: no Current wal_level setting: archive Current wal_log_hints setting: off Current max_connections setting: 300 Current max_worker_processes setting: 14 Current max_prepared_xacts setting: 250 Current max_locks_per_xact setting: 128 Maximum data alignment: 8 Database block size: 32768 Blocks per segment of large relation: 32768 WAL block size: 32768 Bytes per WAL segment: 67108864 Maximum length of identifiers: 64 Maximum columns in an index: 32 Maximum size of a TOAST chunk: 8140 Size of a large-object chunk: 8192 Date/time type storage: 64-bit integers Float4 argument passing: by value Float8 argument passing: by value Data page checksum version: 1 stderr: 20230804:10:24:24:006134 gpexpand:mdw:gpadmin-[INFO]:-Successfully finished pg_controldata /opt/greenplum/data/mirror/gpseg9 for dbid 27: stdout: pg_control version number: 9420600 Catalog version number: 301908232 Database system identifier: 7259560597804129153 Database cluster state: in archive recovery pg_control last modified: Fri 04 Aug 2023 10:21:41 AM CST Latest checkpoint location: 0/4B573180 Prior checkpoint location: 0/4B573180 Latest checkpoint's REDO location: 0/4B573180 Latest checkpoint's REDO WAL file: 000000010000000000000012 Latest checkpoint's TimeLineID: 1 Latest checkpoint's PrevTimeLineID: 1 Latest checkpoint's full_page_writes: on Latest checkpoint's NextXID: 0/49923 Latest checkpoint's NextOID: 34550 Latest checkpoint's NextRelfilenode: 83290 Latest checkpoint's NextMultiXactId: 1 Latest checkpoint's NextMultiOffset: 0 Latest checkpoint's oldestXID: 702 Latest checkpoint's oldestXID's DB: 1 Latest checkpoint's oldestActiveXID: 0 Latest checkpoint's oldestMultiXid: 1 Latest checkpoint's oldestMulti's DB: 1 Time of latest checkpoint: Fri 04 Aug 2023 10:21:32 AM CST Fake LSN counter for unlogged rels: 0/1 Minimum recovery ending location: 0/4B573238 Min recovery ending loc's timeline: 1 Backup start location: 0/0 Backup end location: 0/0 End-of-backup record required: no Current wal_level setting: archive Current wal_log_hints setting: off Current max_connections setting: 300 Current max_worker_processes setting: 14 Current max_prepared_xacts setting: 250 Current max_locks_per_xact setting: 128 Maximum data alignment: 8 Database block size: 32768 Blocks per segment of large relation: 32768 WAL block size: 32768 Bytes per WAL segment: 67108864 Maximum length of identifiers: 64 Maximum columns in an index: 32 Maximum size of a TOAST chunk: 8140 Size of a large-object chunk: 8192 Date/time type storage: 64-bit integers Float4 argument passing: by value Float8 argument passing: by value Data page checksum version: 1 stderr: 20230804:10:24:24:006134 gpexpand:mdw:gpadmin-[INFO]:-Successfully finished pg_controldata /opt/greenplum/data/primary/gpseg9 for dbid 11: stdout: pg_control version number: 9420600 Catalog version number: 301908232 Database system identifier: 7259560597804129153 Database cluster state: in production pg_control last modified: Fri 04 Aug 2023 10:21:41 AM CST Latest checkpoint location: 0/4B573180 Prior checkpoint location: 0/4B573100 Latest checkpoint's REDO location: 0/4B573180 Latest checkpoint's REDO WAL file: 000000010000000000000012 Latest checkpoint's TimeLineID: 1 Latest checkpoint's PrevTimeLineID: 1 Latest checkpoint's full_page_writes: on Latest checkpoint's NextXID: 0/49923 Latest checkpoint's NextOID: 34550 Latest checkpoint's NextRelfilenode: 83290 Latest checkpoint's NextMultiXactId: 1 Latest checkpoint's NextMultiOffset: 0 Latest checkpoint's oldestXID: 702 Latest checkpoint's oldestXID's DB: 1 Latest checkpoint's oldestActiveXID: 0 Latest checkpoint's oldestMultiXid: 1 Latest checkpoint's oldestMulti's DB: 1 Time of latest checkpoint: Fri 04 Aug 2023 10:21:32 AM CST Fake LSN counter for unlogged rels: 0/1 Minimum recovery ending location: 0/0 Min recovery ending loc's timeline: 0 Backup start location: 0/0 Backup end location: 0/0 End-of-backup record required: no Current wal_level setting: archive Current wal_log_hints setting: off Current max_connections setting: 300 Current max_worker_processes setting: 14 Current max_prepared_xacts setting: 250 Current max_locks_per_xact setting: 128 Maximum data alignment: 8 Database block size: 32768 Blocks per segment of large relation: 32768 WAL block size: 32768 Bytes per WAL segment: 67108864 Maximum length of identifiers: 64 Maximum columns in an index: 32 Maximum size of a TOAST chunk: 8140 Size of a large-object chunk: 8192 Date/time type storage: 64-bit integers Float4 argument passing: by value Float8 argument passing: by value Data page checksum version: 1 stderr: 20230804:10:24:24:006134 gpexpand:mdw:gpadmin-[INFO]:-Successfully finished pg_controldata /opt/greenplum/data/mirror/gpseg10 for dbid 28: stdout: pg_control version number: 9420600 Catalog version number: 301908232 Database system identifier: 7259560597792549760 Database cluster state: in archive recovery pg_control last modified: Fri 04 Aug 2023 10:21:41 AM CST Latest checkpoint location: 0/4B64AFE8 Prior checkpoint location: 0/4B64AFE8 Latest checkpoint's REDO location: 0/4B64AFE8 Latest checkpoint's REDO WAL file: 000000010000000000000012 Latest checkpoint's TimeLineID: 1 Latest checkpoint's PrevTimeLineID: 1 Latest checkpoint's full_page_writes: on Latest checkpoint's NextXID: 0/49923 Latest checkpoint's NextOID: 34550 Latest checkpoint's NextRelfilenode: 83290 Latest checkpoint's NextMultiXactId: 1 Latest checkpoint's NextMultiOffset: 0 Latest checkpoint's oldestXID: 702 Latest checkpoint's oldestXID's DB: 1 Latest checkpoint's oldestActiveXID: 0 Latest checkpoint's oldestMultiXid: 1 Latest checkpoint's oldestMulti's DB: 1 Time of latest checkpoint: Fri 04 Aug 2023 10:21:32 AM CST Fake LSN counter for unlogged rels: 0/1 Minimum recovery ending location: 0/4B64B0A0 Min recovery ending loc's timeline: 1 Backup start location: 0/0 Backup end location: 0/0 End-of-backup record required: no Current wal_level setting: archive Current wal_log_hints setting: off Current max_connections setting: 300 Current max_worker_processes setting: 14 Current max_prepared_xacts setting: 250 Current max_locks_per_xact setting: 128 Maximum data alignment: 8 Database block size: 32768 Blocks per segment of large relation: 32768 WAL block size: 32768 Bytes per WAL segment: 67108864 Maximum length of identifiers: 64 Maximum columns in an index: 32 Maximum size of a TOAST chunk: 8140 Size of a large-object chunk: 8192 Date/time type storage: 64-bit integers Float4 argument passing: by value Float8 argument passing: by value Data page checksum version: 1 stderr: 20230804:10:24:24:006134 gpexpand:mdw:gpadmin-[INFO]:-Successfully finished pg_controldata /opt/greenplum/data/primary/gpseg10 for dbid 12: stdout: pg_control version number: 9420600 Catalog version number: 301908232 Database system identifier: 7259560597792549760 Database cluster state: in production pg_control last modified: Fri 04 Aug 2023 10:21:41 AM CST Latest checkpoint location: 0/4B64AFE8 Prior checkpoint location: 0/4B64AF68 Latest checkpoint's REDO location: 0/4B64AFE8 Latest checkpoint's REDO WAL file: 000000010000000000000012 Latest checkpoint's TimeLineID: 1 Latest checkpoint's PrevTimeLineID: 1 Latest checkpoint's full_page_writes: on Latest checkpoint's NextXID: 0/49923 Latest checkpoint's NextOID: 34550 Latest checkpoint's NextRelfilenode: 83290 Latest checkpoint's NextMultiXactId: 1 Latest checkpoint's NextMultiOffset: 0 Latest checkpoint's oldestXID: 702 Latest checkpoint's oldestXID's DB: 1 Latest checkpoint's oldestActiveXID: 0 Latest checkpoint's oldestMultiXid: 1 Latest checkpoint's oldestMulti's DB: 1 Time of latest checkpoint: Fri 04 Aug 2023 10:21:32 AM CST Fake LSN counter for unlogged rels: 0/1 Minimum recovery ending location: 0/0 Min recovery ending loc's timeline: 0 Backup start location: 0/0 Backup end location: 0/0 End-of-backup record required: no Current wal_level setting: archive Current wal_log_hints setting: off Current max_connections setting: 300 Current max_worker_processes setting: 14 Current max_prepared_xacts setting: 250 Current max_locks_per_xact setting: 128 Maximum data alignment: 8 Database block size: 32768 Blocks per segment of large relation: 32768 WAL block size: 32768 Bytes per WAL segment: 67108864 Maximum length of identifiers: 64 Maximum columns in an index: 32 Maximum size of a TOAST chunk: 8140 Size of a large-object chunk: 8192 Date/time type storage: 64-bit integers Float4 argument passing: by value Float8 argument passing: by value Data page checksum version: 1 stderr: 20230804:10:24:24:006134 gpexpand:mdw:gpadmin-[INFO]:-Successfully finished pg_controldata /opt/greenplum/data/primary/gpseg11 for dbid 13: stdout: pg_control version number: 9420600 Catalog version number: 301908232 Database system identifier: 7259560597961718659 Database cluster state: in production pg_control last modified: Fri 04 Aug 2023 10:21:41 AM CST Latest checkpoint location: 0/4B621A08 Prior checkpoint location: 0/4B621988 Latest checkpoint's REDO location: 0/4B621A08 Latest checkpoint's REDO WAL file: 000000010000000000000012 Latest checkpoint's TimeLineID: 1 Latest checkpoint's PrevTimeLineID: 1 Latest checkpoint's full_page_writes: on Latest checkpoint's NextXID: 0/49923 Latest checkpoint's NextOID: 34550 Latest checkpoint's NextRelfilenode: 83290 Latest checkpoint's NextMultiXactId: 1 Latest checkpoint's NextMultiOffset: 0 Latest checkpoint's oldestXID: 702 Latest checkpoint's oldestXID's DB: 1 Latest checkpoint's oldestActiveXID: 0 Latest checkpoint's oldestMultiXid: 1 Latest checkpoint's oldestMulti's DB: 1 Time of latest checkpoint: Fri 04 Aug 2023 10:21:32 AM CST Fake LSN counter for unlogged rels: 0/1 Minimum recovery ending location: 0/0 Min recovery ending loc's timeline: 0 Backup start location: 0/0 Backup end location: 0/0 End-of-backup record required: no Current wal_level setting: archive Current wal_log_hints setting: off Current max_connections setting: 300 Current max_worker_processes setting: 14 Current max_prepared_xacts setting: 250 Current max_locks_per_xact setting: 128 Maximum data alignment: 8 Database block size: 32768 Blocks per segment of large relation: 32768 WAL block size: 32768 Bytes per WAL segment: 67108864 Maximum length of identifiers: 64 Maximum columns in an index: 32 Maximum size of a TOAST chunk: 8140 Size of a large-object chunk: 8192 Date/time type storage: 64-bit integers Float4 argument passing: by value Float8 argument passing: by value Data page checksum version: 1 stderr: 20230804:10:24:24:006134 gpexpand:mdw:gpadmin-[INFO]:-Successfully finished pg_controldata /opt/greenplum/data/mirror/gpseg11 for dbid 29: stdout: pg_control version number: 9420600 Catalog version number: 301908232 Database system identifier: 7259560597961718659 Database cluster state: in archive recovery pg_control last modified: Fri 04 Aug 2023 10:21:41 AM CST Latest checkpoint location: 0/4B621A08 Prior checkpoint location: 0/4B621A08 Latest checkpoint's REDO location: 0/4B621A08 Latest checkpoint's REDO WAL file: 000000010000000000000012 Latest checkpoint's TimeLineID: 1 Latest checkpoint's PrevTimeLineID: 1 Latest checkpoint's full_page_writes: on Latest checkpoint's NextXID: 0/49923 Latest checkpoint's NextOID: 34550 Latest checkpoint's NextRelfilenode: 83290 Latest checkpoint's NextMultiXactId: 1 Latest checkpoint's NextMultiOffset: 0 Latest checkpoint's oldestXID: 702 Latest checkpoint's oldestXID's DB: 1 Latest checkpoint's oldestActiveXID: 0 Latest checkpoint's oldestMultiXid: 1 Latest checkpoint's oldestMulti's DB: 1 Time of latest checkpoint: Fri 04 Aug 2023 10:21:32 AM CST Fake LSN counter for unlogged rels: 0/1 Minimum recovery ending location: 0/4B621AC0 Min recovery ending loc's timeline: 1 Backup start location: 0/0 Backup end location: 0/0 End-of-backup record required: no Current wal_level setting: archive Current wal_log_hints setting: off Current max_connections setting: 300 Current max_worker_processes setting: 14 Current max_prepared_xacts setting: 250 Current max_locks_per_xact setting: 128 Maximum data alignment: 8 Database block size: 32768 Blocks per segment of large relation: 32768 WAL block size: 32768 Bytes per WAL segment: 67108864 Maximum length of identifiers: 64 Maximum columns in an index: 32 Maximum size of a TOAST chunk: 8140 Size of a large-object chunk: 8192 Date/time type storage: 64-bit integers Float4 argument passing: by value Float8 argument passing: by value Data page checksum version: 1 stderr: 20230804:10:24:24:006134 gpexpand:mdw:gpadmin-[INFO]:-Successfully finished pg_controldata /opt/greenplum/data/mirror/gpseg12 for dbid 30: stdout: pg_control version number: 9420600 Catalog version number: 301908232 Database system identifier: 7259560598094608953 Database cluster state: in archive recovery pg_control last modified: Fri 04 Aug 2023 10:21:41 AM CST Latest checkpoint location: 0/4B3D32D8 Prior checkpoint location: 0/4B3D32D8 Latest checkpoint's REDO location: 0/4B3D32D8 Latest checkpoint's REDO WAL file: 000000010000000000000012 Latest checkpoint's TimeLineID: 1 Latest checkpoint's PrevTimeLineID: 1 Latest checkpoint's full_page_writes: on Latest checkpoint's NextXID: 0/49923 Latest checkpoint's NextOID: 34550 Latest checkpoint's NextRelfilenode: 83290 Latest checkpoint's NextMultiXactId: 1 Latest checkpoint's NextMultiOffset: 0 Latest checkpoint's oldestXID: 702 Latest checkpoint's oldestXID's DB: 1 Latest checkpoint's oldestActiveXID: 0 Latest checkpoint's oldestMultiXid: 1 Latest checkpoint's oldestMulti's DB: 1 Time of latest checkpoint: Fri 04 Aug 2023 10:21:32 AM CST Fake LSN counter for unlogged rels: 0/1 Minimum recovery ending location: 0/4B3D3390 Min recovery ending loc's timeline: 1 Backup start location: 0/0 Backup end location: 0/0 End-of-backup record required: no Current wal_level setting: archive Current wal_log_hints setting: off Current max_connections setting: 300 Current max_worker_processes setting: 14 Current max_prepared_xacts setting: 250 Current max_locks_per_xact setting: 128 Maximum data alignment: 8 Database block size: 32768 Blocks per segment of large relation: 32768 WAL block size: 32768 Bytes per WAL segment: 67108864 Maximum length of identifiers: 64 Maximum columns in an index: 32 Maximum size of a TOAST chunk: 8140 Size of a large-object chunk: 8192 Date/time type storage: 64-bit integers Float4 argument passing: by value Float8 argument passing: by value Data page checksum version: 1 stderr: 20230804:10:24:24:006134 gpexpand:mdw:gpadmin-[INFO]:-Successfully finished pg_controldata /opt/greenplum/data/primary/gpseg12 for dbid 14: stdout: pg_control version number: 9420600 Catalog version number: 301908232 Database system identifier: 7259560598094608953 Database cluster state: in production pg_control last modified: Fri 04 Aug 2023 10:21:41 AM CST Latest checkpoint location: 0/4B3D32D8 Prior checkpoint location: 0/4B3D3258 Latest checkpoint's REDO location: 0/4B3D32D8 Latest checkpoint's REDO WAL file: 000000010000000000000012 Latest checkpoint's TimeLineID: 1 Latest checkpoint's PrevTimeLineID: 1 Latest checkpoint's full_page_writes: on Latest checkpoint's NextXID: 0/49923 Latest checkpoint's NextOID: 34550 Latest checkpoint's NextRelfilenode: 83290 Latest checkpoint's NextMultiXactId: 1 Latest checkpoint's NextMultiOffset: 0 Latest checkpoint's oldestXID: 702 Latest checkpoint's oldestXID's DB: 1 Latest checkpoint's oldestActiveXID: 0 Latest checkpoint's oldestMultiXid: 1 Latest checkpoint's oldestMulti's DB: 1 Time of latest checkpoint: Fri 04 Aug 2023 10:21:32 AM CST Fake LSN counter for unlogged rels: 0/1 Minimum recovery ending location: 0/0 Min recovery ending loc's timeline: 0 Backup start location: 0/0 Backup end location: 0/0 End-of-backup record required: no Current wal_level setting: archive Current wal_log_hints setting: off Current max_connections setting: 300 Current max_worker_processes setting: 14 Current max_prepared_xacts setting: 250 Current max_locks_per_xact setting: 128 Maximum data alignment: 8 Database block size: 32768 Blocks per segment of large relation: 32768 WAL block size: 32768 Bytes per WAL segment: 67108864 Maximum length of identifiers: 64 Maximum columns in an index: 32 Maximum size of a TOAST chunk: 8140 Size of a large-object chunk: 8192 Date/time type storage: 64-bit integers Float4 argument passing: by value Float8 argument passing: by value Data page checksum version: 1 stderr: 20230804:10:24:24:006134 gpexpand:mdw:gpadmin-[INFO]:-Successfully finished pg_controldata /opt/greenplum/data/primary/gpseg13 for dbid 15: stdout: pg_control version number: 9420600 Catalog version number: 301908232 Database system identifier: 7259560597602572856 Database cluster state: in production pg_control last modified: Fri 04 Aug 2023 10:21:41 AM CST Latest checkpoint location: 0/4B3E7D30 Prior checkpoint location: 0/4B3E7CB0 Latest checkpoint's REDO location: 0/4B3E7D30 Latest checkpoint's REDO WAL file: 000000010000000000000012 Latest checkpoint's TimeLineID: 1 Latest checkpoint's PrevTimeLineID: 1 Latest checkpoint's full_page_writes: on Latest checkpoint's NextXID: 0/49923 Latest checkpoint's NextOID: 34550 Latest checkpoint's NextRelfilenode: 83290 Latest checkpoint's NextMultiXactId: 1 Latest checkpoint's NextMultiOffset: 0 Latest checkpoint's oldestXID: 702 Latest checkpoint's oldestXID's DB: 1 Latest checkpoint's oldestActiveXID: 0 Latest checkpoint's oldestMultiXid: 1 Latest checkpoint's oldestMulti's DB: 1 Time of latest checkpoint: Fri 04 Aug 2023 10:21:32 AM CST Fake LSN counter for unlogged rels: 0/1 Minimum recovery ending location: 0/0 Min recovery ending loc's timeline: 0 Backup start location: 0/0 Backup end location: 0/0 End-of-backup record required: no Current wal_level setting: archive Current wal_log_hints setting: off Current max_connections setting: 300 Current max_worker_processes setting: 14 Current max_prepared_xacts setting: 250 Current max_locks_per_xact setting: 128 Maximum data alignment: 8 Database block size: 32768 Blocks per segment of large relation: 32768 WAL block size: 32768 Bytes per WAL segment: 67108864 Maximum length of identifiers: 64 Maximum columns in an index: 32 Maximum size of a TOAST chunk: 8140 Size of a large-object chunk: 8192 Date/time type storage: 64-bit integers Float4 argument passing: by value Float8 argument passing: by value Data page checksum version: 1 stderr: 20230804:10:24:24:006134 gpexpand:mdw:gpadmin-[INFO]:-Successfully finished pg_controldata /opt/greenplum/data/mirror/gpseg13 for dbid 31: stdout: pg_control version number: 9420600 Catalog version number: 301908232 Database system identifier: 7259560597602572856 Database cluster state: in archive recovery pg_control last modified: Fri 04 Aug 2023 10:21:41 AM CST Latest checkpoint location: 0/4B3E7D30 Prior checkpoint location: 0/4B3E7D30 Latest checkpoint's REDO location: 0/4B3E7D30 Latest checkpoint's REDO WAL file: 000000010000000000000012 Latest checkpoint's TimeLineID: 1 Latest checkpoint's PrevTimeLineID: 1 Latest checkpoint's full_page_writes: on Latest checkpoint's NextXID: 0/49923 Latest checkpoint's NextOID: 34550 Latest checkpoint's NextRelfilenode: 83290 Latest checkpoint's NextMultiXactId: 1 Latest checkpoint's NextMultiOffset: 0 Latest checkpoint's oldestXID: 702 Latest checkpoint's oldestXID's DB: 1 Latest checkpoint's oldestActiveXID: 0 Latest checkpoint's oldestMultiXid: 1 Latest checkpoint's oldestMulti's DB: 1 Time of latest checkpoint: Fri 04 Aug 2023 10:21:32 AM CST Fake LSN counter for unlogged rels: 0/1 Minimum recovery ending location: 0/4B3E7DE8 Min recovery ending loc's timeline: 1 Backup start location: 0/0 Backup end location: 0/0 End-of-backup record required: no Current wal_level setting: archive Current wal_log_hints setting: off Current max_connections setting: 300 Current max_worker_processes setting: 14 Current max_prepared_xacts setting: 250 Current max_locks_per_xact setting: 128 Maximum data alignment: 8 Database block size: 32768 Blocks per segment of large relation: 32768 WAL block size: 32768 Bytes per WAL segment: 67108864 Maximum length of identifiers: 64 Maximum columns in an index: 32 Maximum size of a TOAST chunk: 8140 Size of a large-object chunk: 8192 Date/time type storage: 64-bit integers Float4 argument passing: by value Float8 argument passing: by value Data page checksum version: 1 stderr: 20230804:10:24:24:006134 gpexpand:mdw:gpadmin-[INFO]:-Successfully finished pg_controldata /opt/greenplum/data/primary/gpseg14 for dbid 16: stdout: pg_control version number: 9420600 Catalog version number: 301908232 Database system identifier: 7259560596874586679 Database cluster state: in production pg_control last modified: Fri 04 Aug 2023 10:21:41 AM CST Latest checkpoint location: 0/4AE90150 Prior checkpoint location: 0/4AE900D0 Latest checkpoint's REDO location: 0/4AE90150 Latest checkpoint's REDO WAL file: 000000010000000000000012 Latest checkpoint's TimeLineID: 1 Latest checkpoint's PrevTimeLineID: 1 Latest checkpoint's full_page_writes: on Latest checkpoint's NextXID: 0/49923 Latest checkpoint's NextOID: 34550 Latest checkpoint's NextRelfilenode: 83290 Latest checkpoint's NextMultiXactId: 1 Latest checkpoint's NextMultiOffset: 0 Latest checkpoint's oldestXID: 702 Latest checkpoint's oldestXID's DB: 1 Latest checkpoint's oldestActiveXID: 0 Latest checkpoint's oldestMultiXid: 1 Latest checkpoint's oldestMulti's DB: 1 Time of latest checkpoint: Fri 04 Aug 2023 10:21:32 AM CST Fake LSN counter for unlogged rels: 0/1 Minimum recovery ending location: 0/0 Min recovery ending loc's timeline: 0 Backup start location: 0/0 Backup end location: 0/0 End-of-backup record required: no Current wal_level setting: archive Current wal_log_hints setting: off Current max_connections setting: 300 Current max_worker_processes setting: 14 Current max_prepared_xacts setting: 250 Current max_locks_per_xact setting: 128 Maximum data alignment: 8 Database block size: 32768 Blocks per segment of large relation: 32768 WAL block size: 32768 Bytes per WAL segment: 67108864 Maximum length of identifiers: 64 Maximum columns in an index: 32 Maximum size of a TOAST chunk: 8140 Size of a large-object chunk: 8192 Date/time type storage: 64-bit integers Float4 argument passing: by value Float8 argument passing: by value Data page checksum version: 1 stderr: 20230804:10:24:24:006134 gpexpand:mdw:gpadmin-[INFO]:-Successfully finished pg_controldata /opt/greenplum/data/mirror/gpseg14 for dbid 32: stdout: pg_control version number: 9420600 Catalog version number: 301908232 Database system identifier: 7259560596874586679 Database cluster state: in archive recovery pg_control last modified: Fri 04 Aug 2023 10:21:41 AM CST Latest checkpoint location: 0/4AE90150 Prior checkpoint location: 0/4AE90150 Latest checkpoint's REDO location: 0/4AE90150 Latest checkpoint's REDO WAL file: 000000010000000000000012 Latest checkpoint's TimeLineID: 1 Latest checkpoint's PrevTimeLineID: 1 Latest checkpoint's full_page_writes: on Latest checkpoint's NextXID: 0/49923 Latest checkpoint's NextOID: 34550 Latest checkpoint's NextRelfilenode: 83290 Latest checkpoint's NextMultiXactId: 1 Latest checkpoint's NextMultiOffset: 0 Latest checkpoint's oldestXID: 702 Latest checkpoint's oldestXID's DB: 1 Latest checkpoint's oldestActiveXID: 0 Latest checkpoint's oldestMultiXid: 1 Latest checkpoint's oldestMulti's DB: 1 Time of latest checkpoint: Fri 04 Aug 2023 10:21:32 AM CST Fake LSN counter for unlogged rels: 0/1 Minimum recovery ending location: 0/4AE90208 Min recovery ending loc's timeline: 1 Backup start location: 0/0 Backup end location: 0/0 End-of-backup record required: no Current wal_level setting: archive Current wal_log_hints setting: off Current max_connections setting: 300 Current max_worker_processes setting: 14 Current max_prepared_xacts setting: 250 Current max_locks_per_xact setting: 128 Maximum data alignment: 8 Database block size: 32768 Blocks per segment of large relation: 32768 WAL block size: 32768 Bytes per WAL segment: 67108864 Maximum length of identifiers: 64 Maximum columns in an index: 32 Maximum size of a TOAST chunk: 8140 Size of a large-object chunk: 8192 Date/time type storage: 64-bit integers Float4 argument passing: by value Float8 argument passing: by value Data page checksum version: 1 stderr: 20230804:10:24:24:006134 gpexpand:mdw:gpadmin-[INFO]:-Successfully finished pg_controldata /opt/greenplum/data/primary/gpseg15 for dbid 17: stdout: pg_control version number: 9420600 Catalog version number: 301908232 Database system identifier: 7259560597864852027 Database cluster state: in production pg_control last modified: Fri 04 Aug 2023 10:21:41 AM CST Latest checkpoint location: 0/4B19A5C8 Prior checkpoint location: 0/4B19A548 Latest checkpoint's REDO location: 0/4B19A5C8 Latest checkpoint's REDO WAL file: 000000010000000000000012 Latest checkpoint's TimeLineID: 1 Latest checkpoint's PrevTimeLineID: 1 Latest checkpoint's full_page_writes: on Latest checkpoint's NextXID: 0/49923 Latest checkpoint's NextOID: 34550 Latest checkpoint's NextRelfilenode: 83290 Latest checkpoint's NextMultiXactId: 1 Latest checkpoint's NextMultiOffset: 0 Latest checkpoint's oldestXID: 702 Latest checkpoint's oldestXID's DB: 1 Latest checkpoint's oldestActiveXID: 0 Latest checkpoint's oldestMultiXid: 1 Latest checkpoint's oldestMulti's DB: 1 Time of latest checkpoint: Fri 04 Aug 2023 10:21:32 AM CST Fake LSN counter for unlogged rels: 0/1 Minimum recovery ending location: 0/0 Min recovery ending loc's timeline: 0 Backup start location: 0/0 Backup end location: 0/0 End-of-backup record required: no Current wal_level setting: archive Current wal_log_hints setting: off Current max_connections setting: 300 Current max_worker_processes setting: 14 Current max_prepared_xacts setting: 250 Current max_locks_per_xact setting: 128 Maximum data alignment: 8 Database block size: 32768 Blocks per segment of large relation: 32768 WAL block size: 32768 Bytes per WAL segment: 67108864 Maximum length of identifiers: 64 Maximum columns in an index: 32 Maximum size of a TOAST chunk: 8140 Size of a large-object chunk: 8192 Date/time type storage: 64-bit integers Float4 argument passing: by value Float8 argument passing: by value Data page checksum version: 1 stderr: 20230804:10:24:24:006134 gpexpand:mdw:gpadmin-[INFO]:-Successfully finished pg_controldata /opt/greenplum/data/mirror/gpseg15 for dbid 33: stdout: pg_control version number: 9420600 Catalog version number: 301908232 Database system identifier: 7259560597864852027 Database cluster state: in archive recovery pg_control last modified: Fri 04 Aug 2023 10:21:41 AM CST Latest checkpoint location: 0/4B19A5C8 Prior checkpoint location: 0/4B19A5C8 Latest checkpoint's REDO location: 0/4B19A5C8 Latest checkpoint's REDO WAL file: 000000010000000000000012 Latest checkpoint's TimeLineID: 1 Latest checkpoint's PrevTimeLineID: 1 Latest checkpoint's full_page_writes: on Latest checkpoint's NextXID: 0/49923 Latest checkpoint's NextOID: 34550 Latest checkpoint's NextRelfilenode: 83290 Latest checkpoint's NextMultiXactId: 1 Latest checkpoint's NextMultiOffset: 0 Latest checkpoint's oldestXID: 702 Latest checkpoint's oldestXID's DB: 1 Latest checkpoint's oldestActiveXID: 0 Latest checkpoint's oldestMultiXid: 1 Latest checkpoint's oldestMulti's DB: 1 Time of latest checkpoint: Fri 04 Aug 2023 10:21:32 AM CST Fake LSN counter for unlogged rels: 0/1 Minimum recovery ending location: 0/4B19A680 Min recovery ending loc's timeline: 1 Backup start location: 0/0 Backup end location: 0/0 End-of-backup record required: no Current wal_level setting: archive Current wal_log_hints setting: off Current max_connections setting: 300 Current max_worker_processes setting: 14 Current max_prepared_xacts setting: 250 Current max_locks_per_xact setting: 128 Maximum data alignment: 8 Database block size: 32768 Blocks per segment of large relation: 32768 WAL block size: 32768 Bytes per WAL segment: 67108864 Maximum length of identifiers: 64 Maximum columns in an index: 32 Maximum size of a TOAST chunk: 8140 Size of a large-object chunk: 8192 Date/time type storage: 64-bit integers Float4 argument passing: by value Float8 argument passing: by value Data page checksum version: 1 stderr: 20230804:10:24:24:006134 gpexpand:mdw:gpadmin-[INFO]:-Heap checksum setting consistent across cluster 20230804:10:24:25:006134 gpexpand:mdw:gpadmin-[INFO]:-Syncing Greenplum Database extensions 20230804:10:24:26:006134 gpexpand:mdw:gpadmin-[INFO]:-The following packages will be installed on sdw5: MetricsCollector-6.9.0_gp_6.24.3-rhel7-x86_64.gppkg 20230804:10:24:27:006134 gpexpand:mdw:gpadmin-[INFO]:-The following packages will be installed on sdw6: MetricsCollector-6.9.0_gp_6.24.3-rhel7-x86_64.gppkg 20230804:10:24:29:006134 gpexpand:mdw:gpadmin-[INFO]:-Locking catalog 20230804:10:24:29:006134 gpexpand:mdw:gpadmin-[INFO]:-Locked catalog 20230804:10:24:29:006134 gpexpand:mdw:gpadmin-[INFO]:-Creating segment template 20230804:10:24:40:006134 gpexpand:mdw:gpadmin-[INFO]:-Copying postgresql.conf from existing segment into template 20230804:10:24:40:006134 gpexpand:mdw:gpadmin-[INFO]:-Copying pg_hba.conf from existing segment into template 20230804:10:24:41:006134 gpexpand:mdw:gpadmin-[INFO]:-Creating schema tar file 20230804:10:24:43:006134 gpexpand:mdw:gpadmin-[INFO]:-Distributing template tar file to new hosts 20230804:10:24:45:006134 gpexpand:mdw:gpadmin-[INFO]:-Configuring new segments (primary) 20230804:10:24:45:006134 gpexpand:mdw:gpadmin-[INFO]:-{'sdw5': '/opt/greenplum/data/primary/gpseg16:6000:true:false:35:16::-1:,/opt/greenplum/data/primary/gpseg17:6001:true:false:36:17::-1:,/opt/greenplum/data/primary/gpseg18:6002:true:false:37:18::-1:,/opt/greenplum/data/primary/gpseg19:6003:true:false:38:19::-1:', 'sdw6': '/opt/greenplum/data/primary/gpseg20:6000:true:false:39:20::-1:,/opt/greenplum/data/primary/gpseg21:6001:true:false:40:21::-1:,/opt/greenplum/data/primary/gpseg22:6002:true:false:41:22::-1:,/opt/greenplum/data/primary/gpseg23:6003:true:false:42:23::-1:'} 20230804:10:24:57:006134 gpexpand:mdw:gpadmin-[INFO]:-Cleaning up temporary template files 20230804:10:24:58:006134 gpexpand:mdw:gpadmin-[INFO]:-Cleaning up databases in new segments. 20230804:10:25:00:006134 gpexpand:mdw:gpadmin-[INFO]:-Unlocking catalog 20230804:10:25:00:006134 gpexpand:mdw:gpadmin-[INFO]:-Unlocked catalog 20230804:10:25:00:006134 gpexpand:mdw:gpadmin-[INFO]:-Creating expansion schema 20230804:10:25:07:006134 gpexpand:mdw:gpadmin-[INFO]:-Populating gpexpand.status_detail with data from database template1 20230804:10:25:07:006134 gpexpand:mdw:gpadmin-[INFO]:-Populating gpexpand.status_detail with data from database postgres 20230804:10:25:08:006134 gpexpand:mdw:gpadmin-[INFO]:-Populating gpexpand.status_detail with data from database lhrgpdb 20230804:10:25:10:006134 gpexpand:mdw:gpadmin-[INFO]:-Populating gpexpand.status_detail with data from database gpperfmon 20230804:10:25:15:006134 gpexpand:mdw:gpadmin-[INFO]:-Starting new mirror segment synchronization 20230804:10:25:55:006134 gpexpand:mdw:gpadmin-[INFO]:-************************************************ 20230804:10:25:55:006134 gpexpand:mdw:gpadmin-[INFO]:-Initialization of the system expansion complete. 20230804:10:25:55:006134 gpexpand:mdw:gpadmin-[INFO]:-To begin table expansion onto the new segments 20230804:10:25:55:006134 gpexpand:mdw:gpadmin-[INFO]:-rerun gpexpand 20230804:10:25:55:006134 gpexpand:mdw:gpadmin-[INFO]:-************************************************ 20230804:10:25:55:006134 gpexpand:mdw:gpadmin-[INFO]:-Exiting... [gpadmin@mdw soft]$ gpexpand -d 1:00:00 20230804:10:28:12:006831 gpexpand:mdw:gpadmin-[INFO]:-local Greenplum Version: 'postgres (Greenplum Database) 6.25.1 build commit:337d85331f0330dea32d229f450da438d5e948f6 Open Source' 20230804:10:28:12:006831 gpexpand:mdw:gpadmin-[INFO]:-master Greenplum Version: 'PostgreSQL 9.4.26 (Greenplum Database 6.25.1 build commit:337d85331f0330dea32d229f450da438d5e948f6 Open Source) on x86_64-unknown-linux-gnu, compiled by gcc (GCC) 6.4.0, 64-bit compiled on Jul 19 2023 22:02:50' 20230804:10:28:12:006831 gpexpand:mdw:gpadmin-[INFO]:-Querying gpexpand schema for current expansion state 20230804:10:28:23:006831 gpexpand:mdw:gpadmin-[INFO]:-Expanding gpperfmon.gpmetrics.gpcc_system_history_1_prt_2 20230804:10:28:37:006831 gpexpand:mdw:gpadmin-[INFO]:-Finished expanding gpperfmon.gpmetrics.gpcc_system_history_1_prt_2 20230804:10:28:38:006831 gpexpand:mdw:gpadmin-[INFO]:-Expanding gpperfmon.gpmetrics.gpcc_gpss_job 20230804:10:28:38:006831 gpexpand:mdw:gpadmin-[INFO]:-Finished expanding gpperfmon.gpmetrics.gpcc_gpss_job 20230804:10:28:39:006831 gpexpand:mdw:gpadmin-[INFO]:-Expanding gpperfmon.gpmetrics.gpcc_disk_history_1_prt_r50662390 20230804:10:28:39:006831 gpexpand:mdw:gpadmin-[INFO]:-Finished expanding gpperfmon.gpmetrics.gpcc_disk_history_1_prt_r50662390 20230804:10:28:39:006831 gpexpand:mdw:gpadmin-[INFO]:-Expanding gpperfmon.gpmetrics.gpcc_pg_log_history_1_prt_2 20230804:10:28:40:006831 gpexpand:mdw:gpadmin-[INFO]:-Finished expanding gpperfmon.gpmetrics.gpcc_pg_log_history_1_prt_2 20230804:10:28:40:006831 gpexpand:mdw:gpadmin-[INFO]:-Expanding gpperfmon.gpmetrics.gpcc_alert_history_1_prt_2 20230804:10:28:41:006831 gpexpand:mdw:gpadmin-[INFO]:-Finished expanding gpperfmon.gpmetrics.gpcc_alert_history_1_prt_2 20230804:10:28:41:006831 gpexpand:mdw:gpadmin-[INFO]:-Expanding gpperfmon.gpmetrics.gpcc_table_info_history_1_prt_1 20230804:10:28:42:006831 gpexpand:mdw:gpadmin-[INFO]:-Finished expanding gpperfmon.gpmetrics.gpcc_table_info_history_1_prt_1 20230804:10:28:42:006831 gpexpand:mdw:gpadmin-[INFO]:-Expanding gpperfmon.gpmetrics.gpcc_scan_history 20230804:10:28:42:006831 gpexpand:mdw:gpadmin-[INFO]:-Finished expanding gpperfmon.gpmetrics.gpcc_scan_history 20230804:10:28:42:006831 gpexpand:mdw:gpadmin-[INFO]:-Expanding gpperfmon.gpmetrics.gpcc_wlm_log_history_1_prt_2 20230804:10:28:44:006831 gpexpand:mdw:gpadmin-[INFO]:-Finished expanding gpperfmon.gpmetrics.gpcc_wlm_log_history_1_prt_2 20230804:10:28:44:006831 gpexpand:mdw:gpadmin-[INFO]:-Expanding gpperfmon.gpmetrics.gpcc_resgroup_history_1_prt_r1545709579 20230804:10:28:45:006831 gpexpand:mdw:gpadmin-[INFO]:-Finished expanding gpperfmon.gpmetrics.gpcc_resgroup_history_1_prt_r1545709579 20230804:10:28:45:006831 gpexpand:mdw:gpadmin-[INFO]:-Expanding gpperfmon.gpmetrics.gpcc_queries_history_1_prt_2 20230804:10:28:47:006831 gpexpand:mdw:gpadmin-[INFO]:-Finished expanding gpperfmon.gpmetrics.gpcc_queries_history_1_prt_2 20230804:10:28:47:006831 gpexpand:mdw:gpadmin-[INFO]:-Expanding gpperfmon.gpmetrics.gpcc_table_info 20230804:10:28:47:006831 gpexpand:mdw:gpadmin-[INFO]:-Finished expanding gpperfmon.gpmetrics.gpcc_table_info 20230804:10:28:47:006831 gpexpand:mdw:gpadmin-[INFO]:-Expanding gpperfmon.gpmetrics.gpcc_gpss_log_1_prt_r375469753 20230804:10:28:48:006831 gpexpand:mdw:gpadmin-[INFO]:-Finished expanding gpperfmon.gpmetrics.gpcc_gpss_log_1_prt_r375469753 20230804:10:28:48:006831 gpexpand:mdw:gpadmin-[INFO]:-Expanding gpperfmon.gpmetrics.gpcc_plannode_history_1_prt_r1322840140 20230804:10:28:48:006831 gpexpand:mdw:gpadmin-[INFO]:-Finished expanding gpperfmon.gpmetrics.gpcc_plannode_history_1_prt_r1322840140 20230804:10:28:48:006831 gpexpand:mdw:gpadmin-[INFO]:-Expanding gpperfmon.gpmetrics.gpcc_resgroup_history_1_prt_1 20230804:10:28:48:006831 gpexpand:mdw:gpadmin-[INFO]:-Finished expanding gpperfmon.gpmetrics.gpcc_resgroup_history_1_prt_1 20230804:10:28:49:006831 gpexpand:mdw:gpadmin-[INFO]:-Expanding gpperfmon.gpmetrics.gpcc_system_history_1_prt_1 20230804:10:28:50:006831 gpexpand:mdw:gpadmin-[INFO]:-Finished expanding gpperfmon.gpmetrics.gpcc_system_history_1_prt_1 20230804:10:28:51:006831 gpexpand:mdw:gpadmin-[INFO]:-Expanding gpperfmon.gpmetrics.gpcc_alert_history_1_prt_1 20230804:10:28:51:006831 gpexpand:mdw:gpadmin-[INFO]:-Finished expanding gpperfmon.gpmetrics.gpcc_alert_history_1_prt_1 20230804:10:28:51:006831 gpexpand:mdw:gpadmin-[INFO]:-Expanding gpperfmon.gpmetrics.gpcc_gpss_log_1_prt_1 20230804:10:28:52:006831 gpexpand:mdw:gpadmin-[INFO]:-Finished expanding gpperfmon.gpmetrics.gpcc_gpss_log_1_prt_1 20230804:10:28:52:006831 gpexpand:mdw:gpadmin-[INFO]:-Expanding gpperfmon.gpmetrics.gpcc_database_history_1_prt_1 20230804:10:28:53:006831 gpexpand:mdw:gpadmin-[INFO]:-Finished expanding gpperfmon.gpmetrics.gpcc_database_history_1_prt_1 20230804:10:28:53:006831 gpexpand:mdw:gpadmin-[INFO]:-Expanding gpperfmon.gpcc_schema.pghba_lock 20230804:10:28:53:006831 gpexpand:mdw:gpadmin-[INFO]:-Finished expanding gpperfmon.gpcc_schema.pghba_lock 20230804:10:28:53:006831 gpexpand:mdw:gpadmin-[INFO]:-Expanding gpperfmon.gpmetrics.gpcc_gpss_auth 20230804:10:28:53:006831 gpexpand:mdw:gpadmin-[INFO]:-Finished expanding gpperfmon.gpmetrics.gpcc_gpss_auth 20230804:10:28:53:006831 gpexpand:mdw:gpadmin-[INFO]:-Expanding gpperfmon.gpmetrics._gpcc_plannode_history 20230804:10:28:54:006831 gpexpand:mdw:gpadmin-[INFO]:-Finished expanding gpperfmon.gpmetrics._gpcc_plannode_history 20230804:10:28:54:006831 gpexpand:mdw:gpadmin-[INFO]:-Expanding gpperfmon.gpmetrics.gpcc_system_history_1_prt_r301861594 20230804:10:28:54:006831 gpexpand:mdw:gpadmin-[INFO]:-Finished expanding gpperfmon.gpmetrics.gpcc_system_history_1_prt_r301861594 20230804:10:28:54:006831 gpexpand:mdw:gpadmin-[INFO]:-Expanding gpperfmon.gpmetrics.gpcc_gpss_log_1_prt_2 20230804:10:28:54:006831 gpexpand:mdw:gpadmin-[INFO]:-Finished expanding gpperfmon.gpmetrics.gpcc_gpss_log_1_prt_2 20230804:10:28:55:006831 gpexpand:mdw:gpadmin-[INFO]:-Expanding gpperfmon.gpmetrics.gpcc_disk_history_1_prt_1 20230804:10:28:56:006831 gpexpand:mdw:gpadmin-[INFO]:-Finished expanding gpperfmon.gpmetrics.gpcc_disk_history_1_prt_1 20230804:10:28:56:006831 gpexpand:mdw:gpadmin-[INFO]:-Expanding gpperfmon.gpmetrics.gpcc_department 20230804:10:28:56:006831 gpexpand:mdw:gpadmin-[INFO]:-Finished expanding gpperfmon.gpmetrics.gpcc_department 20230804:10:28:57:006831 gpexpand:mdw:gpadmin-[INFO]:-Expanding gpperfmon.gpmetrics.gpcc_role_department 20230804:10:28:57:006831 gpexpand:mdw:gpadmin-[INFO]:-Finished expanding gpperfmon.gpmetrics.gpcc_role_department 20230804:10:28:57:006831 gpexpand:mdw:gpadmin-[INFO]:-Expanding gpperfmon.gpmetrics.gpcc_database_history_1_prt_r326457455 20230804:10:28:57:006831 gpexpand:mdw:gpadmin-[INFO]:-Finished expanding gpperfmon.gpmetrics.gpcc_database_history_1_prt_r326457455 20230804:10:28:57:006831 gpexpand:mdw:gpadmin-[INFO]:-Expanding gpperfmon.gpmetrics.gpcc_wlm_log_history_1_prt_r449947078 20230804:10:28:57:006831 gpexpand:mdw:gpadmin-[INFO]:-Finished expanding gpperfmon.gpmetrics.gpcc_wlm_log_history_1_prt_r449947078 20230804:10:28:58:006831 gpexpand:mdw:gpadmin-[INFO]:-Expanding gpperfmon.gpmetrics.gpcc_disk_history_1_prt_2 20230804:10:29:05:006831 gpexpand:mdw:gpadmin-[INFO]:-Finished expanding gpperfmon.gpmetrics.gpcc_disk_history_1_prt_2 20230804:10:29:05:006831 gpexpand:mdw:gpadmin-[INFO]:-Expanding gpperfmon.gpmetrics.gpcc_plannode_history_1_prt_2 20230804:10:29:06:006831 gpexpand:mdw:gpadmin-[INFO]:-Finished expanding gpperfmon.gpmetrics.gpcc_plannode_history_1_prt_2 20230804:10:29:06:006831 gpexpand:mdw:gpadmin-[INFO]:-Expanding gpperfmon.gpmetrics.gpcc_queries_history_1_prt_r1318211463 20230804:10:29:06:006831 gpexpand:mdw:gpadmin-[INFO]:-Finished expanding gpperfmon.gpmetrics.gpcc_queries_history_1_prt_r1318211463 20230804:10:29:07:006831 gpexpand:mdw:gpadmin-[INFO]:-Expanding gpperfmon.gpmetrics.gpcc_resgroup_history_1_prt_2 20230804:10:29:07:006831 gpexpand:mdw:gpadmin-[INFO]:-Finished expanding gpperfmon.gpmetrics.gpcc_resgroup_history_1_prt_2 20230804:10:29:07:006831 gpexpand:mdw:gpadmin-[INFO]:-Expanding gpperfmon.gpmetrics.gpcc_table_info_history_1_prt_r2090115604 20230804:10:29:07:006831 gpexpand:mdw:gpadmin-[INFO]:-Finished expanding gpperfmon.gpmetrics.gpcc_table_info_history_1_prt_r2090115604 20230804:10:29:07:006831 gpexpand:mdw:gpadmin-[INFO]:-Expanding gpperfmon.gpmetrics.gpcc_schedule 20230804:10:29:08:006831 gpexpand:mdw:gpadmin-[INFO]:-Finished expanding gpperfmon.gpmetrics.gpcc_schedule 20230804:10:29:08:006831 gpexpand:mdw:gpadmin-[INFO]:-Expanding gpperfmon.gpmetrics.gpcc_pg_log_history_1_prt_t1690873835 20230804:10:29:08:006831 gpexpand:mdw:gpadmin-[INFO]:-Finished expanding gpperfmon.gpmetrics.gpcc_pg_log_history_1_prt_t1690873835 20230804:10:29:08:006831 gpexpand:mdw:gpadmin-[INFO]:-Expanding gpperfmon.gpmetrics.gpcc_pg_log_history_1_prt_1 20230804:10:29:09:006831 gpexpand:mdw:gpadmin-[INFO]:-Finished expanding gpperfmon.gpmetrics.gpcc_pg_log_history_1_prt_1 20230804:10:29:09:006831 gpexpand:mdw:gpadmin-[INFO]:-Expanding gpperfmon.gpmetrics.gpcc_plannode_history_1_prt_1 20230804:10:29:10:006831 gpexpand:mdw:gpadmin-[INFO]:-Finished expanding gpperfmon.gpmetrics.gpcc_plannode_history_1_prt_1 20230804:10:29:10:006831 gpexpand:mdw:gpadmin-[INFO]:-Expanding gpperfmon.gpmetrics.gpcc_wlm_rule 20230804:10:29:10:006831 gpexpand:mdw:gpadmin-[INFO]:-Finished expanding gpperfmon.gpmetrics.gpcc_wlm_rule 20230804:10:29:10:006831 gpexpand:mdw:gpadmin-[INFO]:-Expanding gpperfmon.gpmetrics.gpcc_export_log 20230804:10:29:11:006831 gpexpand:mdw:gpadmin-[INFO]:-Finished expanding gpperfmon.gpmetrics.gpcc_export_log 20230804:10:29:11:006831 gpexpand:mdw:gpadmin-[INFO]:-Expanding gpperfmon.gpmetrics.gpcc_table_info_history_1_prt_2 20230804:10:29:12:006831 gpexpand:mdw:gpadmin-[INFO]:-Finished expanding gpperfmon.gpmetrics.gpcc_table_info_history_1_prt_2 20230804:10:29:12:006831 gpexpand:mdw:gpadmin-[INFO]:-Expanding gpperfmon.gpmetrics.gpcc_database_history_1_prt_2 20230804:10:29:13:006831 gpexpand:mdw:gpadmin-[INFO]:-Finished expanding gpperfmon.gpmetrics.gpcc_database_history_1_prt_2 20230804:10:29:14:006831 gpexpand:mdw:gpadmin-[INFO]:-Expanding gpperfmon.gpmetrics.gpcc_index_info 20230804:10:29:14:006831 gpexpand:mdw:gpadmin-[INFO]:-Finished expanding gpperfmon.gpmetrics.gpcc_index_info 20230804:10:29:14:006831 gpexpand:mdw:gpadmin-[INFO]:-Expanding gpperfmon.gpmetrics.gpcc_queries_history_1_prt_1 20230804:10:29:14:006831 gpexpand:mdw:gpadmin-[INFO]:-Finished expanding gpperfmon.gpmetrics.gpcc_queries_history_1_prt_1 20230804:10:29:15:006831 gpexpand:mdw:gpadmin-[INFO]:-Expanding gpperfmon.gpmetrics.gpcc_pg_log_history_1_prt_d 20230804:10:29:15:006831 gpexpand:mdw:gpadmin-[INFO]:-Finished expanding gpperfmon.gpmetrics.gpcc_pg_log_history_1_prt_d 20230804:10:29:15:006831 gpexpand:mdw:gpadmin-[INFO]:-Expanding gpperfmon.gpmetrics._gpcc_pg_log_meta 20230804:10:29:15:006831 gpexpand:mdw:gpadmin-[INFO]:-Finished expanding gpperfmon.gpmetrics._gpcc_pg_log_meta 20230804:10:29:15:006831 gpexpand:mdw:gpadmin-[INFO]:-Expanding gpperfmon.gpmetrics.gpcc_wlm_log_history_1_prt_1 20230804:10:29:16:006831 gpexpand:mdw:gpadmin-[INFO]:-Finished expanding gpperfmon.gpmetrics.gpcc_wlm_log_history_1_prt_1 20230804:10:29:18:006831 gpexpand:mdw:gpadmin-[INFO]:-EXPANSION COMPLETED SUCCESSFULLY 20230804:10:29:18:006831 gpexpand:mdw:gpadmin-[INFO]:-Exiting... postgres=# select * from gpexpand.status order by updated; status | updated --------------------+---------------------------- SETUP | 2023-08-04 10:25:06.964362 SETUP DONE | 2023-08-04 10:25:15.087955 EXPANSION STARTED | 2023-08-04 10:28:12.485167 EXPANSION COMPLETE | 2023-08-04 10:29:18.085774 (4 rows) postgres=# select * from gpexpand.status_detail; table_oid | dbname | fq_name | root_partition_oid | rank | external_writable | status | expansion_started | expansion_finished | source_bytes | rel_storage -----------+-----------+-----------------------------------------------------+--------------------+------+-------------------+-----------+----------------------------+----------------------------+--------------+------------- 16564 | gpperfmon | gpmetrics.gpcc_system_history_1_prt_2 | 16543 | 2 | f | COMPLETED | 2023-08-04 10:28:23.187061 | 2023-08-04 10:28:37.891458 | 32364720 | c 16786 | gpperfmon | gpmetrics.gpcc_gpss_job | | 2 | f | COMPLETED | 2023-08-04 10:28:38.094259 | 2023-08-04 10:28:38.919908 | 0 | h 17010 | gpperfmon | gpmetrics.gpcc_alert_history_1_prt_2 | 16983 | 2 | f | COMPLETED | 2023-08-04 10:28:40.727947 | 2023-08-04 10:28:41.260582 | 1504 | c 21849 | gpperfmon | gpmetrics.gpcc_gpss_log_1_prt_r375469753 | 16809 | 2 | f | COMPLETED | 2023-08-04 10:28:47.823638 | 2023-08-04 10:28:48.013866 | 0 | c 16970 | gpperfmon | gpmetrics.gpcc_export_log | | 2 | f | COMPLETED | 2023-08-04 10:29:10.917185 | 2023-08-04 10:29:11.169412 | 0 | h 16897 | gpperfmon | gpmetrics.gpcc_table_info_history_1_prt_2 | 16874 | 2 | f | COMPLETED | 2023-08-04 10:29:11.329163 | 2023-08-04 10:29:12.270696 | 39528 | c 16596 | gpperfmon | gpmetrics.gpcc_database_history_1_prt_2 | 16575 | 2 | f | COMPLETED | 2023-08-04 10:29:12.412062 | 2023-08-04 10:29:13.940372 | 5225048 | c 16921 | gpperfmon | gpmetrics.gpcc_index_info | | 2 | f | COMPLETED | 2023-08-04 10:29:14.096283 | 2023-08-04 10:29:14.229059 | 0 | h 21792 | gpperfmon | gpmetrics.gpcc_plannode_history_1_prt_r1322840140 | 16498 | 2 | f | COMPLETED | 2023-08-04 10:28:48.150489 | 2023-08-04 10:28:48.358202 | 0 | c 21836 | gpperfmon | gpmetrics.gpcc_wlm_log_history_1_prt_r449947078 | 16944 | 2 | f | COMPLETED | 2023-08-04 10:28:57.675189 | 2023-08-04 10:28:57.867682 | 0 | c 16634 | gpperfmon | gpmetrics.gpcc_disk_history_1_prt_2 | 16607 | 2 | f | COMPLETED | 2023-08-04 10:28:58.013916 | 2023-08-04 10:29:05.011559 | 3260448 | c 16521 | gpperfmon | gpmetrics.gpcc_plannode_history_1_prt_2 | 16498 | 2 | f | COMPLETED | 2023-08-04 10:29:05.193663 | 2023-08-04 10:29:06.503838 | 82136 | c 16435 | gpperfmon | gpmetrics.gpcc_queries_history_1_prt_1 | 16406 | 2 | f | COMPLETED | 2023-08-04 10:29:14.389449 | 2023-08-04 10:29:14.879062 | 0 | c 21818 | gpperfmon | gpmetrics.gpcc_pg_log_history_1_prt_d | 16732 | 2 | f | COMPLETED | 2023-08-04 10:29:15.047124 | 2023-08-04 10:29:15.222375 | 0 | h 16767 | gpperfmon | gpmetrics._gpcc_pg_log_meta | | 2 | f | COMPLETED | 2023-08-04 10:29:15.375953 | 2023-08-04 10:29:15.649778 | 294912 | h 21811 | gpperfmon | gpmetrics.gpcc_pg_log_history_1_prt_t1690873835 | 16732 | 2 | f | COMPLETED | 2023-08-04 10:29:08.369013 | 2023-08-04 10:29:08.555015 | 0 | h 16884 | gpperfmon | gpmetrics.gpcc_table_info_history_1_prt_1 | 16874 | 2 | f | COMPLETED | 2023-08-04 10:28:41.393575 | 2023-08-04 10:28:42.05978 | 0 | c 16916 | gpperfmon | gpmetrics.gpcc_scan_history | | 2 | f | COMPLETED | 2023-08-04 10:28:42.200156 | 2023-08-04 10:28:42.361274 | 0 | h 16951 | gpperfmon | gpmetrics.gpcc_wlm_log_history_1_prt_1 | 16944 | 2 | f | COMPLETED | 2023-08-04 10:29:15.808295 | 2023-08-04 10:29:16.112788 | 0 | h 16853 | gpperfmon | gpmetrics.gpcc_gpss_auth | | 2 | f | COMPLETED | 2023-08-04 10:28:53.459128 | 2023-08-04 10:28:53.728811 | 0 | h 16533 | gpperfmon | gpmetrics._gpcc_plannode_history | | 2 | f | COMPLETED | 2023-08-04 10:28:53.870626 | 2023-08-04 10:28:54.067621 | 0 | a 21712 | gpperfmon | gpmetrics.gpcc_system_history_1_prt_r301861594 | 16543 | 2 | f | COMPLETED | 2023-08-04 10:28:54.222495 | 2023-08-04 10:28:54.382573 | 0 | c 16838 | gpperfmon | gpmetrics.gpcc_gpss_log_1_prt_2 | 16809 | 2 | f | COMPLETED | 2023-08-04 10:28:54.521126 | 2023-08-04 10:28:54.835193 | 0 | c 16619 | gpperfmon | gpmetrics.gpcc_disk_history_1_prt_1 | 16607 | 2 | f | COMPLETED | 2023-08-04 10:28:55.016418 | 2023-08-04 10:28:56.453087 | 362184 | c 17057 | gpperfmon | gpmetrics.gpcc_department | | 2 | f | COMPLETED | 2023-08-04 10:28:56.601945 | 2023-08-04 10:28:56.893118 | 0 | h 17063 | gpperfmon | gpmetrics.gpcc_role_department | | 2 | f | COMPLETED | 2023-08-04 10:28:57.035856 | 2023-08-04 10:28:57.21893 | 0 | h 16659 | gpperfmon | gpmetrics.gpcc_resgroup_history_1_prt_1 | 16648 | 2 | f | COMPLETED | 2023-08-04 10:28:48.503469 | 2023-08-04 10:28:48.822126 | 0 | c 16552 | gpperfmon | gpmetrics.gpcc_system_history_1_prt_1 | 16543 | 2 | f | COMPLETED | 2023-08-04 10:28:49.013466 | 2023-08-04 10:28:50.99364 | 3554024 | c 16995 | gpperfmon | gpmetrics.gpcc_alert_history_1_prt_1 | 16983 | 2 | f | COMPLETED | 2023-08-04 10:28:51.144063 | 2023-08-04 10:28:51.69817 | 3096 | c 16822 | gpperfmon | gpmetrics.gpcc_gpss_log_1_prt_1 | 16809 | 2 | f | COMPLETED | 2023-08-04 10:28:51.855449 | 2023-08-04 10:28:52.387148 | 0 | c 21737 | gpperfmon | gpmetrics.gpcc_database_history_1_prt_r326457455 | 16575 | 2 | f | COMPLETED | 2023-08-04 10:28:57.362317 | 2023-08-04 10:28:57.513965 | 0 | c 16742 | gpperfmon | gpmetrics.gpcc_pg_log_history_1_prt_1 | 16732 | 2 | f | COMPLETED | 2023-08-04 10:29:08.722627 | 2023-08-04 10:29:09.751904 | 31240 | c 16508 | gpperfmon | gpmetrics.gpcc_plannode_history_1_prt_1 | 16498 | 2 | f | COMPLETED | 2023-08-04 10:29:09.924972 | 2023-08-04 10:29:10.356114 | 0 | c 16930 | gpperfmon | gpmetrics.gpcc_wlm_rule | | 2 | f | COMPLETED | 2023-08-04 10:29:10.518784 | 2023-08-04 10:29:10.7732 | 0 | h 21748 | gpperfmon | gpmetrics.gpcc_resgroup_history_1_prt_r1545709579 | 16648 | 2 | f | COMPLETED | 2023-08-04 10:28:44.379244 | 2023-08-04 10:28:45.049824 | 0 | c 16467 | gpperfmon | gpmetrics.gpcc_queries_history_1_prt_2 | 16406 | 2 | f | COMPLETED | 2023-08-04 10:28:45.24208 | 2023-08-04 10:28:47.306411 | 141760 | c 16859 | gpperfmon | gpmetrics.gpcc_table_info | | 2 | f | COMPLETED | 2023-08-04 10:28:47.49979 | 2023-08-04 10:28:47.681369 | 524288 | h 16960 | gpperfmon | gpmetrics.gpcc_wlm_log_history_1_prt_2 | 16944 | 2 | f | COMPLETED | 2023-08-04 10:28:42.510222 | 2023-08-04 10:28:44.226083 | 0 | h 21723 | gpperfmon | gpmetrics.gpcc_disk_history_1_prt_r50662390 | 16607 | 2 | f | COMPLETED | 2023-08-04 10:28:39.077033 | 2023-08-04 10:28:39.330448 | 0 | c 16755 | gpperfmon | gpmetrics.gpcc_pg_log_history_1_prt_2 | 16732 | 2 | f | COMPLETED | 2023-08-04 10:28:39.482961 | 2023-08-04 10:28:40.592624 | 16912 | c 21761 | gpperfmon | gpmetrics.gpcc_queries_history_1_prt_r1318211463 | 16406 | 2 | f | COMPLETED | 2023-08-04 10:29:06.657363 | 2023-08-04 10:29:06.915917 | 0 | c 16673 | gpperfmon | gpmetrics.gpcc_resgroup_history_1_prt_2 | 16648 | 2 | f | COMPLETED | 2023-08-04 10:29:07.052354 | 2023-08-04 10:29:07.333202 | 0 | c 21824 | gpperfmon | gpmetrics.gpcc_table_info_history_1_prt_r2090115604 | 16874 | 2 | f | COMPLETED | 2023-08-04 10:29:07.501158 | 2023-08-04 10:29:07.770755 | 0 | c 16909 | gpperfmon | gpmetrics.gpcc_schedule | | 2 | f | COMPLETED | 2023-08-04 10:29:07.932883 | 2023-08-04 10:29:08.184111 | 0 | h 16584 | gpperfmon | gpmetrics.gpcc_database_history_1_prt_1 | 16575 | 2 | f | COMPLETED | 2023-08-04 10:28:52.568874 | 2023-08-04 10:28:53.043824 | 575560 | c 17350 | gpperfmon | gpcc_schema.pghba_lock | | 2 | f | COMPLETED | 2023-08-04 10:28:53.194321 | 2023-08-04 10:28:53.316142 | 0 | h (46 rows) [gpadmin@mdw ~]$ psql psql (9.4.26) Type "help" for help. postgres=# select * from gpexpand.expansion_progress; name | value ------------------------------+------------------------ Estimated Time to Completion | Bytes Done | 46477360 Estimated Expansion Rate | 0.821950245128215 MB/s Tables Expanded | 46 (4 rows) postgres=# \q [gpadmin@mdw ~]$ [gpadmin@mdw ~]$ [gpadmin@mdw ~]$ [gpadmin@mdw ~]$ gpstate -x 20230804:10:30:50:007286 gpstate:mdw:gpadmin-[INFO]:-Starting gpstate with args: -x 20230804:10:30:50:007286 gpstate:mdw:gpadmin-[INFO]:-local Greenplum Version: 'postgres (Greenplum Database) 6.25.1 build commit:337d85331f0330dea32d229f450da438d5e948f6 Open Source' 20230804:10:30:50:007286 gpstate:mdw:gpadmin-[INFO]:-master Greenplum Version: 'PostgreSQL 9.4.26 (Greenplum Database 6.25.1 build commit:337d85331f0330dea32d229f450da438d5e948f6 Open Source) on x86_64-unknown-linux-gnu, compiled by gcc (GCC) 6.4.0, 64-bit compiled on Jul 19 2023 22:02:50' 20230804:10:30:50:007286 gpstate:mdw:gpadmin-[INFO]:-Obtaining Segment details from master... 20230804:10:30:51:007286 gpstate:mdw:gpadmin-[INFO]:-Cluster Expansion State = Expansion Complete [gpadmin@mdw ~]$ [gpadmin@mdw soft]$ gpexpand -c 20230804:10:31:13:007331 gpexpand:mdw:gpadmin-[INFO]:-local Greenplum Version: 'postgres (Greenplum Database) 6.25.1 build commit:337d85331f0330dea32d229f450da438d5e948f6 Open Source' 20230804:10:31:13:007331 gpexpand:mdw:gpadmin-[INFO]:-master Greenplum Version: 'PostgreSQL 9.4.26 (Greenplum Database 6.25.1 build commit:337d85331f0330dea32d229f450da438d5e948f6 Open Source) on x86_64-unknown-linux-gnu, compiled by gcc (GCC) 6.4.0, 64-bit compiled on Jul 19 2023 22:02:50' 20230804:10:31:13:007331 gpexpand:mdw:gpadmin-[INFO]:-Querying gpexpand schema for current expansion state Do you want to dump the gpexpand.status_detail table to file? Yy|Nn (default=Y): > y 20230804:10:31:15:007331 gpexpand:mdw:gpadmin-[INFO]:-Dumping gpexpand.status_detail to /opt/greenplum/data/master/gpseg-1/gpexpand.status_detail 20230804:10:31:15:007331 gpexpand:mdw:gpadmin-[INFO]:-Removing gpexpand schema 20230804:10:31:16:007331 gpexpand:mdw:gpadmin-[INFO]:-Cleanup Finished. exiting... |
扩容后检查
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 | [gpadmin@mdw soft]$ gpstate 20230804:10:33:08:007455 gpstate:mdw:gpadmin-[INFO]:-Starting gpstate with args: 20230804:10:33:08:007455 gpstate:mdw:gpadmin-[INFO]:-local Greenplum Version: 'postgres (Greenplum Database) 6.25.1 build commit:337d85331f0330dea32d229f450da438d5e948f6 Open Source' 20230804:10:33:08:007455 gpstate:mdw:gpadmin-[INFO]:-master Greenplum Version: 'PostgreSQL 9.4.26 (Greenplum Database 6.25.1 build commit:337d85331f0330dea32d229f450da438d5e948f6 Open Source) on x86_64-unknown-linux-gnu, compiled by gcc (GCC) 6.4.0, 64-bit compiled on Jul 19 2023 22:02:50' 20230804:10:33:08:007455 gpstate:mdw:gpadmin-[INFO]:-Obtaining Segment details from master... 20230804:10:33:08:007455 gpstate:mdw:gpadmin-[INFO]:-Gathering data from segments... 20230804:10:33:09:007455 gpstate:mdw:gpadmin-[INFO]:-Greenplum instance status summary 20230804:10:33:09:007455 gpstate:mdw:gpadmin-[INFO]:----------------------------------------------------- 20230804:10:33:09:007455 gpstate:mdw:gpadmin-[INFO]:- Master instance = Active 20230804:10:33:09:007455 gpstate:mdw:gpadmin-[INFO]:- Master standby = smdw 20230804:10:33:09:007455 gpstate:mdw:gpadmin-[INFO]:- Standby master state = Standby host passive 20230804:10:33:09:007455 gpstate:mdw:gpadmin-[INFO]:- Total segment instance count from metadata = 48 20230804:10:33:09:007455 gpstate:mdw:gpadmin-[INFO]:----------------------------------------------------- 20230804:10:33:09:007455 gpstate:mdw:gpadmin-[INFO]:- Primary Segment Status 20230804:10:33:09:007455 gpstate:mdw:gpadmin-[INFO]:----------------------------------------------------- 20230804:10:33:09:007455 gpstate:mdw:gpadmin-[INFO]:- Total primary segments = 24 20230804:10:33:09:007455 gpstate:mdw:gpadmin-[INFO]:- Total primary segment valid (at master) = 24 20230804:10:33:09:007455 gpstate:mdw:gpadmin-[INFO]:- Total primary segment failures (at master) = 0 20230804:10:33:09:007455 gpstate:mdw:gpadmin-[INFO]:- Total number of postmaster.pid files missing = 0 20230804:10:33:09:007455 gpstate:mdw:gpadmin-[INFO]:- Total number of postmaster.pid files found = 24 20230804:10:33:09:007455 gpstate:mdw:gpadmin-[INFO]:- Total number of postmaster.pid PIDs missing = 0 20230804:10:33:09:007455 gpstate:mdw:gpadmin-[INFO]:- Total number of postmaster.pid PIDs found = 24 20230804:10:33:09:007455 gpstate:mdw:gpadmin-[INFO]:- Total number of /tmp lock files missing = 0 20230804:10:33:09:007455 gpstate:mdw:gpadmin-[INFO]:- Total number of /tmp lock files found = 24 20230804:10:33:09:007455 gpstate:mdw:gpadmin-[INFO]:- Total number postmaster processes missing = 0 20230804:10:33:09:007455 gpstate:mdw:gpadmin-[INFO]:- Total number postmaster processes found = 24 20230804:10:33:09:007455 gpstate:mdw:gpadmin-[INFO]:----------------------------------------------------- 20230804:10:33:09:007455 gpstate:mdw:gpadmin-[INFO]:- Mirror Segment Status 20230804:10:33:09:007455 gpstate:mdw:gpadmin-[INFO]:----------------------------------------------------- 20230804:10:33:09:007455 gpstate:mdw:gpadmin-[INFO]:- Total mirror segments = 24 20230804:10:33:09:007455 gpstate:mdw:gpadmin-[INFO]:- Total mirror segment valid (at master) = 24 20230804:10:33:09:007455 gpstate:mdw:gpadmin-[INFO]:- Total mirror segment failures (at master) = 0 20230804:10:33:09:007455 gpstate:mdw:gpadmin-[INFO]:- Total number of postmaster.pid files missing = 0 20230804:10:33:09:007455 gpstate:mdw:gpadmin-[INFO]:- Total number of postmaster.pid files found = 24 20230804:10:33:09:007455 gpstate:mdw:gpadmin-[INFO]:- Total number of postmaster.pid PIDs missing = 0 20230804:10:33:09:007455 gpstate:mdw:gpadmin-[INFO]:- Total number of postmaster.pid PIDs found = 24 20230804:10:33:09:007455 gpstate:mdw:gpadmin-[INFO]:- Total number of /tmp lock files missing = 0 20230804:10:33:09:007455 gpstate:mdw:gpadmin-[INFO]:- Total number of /tmp lock files found = 24 20230804:10:33:09:007455 gpstate:mdw:gpadmin-[INFO]:- Total number postmaster processes missing = 0 20230804:10:33:09:007455 gpstate:mdw:gpadmin-[INFO]:- Total number postmaster processes found = 24 20230804:10:33:09:007455 gpstate:mdw:gpadmin-[INFO]:- Total number mirror segments acting as primary segments = 0 20230804:10:33:09:007455 gpstate:mdw:gpadmin-[INFO]:- Total number mirror segments acting as mirror segments = 24 20230804:10:33:09:007455 gpstate:mdw:gpadmin-[INFO]:----------------------------------------------------- [gpadmin@mdw soft]$ gpstate -m 20230804:10:33:12:007532 gpstate:mdw:gpadmin-[INFO]:-Starting gpstate with args: -m 20230804:10:33:12:007532 gpstate:mdw:gpadmin-[INFO]:-local Greenplum Version: 'postgres (Greenplum Database) 6.25.1 build commit:337d85331f0330dea32d229f450da438d5e948f6 Open Source' 20230804:10:33:12:007532 gpstate:mdw:gpadmin-[INFO]:-master Greenplum Version: 'PostgreSQL 9.4.26 (Greenplum Database 6.25.1 build commit:337d85331f0330dea32d229f450da438d5e948f6 Open Source) on x86_64-unknown-linux-gnu, compiled by gcc (GCC) 6.4.0, 64-bit compiled on Jul 19 2023 22:02:50' 20230804:10:33:12:007532 gpstate:mdw:gpadmin-[INFO]:-Obtaining Segment details from master... 20230804:10:33:12:007532 gpstate:mdw:gpadmin-[INFO]:-------------------------------------------------------------- 20230804:10:33:12:007532 gpstate:mdw:gpadmin-[INFO]:--Current GPDB mirror list and status 20230804:10:33:12:007532 gpstate:mdw:gpadmin-[INFO]:--Type = Group 20230804:10:33:12:007532 gpstate:mdw:gpadmin-[INFO]:-------------------------------------------------------------- 20230804:10:33:12:007532 gpstate:mdw:gpadmin-[INFO]:- Mirror Datadir Port Status Data Status 20230804:10:33:12:007532 gpstate:mdw:gpadmin-[INFO]:- sdw2 /opt/greenplum/data/mirror/gpseg0 7000 Passive Synchronized 20230804:10:33:12:007532 gpstate:mdw:gpadmin-[INFO]:- sdw2 /opt/greenplum/data/mirror/gpseg1 7001 Passive Synchronized 20230804:10:33:12:007532 gpstate:mdw:gpadmin-[INFO]:- sdw2 /opt/greenplum/data/mirror/gpseg2 7002 Passive Synchronized 20230804:10:33:12:007532 gpstate:mdw:gpadmin-[INFO]:- sdw2 /opt/greenplum/data/mirror/gpseg3 7003 Passive Synchronized 20230804:10:33:12:007532 gpstate:mdw:gpadmin-[INFO]:- sdw3 /opt/greenplum/data/mirror/gpseg4 7000 Passive Synchronized 20230804:10:33:12:007532 gpstate:mdw:gpadmin-[INFO]:- sdw3 /opt/greenplum/data/mirror/gpseg5 7001 Passive Synchronized 20230804:10:33:12:007532 gpstate:mdw:gpadmin-[INFO]:- sdw3 /opt/greenplum/data/mirror/gpseg6 7002 Passive Synchronized 20230804:10:33:12:007532 gpstate:mdw:gpadmin-[INFO]:- sdw3 /opt/greenplum/data/mirror/gpseg7 7003 Passive Synchronized 20230804:10:33:12:007532 gpstate:mdw:gpadmin-[INFO]:- sdw4 /opt/greenplum/data/mirror/gpseg8 7000 Passive Synchronized 20230804:10:33:12:007532 gpstate:mdw:gpadmin-[INFO]:- sdw4 /opt/greenplum/data/mirror/gpseg9 7001 Passive Synchronized 20230804:10:33:12:007532 gpstate:mdw:gpadmin-[INFO]:- sdw4 /opt/greenplum/data/mirror/gpseg10 7002 Passive Synchronized 20230804:10:33:12:007532 gpstate:mdw:gpadmin-[INFO]:- sdw4 /opt/greenplum/data/mirror/gpseg11 7003 Passive Synchronized 20230804:10:33:12:007532 gpstate:mdw:gpadmin-[INFO]:- sdw1 /opt/greenplum/data/mirror/gpseg12 7000 Passive Synchronized 20230804:10:33:12:007532 gpstate:mdw:gpadmin-[INFO]:- sdw1 /opt/greenplum/data/mirror/gpseg13 7001 Passive Synchronized 20230804:10:33:12:007532 gpstate:mdw:gpadmin-[INFO]:- sdw1 /opt/greenplum/data/mirror/gpseg14 7002 Passive Synchronized 20230804:10:33:12:007532 gpstate:mdw:gpadmin-[INFO]:- sdw1 /opt/greenplum/data/mirror/gpseg15 7003 Passive Synchronized 20230804:10:33:12:007532 gpstate:mdw:gpadmin-[INFO]:- sdw6 /opt/greenplum/data/mirror/gpseg16 7000 Passive Synchronized 20230804:10:33:12:007532 gpstate:mdw:gpadmin-[INFO]:- sdw6 /opt/greenplum/data/mirror/gpseg17 7001 Passive Synchronized 20230804:10:33:12:007532 gpstate:mdw:gpadmin-[INFO]:- sdw6 /opt/greenplum/data/mirror/gpseg18 7002 Passive Synchronized 20230804:10:33:12:007532 gpstate:mdw:gpadmin-[INFO]:- sdw6 /opt/greenplum/data/mirror/gpseg19 7003 Passive Synchronized 20230804:10:33:12:007532 gpstate:mdw:gpadmin-[INFO]:- sdw5 /opt/greenplum/data/mirror/gpseg20 7000 Passive Synchronized 20230804:10:33:12:007532 gpstate:mdw:gpadmin-[INFO]:- sdw5 /opt/greenplum/data/mirror/gpseg21 7001 Passive Synchronized 20230804:10:33:12:007532 gpstate:mdw:gpadmin-[INFO]:- sdw5 /opt/greenplum/data/mirror/gpseg22 7002 Passive Synchronized 20230804:10:33:12:007532 gpstate:mdw:gpadmin-[INFO]:- sdw5 /opt/greenplum/data/mirror/gpseg23 7003 Passive Synchronized 20230804:10:33:12:007532 gpstate:mdw:gpadmin-[INFO]:-------------------------------------------------------------- [gpadmin@mdw soft]$ psql psql (9.4.26) Type "help" for help. postgres=# select * from gp_segment_configuration order by 8,4; dbid | content | role | preferred_role | mode | status | port | hostname | address | datadir ------+---------+------+----------------+------+--------+------+----------+---------+------------------------------------- 1 | -1 | p | p | n | u | 5432 | mdw | mdw | /opt/greenplum/data/master/gpseg-1 31 | 13 | m | m | s | u | 7001 | sdw1 | sdw1 | /opt/greenplum/data/mirror/gpseg13 32 | 14 | m | m | s | u | 7002 | sdw1 | sdw1 | /opt/greenplum/data/mirror/gpseg14 33 | 15 | m | m | s | u | 7003 | sdw1 | sdw1 | /opt/greenplum/data/mirror/gpseg15 30 | 12 | m | m | s | u | 7000 | sdw1 | sdw1 | /opt/greenplum/data/mirror/gpseg12 5 | 3 | p | p | s | u | 6003 | sdw1 | sdw1 | /opt/greenplum/data/primary/gpseg3 2 | 0 | p | p | s | u | 6000 | sdw1 | sdw1 | /opt/greenplum/data/primary/gpseg0 4 | 2 | p | p | s | u | 6002 | sdw1 | sdw1 | /opt/greenplum/data/primary/gpseg2 3 | 1 | p | p | s | u | 6001 | sdw1 | sdw1 | /opt/greenplum/data/primary/gpseg1 18 | 0 | m | m | s | u | 7000 | sdw2 | sdw2 | /opt/greenplum/data/mirror/gpseg0 21 | 3 | m | m | s | u | 7003 | sdw2 | sdw2 | /opt/greenplum/data/mirror/gpseg3 20 | 2 | m | m | s | u | 7002 | sdw2 | sdw2 | /opt/greenplum/data/mirror/gpseg2 19 | 1 | m | m | s | u | 7001 | sdw2 | sdw2 | /opt/greenplum/data/mirror/gpseg1 7 | 5 | p | p | s | u | 6001 | sdw2 | sdw2 | /opt/greenplum/data/primary/gpseg5 8 | 6 | p | p | s | u | 6002 | sdw2 | sdw2 | /opt/greenplum/data/primary/gpseg6 6 | 4 | p | p | s | u | 6000 | sdw2 | sdw2 | /opt/greenplum/data/primary/gpseg4 9 | 7 | p | p | s | u | 6003 | sdw2 | sdw2 | /opt/greenplum/data/primary/gpseg7 23 | 5 | m | m | s | u | 7001 | sdw3 | sdw3 | /opt/greenplum/data/mirror/gpseg5 25 | 7 | m | m | s | u | 7003 | sdw3 | sdw3 | /opt/greenplum/data/mirror/gpseg7 22 | 4 | m | m | s | u | 7000 | sdw3 | sdw3 | /opt/greenplum/data/mirror/gpseg4 24 | 6 | m | m | s | u | 7002 | sdw3 | sdw3 | /opt/greenplum/data/mirror/gpseg6 10 | 8 | p | p | s | u | 6000 | sdw3 | sdw3 | /opt/greenplum/data/primary/gpseg8 12 | 10 | p | p | s | u | 6002 | sdw3 | sdw3 | /opt/greenplum/data/primary/gpseg10 11 | 9 | p | p | s | u | 6001 | sdw3 | sdw3 | /opt/greenplum/data/primary/gpseg9 13 | 11 | p | p | s | u | 6003 | sdw3 | sdw3 | /opt/greenplum/data/primary/gpseg11 28 | 10 | m | m | s | u | 7002 | sdw4 | sdw4 | /opt/greenplum/data/mirror/gpseg10 27 | 9 | m | m | s | u | 7001 | sdw4 | sdw4 | /opt/greenplum/data/mirror/gpseg9 29 | 11 | m | m | s | u | 7003 | sdw4 | sdw4 | /opt/greenplum/data/mirror/gpseg11 26 | 8 | m | m | s | u | 7000 | sdw4 | sdw4 | /opt/greenplum/data/mirror/gpseg8 14 | 12 | p | p | s | u | 6000 | sdw4 | sdw4 | /opt/greenplum/data/primary/gpseg12 15 | 13 | p | p | s | u | 6001 | sdw4 | sdw4 | /opt/greenplum/data/primary/gpseg13 16 | 14 | p | p | s | u | 6002 | sdw4 | sdw4 | /opt/greenplum/data/primary/gpseg14 17 | 15 | p | p | s | u | 6003 | sdw4 | sdw4 | /opt/greenplum/data/primary/gpseg15 46 | 23 | m | m | s | u | 7003 | sdw5 | sdw5 | /opt/greenplum/data/mirror/gpseg23 43 | 20 | m | m | s | u | 7000 | sdw5 | sdw5 | /opt/greenplum/data/mirror/gpseg20 44 | 21 | m | m | s | u | 7001 | sdw5 | sdw5 | /opt/greenplum/data/mirror/gpseg21 45 | 22 | m | m | s | u | 7002 | sdw5 | sdw5 | /opt/greenplum/data/mirror/gpseg22 38 | 19 | p | p | s | u | 6003 | sdw5 | sdw5 | /opt/greenplum/data/primary/gpseg19 36 | 17 | p | p | s | u | 6001 | sdw5 | sdw5 | /opt/greenplum/data/primary/gpseg17 35 | 16 | p | p | s | u | 6000 | sdw5 | sdw5 | /opt/greenplum/data/primary/gpseg16 37 | 18 | p | p | s | u | 6002 | sdw5 | sdw5 | /opt/greenplum/data/primary/gpseg18 47 | 16 | m | m | s | u | 7000 | sdw6 | sdw6 | /opt/greenplum/data/mirror/gpseg16 50 | 19 | m | m | s | u | 7003 | sdw6 | sdw6 | /opt/greenplum/data/mirror/gpseg19 49 | 18 | m | m | s | u | 7002 | sdw6 | sdw6 | /opt/greenplum/data/mirror/gpseg18 48 | 17 | m | m | s | u | 7001 | sdw6 | sdw6 | /opt/greenplum/data/mirror/gpseg17 42 | 23 | p | p | s | u | 6003 | sdw6 | sdw6 | /opt/greenplum/data/primary/gpseg23 40 | 21 | p | p | s | u | 6001 | sdw6 | sdw6 | /opt/greenplum/data/primary/gpseg21 39 | 20 | p | p | s | u | 6000 | sdw6 | sdw6 | /opt/greenplum/data/primary/gpseg20 41 | 22 | p | p | s | u | 6002 | sdw6 | sdw6 | /opt/greenplum/data/primary/gpseg22 34 | -1 | m | m | s | u | 5432 | smdw | smdw | /opt/greenplum/data/master/gpseg-1 (50 rows) |
纵向扩容(增加PG实例数)
相当于集群机器保持原样,通过更改配置,利用cpu核数增加存储数。
最后效果就是每个单机存储节点上的seg目录增加了,每台节点增加了PG的实例个数。
纵向扩容后的结构图: