<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

    主站蜘蛛池模板: 久久WWW免费人成—看片| 在线亚洲午夜片AV大片| 亚洲中久无码不卡永久在线观看| 免费精品一区二区三区在线观看| 99热在线精品免费全部my| 最近高清中文字幕免费| 18禁成人网站免费观看| 最近中文字幕2019高清免费| 91成人在线免费视频| 2021在线永久免费视频| 国产精品久久免费| 毛片免费在线播放| 免费看AV毛片一区二区三区| 永久久久免费浮力影院| 免费jjzz在在线播放国产| 亚洲人成无码网WWW| 国产亚洲视频在线播放| 亚洲VA中文字幕无码毛片| 亚洲色图在线播放| 亚洲国产成a人v在线| 亚洲人成人网毛片在线播放| 亚洲狠狠婷婷综合久久蜜芽| 黄色一级毛片免费看| 国产亚洲精品免费视频播放| 亚欧免费一级毛片| 麻豆最新国产剧情AV原创免费 | 精品亚洲麻豆1区2区3区| 亚洲精品中文字幕无乱码| 日韩亚洲国产综合高清| 国产成人综合久久精品亚洲| fc2成年免费共享视频18| 久热免费在线视频| 免费看污成人午夜网站| 国产一区二区三区免费看| 中文字幕亚洲一区二区三区| 亚洲视频中文字幕| 亚洲另类自拍丝袜第五页| 国产高潮久久免费观看| 永久免费视频网站在线观看| 曰皮全部过程视频免费国产30分钟| 国产a v无码专区亚洲av|