免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
12下一页
最近访问板块 发新帖
查看: 4105 | 回复: 10
打印 上一主题 下一主题

sysmon,引擎占用严重,麻烦看看 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-04-01 09:27 |只看该作者 |倒序浏览
DBCC execution completed. If DBCC printed error messages, contact a user with System Administrator (SA) role.
===============================================================================
      Sybase Adaptive Server Enterprise System Performance Report
===============================================================================

Server Version:        Adaptive Server Enterprise/12.5.0.3/EBF 11335 ESD#3/P/RS
Server Name:           SYBASE                                                   
Run Date:              Apr 01, 2009                                             
Statistics Cleared at: 09:50:07                                                
Statistics Sampled at: 10:20:13                                                
Sample Interval:       00:30:00                                                

===============================================================================

Kernel Utilization
------------------

  Your Runnable Process Search Count is set to 2000                             
  and I/O Polling Process Count is set to 10                                    

  Engine Busy Utilization        CPU Busy   I/O Busy       Idle                 
  ------------------------       --------   --------   --------   
    Engine 0                       99.6 %      0.0 %      0.4 %              
    Engine 1                       99.3 %      0.0 %      0.7 %              
    Engine 2                       99.1 %      0.0 %      0.8 %              
    Engine 3                       98.9 %      0.0 %      1.1 %              
    Engine 4                       98.7 %      0.0 %      1.3 %              
    Engine 5                       99.4 %      0.0 %      0.6 %              
    Engine 6                       99.0 %      0.0 %      0.9 %              
    Engine 7                       99.1 %      0.0 %      0.9 %              
    Engine 8                       99.2 %      0.0 %      0.8 %              
    Engine 9                       99.1 %      0.0 %      0.9 %              
    Engine 10                      99.3 %      0.0 %      0.7 %              
    Engine 11                      99.2 %      0.0 %      0.8 %              
    Engine 12                      99.2 %      0.0 %      0.8 %              
    Engine 13                      99.3 %      0.0 %      0.7 %              
    Engine 14                      99.0 %      0.0 %      0.9 %              
  ------------------------       --------   --------   --------   
  Summary           Total        1487.5 %      0.2 %     12.3 %              
                  Average          99.2 %      0.0 %      0.8 %              

  CPU Yields by Engine            per sec      per xact       count  % of total
  -------------------------  ------------  ------------  ----------  ----------
    Engine 0                          0.0           0.0           0       0.0 %
    Engine 1                          0.0           0.0           0       0.0 %
    Engine 2                          0.0           0.0          17       5.1 %
    Engine 3                          0.0           0.0           0       0.0 %
    Engine 4                          0.0           0.0           0       0.0 %
    Engine 5                          0.0           0.0           0       0.0 %
    Engine 6                          0.0           0.0          66      19.7 %
    Engine 7                          0.0           0.0           2       0.6 %
    Engine 8                          0.0           0.0           0       0.0 %
    Engine 9                          0.0           0.0          18       5.4 %
    Engine 10                         0.0           0.0           0       0.0 %
    Engine 11                         0.0           0.0           0       0.0 %
    Engine 12                         0.0           0.0           0       0.0 %
    Engine 13                         0.0           0.0          12       3.6 %
    Engine 14                         0.1           0.0         220      65.7 %
  -------------------------  ------------  ------------  ----------
  Total CPU Yields                    0.2           0.0         335            

  Network Checks
    Non-Blocking                  11218.4         860.0    20193071      99.8 %
    Blocking                         17.0           1.3       30684       0.2 %
  -------------------------  ------------  ------------  ----------
  Total Network I/O Checks        11235.4         861.4    20223755            
  Avg Net I/Os per Check              n/a           n/a     0.02709       n/a   

  Disk I/O Checks
    Total Disk I/O Checks         11375.3         872.1    20475547       n/a   
    Checks Returning I/O            827.3          63.4     1489160       7.3 %
    Avg Disk I/Os Returned            n/a           n/a     0.12259       n/a   

  Tuning Recommendations for Kernel Utilization                                 
  ---------------------------------------------                                 
  - Consider bringing more engines online


===============================================================================

Worker Process Management
-------------------------
                                  per sec      per xact       count  % of total
                             ------------  ------------  ----------  ----------
Worker Process Requests
   Total Requests                     0.0           0.0           0       n/a   

Worker Process Usage
   Total Used                         0.0           0.0           0       n/a   
   Max Ever Used During Sample        0.0           0.0           0       n/a   

Memory Requests for Worker Processes
   Total Requests                     0.0           0.0           0       n/a   


===============================================================================

Parallel Query Management
-------------------------

  Parallel Query Usage            per sec      per xact       count  % of total
  -------------------------  ------------  ------------  ----------  ----------
  Total Parallel Queries              0.0           0.0           0       n/a   

  Merge Lock Requests             per sec      per xact       count  % of total
  -------------------------  ------------  ------------  ----------  ----------
  Total # of Requests                 0.0           0.0           0       n/a   

  Sort Buffer Waits               per sec      per xact       count  % of total
  -------------------------  ------------  ------------  ----------  ----------
  Total # of Waits                    0.0           0.0           0       n/a   

===============================================================================

Task Management                   per sec      per xact       count  % of total
---------------------------  ------------  ------------  ----------  ----------

  Connections Opened                  0.2           0.0         435       n/a   

  Task Context Switches by Engine
    Engine 0                         52.9           4.1       95283      10.1 %
    Engine 1                         33.8           2.6       60813       6.5 %
    Engine 2                         31.5           2.4       56763       6.0 %
    Engine 3                         28.4           2.2       51111       5.4 %
    Engine 4                         36.4           2.8       65538       7.0 %
    Engine 5                         33.4           2.6       60073       6.4 %
    Engine 6                         33.4           2.6       60132       6.4 %
    Engine 7                         39.5           3.0       71055       7.5 %
    Engine 8                         37.3           2.9       67064       7.1 %
    Engine 9                         30.5           2.3       54888       5.8 %
    Engine 10                        32.7           2.5       58815       6.2 %
    Engine 11                        34.1           2.6       61431       6.5 %
    Engine 12                        29.6           2.3       53285       5.7 %
    Engine 13                        32.9           2.5       59172       6.3 %
    Engine 14                        37.3           2.9       67228       7.1 %
  -------------------------  ------------  ------------  ----------
    Total Task Switches:            523.7          40.1      942651            

  Task Context Switches Due To:
    Voluntary Yields                 86.3           6.6      155391      16.5 %
    Cache Search Misses               2.1           0.2        3771       0.4 %
    System Disk Writes                2.6           0.2        4653       0.5 %
    I/O Pacing                       11.0           0.8       19813       2.1 %
    Logical Lock Contention          38.8           3.0       69846       7.4 %
    Address Lock Contention           0.0           0.0          21       0.0 %
    Latch Contention                  0.2           0.0         340       0.0 %
    Log Semaphore Contention          1.4           0.1        2577       0.3 %
    PLC Lock Contention               0.2           0.0         309       0.0 %
    Group Commit Sleeps               2.5           0.2        4432       0.5 %
    Last Log Page Writes              6.6           0.5       11947       1.3 %
    Modify Conflicts                  1.2           0.1        2241       0.2 %
    I/O Device Contention             0.0           0.0           0       0.0 %
    Network Packet Received         127.3           9.8      229156      24.3 %
    Network Packet Sent             177.0          13.6      318668      33.8 %
    Other Causes                     66.4           5.1      119486      12.7 %


===============================================================================

Application Management
----------------------

  Application Statistics Summary (All Applications)
  -------------------------------------------------
  Priority Changes                per sec      per xact       count  % of total
  -------------------------  ------------  ------------  ----------  ----------
    To High Priority                 45.4           3.5       81651      49.1 %
    To Medium Priority               46.3           3.6       83360      50.1 %
    To Low Priority                   0.7           0.1        1292       0.8 %
  -------------------------  ------------  ------------  ----------
  Total Priority Changes             92.4           7.1      166303            

  Allotted Slices Exhausted       per sec      per xact       count  % of total
  -------------------------  ------------  ------------  ----------  ----------
    High Priority                     0.0           0.0           0       0.0 %
    Medium Priority                  73.3           5.6      131930     100.0 %
    Low Priority                      0.0           0.0           0       0.0 %
  -------------------------  ------------  ------------  ----------
  Total Slices Exhausted             73.3           5.6      131930            

  Skipped Tasks By Engine         per sec      per xact       count  % of total
  -------------------------  ------------  ------------  ----------  ----------
  Total Engine Skips                  0.0           0.0           0       n/a   

  Engine Scope Changes                0.0           0.0           0       n/a   

===============================================================================

ESP Management                    per sec      per xact       count  % of total
---------------------------  ------------  ------------  ----------  ----------
  ESP Requests                        0.0           0.0           0       n/a   
===============================================================================

Housekeeper Task Activity
-------------------------
                                  per sec      per xact       count  % of total
                             ------------  ------------  ----------            
Buffer Cache Washes                                                            
  Clean                             10.2           0.8       18325      94.3 %
  Dirty                              0.6           0.0        1098       5.7 %
                             ------------  ------------  ----------            
Total Washes                        10.8           0.8       19423              

Garbage Collections                  2.8           0.2        5040       n/a   
Pages Processed in GC                0.0           0.0           0       n/a   

Statistics Updates                   0.6           0.0        1103       n/a   

===============================================================================

Monitor Access to Executing SQL
-------------------------------
                                  per sec      per xact       count  % of total
                             ------------  ------------  ----------  ----------
Waits on Execution Plans            0.0           0.0           0       n/a   
Number of SQL Text Overflows        0.0           0.0           0       n/a   
Maximum SQL Text Requested          n/a           n/a           0       n/a   
  (since beginning of sample)                                                   


===============================================================================

Transaction Profile
-------------------

  Transaction Summary             per sec      per xact       count  % of total
  -------------------------  ------------  ------------  ----------  ----------
    Committed Xacts                  13.0           n/a       23479     n/a     

  Transaction Detail              per sec      per xact       count  % of total
  -------------------------  ------------  ------------  ----------  ----------
    Inserts
      APL Heap Table               1006.0          77.1     1810862      22.9 %
      APL Clustered Table          3390.9         260.0     6103602      77.1 %
      Data Only Lock Table            1.2           0.1        2216       0.0 %
  -------------------------  ------------  ------------  ----------  ----------
    Total Rows Inserted            4398.2         337.2     7916680      89.9 %

    Updates
      APL Deferred                    4.9           0.4        8754       1.5 %
      APL Direct In-place           273.1          20.9      491601      82.1 %
      APL Direct Cheap               54.9           4.2       98734      16.5 %
      APL Direct Expensive            0.0           0.0           0       0.0 %
      DOL Deferred                    0.0           0.0           0       0.0 %
      DOL Direct                      0.0           0.0          26       0.0 %
  -------------------------  ------------  ------------  ----------  ----------
    Total Rows Updated              332.8          25.5      599115       6.8 %

    Data Only Locked Updates
      DOL Replace                     0.0           0.0          23      88.5 %
      DOL Shrink                      0.0           0.0           3      11.5 %
      DOL Cheap Expand                0.0           0.0           0       0.0 %
      DOL Expensive Expand            0.0           0.0           0       0.0 %
      DOL Expand & Forward            0.0           0.0           0       0.0 %
      DOL Fwd Row Returned            0.0           0.0           0       0.0 %
  -------------------------  ------------  ------------  ----------  ----------
    Total DOL Rows Updated            0.0           0.0          26       0.0 %

    Deletes
      APL Deferred                   79.6           6.1      143275      49.6 %
      APL Direct                     79.6           6.1      143353      49.6 %
      DOL                             1.2           0.1        2170       0.8 %
  -------------------------  ------------  ------------  ----------  ----------
    Total Rows Deleted              160.4          12.3      288798       3.3 %
  =========================  ============  ============  ==========
    Total Rows Affected            4891.4         375.0     8804593            

===============================================================================

Transaction Management
----------------------

  ULC Flushes to Xact Log         per sec      per xact       count  % of total
  -------------------------  ------------  ------------  ----------  ----------
    by Full ULC                      30.5           2.3       54964      40.8 %
    by End Transaction                8.9           0.7       16098      11.9 %
    by Change of Database             0.4           0.0         645       0.5 %
    by Single Log Record             26.1           2.0       46995      34.9 %
    by Other                          9.0           0.7       16114      12.0 %
  -------------------------  ------------  ------------  ----------
  Total ULC Flushes                  74.9           5.7      134816            

  ULC Log Records                   866.9          66.5     1560359       n/a   
  Max ULC Size During Sample          n/a           n/a       61440       n/a   

  ULC Semaphore Requests
    Granted                        1706.6         130.8     3071800     100.0 %
    Waited                            0.2           0.0         309       0.0 %
  -------------------------  ------------  ------------  ----------
  Total ULC Semaphore Req          1706.7         130.8     3072109            

  Log Semaphore Requests
    Granted                          82.1           6.3      147797      98.3 %
    Waited                            1.4           0.1        2577       1.7 %
  -------------------------  ------------  ------------  ----------
  Total Log Semaphore Req            83.5           6.4      150374            

  Transaction Log Writes             49.9           3.8       89802       n/a   
  Transaction Log Alloc              43.0           3.3       77451       n/a   
  Avg # Writes per Log Page           n/a           n/a     1.15947       n/a   

  Tuning Recommendations for Transaction Management                             
  -------------------------------------------------                             
  - Consider increasing the 'user log cache size'
    configuration parameter.

===============================================================================

论坛徽章:
1
2017金鸡报晓
日期:2017-01-10 15:19:56
2 [报告]
发表于 2009-04-01 10:21 |只看该作者
你的Sybase应用是干什么的?科学计算?还有应用是什么模式的?c/s、b/s?
系统是什么环境的,这个机器有多少CPU,多少内存?
贴一下完整的sysmon吧,

论坛徽章:
0
3 [报告]
发表于 2009-04-01 10:59 |只看该作者

完整的sysmon信息

详见附件。IBM P595服务器,sybase12.5.03的数据库,b/s结构,sunone应用

DBCC execution complete1.rar

18.31 KB, 下载次数: 21

论坛徽章:
1
2017金鸡报晓
日期:2017-01-10 15:19:56
4 [报告]
发表于 2009-04-01 11:49 |只看该作者
这个系统是一直这样,还是原来正常,现在开始这样的?CPU占用高?

论坛徽章:
0
5 [报告]
发表于 2009-04-01 13:28 |只看该作者
从昨天开始的,通过sar来看,cpu最高时能达到70%

论坛徽章:
0
6 [报告]
发表于 2009-04-02 12:21 |只看该作者
sp_who看看

论坛徽章:
0
7 [报告]
发表于 2009-04-02 14:32 |只看该作者
sp_who 很多锁

论坛徽章:
0
8 [报告]
发表于 2009-04-02 18:19 |只看该作者
找出占锁的pid,
dbcc traceon( 3604 )  
dbcc sqltext( pid )

sp_showplan pid , null , null , null
看看是什么语句,执行计划是什么。

论坛徽章:
0
9 [报告]
发表于 2009-04-03 10:12 |只看该作者
锁不是主要问题,解锁很快的,1秒内就解了,主要是CPU占用的非常厉害,不知道什么原因。想看看索引有没有什么问题,dbcc 没有发现索引问题

论坛徽章:
33
ChinaUnix元老
日期:2018-07-04 15:10:362015年亚洲杯之阿联酋
日期:2015-02-06 17:15:532015亚冠之武里南联
日期:2015-06-06 15:40:252015亚冠之北京国安
日期:2015-06-17 15:42:412022北京冬奥会纪念版徽章
日期:2015-08-10 16:30:322015亚冠之阿尔纳斯尔
日期:2015-09-20 09:42:1215-16赛季CBA联赛之北京
日期:2016-01-15 10:03:5915-16赛季CBA联赛之青岛
日期:2016-04-26 16:44:4915-16赛季CBA联赛之广夏
日期:2018-07-04 15:33:21C
日期:2016-10-25 16:12:142017金鸡报晓
日期:2017-01-10 15:19:5615-16赛季CBA联赛之同曦
日期:2017-02-22 22:41:10
10 [报告]
发表于 2009-04-03 12:14 |只看该作者
原帖由 tyrone.dev 于 2009-4-2 18:19 发表
找出占锁的pid,
dbcc traceon( 3604 )  
dbcc sqltext( pid )

sp_showplan pid , null , null , null
看看是什么语句,执行计划是什么。



按照这个思路去处理,应该是你的应用上的过程编译有什么问题吧,以前有过没有?
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP