【发布时间】:2014-12-15 22:03:53
【问题描述】:
在 Mahout 0.9 中使用 PostgreSQL 作为数据源,我不断得到
WARN org.apache.mahout.cf.taste.impl.model.jdbc.AbstractJDBCDataModel - You are not using ConnectionPoolDataSource. Make sure your DataSource pools connections to the database itself, or database performance will be severely reduced.
警告。
这是真的 - 每个请求都会不断打开新的连接。
有什么方法可以将PGConnectionPoolDataSource 用于PostgreSQLBooleanPrefJDBCDataModel?
(目前我有no constructorfor arguments n Java::OrgApacheMahoutCfTasteImplModelJdbc::PostgreSQLBooleanPrefJDBCDataModel错误)
【问题讨论】:
标签: connection-pooling mahout pg-jdbc