PXF FDW: Run Fragmenter call from master only
Currently, every segment node retrieves metadata about the list of fragments it's going to process. Then it filters out fragments assigned to that segment, and then it processes each fragment, one at a time. This operation can stress the external metadata servers when the Greenplum cluster is large, because every segment will connect at the same time to the external system to fetch metadata. An optimization was introduced in PXF to cache the metadata at the PXF Server level, when multiple segments were trying to access the same metadata, PXF would only issue 1 query to the external system. This helped improved the situation, but still, every segment host was getting the same metadata. In Foreign Data Wrappers, this metadata query can be done in a single place from master. And master can provide this information to the segments.
Showing
想要评论请 注册 或 登录