默认会话数最大值55,如果超过了,就会报如下错误:
com.vertica.support.exceptions.NonTransientConnectionException: [Vertica][VJDBC](4060) FATAL: New session rejected due to limit, already 55 sessions active
查看最大会话数:
SELECT GET_CONFIG_PARAMETER (‘MaxClientSessions‘);
设置最大会话数:
SELECT SET_CONFIG_PARAMETER (‘MaxClientSessions‘, 100);
查看当前值正在执行的会话:
select * from query_requests where is_executing=‘true‘
根据session_id关闭指定会话:
select CLOSE_SESSION ( ‘verdb-1091.eastmone-143932:0x35909‘)
原文地址:https://www.cnblogs.com/lavezhang/p/11215384.html
时间: 2024-10-17 15:14:02