We have more than 8500 indexes , > 1000 tables, many partition tables too ; it’s safe to update pg_index set indisready=false and indisvisilbe=false , then reindexdb with parallel ? reindex parallel got done by multiple sessions , each
session reindex one index at the same time , reindex the one index done in serial instead of parallel ?
Compared with “set max_maintain_parallel_workers, and run CREATE INDEX …” , which is faster ?
Thanks, From: Vitalii Tymchyshyn <vit@xxxxxx> I believe you should be able to use reindexdb with parallel jobs: It will still create multiple connections, but you won't need to run multiple commands. чт, 16 черв. 2022 р. о 22:34 James Pang (chaolpan) <chaolpan@xxxxxxxxx> пише:
|