Hi,We are trying to reindex 600k tables in a single database of size 2.7TBusing reindexdb utility in a shell scriptreindexdb -v -d $dbname -h $hostname -U tkcsowner --concurrently -j $parallel -S $schemaour config is as belowname | setting--------------------------------+---------auto_explain.log_buffers | offautovacuum_work_mem | 524288dbms_pipe.total_message_buffer | 30dynamic_shared_memory_type | posixhash_mem_multiplier | 1logical_decoding_work_mem | 65536maintenance_work_mem | 2097152shared_buffers | 4194304shared_memory_type | mmaptemp_buffers | 1024wal_buffers | 2048work_mem | 16384Memory:free -htotal used free shared buff/cache availableMem: 125G 38G 1.1G 93M 85G 86GSwap: 74G 188M 74Gnproc16Initially it was processing 1000 tables per minute. Performance is gradually dropping and now after 24 hr it was processing 90 tables per minute.we see stats collector in top -c continuously activePID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND3730 ****** 20 0 520928 233844 1244 R 61.8 0.2 650:31.36 postgres: stats collectorpostgres=# SELECT date_trunc('second', current_timestamp - pg_postmaster_start_time()) as uptime;uptime----------------1 day 04:07:18top - 13:08:22 up 1 day, 5:45, 2 users, load average: 1.65, 1.65, 1.56Tasks: 303 total, 3 running, 300 sleeping, 0 stopped, 0 zombie%Cpu(s): 9.6 us, 3.4 sy, 0.0 ni, 86.8 id, 0.1 wa, 0.0 hi, 0.0 si, 0.0 stKiB Mem : 13185940+total, 992560 free, 40571300 used, 90295552 buff/cacheKiB Swap: 78643200 total, 78450376 free, 192820 used. 90327376 avail Memiostat -mxy 5Linux 3.10.0-1160.53.1.el7.x86_64 (***************************************) 05/31/2022 _x86_64_ (16 CPU)avg-cpu: %user %nice %system %iowait %steal %idle8.22 0.00 3.23 0.06 0.00 88.49Device: rrqm/s wrqm/s r/s w/s rMB/s wMB/s avgrq-sz avgqu-sz await r_await w_await svctm %utilsda 0.00 0.00 0.00 0.60 0.00 0.00 16.00 0.00 2.67 0.00 2.67 3.33 0.20sdb 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00sdc 0.00 0.00 0.00 26.80 0.00 0.16 11.94 0.01 0.37 0.00 0.37 0.69 1.86sde 0.00 0.00 3.80 26.80 0.04 0.43 31.27 0.03 0.96 0.63 1.01 0.40 1.22DB versionPostgreSQL 13.4Osbash-4.2$ cat /etc/redhat-releaseCentOS Linux release 7.9.2009 (Core)What could be the possible bottleneck ?Best RegardsPraneel