gptransfer to perform sequential transferring of leaf partition tables when batch-size set to 1
gptransfer starts multiple threads in workerpool to transfer each source and destination pair, to ensure the order specified by user, batch-size should be set to 1. Partition table transfer uses dictionary as a map between source and destination pair, which will not follow the order of insertion. Since gpdb uses python 2.6 and the OrderedDict is only available from 2.7, so updated with a workaround using list. Authors: Pengcheng Tang, Lawrence Hamel
Showing
想要评论请 注册 或 登录