Hibernate Slow to Acquire Postgres Connection

前端 未结 6 1658
渐次进展
渐次进展 2020-11-30 20:39

I\'m having a really difficult time debugging this problem. Whenever I try to establish a connection with postgres, it takes a whole minute. After the connection is establis

6条回答
  •  旧巷少年郎
    2020-11-30 21:23

    One postgresql server can contain multiple databases. Unfortunatelly you can not hide other-database metadatas to one connection, thats why the metadata-reading takes long time by the jdbc-driver!

    Seperate theese databases into different postgres-servers and the performance of metadata-reading will be increased!

    Read how to seperate on centos.

提交回复
热议问题