xiaoxiongmao 发表于 2008-10-16 11:01

SYBASE 的性能问题,请各位帮忙分析下,看看瓶颈在什么地方,谢谢。

$ sar -u 1 5

HP-UX crbt1 B.11.11 U 9000/800    10/15/08

03:29:24    %usr    %sys    %wio   %idle
03:29:25       6      10       0      84
03:29:26       8      11       0      81
03:29:27      10       8       0      82
03:29:28       8       9       1      82
03:29:29       7       9       0      84

Average      8       9       0      83


$ sar -d 1 5

HP-UX crbt1 B.11.11 U 9000/800    10/15/08

03:29:41   device   %busy   avque   r+w/sblks/savwaitavserv
03:29:42   c2t0d0    0.99    0.50       2      32    0.00    5.26
03:29:43   c2t0d0    2.00    0.50       2      14    0.00    8.56
03:29:44
03:29:45   c2t0d0    1.00    0.50       3      18    0.00    6.54
03:29:46   c2t0d0    1.00    0.50       2      10    0.00    5.10

Average    c2t0d0    1.00    0.50       2      15    0.00    6.38


$ iostat 1 5

device    bps   sps    msps

c2t0d0      0   0.0   1.0
c2t1d0      0   0.0   1.0

c2t0d0      4   1.0   1.0
c2t1d0      0   0.0   1.0

c2t0d0      0   0.0   1.0
c2t1d0      0   0.0   1.0

c2t0d0      0   0.0   1.0
c2t1d0      0   0.0   1.0

c2t0d0   11   2.0   1.0
c2t1d0      0   0.0   1.0

$ vmstat 1 5
         procs         memory                   page                              faults       cpu
    r   b   w      avm    free   re   at    pi   po    fr   de    sr   in   sy    csus sy id
    2   0   0   190112440981   17   25   0    0   0    0   0    666   3118   415   21 97
    2   0   0   190112441010   15   14   0    0   0    0   0   124122500   166   6 10 84
    2   0   0   190112441232   20   30   0    0   0    0   0   120422500   165   69 85
    3   0   0   188854441231   16   24   0    0   0    0   0   120022468   165   79 84
    3   0   0   188854441231   13   19   0    0   0    0   0   119822620   185   9 10 81



System: ttyy1                                       Wed Oct 15 03:38:19 2008
Load averages: 0.16, 0.14, 0.08
116 processes: 106 sleeping, 8 running, 2 zombies
Cpu states:
CPU   LOAD   USER   NICE    SYS   IDLEBLOCKSWAIT   INTR   SSYS
0    0.14   8.2%   0.0%11.4%80.4%   0.0%   0.0%   0.0%   0.0%
1    0.18   5.0%   0.0%   6.6%88.4%   0.0%   0.0%   0.0%   0.0%
---   --------------------------------------------
avg   0.16   6.6%   0.0%   9.0%84.4%   0.0%   0.0%   0.0%   0.0%

Memory: 536528K (445736K) real, 1087964K (757492K) virtual, 1760644K freePage# 1/6

CPU TTY   PID USERNAME PRI NI   SIZE    RES STATE    TIME %WCPU%CPU COMMAND
1   ?   1744 sybase   188 201158M 24416K run      8:53 39.87 39.80 dataserver
1   ?       37 root   152 201120K1120K run      0:540.350.35 vxfsd
1   ?   1405 root   152 20   220M 26660K run      2:170.330.33 java
0   ?   1743 root   152 20 23588K5104K run      0:020.100.10 vxsvc
1   ?   1360 root   152 20 27212K7244K run      1:010.060.06 cimserver
0   ?   2541 root   154 204428K   764K sleep    0:330.040.04 ia64_corehw
0   ?      598 root   152 202124K   436K run      0:130.040.04 syncer
0 pts/tc 26900 zxin10   178 207008K5128K run      0:000.040.03 top
0   ?    26902 root   154 205516K   480K sleep    0:000.030.02 cmclconfd
1   ?   1978 root   154 104488K   820K sleep    0:340.020.02 psmctd
1   ?      0 root   127 20    32K   0K sleep    0:140.020.02 swapper
0   ?      1 root   168 20   492K   204K sleep    0:000.020.02 init
1   ?      2 root   128 20    32K    32K sleep    0:000.020.02 vhand
1   ?      3 root   128 20    32K    32K sleep    0:130.020.02 statdaemon
1   ?      4 root   128 20    32K    32K sleep    0:000.020.02 unhashdaemon
1   ?       26 root   100 20    32K    32K sleep    0:000.020.02 smpsched
1   ?       27 root   100 20    32K    32K sleep    0:000.020.02 smpsched
0   ?      686 root   154 202552K   244K sleep    0:040.020.02 syslogd
1   ?      722 root   127 203848K   472K sleep    0:040.020.02 netfmt
1   ?      877 root   154 203420K1176K sleep    0:000.020.02 rpcbind
1   ?      978 root   154 202956K   352K sleep    0:060.020.02 inetd

xiaoxiongmao 发表于 2008-10-16 11:02

sp_sysmon的结果:

DBCC 运行结束。如果DBCC 打印出错误消息,请与有系统管理员角色的用户联系。
===============================================================================
      Sybase Adaptive Server Enterprise System Performance Report
===============================================================================

Server Version:      Adaptive Server Enterprise/11.9.2.1/1095/P/SWR 8668 ESD
Server Name:         Server is Unnamed                                       
Run Date:            十月 15, 200                                             
Statistics Cleared at: 03:32:43                                                
Statistics Sampled at: 03:32:52                                                
Sample Interval:       00:00:09                                                

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

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

Engine Busy Utilization
    Engine 0                     41.7 %                                    

CPU Yields by Engine            per sec      per xact       count% of total
---------------------------------------------------------------------
    Engine 0                         21.4         193.0         193   100.0 %

Network Checks
    Non-Blocking                  21914.3      197229.0      197229      99.9 %
    Blocking                         32.7         294.0         294       0.1 %
-----------------------------------------------------------
Total Network I/O Checks      21947.0      197523.0      197523            
Avg Net I/Os per Check            n/a         n/a   0.04885       n/a   

Disk I/O Checks
    Total Disk I/O Checks         44048.0      396432.0      396432       n/a   
    Checks Returning I/O            0.0         0.0         0       0.0 %

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

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.0         0.0         0       n/a   

Task Context Switches by Engine
    Engine 0                     1234.9       11114.0       11114   100.0 %

Task Context Switches Due To:
    Voluntary Yields                  0.0         0.0         0       0.0 %
    Cache Search Misses               0.0         0.0         0       0.0 %
    System Disk Writes                0.0         0.0         0       0.0 %
    I/O Pacing                        0.0         0.0         0       0.0 %
    Logical Lock Contention         0.0         0.0         0       0.0 %
    Address Lock Contention         0.0         0.0         0       0.0 %
    Log Semaphore Contention          0.0         0.0         0       0.0 %
    Group Commit Sleeps               0.0         0.0         0       0.0 %
    Last Log Page Writes            0.0         0.0         0       0.0 %
    Modify Conflicts                  0.0         0.0         0       0.0 %
    I/O Device Contention             0.0         0.0         0       0.0 %
    Network Packet Received         213.7      1923.0      1923      17.3 %
    Network Packet Sent             858.4      7726.0      7726      69.5 %
    SYSINDEXES Lookup               0.0         0.0         0       0.0 %
    Other Causes                  162.8      1465.0      1465      13.2 %

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

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

Application Statistics Summary (All Applications)
-------------------------------------------------
Priority Changes                per sec      per xact       count% of total
---------------------------------------------------------------------
    To High Priority                  0.0         0.0         0       0.0 %
    To Medium Priority                0.3         3.0         3      50.0 %
    To Low Priority                   0.3         3.0         3      50.0 %
-----------------------------------------------------------
Total Priority Changes            0.7         6.0         6            

Allotted Slices Exhausted       per sec      per xact       count% of total
---------------------------------------------------------------------
Total Slices Exhausted            0.0         0.0         0       n/a   

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                              1.3          12.0          12   100.0 %
Dirty                              0.0         0.0         0       0.0 %
                           ----------------------------------            
Total Washes                         1.3          12.0          12            

Garbage Collections                  0.3         3.0         3       n/a   
Pages Processed in GC                0.0         0.0         0       n/a   

Statistics Updates                   0.3         3.0         3       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                   0.1         n/a         1   n/a   

Transaction Detail            per sec      per xact       count% of total
---------------------------------------------------------------------
    Total Rows Affected               0.0         0.0         0       n/a   

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

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

ULC Flushes to Xact Log         per sec      per xact       count% of total
---------------------------------------------------------------------
Total ULC Flushes                   0.0         0.0         0       n/a   

ULC Log Records                     0.0         0.0         0       n/a   
Max ULC Size During Sample          n/a         n/a         0       n/a   

ULC Semaphore Requests
    Total ULC Semaphore Req         0.0         0.0         0       n/a   

Log Semaphore Requests
    Total Log Semaphore Req         0.0         0.0         0       n/a   

Transaction Log Writes            0.0         0.0         0       n/a   
Transaction Log Alloc               0.0         0.0         0       n/a   

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

Index Management
----------------

Nonclustered Maintenance      per sec      per xact       count% of total
---------------------------------------------------------------------
    Ins/Upd Requiring Maint         0.0         0.0         0       n/a   
      # of NC Ndx Maint               0.0         0.0         0       n/a   

    Deletes Requiring Maint         0.0         0.0         0       n/a   
      # of NC Ndx Maint               0.0         0.0         0       n/a   

    RID Upd from Clust Split          0.0         0.0         0       n/a   
      # of NC Ndx Maint               0.0         0.0         0       n/a   

    Upd/Del DOL Req Maint             0.0         0.0         0       n/a   
      # of DOL Ndx Maint            0.0         0.0         0       n/a   

Page Splits                         0.0         0.0         0       n/a   

Page Shrinks                        0.0         0.0         0       n/a   

Index Scans                     per sec      per xact       count% of total
---------------------------------------------------------------------
    Ascending Scans               10514.7       94632.0       94632   100.0 %
    DOL Ascending Scans               0.2         2.0         2       0.0 %
    Descending Scans                  0.0         0.0         0       0.0 %
    DOL Descending Scans            0.0         0.0         0       0.0 %
                           ----------------------------------            
    Total Scans                   10514.9       94634.0       94634            

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

Metadata Cache Management
-------------------------

Metadata Cache Summary         per sec      per xact       count% of total
--------------------------------------------------------------------

Open Object Usage                                                            
    Active                           12.7         114.0         114       n/a   
    Max Ever Used Since Boot         13.2         119.0         119       n/a   
    Free                            209.6      1886.0      1886       n/a   
    Reuse Requests                                                            
      Succeeded                     0.0         0.0         0       n/a   
      Failed                        0.0         0.0         0       n/a   

Open Index Usage                                                            
    Active                           35.0         315.0         315       n/a   
    Max Ever Used Since Boot         35.7         321.0         321       n/a   
    Free                            187.2      1685.0      1685       n/a   
    Reuse Requests                                                            
      Succeeded                     0.0         0.0         0       n/a   
      Failed                        0.0         0.0         0       n/a   

Open Database Usage                                                         
    Active                            1.2          11.0          11       n/a   
    Max Ever Used Since Boot          1.2          11.0          11       n/a   
    Free                              0.1         1.0         1       n/a   
    Reuse Requests                                                            
      Succeeded                     0.0         0.0         0       n/a   
      Failed                        0.0         0.0         0       n/a   

Object Spinlock Contention          n/a         n/a         n/a       0.0 %

Index Spinlock Contention         n/a         n/a         n/a       0.0 %

Hash Spinlock Contention            n/a         n/a         n/a       0.0 %

xiaoxiongmao 发表于 2008-10-16 11:04

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

Lock Management
---------------

Lock Summary                  per sec      per xact       count% of total
---------------------------------------------------------------------
Total Lock Requests             33904.0      305136.0      305136       n/a   
Avg Lock Contention               0.0         0.0         0       0.0 %
Deadlock Percentage               0.0         0.0         0       0.0 %
Lock Hashtable Lookups          33904.0      305136.0      305136       n/a   
Avg Hash Chain Length               n/a         n/a   0.00000       n/a   

Lock Detail                     per sec      per xact       count% of total
---------------------------------------------------------------------

Exclusive Table
    Total EX-Table Requests         0.0         0.0         0       n/a   

Shared Table
    Total SH-Table Requests         0.0         0.0         0       n/a   

Exclusive Intent
    Total EX-Intent Requests          0.0         0.0         0       n/a   

Shared Intent
    Granted                        4935.4       44419.0       44419   100.0 %
    Waited                            0.0         0.0         0       0.0 %
---------------------------------------------------------------------
Total SH-Intent Requests         4935.4       44419.0       44419      14.6 %

Exclusive Page
    Total EX-Page Requests            0.0         0.0         0       n/a   

Update Page
    Total UP-Page Requests            0.0         0.0         0       n/a   

Shared Page
    Granted                     14162.2      127460.0      127460   100.0 %
    Waited                            0.0         0.0         0       0.0 %
---------------------------------------------------------------------
Total SH-Page Requests          14162.2      127460.0      127460      41.8 %


Exclusive Row
    Total EX-Row Requests             0.0         0.0         0       n/a   

Update Row
    Total UP-Row Requests             0.0         0.0         0       n/a   

Shared Row
    Granted                           0.2         2.0         2   100.0 %
    Waited                            0.0         0.0         0       0.0 %
---------------------------------------------------------------------
Total SH-Row Requests               0.2         2.0         2       0.0 %


Next-Key
    Total Next-Key Requests         0.0         0.0         0       n/a   

Exclusive Address
    Total EX-Address Requests         0.0         0.0         0       n/a   

Shared Address
    Granted                     14806.1      133255.0      133255   100.0 %
    Waited                            0.0         0.0         0       0.0 %
---------------------------------------------------------------------
Total SH-Address Requests       14806.1      133255.0      133255      43.7 %


Last Page Locks on Heaps
    Total Last Pg Locks               0.0         0.0         0       n/a   

Deadlocks by Lock Type          per sec      per xact       count% of total
---------------------------------------------------------------------
Total Deadlocks                     0.0         0.0         0       n/a   


Deadlock Detection
    Deadlock Searches               0.0         0.0         0       n/a   


Lock Promotions
    Total Lock Promotions             0.0         0.0         0       n/a   


Lock Timeouts by Lock Type      per sec      per xact       count% of total
---------------------------------------------------------------------
Total Timeouts                      0.0         0.0         0       n/a   

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

Data Cache Management
---------------------

Cache Statistics Summary (All Caches)
-------------------------------------
                                  per sec      per xact       count% of total
                           --------------------------------------------

    Cache Search Summary
      Total Cache Hits            25106.6      225959.0      225959   100.0 %
      Total Cache Misses            0.0         0.0         0       0.0 %
-----------------------------------------------------------
    Total Cache Searches          25106.6      225959.0      225959            

    Cache Turnover
      Buffers Grabbed               0.0         0.0         0       n/a   

    Cache Strategy Summary
      Cached (LRU) Buffers      25106.6      225959.0      225959   100.0 %
      Discarded (MRU) Buffers         0.0         0.0         0       0.0 %

    Large I/O Usage
                                    0.0         0.0         0       n/a   

    Large I/O Effectiveness
      Pages by Lrg I/O Cached         0.0         0.0         0       n/a   

    Asynchronous Prefetch Activity
                                    0.0         0.0         0       n/a   

    Other Asynchronous Prefetch Statistics
      APFs Used                     0.0         0.0         0       n/a   
      APF Waits for I/O               0.0         0.0         0       n/a   
      APF Discards                  0.0         0.0         0       n/a   

    Dirty Read Behavior
      Page Requests                   0.0         0.0         0       n/a   

-------------------------------------------------------------------------------
Cache: default data cache                                                   
                                  per sec      per xact       count% of total
---------------------------------------------------------------------
    Spinlock Contention               n/a         n/a         n/a       0.0 %

    Utilization                     n/a         n/a         n/a      94.9 %

    Cache Searches
      Cache Hits                  23819.2      214373.0      214373   100.0 %
         Found in Wash                0.0         0.0         0       0.0 %
      Cache Misses                  0.0         0.0         0       0.0 %
-----------------------------------------------------------
    Total Cache Searches          23819.2      214373.0      214373            

    Pool Turnover                     0.0         0.0         0       n/a   

    Buffer Wash Behavior
      Statistics Not Available - No Buffers Entered Wash Section Yet

    Cache Strategy
      Cached (LRU) Buffers      23819.2      214373.0      214373   100.0 %
      Discarded (MRU) Buffers         0.0         0.0         0       0.0 %

    Large I/O Usage
      Total Large I/O Requests      0.0         0.0         0       n/a   

    Large I/O Detail
      No Large Pool(s) In This Cache

    Dirty Read Behavior
          Page Requests               0.0         0.0         0       n/a         

-------------------------------------------------------------------------------
Cache: s50cardinfo                                                            
                                  per sec      per xact       count% of total
---------------------------------------------------------------------
    Spinlock Contention               n/a         n/a         n/a       0.0 %

    Utilization                     n/a         n/a         n/a       0.9 %

    Cache Searches
      Cache Hits                  214.6      1931.0      1931   100.0 %
         Found in Wash                0.3         3.0         3       0.2 %
      Cache Misses                  0.0         0.0         0       0.0 %
-----------------------------------------------------------
    Total Cache Searches            214.6      1931.0      1931            

    Pool Turnover                     0.0         0.0         0       n/a   

    Buffer Wash Behavior
      Statistics Not Available - No Buffers Entered Wash Section Yet

    Cache Strategy
      Cached (LRU) Buffers          214.6      1931.0      1931   100.0 %
      Discarded (MRU) Buffers         0.0         0.0         0       0.0 %

    Large I/O Usage
      Total Large I/O Requests      0.0         0.0         0       n/a   

    Large I/O Detail
      No Large Pool(s) In This Cache

    Dirty Read Behavior
          Page Requests               0.0         0.0         0       n/a         

-------------------------------------------------------------------------------
Cache: s50cardinfo_called                                                   
                                  per sec      per xact       count% of total
---------------------------------------------------------------------
    Spinlock Contention               n/a         n/a         n/a       0.0 %

    Utilization                     n/a         n/a         n/a       0.9 %

    Cache Searches
      Cache Hits                  214.6      1931.0      1931   100.0 %
         Found in Wash                0.3         3.0         3       0.2 %
      Cache Misses                  0.0         0.0         0       0.0 %
-----------------------------------------------------------
    Total Cache Searches            214.6      1931.0      1931            

    Pool Turnover                     0.0         0.0         0       n/a   

    Buffer Wash Behavior
      Statistics Not Available - No Buffers Entered Wash Section Yet

    Cache Strategy
      Cached (LRU) Buffers          214.6      1931.0      1931   100.0 %
      Discarded (MRU) Buffers         0.0         0.0         0       0.0 %

    Large I/O Usage
      Total Large I/O Requests      0.0         0.0         0       n/a   

    Large I/O Detail
      No Large Pool(s) In This Cache

    Dirty Read Behavior
          Page Requests               0.0         0.0         0       n/a         

-------------------------------------------------------------------------------
Cache: s50ring                                                               
                                  per sec      per xact       count% of total
---------------------------------------------------------------------
    Spinlock Contention               n/a         n/a         n/a       0.0 %

    Utilization                     n/a         n/a         n/a       1.7 %

    Cache Searches
      Cache Hits                  429.1      3862.0      3862   100.0 %
         Found in Wash                0.3         3.0         3       0.1 %
      Cache Misses                  0.0         0.0         0       0.0 %
-----------------------------------------------------------
    Total Cache Searches            429.1      3862.0      3862            

    Pool Turnover                     0.0         0.0         0       n/a   

    Buffer Wash Behavior
      Statistics Not Available - No Buffers Entered Wash Section Yet

    Cache Strategy
      Cached (LRU) Buffers          429.1      3862.0      3862   100.0 %
      Discarded (MRU) Buffers         0.0         0.0         0       0.0 %

    Large I/O Usage
      Total Large I/O Requests      0.0         0.0         0       n/a   

    Large I/O Detail
      No Large Pool(s) In This Cache

    Dirty Read Behavior
          Page Requests               0.0         0.0         0       n/a         

-------------------------------------------------------------------------------
Cache: s50timecallingnum02                                                   
                                  per sec      per xact       count% of total
---------------------------------------------------------------------
    Spinlock Contention               n/a         n/a         n/a       0.0 %

    Utilization                     n/a         n/a         n/a       1.7 %

    Cache Searches
      Cache Hits                  429.1      3862.0      3862   100.0 %
         Found in Wash                0.3         3.0         3       0.1 %
      Cache Misses                  0.0         0.0         0       0.0 %
-----------------------------------------------------------
    Total Cache Searches            429.1      3862.0      3862            

    Pool Turnover                     0.0         0.0         0       n/a   

    Buffer Wash Behavior
      Statistics Not Available - No Buffers Entered Wash Section Yet

    Cache Strategy
      Cached (LRU) Buffers          429.1      3862.0      3862   100.0 %
      Discarded (MRU) Buffers         0.0         0.0         0       0.0 %

    Large I/O Usage
      Total Large I/O Requests      0.0         0.0         0       n/a   

    Large I/O Detail
      No Large Pool(s) In This Cache

    Dirty Read Behavior
          Page Requests               0.0         0.0         0       n/a         

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

Procedure Cache Management      per sec      per xact       count% of total
-----------------------------------------------------------------------
Procedure Requests                214.8      1933.0      1933       n/a   
Procedure Reads from Disk         0.0         0.0         0       0.0 %
Procedure Writes to Disk            0.0         0.0         0       0.0 %
Procedure Removals                  0.0         0.0         0       n/a   

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

Memory Management               per sec      per xact       count% of total
-----------------------------------------------------------------------
Pages Allocated                     0.0         0.0         0       n/a   
Pages Released                      0.0         0.0         0       n/a   

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

Recovery Management
-------------------

Checkpoints                     per sec      per xact       count% of total
---------------------------------------------------------------------
Total Checkpoints                   0.0         0.0         0       n/a   

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

Disk I/O Management
-------------------

Max Outstanding I/Os            per sec      per xact       count% of total
---------------------------------------------------------------------
    Server                            n/a         n/a         0       n/a   
    Engine 0                        n/a         n/a         0       n/a   


I/Os Delayed by
    Disk I/O Structures               n/a         n/a         0       n/a   
    Server Config Limit               n/a         n/a         0       n/a   
    Engine Config Limit               n/a         n/a         0       n/a   
    Operating System Limit            n/a         n/a         0       n/a   


Total Requested Disk I/Os         0.0         0.0         0            

Completed Disk I/O's
    Total Completed I/Os            0.0         0.0         0       n/a   
-----------------------------------------------------------            
Total Completed I/Os                0.0         0.0         0            


Device Activity Detail
----------------------

    No Disk I/O in Given Sample Period

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

Network I/O Management
----------------------

Total Network I/O Requests       1073.2      9659.0      9659       n/a   
    Network I/Os Delayed            0.0         0.0         0       0.0 %


Total TDS Packets Received      per sec      per xact       count% of total
---------------------------------------------------------------------
    Engine 0                        213.7      1923.0      1923   100.0 %
-----------------------------------------------------------            
Total TDS Packets Rec'd         213.7      1923.0      1923            


Total Bytes Received            per sec      per xact       count% of total
---------------------------------------------------------------------
    Engine 0                      15378.7      138408.0      138408   100.0 %
-----------------------------------------------------------            
Total Bytes Rec'd               15378.7      138408.0      138408            


   Avg Bytes Rec'd per Packet          n/a         n/a          71       n/a

-----------------------------------------------------------------------------

Total TDS Packets Sent          per sec      per xact       count% of total
---------------------------------------------------------------------
    Engine 0                        858.4      7726.0      7726   100.0 %
-----------------------------------------------------------            
Total TDS Packets Sent            858.4      7726.0      7726            


Total Bytes Sent                per sec      per xact       count% of total
---------------------------------------------------------------------
    Engine 0                     367786.8   3310081.0   3310081   100.0 %
-----------------------------------------------------------            
Total Bytes Sent               367786.8   3310081.0   3310081            


Avg Bytes Sent per Packet         n/a         n/a         428       n/a   

=============================== End of Report =================================
(1 row affected)
(return status = 0)

iops 发表于 2008-10-20 15:47

1. 解决性能缓慢的问题,需要看最繁忙的时间段的性能数据, 在系统慢的时间段把sar -ud 60 60 /vmstat 60 60
2. 再配合sp_sysmon看,效果比较好
3. 你的服务器和存储配置是什么?

tyrone.dev 发表于 2008-10-21 04:51

network send 占用了69% , 最有可能是
1、存储过程中有很多的循环处理。
2、返回了一个大结果集。
1的可能性高一点。

非永久性 发表于 2008-10-27 11:50

camham 发表于 2008-10-30 15:39

Network Packet Received         213.7      1923.0      1923      17.3 %
    Network Packet Sent             858.4      7726.0      7726      69.5 %
增加网络包大小,加cpu
页: [1]
查看完整版本: SYBASE 的性能问题,请各位帮忙分析下,看看瓶颈在什么地方,谢谢。