How we can check idle session in vertica?

hsaxena20hsaxena20 Community Edition User

In my environment there are too many connections are building. because of that CPU,Disk IO are going on high usage and linux killing the vertica process. Can we some solution so that we can clean the idle session or is it good for us to make grace period?
NOTE: We are using Vertica for reporting purposes.

Answers

  • Nimmi_guptaNimmi_gupta - Select Field - Employee

    ++ Try the below query to check idle sessions.
    select * from sessions where statement_id is null;
    ++ Check for IDLESESSIONTIMEOUT. If it's not set you can set it by running below command.
    SHOW IDLESESSIONTIMEOUT;
    SET SESSION IDLESESSIONTIMEOUT '300s';

Leave a Comment

BoldItalicStrikethroughOrdered listUnordered list
Emoji
Image
Align leftAlign centerAlign rightToggle HTML viewToggle full pageToggle lights
Drop image/file