<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    paulwong

    List sessions / active connections on MariaDB server

    Using a command

    Option 1

    show status where variable_name = 'threads_connected'; 

    Columns

    • Variable_name - Name of the variable shown
    • Value - Number of active connections

    Rows

    • One row: Only one row is displayed

    Sample results

    Option 2

    show processlist; 

    Columns

    • Id - The connection identifier
    • User - The MariaDB user who issued the statement
    • Host - Host name and client port of the client issuing the statement
    • db - The default database (schema), if one is selected, otherwise NULL
    • Command - The type of command the thread is executing
    • Time - The time in seconds that the thread has been in its current state
    • State - An action, event, or state that indicates what the thread is doing
    • Info - The statement the thread is executing, or NULL if it is not executing any statement
    • Progress - The total progress of the process (0-100%)

    Rows

    • One row: represents one active connection
    • Scope of rows: total of active connections

    Sample results

    Using a query

    Option 3

    select id, user, host, db, command, time, state, 
    info, progress from information_schema.processlist;

    Columns

    • Id - The connection identifier
    • User - The MariaDB user who issued the statement
    • Host - Host name and client port of the client issuing the statement
    • db - The default database (schema), if one is selected, otherwise NULL
    • Command - The type of command the thread is executing
    • Time - The time in seconds that the thread has been in its current state
    • State - An action, event, or state that indicates what the thread is doing
    • Info - The statement the thread is executing, or NULL if it is not executing any statement
    • Progress - The total progress of the process (0-100%)
    • memory_used - Amount of memory used by the active connection

    Rows

    • One row: represents one active connection
    • Scope of rows: total of active connections

    Sample results

    Using the GUI

    Option 4

    Click on the Client Connections option of the Management tab (left navigation pane)

    This action will show the Client Connections screen containing the current active connections

    posted on 2020-04-02 15:38 paulwong 閱讀(282) 評論(0)  編輯  收藏 所屬分類: MYSQL

    主站蜘蛛池模板: 欧洲人成在线免费| 亚洲av中文无码乱人伦在线播放| 日韩视频免费在线观看| 久久久久久亚洲av无码蜜芽| 久久久久久a亚洲欧洲AV| 亚洲第一页综合图片自拍| 最新仑乱免费视频| 1000部免费啪啪十八未年禁止观看 | 久久精品亚洲一区二区三区浴池| 免费观看美女裸体网站| 1000部拍拍拍18勿入免费凤凰福利| 亚洲国产免费综合| 青草久久精品亚洲综合专区| 亚洲sss综合天堂久久久| 亚洲AV无码国产丝袜在线观看| 亚洲精品乱码久久久久久不卡 | 精品亚洲成a人片在线观看| 国产亚洲精品看片在线观看| 真实乱视频国产免费观看| 国产成人免费高清激情视频| 99爱在线精品视频免费观看9| gogo免费在线观看| 日韩一区二区三区免费播放| 精品久久久久久久久亚洲偷窥女厕 | 免费无码午夜福利片69| 国产AV无码专区亚洲AV麻豆丫| 亚洲精品无码成人| 亚洲伊人久久大香线蕉AV| 亚洲成a人片在线观看精品| 亚洲国产成人久久三区| 亚洲剧场午夜在线观看| 亚洲国产片在线观看| 亚洲国产精品综合一区在线| 亚洲日本国产精华液| 亚洲日本在线观看网址| 亚洲国产理论片在线播放| 四虎亚洲精品高清在线观看| 亚洲色偷偷色噜噜狠狠99| 亚洲AV日韩AV无码污污网站| 精品亚洲国产成人av| 在线播放国产不卡免费视频|