dblink
是一个支持在一个数据库会话中连接到其他PostgreSQL数据库的模块。
dblink
can report the following wait events under the wait
event type Extension
.
DblinkConnect
正在等待与远程服务器建立连接。
DblinkGetConnect
等待建立与远程服务器的连接时,发现该服务器不在已打开连接的列表中。
DblinkGetResult
正在等待从远程服务器接收查询结果。
还可以看看postgres_fdw,它以一种更现代和更加兼容标准的架构提供了相同的功能。