You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
我的项目部署在docker中,当我使用jdbc:mysql连接doris查询3000W行数据的时候,内存消耗过大OOM,导致项目自动重启了,我的连接信息是
My project is deployed in Docker. When I used JDBC :mysql to connect Doris to query 3000W rows of data, the memory consumption was too large, causing the project to restart automatically. My connection information is jdbc:mysql://$host:$port/$database?zeroDateTimeBehavior=convertToNull&tinyInt1isBit=false&useUnicode=true&characterEncoding=UTF8&useCursorFetch=true
并且设置了FetchSize val settings = new Settings().withParamType(ParamType.INLINED).withFetchSize(500).withStatementType(StatementType.STATIC_STATEMENT)
我也尝试把FetchSize设置为Integer.MIN_VALUE,但是还是出现了OOM
驱动的版本是mysql-connector-java-5.1.47.jar
As far as I know, this problem was fixed in version 0.14.0
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
我的项目部署在docker中,当我使用jdbc:mysql连接doris查询3000W行数据的时候,内存消耗过大OOM,导致项目自动重启了,我的连接信息是
My project is deployed in Docker. When I used JDBC :mysql to connect Doris to query 3000W rows of data, the memory consumption was too large, causing the project to restart automatically. My connection information is
jdbc:mysql://$host:$port/$database?zeroDateTimeBehavior=convertToNull&tinyInt1isBit=false&useUnicode=true&characterEncoding=UTF8&useCursorFetch=true
并且设置了FetchSize
val settings = new Settings().withParamType(ParamType.INLINED).withFetchSize(500).withStatementType(StatementType.STATIC_STATEMENT)
我也尝试把FetchSize设置为Integer.MIN_VALUE,但是还是出现了OOM
驱动的版本是
mysql-connector-java-5.1.47.jar
As far as I know, this problem was fixed in version 0.14.0
Beta Was this translation helpful? Give feedback.
All reactions