免费注册 查看新帖 |

Chinaunix

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

数据库插入速度不够了!请帮忙看看sysmon的结果,看如何调整? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2004-02-04 14:12 |只看该作者 |倒序浏览
1>; sp_sysmon "00:01:00"
2>; go
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.1/EBF 10431 ESD#2/P/Li
Server Name:           SYBASE
Run Date:              Feb 04, 2004
Statistics Cleared at: 14:09:37
Statistics Sampled at: 14:10:37
Sample Interval:       00:01:00

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

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

  Engine Busy Utilization
    Engine 0                       48.4 %
    Engine 1                       37.3 %
    Engine 2                        6.7 %
    Engine 3                        8.5 %
  -----------             ---------------          ----------------
  Summary                 Total   100.8 %          Average   25.2 %

  CPU Yields by Engine            per sec      per xact       count  % of total
  -------------------------  ------------  ------------  ----------  ----------
    Engine 0                       1416.6           9.5       84995      28.8 %
    Engine 1                       3325.7          22.2      199541      67.6 %
    Engine 2                         97.5           0.7        5852       2.0 %
    Engine 3                         78.3           0.5        4698       1.6 %
  -------------------------  ------------  ------------  ----------
  Total CPU Yields                 4918.1          32.9      295086

  Network Checks
    Non-Blocking                 103914.3         694.2     6234859      97.6 %
    Blocking                       2503.9          16.7      150234       2.4 %
  -------------------------  ------------  ------------  ----------
  Total Network I/O Checks       106418.2         711.0     6385093
  Avg Net I/Os per Check              n/a           n/a     0.00323       n/a

  Disk I/O Checks
    Total Disk I/O Checks        319662.7        2135.6    19179760       n/a
    Checks Returning I/O              0.0           0.0           0       0.0 %

  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                  1.2           0.0          74       n/a

  Task Context Switches by Engine
    Engine 0                        497.8           3.3       29870      41.7 %
    Engine 1                        494.7           3.3       29679      41.4 %
    Engine 2                         96.1           0.6        5764       8.0 %
    Engine 3                        105.3           0.7        6315       8.8 %
  -------------------------  ------------  ------------  ----------
    Total Task Switches:           1193.8           8.0       71628

  Task Context Switches Due To:
    Voluntary Yields                141.6           0.9        8493      11.9 %
    Cache Search Misses             292.9           2.0       17576      24.5 %
    System Disk Writes                1.4           0.0          83       0.1 %
    I/O Pacing                        6.0           0.0         360       0.5 %
    Logical Lock Contention           0.0           0.0           0       0.0 %
    Address Lock Contention           0.0           0.0           1       0.0 %
    Latch Contention                  0.0           0.0           0       0.0 %
    Log Semaphore Contention          5.3           0.0         320       0.4 %
    PLC Lock Contention               0.0           0.0           0       0.0 %
    Group Commit Sleeps               9.1           0.1         548       0.8 %
    Last Log Page Writes            140.8           0.9        8449      11.8 %
    Modify Conflicts                 17.2           0.1        1029       1.4 %
    I/O Device Contention           102.6           0.7        6158       8.6 %
    Network Packet Received         173.2           1.2       10389      14.5 %
    Network Packet Sent             170.8           1.1       10248      14.3 %
    Other Causes                    132.9           0.9        7974      11.1 %


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

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

  Application Statistics Summary (All Applications)
  -------------------------------------------------
  Priority Changes                per sec      per xact       count  % of total
  -------------------------  ------------  ------------  ----------  ----------
    To High Priority                  7.8           0.1         469      30.1 %
    To Medium Priority               13.6           0.1         817      52.4 %
    To Low Priority                   4.6           0.0         274      17.6 %
  -------------------------  ------------  ------------  ----------
  Total Priority Changes             26.0           0.2        1560

  Allotted Slices Exhausted       per sec      per xact       count  % of total
  -------------------------  ------------  ------------  ----------  ----------
    High Priority                     0.0           0.0           0       0.0 %
    Medium Priority                   0.2           0.0          11     100.0 %
    Low Priority                      0.0           0.0           0       0.0 %
  -------------------------  ------------  ------------  ----------
  Total Slices Exhausted              0.2           0.0          11

  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                              6.0           0.0         362      24.9 %
  Dirty                             18.2           0.1        1089      75.1 %
                             ------------  ------------  ----------
Total Washes                        24.2           0.2        1451

Garbage Collections                  0.1           0.0           4       n/a
Pages Processed in GC                0.0           0.0           0       n/a

Statistics Updates                   0.1           0.0           4       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                 149.7           n/a        8981     n/a

  Transaction Detail              per sec      per xact       count  % of total
  -------------------------  ------------  ------------  ----------  ----------
    Inserts
      APL Heap Table                  0.0           0.0           0       0.0 %
      APL Clustered Table           146.1           1.0        8764     100.0 %
      Data Only Lock Table            0.0           0.0           0       0.0 %
  -------------------------  ------------  ------------  ----------  ----------
    Total Rows Inserted             146.1           1.0        8764     100.0 %

    Updates
      Total Rows Updated              0.0           0.0           0       n/a
  -------------------------  ------------  ------------  ----------  ----------
    Total Rows Updated                0.0           0.0           0       0.0 %

    Data Only Locked Updates
      Total Rows Updated              0.0           0.0           0       n/a
  -------------------------  ------------  ------------  ----------  ----------
    Total DOL Rows Updated            0.0           0.0           0       0.0 %

    Deletes
      Total Rows Deleted              0.0           0.0           0       n/a
  =========================  ============  ============  ==========
    Total Rows Affected             146.1           1.0        8764

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

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

  ULC Flushes to Xact Log         per sec      per xact       count  % of total
  -------------------------  ------------  ------------  ----------  ----------
    by Full ULC                       0.0           0.0           0       0.0 %
    by End Transaction              147.3           1.0        8837      97.2 %
    by Change of Database             0.0           0.0           2       0.0 %
    by Single Log Record              0.3           0.0          17       0.2 %
    by Other                          3.9           0.0         234       2.6 %
  -------------------------  ------------  ------------  ----------
  Total ULC Flushes                 151.5           1.0        9090

  ULC Log Records                  1065.4           7.1       63922       n/a
  Max ULC Size During Sample          n/a           n/a       65376       n/a

  ULC Semaphore Requests
    Granted                        2149.9          14.4      128992     100.0 %
    Waited                            0.0           0.0           0       0.0 %
  -------------------------  ------------  ------------  ----------
  Total ULC Semaphore Req          2149.9          14.4      128992

  Log Semaphore Requests
    Granted                         144.5           1.0        8668      96.4 %
    Waited                            5.3           0.0         320       3.6 %
  -------------------------  ------------  ------------  ----------
  Total Log Semaphore Req           149.8           1.0        8988

  Transaction Log Writes            146.5           1.0        8787       n/a
  Transaction Log Alloc               5.6           0.0         336       n/a
  Avg # Writes per Log Page           n/a           n/a    26.15178       n/a

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

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

  Nonclustered Maintenance        per sec      per xact       count  % of total
  -------------------------  ------------  ------------  ----------  ----------
    Ins/Upd Requiring Maint         146.1           1.0        8764       n/a
      # of NC Ndx Maint             618.6           4.1       37113       n/a
      Avg NC Ndx Maint / Op           n/a           n/a     4.23471       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                         1.2           0.0          69       n/a
    Retries                           0.0           0.0           0       0.0 %
    Deadlocks                         0.0           0.0           0       0.0 %
    Add Index Level                   0.0           0.0           0       0.0 %

  Page Shrinks                        0.0           0.0           0       n/a

  Index Scans                     per sec      per xact       count  % of total
  -------------------------  ------------  ------------  ----------  ----------
    Ascending Scans                 618.3           4.1       37095      88.7 %
    DOL Ascending Scans              78.9           0.5        4734      11.3 %
    Descending Scans                  0.0           0.0           2       0.0 %
    DOL Descending Scans              0.0           0.0           0       0.0 %
                             ------------  ------------  ----------
    Total Scans                     697.2           4.7       41831


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

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

  Lock Summary                    per sec      per xact       count  % of total
  -------------------------  ------------  ------------  ----------  ----------
  Total Lock Requests              5224.0          34.9      313439       n/a
  Avg Lock Contention                 0.0           0.0           1       0.0 %
  Deadlock Percentage                 0.0           0.0           0       0.0 %

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

  Table Lock Hashtable
    Lookups                         708.9           4.7       42536       n/a
    Avg Chain Length                  n/a           n/a     0.01399       n/a
    Spinlock Contention               n/a           n/a         n/a       0.0 %

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

  Shared Table
    Granted                           0.0           0.0           1     100.0 %
    Waited                            0.0           0.0           0       0.0 %
  -------------------------  ------------  ------------  ----------  ----------
  Total SH-Table Requests             0.0           0.0           1       0.0 %

  Exclusive Intent
    Granted                         159.1           1.1        9545     100.0 %
    Waited                            0.0           0.0           0       0.0 %
  -------------------------  ------------  ------------  ----------  ----------
  Total EX-Intent Requests          159.1           1.1        9545       3.0 %

  Shared Intent
    Granted                         549.8           3.7       32989     100.0 %
    Waited                            0.0           0.0           0       0.0 %
  -------------------------  ------------  ------------  ----------  ----------
  Total SH-Intent Requests          549.8           3.7       32989      10.5 %

  Page & Row Lock HashTable
    Lookups                        1813.8          12.1      108826       n/a
    Avg Chain Length                  n/a           n/a     0.00119       n/a
    Spinlock Contention               n/a           n/a         n/a       0.0 %

  Exclusive Page
    Granted                         769.0           5.1       46137     100.0 %
    Waited                            0.0           0.0           0       0.0 %
  -------------------------  ------------  ------------  ----------  ----------
  Total EX-Page Requests            769.0           5.1       46137      14.7 %

  Update Page
    Granted                           3.5           0.0         210     100.0 %
    Waited                            0.0           0.0           0       0.0 %
  -------------------------  ------------  ------------  ----------  ----------
  Total UP-Page Requests              3.5           0.0         210       0.1 %

  Shared Page
    Granted                         996.0           6.7       59757     100.0 %
    Waited                            0.0           0.0           0       0.0 %
  -------------------------  ------------  ------------  ----------  ----------
  Total SH-Page Requests            996.0           6.7       59757      19.1 %


  Exclusive Row
    Granted                           0.0           0.0           2     100.0 %
    Waited                            0.0           0.0           0       0.0 %
  -------------------------  ------------  ------------  ----------  ----------
  Total EX-Row Requests               0.0           0.0           2       0.0 %

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

  Shared Row
    Granted                          39.5           0.3        2367     100.0 %
    Waited                            0.0           0.0           0       0.0 %
  -------------------------  ------------  ------------  ----------  ----------
  Total SH-Row Requests              39.5           0.3        2367       0.8 %


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

  Address Lock Hashtable
    Lookups                        2707.2          18.1      162431       n/a
    Avg Chain Length                  n/a           n/a     0.00043       n/a
    Spinlock Contention               n/a           n/a         n/a       0.0 %

  Exclusive Address
    Granted                        1824.8          12.2      109489     100.0 %
    Waited                            0.0           0.0           0       0.0 %
  -------------------------  ------------  ------------  ----------  ----------
  Total EX-Address Requests        1824.8          12.2      109489      34.9 %

  Shared Address
    Granted                         882.4           5.9       52941     100.0 %
    Waited                            0.0           0.0           1       0.0 %
  -------------------------  ------------  ------------  ----------  ----------
  Total SH-Address Requests         882.4           5.9       52942      16.9 %


  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

  Tuning Recommendations for Lock Management
  ------------------------------------------

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

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

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

    Cache Search Summary
      Total Cache Hits             3762.2          25.1      225734      92.4 %
      Total Cache Misses            310.8           2.1       18645       7.6 %
  -------------------------  ------------  ------------  ----------
    Total Cache Searches           4073.0          27.2      244379

    Cache Turnover
      Buffers Grabbed               585.2           3.9       35110       n/a
      Buffers Grabbed Dirty           0.0           0.0           0       0.0 %

    Cache Strategy Summary
      Cached (LRU) Buffers         4055.8          27.1      243345     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     100.0 %

    Cache Searches
      Cache Hits                   3762.2          25.1      225734      92.4 %
         Found in Wash               38.2           0.3        2291       1.0 %
      Cache Misses                  310.8           2.1       18645       7.6 %
  -------------------------  ------------  ------------  ----------
    Total Cache Searches           4073.0          27.2      244379

    Pool Turnover
      16 Kb Pool
          LRU Buffer Grab           292.9           2.0       17574      50.1 %
            Grabbed Dirty             0.0           0.0           0       0.0 %
  -------------------------  ------------  ------------  ----------
    Total Cache Turnover            585.2           3.9       35110

    Buffer Wash Behavior
      Buffers Passed Clean           65.1           0.4        3908      20.7 %
      Buffers Already in I/O          0.2           0.0           9       0.0 %
      Buffers Washed Dirty          248.8           1.7       14929      79.2 %

    Cache Strategy
      Cached (LRU) Buffers         4055.8          27.1      243345     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

    Tuning Recommendations for Data cache : default data cache
    -------------------------------------
    - Consider removing the 128k pool for this cache.

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

Procedure Cache Management        per sec      per xact       count  % of total
---------------------------  ------------  ------------  ----------  ----------
  Procedure Requests                  0.9           0.0          52       n/a
  Procedure Reads from Disk           0.0           0.0           1       1.9 %
  Procedure Writes to Disk            0.0           0.0           0       0.0 %
  Procedure Removals                  0.1           0.0           5       n/a


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

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

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

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

  Checkpoints                     per sec      per xact       count  % of total
  -------------------------  ------------  ------------  ----------  ----------
    # of Normal Checkpoints           0.0           0.0           2     100.0 %
    # of Free Checkpoints             0.0           0.0           0       0.0 %
  -------------------------  ------------  ------------  ----------
  Total Checkpoints                   0.0           0.0           2

  Avg Time per Normal Chkpt       0.00000 seconds

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

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
    Engine 1                          n/a           n/a           0       n/a
    Engine 2                          n/a           n/a           0       n/a
    Engine 3                          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         711.2           4.8       42672

  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
  ----------------------

  Device:
    /opt/data1
    data1                         per sec      per xact       count  % of total
  -------------------------  ------------  ------------  ----------  ----------
    Reads
      APF                             0.0           0.0           0       0.0 %
      Non-APF                        10.8           0.1         647      98.3 %
    Writes                            0.2           0.0          11       1.7 %
  -------------------------  ------------  ------------  ----------  ----------
  Total I/Os                         11.0           0.1         658       1.5 %

  Device Semaphore Granted           11.0           0.1         658     100.0 %
  Device Semaphore Waited             0.0           0.0           0       0.0 %

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

  Device:
    /opt/data10
    data10                        per sec      per xact       count  % of total
  -------------------------  ------------  ------------  ----------  ----------
  Total I/Os                          0.0           0.0           0       n/a
  -------------------------  ------------  ------------  ----------  ----------
  Total I/Os                          0.0           0.0           0       0.0 %


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

  Device:
    /opt/data11
    data11                        per sec      per xact       count  % of total
  -------------------------  ------------  ------------  ----------  ----------
  Total I/Os                          0.0           0.0           0       n/a
  -------------------------  ------------  ------------  ----------  ----------
  Total I/Os                          0.0           0.0           0       0.0 %


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

  Device:
    /opt/data12
    data12                        per sec      per xact       count  % of total
  -------------------------  ------------  ------------  ----------  ----------
  Total I/Os                          0.0           0.0           0       n/a
  -------------------------  ------------  ------------  ----------  ----------
  Total I/Os                          0.0           0.0           0       0.0 %


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

  Device:
    /opt/data13
    data13                        per sec      per xact       count  % of total
  -------------------------  ------------  ------------  ----------  ----------
  Total I/Os                          0.0           0.0           0       n/a
  -------------------------  ------------  ------------  ----------  ----------
  Total I/Os                          0.0           0.0           0       0.0 %


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

  Device:
    /opt/data14
    data14                        per sec      per xact       count  % of total
  -------------------------  ------------  ------------  ----------  ----------
  Total I/Os                          0.0           0.0           0       n/a
  -------------------------  ------------  ------------  ----------  ----------
  Total I/Os                          0.0           0.0           0       0.0 %


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

  Device:
    /opt/data15
    data15                        per sec      per xact       count  % of total
  -------------------------  ------------  ------------  ----------  ----------
  Total I/Os                          0.0           0.0           0       n/a
  -------------------------  ------------  ------------  ----------  ----------
  Total I/Os                          0.0           0.0           0       0.0 %


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

  Device:
    /opt/data16
    data16                        per sec      per xact       count  % of total
  -------------------------  ------------  ------------  ----------  ----------
    Reads
      APF                             0.0           0.0           0       0.0 %
      Non-APF                         0.7           0.0          41     100.0 %
    Writes                            0.0           0.0           0       0.0 %
  -------------------------  ------------  ------------  ----------  ----------
  Total I/Os                          0.7           0.0          41       0.1 %

  Device Semaphore Granted            0.7           0.0          41     100.0 %
  Device Semaphore Waited             0.0           0.0           0       0.0 %

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

  Device:
    /opt/data17
    data17                        per sec      per xact       count  % of total
  -------------------------  ------------  ------------  ----------  ----------
    Reads
      APF                             0.0           0.0           0       0.0 %
      Non-APF                         0.8           0.0          48     100.0 %
    Writes                            0.0           0.0           0       0.0 %
  -------------------------  ------------  ------------  ----------  ----------
  Total I/Os                          0.8           0.0          48       0.1 %

  Device Semaphore Granted            0.8           0.0          48     100.0 %
  Device Semaphore Waited             0.0           0.0           0       0.0 %

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

  Device:
    /opt/data18
    data18                        per sec      per xact       count  % of total
  -------------------------  ------------  ------------  ----------  ----------
    Reads
      APF                             0.0           0.0           0       0.0 %
      Non-APF                         0.9           0.0          54      90.0 %
    Writes                            0.1           0.0           6      10.0 %
  -------------------------  ------------  ------------  ----------  ----------
  Total I/Os                          1.0           0.0          60       0.1 %

  Device Semaphore Granted            1.0           0.0          60     100.0 %
  Device Semaphore Waited             0.0           0.0           0       0.0 %

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

  Device:
    /opt/data19
    data19                        per sec      per xact       count  % of total
  -------------------------  ------------  ------------  ----------  ----------
    Reads
      APF                             0.0           0.0           0       0.0 %
      Non-APF                         4.5           0.0         268      54.6 %
    Writes                            3.7           0.0         223      45.4 %
  -------------------------  ------------  ------------  ----------  ----------
  Total I/Os                          8.2           0.1         491       1.2 %

  Device Semaphore Granted            8.1           0.1         488      99.2 %
  Device Semaphore Waited             0.1           0.0           4       0.8 %

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

  Device:
    /opt/data2
    data2                         per sec      per xact       count  % of total
  -------------------------  ------------  ------------  ----------  ----------
  Total I/Os                          0.0           0.0           0       n/a
  -------------------------  ------------  ------------  ----------  ----------
  Total I/Os                          0.0           0.0           0       0.0 %


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

  Device:
    /opt/data20
    data20                        per sec      per xact       count  % of total
  -------------------------  ------------  ------------  ----------  ----------
    Reads
      APF                             0.0           0.0           0       0.0 %
      Non-APF                         2.7           0.0         161      65.7 %
    Writes                            1.4           0.0          84      34.3 %
  -------------------------  ------------  ------------  ----------  ----------
  Total I/Os                          4.1           0.0         245       0.6 %

  Device Semaphore Granted            4.1           0.0         243      98.4 %
  Device Semaphore Waited             0.1           0.0           4       1.6 %

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

  Device:
    /opt/data21
    data21                        per sec      per xact       count  % of total
  -------------------------  ------------  ------------  ----------  ----------
    Reads
      APF                             0.0           0.0           0       0.0 %
      Non-APF                        80.0           0.5        4800      50.3 %
    Writes                           79.0           0.5        4739      49.7 %
  -------------------------  ------------  ------------  ----------  ----------
  Total I/Os                        159.0           1.1        9539      22.4 %

  Device Semaphore Granted          144.5           1.0        8667      87.2 %
  Device Semaphore Waited            21.2           0.1        1270      12.8 %

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

  Device:
    /opt/data22
    data22                        per sec      per xact       count  % of total
  -------------------------  ------------  ------------  ----------  ----------
    Reads
      APF                             0.0           0.0           0       0.0 %
      Non-APF                       185.1           1.2       11107      49.8 %
    Writes                          186.7           1.2       11199      50.2 %
  -------------------------  ------------  ------------  ----------  ----------
  Total I/Os                        371.8           2.5       22306      52.3 %

  Device Semaphore Granted          316.2           2.1       18973      79.6 %
  Device Semaphore Waited            80.9           0.5        4853      20.4 %

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

  Device:
    /opt/data23
    data23                        per sec      per xact       count  % of total
  -------------------------  ------------  ------------  ----------  ----------
  Total I/Os                          0.0           0.0           0       n/a
  -------------------------  ------------  ------------  ----------  ----------
  Total I/Os                          0.0           0.0           0       0.0 %


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

  Device:
    /opt/data24
    data24                        per sec      per xact       count  % of total
  -------------------------  ------------  ------------  ----------  ----------
  Total I/Os                          0.0           0.0           0       n/a
  -------------------------  ------------  ------------  ----------  ----------
  Total I/Os                          0.0           0.0           0       0.0 %


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

  Device:
    /opt/data3
    data3                         per sec      per xact       count  % of total
  -------------------------  ------------  ------------  ----------  ----------
  Total I/Os                          0.0           0.0           0       n/a
  -------------------------  ------------  ------------  ----------  ----------
  Total I/Os                          0.0           0.0           0       0.0 %


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

  Device:
    /opt/data4
    data4                         per sec      per xact       count  % of total
  -------------------------  ------------  ------------  ----------  ----------
    Reads
      APF                             0.0           0.0           0       0.0 %
      Non-APF                         0.4           0.0          21     100.0 %
    Writes                            0.0           0.0           0       0.0 %
  -------------------------  ------------  ------------  ----------  ----------
  Total I/Os                          0.4           0.0          21       0.0 %

  Device Semaphore Granted            0.4           0.0          21     100.0 %
  Device Semaphore Waited             0.0           0.0           0       0.0 %

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

  Device:
    /opt/data5
    data5                         per sec      per xact       count  % of total
  -------------------------  ------------  ------------  ----------  ----------
    Reads
      APF                             0.0           0.0           0       0.0 %
      Non-APF                         0.4           0.0          25      96.2 %
    Writes                            0.0           0.0           1       3.8 %
  -------------------------  ------------  ------------  ----------  ----------
  Total I/Os                          0.4           0.0          26       0.1 %

  Device Semaphore Granted            0.4           0.0          26     100.0 %
  Device Semaphore Waited             0.0           0.0           0       0.0 %

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

  Device:
    /opt/data6
    data6                         per sec      per xact       count  % of total
  -------------------------  ------------  ------------  ----------  ----------
  Total I/Os                          0.0           0.0           0       n/a
  -------------------------  ------------  ------------  ----------  ----------
  Total I/Os                          0.0           0.0           0       0.0 %


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

  Device:
    /opt/data7
    data7                         per sec      per xact       count  % of total
  -------------------------  ------------  ------------  ----------  ----------
  Total I/Os                          0.0           0.0           0       n/a
  -------------------------  ------------  ------------  ----------  ----------
  Total I/Os                          0.0           0.0           0       0.0 %


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

  Device:
    /opt/data8
    data8                         per sec      per xact       count  % of total
  -------------------------  ------------  ------------  ----------  ----------
  Total I/Os                          0.0           0.0           0       n/a
  -------------------------  ------------  ------------  ----------  ----------
  Total I/Os                          0.0           0.0           0       0.0 %


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

  Device:
    /opt/data9
    data9                         per sec      per xact       count  % of total
  -------------------------  ------------  ------------  ----------  ----------
    Reads
      APF                             0.0           0.0           0       0.0 %
      Non-APF                         0.3           0.0          20     100.0 %
    Writes                            0.0           0.0           0       0.0 %
  -------------------------  ------------  ------------  ----------  ----------
  Total I/Os                          0.3           0.0          20       0.0 %

  Device Semaphore Granted            0.3           0.0          20     100.0 %
  Device Semaphore Waited             0.0           0.0           0       0.0 %

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

  Device:
    /opt/log1
    log1                          per sec      per xact       count  % of total
  -------------------------  ------------  ------------  ----------  ----------
  Total I/Os                          0.0           0.0           0       n/a
  -------------------------  ------------  ------------  ----------  ----------
  Total I/Os                          0.0           0.0           0       0.0 %


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

  Device:
    /opt/log2
    log2                          per sec      per xact       count  % of total
  -------------------------  ------------  ------------  ----------  ----------
    Reads
      APF                             0.0           0.0           0       0.0 %
      Non-APF                         1.1           0.0          65       0.7 %
    Writes                          147.2           1.0        8831      99.3 %
  -------------------------  ------------  ------------  ----------  ----------
  Total I/Os                        148.3           1.0        8896      20.8 %

  Device Semaphore Granted          148.0           1.0        8882      99.7 %
  Device Semaphore Waited             0.5           0.0          27       0.3 %

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

  Device:
    /opt/log3
    log3                          per sec      per xact       count  % of total
  -------------------------  ------------  ------------  ----------  ----------
  Total I/Os                          0.0           0.0           0       n/a
  -------------------------  ------------  ------------  ----------  ----------
  Total I/Os                          0.0           0.0           0       0.0 %


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

  Device:
    /opt/sybase-12.5/master.dat
    master                        per sec      per xact       count  % of total
  -------------------------  ------------  ------------  ----------  ----------
    Reads
      APF                             0.0           0.0           0       0.0 %
      Non-APF                         5.3           0.0         318      98.8 %
    Writes                            0.1           0.0           4       1.2 %
  -------------------------  ------------  ------------  ----------  ----------
  Total I/Os                          5.4           0.0         322       0.8 %

  Device Semaphore Granted            5.4           0.0         322     100.0 %
  Device Semaphore Waited             0.0           0.0           0       0.0 %

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

  Device:
    /opt/sybase-12.5/sybsystemdb.dat
    systemdbdev                   per sec      per xact       count  % of total
  -------------------------  ------------  ------------  ----------  ----------
  Total I/Os                          0.0           0.0           0       n/a
  -------------------------  ------------  ------------  ----------  ----------
  Total I/Os                          0.0           0.0           0       0.0 %


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

  Device:
    /opt/sybase-12.5/sybsystemprocs.dat
    sysprocsdev                   per sec      per xact       count  % of total
  -------------------------  ------------  ------------  ----------  ----------
  Total I/Os                          0.0           0.0           0       n/a
  -------------------------  ------------  ------------  ----------  ----------
  Total I/Os                          0.0           0.0           0       0.0 %


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

  Device:
    /opt/usertemp
    usertemp                      per sec      per xact       count  % of total
  -------------------------  ------------  ------------  ----------  ----------
  Total I/Os                          0.0           0.0           0       n/a
  -------------------------  ------------  ------------  ----------  ----------
  Total I/Os                          0.0           0.0           0       0.0 %


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



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

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

  Total Network I/O Requests        244.6           1.6       14678       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                         85.8           0.6        5146      49.5 %
    Engine 1                         87.1           0.6        5227      50.3 %
    Engine 2                          0.3           0.0          16       0.2 %
    Engine 3                          0.0           0.0           0       0.0 %
  -------------------------  ------------  ------------  ----------
  Total TDS Packets Rec'd           173.2           1.2       10389


  Total Bytes Received            per sec      per xact       count  % of total
  -------------------------  ------------  ------------  ----------  ----------
    Engine 0                      18905.4         126.3     1134323      57.6 %
    Engine 1                      13886.1          92.8      833165      42.3 %
    Engine 2                         21.8           0.1        1306       0.1 %
    Engine 3                          0.0           0.0           0       0.0 %
  -------------------------  ------------  ------------  ----------
  Total Bytes Rec'd               32813.2         219.2     1968794


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

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

  Total TDS Packets Sent          per sec      per xact       count  % of total
  -------------------------  ------------  ------------  ----------  ----------
    Engine 0                         85.3           0.6        5118      49.9 %
    Engine 1                         85.3           0.6        5116      49.9 %
    Engine 2                          0.2           0.0          14       0.1 %
    Engine 3                          0.0           0.0           0       0.0 %
  -------------------------  ------------  ------------  ----------
  Total TDS Packets Sent            170.8           1.1       10248


  Total Bytes Sent                per sec      per xact       count  % of total
  -------------------------  ------------  ------------  ----------  ----------
    Engine 0                       1529.1          10.2       91744      32.2 %
    Engine 1                       3187.4          21.3      191246      67.2 %
    Engine 2                         26.9           0.2        1611       0.6 %
    Engine 3                          0.0           0.0           0       0.0 %
  -------------------------  ------------  ------------  ----------
  Total Bytes Sent                 4743.4          31.7      284601


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

=============================== End of Report =================================
(return status = 0)

论坛徽章:
0
2 [报告]
发表于 2004-02-04 14:26 |只看该作者

数据库插入速度不够了!请帮忙看看sysmon的结果,看如何调整?

采样时间短了点,但没什么大问题,下面的方面可以稍微改善:
1. 排他地址锁多了点,注意index的插入性能。
2.default data cache的16k pool的wash 池可能小了点
3. /opt/data22等设备 的磁盘性能似乎不搞,io操作过于集中了,要较大改善io的话只能使用更快的磁盘控制器和磁盘了,如果是raid,能否单占raid!

总的来说cpu利用率不高,采样时应该还是有很高的吞吐量和较快的响应时间的

论坛徽章:
0
3 [报告]
发表于 2004-02-04 14:49 |只看该作者

数据库插入速度不够了!请帮忙看看sysmon的结果,看如何调整?

这段有什么意义?
Allotted Slices Exhausted       per sec      per xact       count  % of total
  -------------------------  ------------  ------------  ----------  ----------
    High Priority                     0.0           0.0           0       0.0 %
    Medium Priority                   0.2           0.0          11     100.0 %
    Low Priority                      0.0           0.0           0       0.0 %
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP