PostgreSQL 大量数据检索不出现结果

浪荡的码农 2014-09-26 07:51:43
我使用 hibernate 连接postgres 数据库,
当数据量比较大的时候,就不出现搜索的结果,这是为什么?
怎么解决?
mysql 没啥问题,但是当迁移到postgres 后上9000多的数据,就不会显示结果了
...全文
621 6 打赏 收藏 转发到动态 举报
写回复
用AI写文章
6 条回复
切换为时间正序
请发表友善的回复…
发表回复
浪荡的码农 2014-11-23
  • 打赏
  • 举报
回复
额,不是把jvm 内存变大可以解决的,变大可以暂时解决,但是无法根本解决原因. 是postgres 的运行机制的问题
Mortred_cp 2014-10-29
  • 打赏
  • 举报
回复
引用 4 楼 micropentium6 的回复:
it has nothing to do with the postgresql! It's your driver. Make sure you have the latest jdbc driver for PG! since you are a java developer, it's no need to remind you the way to deal with jvm heap. -Xms<size> set initial Java heap size -Xmx<size> set maximum Java heap size
英文玩的溜啊
  • 打赏
  • 举报
回复
it has nothing to do with the postgresql! It's your driver. Make sure you have the latest jdbc driver for PG! since you are a java developer, it's no need to remind you the way to deal with jvm heap. -Xms<size> set initial Java heap size -Xmx<size> set maximum Java heap size
huguangshanse00 2014-10-24
  • 打赏
  • 举报
回复
将JVM 内存设置大些试试
浪荡的码农 2014-10-21
  • 打赏
  • 举报
回复
日志就是jvm heap 的内存不够了
huguangshanse00 2014-10-10
  • 打赏
  • 举报
回复
请贴下相关操作说明或者相关日志信息。

954

社区成员

发帖
与我相关
我的任务
社区描述
PostgreSQL相关内容讨论
sql数据库数据库架构 技术论坛(原bbs)
社区管理员
  • PostgreSQL社区
  • yang_z_1
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧