PostgreSQL loread性能

PostgreSQL loread性能,postgresql,Postgresql,我在postgresql日志文件中有很多行,比如: 2020-02-19 17:46:45 GMT DB_NAME LOG: duration: 7139.405 ms fastpath function call: "loread" (OID 954) 2020-02-19 18:04:09 GMT DB_NAME LOG: duration: 8420.889 ms fastpath function call: "loread" (OID 954) 2020-02-19 18:16

我在postgresql日志文件中有很多行,比如:

2020-02-19 17:46:45 GMT DB_NAME LOG:  duration: 7139.405 ms  fastpath function call: "loread" (OID 954)
2020-02-19 18:04:09 GMT DB_NAME LOG:  duration: 8420.889 ms  fastpath function call: "loread" (OID 954)
2020-02-19 18:16:43 GMT DB_NAME LOG:  duration: 6248.238 ms  fastpath function call: "loread" (OID 954)
2020-02-19 18:17:09 GMT DB_NAME LOG:  duration: 6127.259 ms  fastpath function call: "loread" (OID 954)
2020-02-19 18:28:27 GMT DB_NAME LOG:  duration: 6262.304 ms  fastpath function call: "loread" (OID 954)

是否有任何方法(如索引、集群等)可以加快获取大型对象(loread)的速度?在这种情况下,postgresql配置文件的一些提示

那个物体有多大?@jjanes不幸的是我不知道。没有具有loid 954的大型对象。典型大小-10-200kb.OID这里指的是系统目录中loread函数的OID,而不是正在读取的大对象的OID。你能使用系统工具(top、perf、strace)找到慢的步骤吗?几个文件,10、24、45MB