zoukankan      html  css  js  c++  java
  • vertica 设置最大会话数

    默认会话数最大值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')

  • 相关阅读:
    luogu4781
    luogu 4933
    luogu p1726
    bzoj2238
    luogu 1462 通往奥格瑞玛的道路
    noip.ac 3276 矩阵
    luogu1144
    noip.ac 3248
    奶牛比赛
    小P的Civilization V
  • 原文地址:https://www.cnblogs.com/lavezhang/p/11215384.html
Copyright © 2011-2022 走看看