Ruby
China
Rails
PostgreSQL 频繁的插入操作,导致其它请求超时
Topics
招聘
Wiki
酷站
Gems
Sign Up
Sign In
Rails
PostgreSQL 频繁的插入操作,导致其它请求超时
liuminhan
·
March 31, 2020
· Last by
awking
replied at
March 31, 2020
· 2590 hits
rails 应用,有一个异步任务,大批量插入数据,结果导致了其它的查询请求都超时了。这是数据库的连接池的设置问题,还是服务器的并发问题?
awking
#0
March 31, 2020
请查看 pg 的报错信息,看看具体的错误的原因
You need to
Sign in
before reply, if you don't have an account, please
Sign up
first.
刘艾伦
@liuminhan
Total
1
replies
New Reply comming, click to load.