精品国产亚洲一区二区三区,男女作爱在线观看免费网站,欧美的又大又长做禁片A片,97国产精品人妻无码久久久

  • 相關(guān)軟件
    >sp_monitor 創(chuàng)建者:webmaster 更新時間:2006-02-16 15:51

    顯示關(guān)于 Microsoft® SQL Server™ 的統(tǒng)計。



    語法


    sp_monitor



    返回代碼值


    0(成功)或 1(失?。?/P>

    結(jié)果集









































































    列名描述
    last_run上次運行 sp_monitor 的時間。
    current_run本次運行 sp_monitor 的時間。
    secondssp_monitor 自運行以來所經(jīng)過的時間(按秒計)。
    cpu_busy服務(wù)器計算機(jī)的 CPU 處理 SQL Server 工作所用的時間(按秒計)。
    io_busySQL Server 在輸入和輸出操作上花費的時間(按秒計)。
    idleSQL Server 已空閑的時間(按秒計)。
    packets_receivedSQL Server 讀取的輸入數(shù)據(jù)包數(shù)。
    packets_sentSQL Server 寫入的輸出數(shù)據(jù)包數(shù)。
    packet_errorsSQL Server 在讀取和寫入數(shù)據(jù)包時遇到的錯誤數(shù)。
    total_readSQL Server 讀取的次數(shù)。
    total_writeSQL Server 寫入的次數(shù)。
    total_errorsSQL Server 在讀取和寫入時遇到的錯誤數(shù)。
    connections登錄或嘗試登錄 SQL Server 的次數(shù)。



    注釋


    SQL Server 通過一系列函數(shù)跟蹤其完成的工作量。執(zhí)行 sp_monitor 會顯示這些函數(shù)返回的當(dāng)前值,并顯示自上次運行該過程以來有多大改變。



    對于每一列,統(tǒng)計將以 number(number)-number% 或 number(number) 的格式輸出。第一個數(shù)字是指重新啟動 SQL Server 以來的秒數(shù)(對于 cpu_busy、io_busyidle)或總數(shù)目(對于其它變量)。圓括號中的數(shù)字是指上次運行 sp_monitor 以來的秒數(shù)或總數(shù)目。百分比是自上次運行 sp_monitor 以來的時間百分比。例如,如果報告中 cpu_busy 顯示為 4250(215)-68%,則自 SQL Server 上次啟動以來,CPU 工作了 4250 秒;自上次運行 sp_monitor 以來,CPU 工作了 215 秒;自上次運行 sp_monitor 以來占總時間的 68%。



    權(quán)限


    執(zhí)行權(quán)限默認(rèn)賦予 sysadmin 固定服務(wù)器角色的成員。



    示例


    下面的示例報告有關(guān) SQL Server 繁忙程度的信息。



    USE master
    EXEC sp_monitor


    下面是結(jié)果集:






















    last_runcurrent_runSeconds
    ---------------------------------------------------
    Mar 29 1998 11:55AMApr 4 1993 2:22 PM561
























    cpu_busyio_busyidle
    ---------------------------------------------
    190(0)-0%187(0)-0%148(556)-99%
























    packets_receivedpackets_sentpacket_errors
    -----------------------------------------------
    16(1)20(2)0(0)



























    total_readtotal_writetotal_errorsconnections
    -----------------------------------------------------------
    141(0)54920(127)0(0)4(0)



    相關(guān)文章
    本頁查看次數(shù):