免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
楼主: fbirds
打印 上一主题 下一主题

刚刚加完通宵班,结果比较失望。。。 [复制链接]

论坛徽章:
0
11 [报告]
发表于 2006-06-02 15:33 |只看该作者
有索引是不是造成慢的原因呀,去掉索引估计呢?

论坛徽章:
0
12 [报告]
发表于 2006-06-02 15:51 |只看该作者
这张表有6个索引,昨天处理的时候取掉了a1,a5两个索引。
CREATE NONCLUSTERED INDEX a1
    ON dbo.table(u'char',v,w,y)
go

CREATE NONCLUSTERED INDEX a2
    ON dbo.table(v'char')
go

CREATE NONCLUSTERED INDEX a3
    ON dbo.table(w'char')
go


CREATE NONCLUSTERED INDEX a4
    ON dbo.table(x'char')
go

CREATE NONCLUSTERED INDEX a5
    ON dbo.table(y'datetime')
go

CREATE NONCLUSTERED INDEX a6
    ON dbo.table(z'char')
go

论坛徽章:
0
13 [报告]
发表于 2006-06-02 15:56 |只看该作者
日常的结果1
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 11450 ESD#4/P/Li
Server Name:           xxx                                                   
Run Date:              Jun 02, 2006                                             
Statistics Cleared at: 15:15:06                                                
Statistics Sampled at: 15:18:06                                                
Sample Interval:       00:03: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                       10.2 %     25.4 %     64.4 %              
    Engine 1                       10.1 %     66.3 %     23.6 %              
    Engine 2                        0.0 %      0.0 %    100.0 %              
    Engine 3                        0.0 %      0.0 %    100.0 %              
  ------------------------       --------   --------   --------   
  Summary           Total          20.2 %     91.8 %    288.0 %              
                  Average           5.1 %     22.9 %     72.0 %              

  CPU Yields by Engine            per sec      per xact       count  % of total
  -------------------------  ------------  ------------  ----------  ----------
  Total CPU Yields                    0.0           0.0           0       n/a   

  Network Checks
    Non-Blocking                  70776.6       87860.6    12739784      99.8 %
    Blocking                        141.6         175.7       25482       0.2 %
  -------------------------  ------------  ------------  ----------
  Total Network I/O Checks        70918.1       88036.3    12765266            
  Avg Net I/Os per Check              n/a           n/a     0.00029       n/a   

  Disk I/O Checks
    Total Disk I/O Checks         76644.0       95144.3    13795919       n/a   
    Checks Returning I/O          69478.6       86249.3    12506146      90.7 %
    Avg Disk I/Os Returned            n/a           n/a     0.07961       n/a   


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

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                  2.4           3.0         436       n/a   

  Task Context Switches by Engine
    Engine 0                       3020.5        3749.6      543691      52.6 %
    Engine 1                       2724.2        3381.8      490357      47.4 %
    Engine 2                          0.3           0.4          53       0.0 %
    Engine 3                          0.8           1.0         144       0.0 %
  -------------------------  ------------  ------------  ----------
    Total Task Switches:           5745.8        7132.7     1034245            

  Task Context Switches Due To:
    Voluntary Yields                  3.7           4.6         665       0.1 %
    Cache Search Misses            5528.9        6863.5      995208      96.2 %
    System Disk Writes                0.1           0.1          21       0.0 %
    I/O Pacing                        0.3           0.4          59       0.0 %
    Logical Lock Contention           0.0           0.0           0       0.0 %
    Address Lock Contention           0.0           0.0           0       0.0 %
    Latch Contention                  0.0           0.0           0       0.0 %
    Log Semaphore Contention          0.0           0.0           0       0.0 %
    PLC Lock Contention               0.0           0.0           0       0.0 %
    Group Commit Sleeps               0.0           0.0           0       0.0 %
    Last Log Page Writes              0.9           1.1         158       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          12.5          15.6        2257       0.2 %
    Network Packet Sent               7.9           9.8        1423       0.1 %
    Other Causes                    191.4         237.6       34454       3.3 %

  Tuning Recommendations for Task Management                                    
  ------------------------------------------                                    
  - Consider tuning your Data Caches.
    Look into the Data Cache management section for
    more details on this.


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

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                2.8           3.5         502      88.4 %
    To Low Priority                   0.4           0.5          66      11.6 %
  -------------------------  ------------  ------------  ----------
  Total Priority Changes              3.2           3.9         568            

  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                             13.3          16.6        2400     100.0 %
  Dirty                              0.0           0.0           0       0.0 %
                             ------------  ------------  ----------            
Total Washes                        13.3          16.6        2400              

Garbage Collections                  0.8           1.0         144       n/a   
Pages Processed in GC                0.0           0.0           0       n/a   

Statistics Updates                   0.1           0.2          24       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.8           n/a         145     n/a     

  Transaction Detail              per sec      per xact       count  % of total
  -------------------------  ------------  ------------  ----------  ----------
    Inserts
      APL Heap Table                 33.9          42.1        6104     100.0 %
      APL Clustered Table             0.0           0.0           0       0.0 %
      Data Only Lock Table            0.0           0.0           2       0.0 %
  -------------------------  ------------  ------------  ----------  ----------
    Total Rows Inserted              33.9          42.1        6106      97.9 %

    Updates
      APL Deferred                    0.0           0.0           0       0.0 %
      APL Direct In-place             0.7           0.9         126     100.0 %
      APL Direct Cheap                0.0           0.0           0       0.0 %
      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           0       0.0 %
  -------------------------  ------------  ------------  ----------  ----------
    Total Rows Updated                0.7           0.9         126       2.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
      APL Deferred                    0.0           0.0           0       0.0 %
      APL Direct                      0.0           0.0           0       0.0 %
      DOL                             0.0           0.0           2     100.0 %
  -------------------------  ------------  ------------  ----------  ----------
    Total Rows Deleted                0.0           0.0           2       0.0 %
  =========================  ============  ============  ==========
    Total Rows Affected              34.6          43.0        6234            

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

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                0.8           1.0         152      80.4 %
    by Change of Database             0.0           0.0           3       1.6 %
    by Single Log Record              0.1           0.2          23      12.2 %
    by Other                          0.1           0.1          11       5.8 %
  -------------------------  ------------  ------------  ----------
  Total ULC Flushes                   1.1           1.3         189            

  ULC Log Records                     3.5           4.4         632       n/a   
  Max ULC Size During Sample          n/a           n/a        2688       n/a   

  ULC Semaphore Requests
    Granted                           8.1          10.1        1460     100.0 %
    Waited                            0.0           0.0           0       0.0 %
  -------------------------  ------------  ------------  ----------
  Total ULC Semaphore Req             8.1          10.1        1460            

  Log Semaphore Requests
    Granted                           1.8           2.3         330     100.0 %
    Waited                            0.0           0.0           0       0.0 %
  -------------------------  ------------  ------------  ----------
  Total Log Semaphore Req             1.8           2.3         330            

  Transaction Log Writes              1.1           1.4         196       n/a   
  Transaction Log Alloc               0.2           0.2          35       n/a   
  Avg # Writes per Log Page           n/a           n/a     5.60000       n/a   

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

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

  Nonclustered Maintenance        per sec      per xact       count  % of total
  -------------------------  ------------  ------------  ----------  ----------
    Ins/Upd Requiring Maint           0.7           0.9         134       n/a   
      # of NC Ndx Maint               0.0           0.1           8       n/a   
      Avg NC Ndx Maint / Op           n/a           n/a     0.05970       n/a   

    Deletes Requiring Maint           0.7           0.9         126       n/a   
      # of NC Ndx Maint               0.0           0.0           0       n/a   
      Avg NC Ndx Maint / Op           n/a           n/a     0.00000       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           2       n/a   
      # of DOL Ndx Maint              0.0           0.0           2       n/a   
      Avg DOL Ndx Maint / Op          n/a           n/a     1.00000       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                 161.1         199.9       28990      99.6 %
    DOL Ascending Scans               0.6           0.7         105       0.4 %
    Descending Scans                  0.0           0.0           3       0.0 %
    DOL Descending Scans              0.0           0.0           0       0.0 %
                             ------------  ------------  ----------            
    Total Scans                     161.7         200.7       29098            

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

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

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

  Open Object Usage                                                            
    Active                            n/a           n/a         416       n/a   
    Max Ever Used Since Boot          n/a           n/a         416       n/a   
    Free                              n/a           n/a        4584       n/a   
    Reuse Requests                                                              
      Succeeded                       n/a           n/a           0       n/a   
      Failed                          n/a           n/a           0       n/a   

  Open Index Usage                                                              
    Active                            n/a           n/a         262       n/a   
    Max Ever Used Since Boot          n/a           n/a         262       n/a   
    Free                              n/a           n/a        4738       n/a   
    Reuse Requests                                                              
      Succeeded                       n/a           n/a           0       n/a   
      Failed                          n/a           n/a           0       n/a   

  Open Database Usage                                                           
    Active                            n/a           n/a           6       n/a   
    Max Ever Used Since Boot          n/a           n/a           6       n/a   
    Free                              n/a           n/a           6       n/a   
    Reuse Requests                                                              
      Succeeded                       n/a           n/a           0       n/a   
      Failed                          n/a           n/a           0       n/a   

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

  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 %

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

论坛徽章:
0
14 [报告]
发表于 2006-06-02 15:57 |只看该作者
2
Lock Management
---------------

  Lock Summary                    per sec      per xact       count  % of total
  -------------------------  ------------  ------------  ----------  ----------
  Total Lock Requests              7377.0        9157.6     1327851       n/a   
  Avg Lock Contention                 0.0           0.0           0       0.0 %
  Deadlock Percentage                 0.0           0.0           0       0.0 %

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

  Table Lock Hashtable
    Lookups                          21.8          27.0        3920       n/a   
    Avg Chain Length                  n/a           n/a     0.00000       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
    Total SH-Table Requests           0.0           0.0           0       n/a   

  Exclusive Intent
    Granted                           1.5           1.8         268     100.0 %
    Waited                            0.0           0.0           0       0.0 %
  -------------------------  ------------  ------------  ----------  ----------
  Total EX-Intent Requests            1.5           1.8         268       0.0 %

  Shared Intent
    Granted                          20.3          25.2        3651     100.0 %
    Waited                            0.0           0.0           0       0.0 %
  -------------------------  ------------  ------------  ----------  ----------
  Total SH-Intent Requests           20.3          25.2        3651       0.3 %

  Page & Row Lock HashTable
    Lookups                        7189.7        8925.2     1294151       n/a   
    Avg Chain Length                  n/a           n/a     0.00061       n/a   
    Spinlock Contention               n/a           n/a         n/a       0.0 %

  Exclusive Page
    Granted                           1.6           2.0         284     100.0 %
    Waited                            0.0           0.0           0       0.0 %
  -------------------------  ------------  ------------  ----------  ----------
  Total EX-Page Requests              1.6           2.0         284       0.0 %

  Update Page
    Granted                           1.5           1.8         262     100.0 %
    Waited                            0.0           0.0           0       0.0 %
  -------------------------  ------------  ------------  ----------  ----------
  Total UP-Page Requests              1.5           1.8         262       0.0 %

  Shared Page
    Granted                        7175.4        8907.4     1291579     100.0 %
    Waited                            0.0           0.0           0       0.0 %
  -------------------------  ------------  ------------  ----------  ----------
  Total SH-Page Requests           7175.4        8907.4     1291579      97.3 %


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

  Update Row
    Granted                           0.0           0.0           2     100.0 %
    Waited                            0.0           0.0           0       0.0 %
  -------------------------  ------------  ------------  ----------  ----------
  Total UP-Row Requests               0.0           0.0           2       0.0 %

  Shared Row
    Granted                          11.2          13.9        2013     100.0 %
    Waited                            0.0           0.0           0       0.0 %
  -------------------------  ------------  ------------  ----------  ----------
  Total SH-Row Requests              11.2          13.9        2013       0.2 %


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

  Address Lock Hashtable
    Lookups                         165.5         205.4       29781       n/a   
    Avg Chain Length                  n/a           n/a     0.00000       n/a   
    Spinlock Contention               n/a           n/a         n/a       0.0 %

  Exclusive Address
    Granted                           0.3           0.4          56     100.0 %
    Waited                            0.0           0.0           0       0.0 %
  -------------------------  ------------  ------------  ----------  ----------
  Total EX-Address Requests           0.3           0.4          56       0.0 %

  Shared Address
    Granted                         165.1         205.0       29725     100.0 %
    Waited                            0.0           0.0           0       0.0 %
  -------------------------  ------------  ------------  ----------  ----------
  Total SH-Address Requests         165.1         205.0       29725       2.2 %


  Last Page Locks on Heaps
    Granted                          33.9          42.1        6104     100.0 %
    Waited                            0.0           0.0           0       0.0 %
  -------------------------  ------------  ------------  ----------  ----------
  Total Last Pg Locks                33.9          42.1        6104     100.0 %


  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             2070.7        2570.5      372721      27.2 %
      Total Cache Misses           5547.4        6886.4      998526      72.8 %
  -------------------------  ------------  ------------  ----------
    Total Cache Searches           7618.0        9456.9     1371247            

    Cache Turnover
      Buffers Grabbed              5541.0        6878.5      997385       n/a   
      Buffers Grabbed Dirty           0.0           0.0           0       0.0 %

    Cache Strategy Summary
      Cached (LRU) Buffers         1431.3        1776.8      257636      19.3 %
      Discarded (MRU) Buffers      5984.8        7429.4     1077266      80.7 %

    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
      APFs Issued                     0.0           0.0           0       0.0 %
      APFs Denied Due To                                                        
        APF I/O Overloads             0.0           0.0           0       0.0 %
        APF Limit Overloads         170.4         211.6       30680      48.7 %
        APF Reused Overloads          0.0           0.0           0       0.0 %
      APF Buffers Found in Cache                                                
        With Spinlock Held            0.0           0.0           0       0.0 %
        W/o Spinlock Held           179.5         222.8       32305      51.3 %
  -------------------------  ------------  ------------  ----------
    Total APFs Requested            349.9         434.4       62985            

    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                   2070.7        2570.5      372721      27.2 %
         Found in Wash              119.0         147.7       21420       5.7 %
      Cache Misses                 5547.4        6886.4      998526      72.8 %
  -------------------------  ------------  ------------  ----------
    Total Cache Searches           7618.0        9456.9     1371247            

    Pool Turnover
      2  Kb Pool                                                               
          LRU Buffer Grab          5541.0        6878.5      997385     100.0 %
            Grabbed Dirty             0.0           0.0           0       0.0 %
  -------------------------  ------------  ------------  ----------
    Total Cache Turnover           5541.0        6878.5      997385            

    Buffer Wash Behavior
      Buffers Passed Clean         5635.0        6995.2     1014304     100.0 %
      Buffers Already in I/O          0.0           0.0           0       0.0 %
      Buffers Washed Dirty            0.0           0.0           0       0.0 %

    Cache Strategy
      Cached (LRU) Buffers         1431.3        1776.8      257636      19.3 %
      Discarded (MRU) Buffers      5984.8        7429.4     1077266      80.7 %

    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 adding a large I/O pool for this cache.

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

Procedure Cache Management        per sec      per xact       count  % of total
---------------------------  ------------  ------------  ----------  ----------
  Procedure Requests                  3.0           3.7         540       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   
  Procedure Recompilations            0.0           0.0           0       n/a   


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

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

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

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

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

  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          45       n/a   
    Engine 0                          n/a           n/a           2       n/a   
    Engine 1                          n/a           n/a           3       n/a   
    Engine 2                          n/a           n/a           0       n/a   
    Engine 3                          n/a           n/a          44       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        5531.1        6866.2      995605            

  Completed Disk I/O's
    Engine 0                       2908.4        3610.4      523505      52.6 %
    Engine 1                       2621.6        3254.4      471884      47.4 %
    Engine 2                          0.0           0.0           0       0.0 %
    Engine 3                          1.2           1.5         217       0.0 %
  -------------------------  ------------  ------------  ----------            
  Total Completed I/Os             5531.1        6866.2      995606

论坛徽章:
0
15 [报告]
发表于 2006-06-02 15:59 |只看该作者
3
Device Activity Detail
  ----------------------

  Device:                                                                       
    /dev/raw/raw101                                                            
    dev1                          per sec      per xact       count  % of total
  -------------------------  ------------  ------------  ----------  ----------
    Reads                                                                       
      APF                             0.0           0.0           0       0.0 %
      Non-APF                        50.0          62.1        9006      98.8 %
    Writes                            0.6           0.8         114       1.3 %
  -------------------------  ------------  ------------  ----------  ----------
  Total I/Os                         50.7          62.9        9120       0.9 %


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

  Device:                                                                       
    /dev/raw/raw102                                                            
    dev2                          per sec      per xact       count  % of total
  -------------------------  ------------  ------------  ----------  ----------
    Reads                                                                       
      APF                             0.0           0.0           0       0.0 %
      Non-APF                      5478.9        6801.4      986200     100.0 %
    Writes                            0.4           0.5          76       0.0 %
  -------------------------  ------------  ------------  ----------  ----------
  Total I/Os                       5479.3        6801.9      986276      99.1 %


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

  Device:                                                                       
    /dev/raw/raw105                                                            
    logdev                        per sec      per xact       count  % of total
  -------------------------  ------------  ------------  ----------  ----------
    Reads                                                                       
      APF                             0.0           0.0           0       0.0 %
      Non-APF                         0.0           0.0           1       0.5 %
    Writes                            1.1           1.4         196      99.5 %
  -------------------------  ------------  ------------  ----------  ----------
  Total I/Os                          1.1           1.4         197       0.0 %


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

  Device:                                                                       
    /sybase/sysdata/master.dat                                                  
    master                        per sec      per xact       count  % of total
  -------------------------  ------------  ------------  ----------  ----------
    Reads                                                                       
      APF                             0.0           0.0           0       0.0 %
      Non-APF                         0.0           0.0           0       0.0 %
    Writes                            0.0           0.0           6     100.0 %
  -------------------------  ------------  ------------  ----------  ----------
  Total I/Os                          0.0           0.0           6       0.0 %


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

  Device:                                                                       
    /sybase/sysdata/syb2pc.dat                                                  
    systemdbdev                   per sec      per xact       count  % of total
  -------------------------  ------------  ------------  ----------  ----------
    Reads                                                                       
      APF                             0.0           0.0           0       0.0 %
      Non-APF                         0.0           0.0           0       0.0 %
    Writes                            0.0           0.0           5     100.0 %
  -------------------------  ------------  ------------  ----------  ----------
  Total I/Os                          0.0           0.0           5       0.0 %


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

  Device:                                                                       
    /sybase/sysdata/sybprocs.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:                                                                       
    /sybase/sysdata/tempdev.dat                                                
    tempdev                       per sec      per xact       count  % of total
  -------------------------  ------------  ------------  ----------  ----------
    Reads                                                                       
      APF                             0.0           0.0           0       0.0 %
      Non-APF                         0.0           0.0           1     100.0 %
    Writes                            0.0           0.0           0       0.0 %
  -------------------------  ------------  ------------  ----------  ----------
  Total I/Os                          0.0           0.0           1       0.0 %


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



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

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

  Total Network I/O Requests         12.9          16.1        2329       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                          4.5           5.6         806      35.7 %
    Engine 1                          8.1          10.0        1451      64.3 %
    Engine 2                          0.0           0.0           0       0.0 %
    Engine 3                          0.0           0.0           0       0.0 %
  -------------------------  ------------  ------------  ----------            
  Total TDS Packets Rec'd            12.5          15.6        2257            


  Total Bytes Received            per sec      per xact       count  % of total
  -------------------------  ------------  ------------  ----------  ----------
    Engine 0                        675.6         838.7      121615      34.9 %
    Engine 1                       1257.7        1561.3      226385      65.1 %
    Engine 2                          0.0           0.0           0       0.0 %
    Engine 3                          0.0           0.0           0       0.0 %
  -------------------------  ------------  ------------  ----------            
  Total Bytes Rec'd                1933.3        2400.0      348000            


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

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

  Total TDS Packets Sent          per sec      per xact       count  % of total
  -------------------------  ------------  ------------  ----------  ----------
    Engine 0                          3.0           3.7         536      37.7 %
    Engine 1                          4.9           6.1         887      62.3 %
    Engine 2                          0.0           0.0           0       0.0 %
    Engine 3                          0.0           0.0           0       0.0 %
  -------------------------  ------------  ------------  ----------            
  Total TDS Packets Sent              7.9           9.8        1423            


  Total Bytes Sent                per sec      per xact       count  % of total
  -------------------------  ------------  ------------  ----------  ----------
    Engine 0                        669.8         831.4      120557      39.0 %
    Engine 1                       1045.6        1298.0      188215      61.0 %
    Engine 2                          0.0           0.0           0       0.0 %
    Engine 3                          0.0           0.0           0       0.0 %
  -------------------------  ------------  ------------  ----------            
  Total Bytes Sent                 1715.4        2129.5      308772            


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

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

论坛徽章:
4
2015年亚洲杯之阿联酋
日期:2015-03-10 10:32:022015年亚洲杯之阿曼
日期:2015-03-10 14:53:222015亚冠之水原三星
日期:2015-07-18 15:40:262015亚冠之塔什干棉农
日期:2015-07-27 20:52:05
16 [报告]
发表于 2006-06-02 16:20 |只看该作者
sp_configure 'global async prefetch limit'
sp_help xxx
sp_spaceused xxx
optdiag
sp_cacheconfig

论坛徽章:
0
17 [报告]
发表于 2006-06-02 16:36 |只看该作者
global async prefetch limit             10           0          10           10 percent              dynamic   
table        20793888    8415726 KB      4422520 KB      3774428 KB      218778KB      
Cache Name                     Status    Type     Config Value Run Value   
----------                     ------    ----     ------------ ---------   
default data cache             Active    Default     800.00 Mb    800.00 Mb

IO Size  Wash Size Config Size  Run Size     APF Percent
-------  --------- -----------  --------     -----------
    2 Kb  61440 Kb      0.00 Mb    800.00 Mb     10


optdiag没有这个命令

[ 本帖最后由 fbirds 于 2006-6-2 16:40 编辑 ]

论坛徽章:
4
2015年亚洲杯之阿联酋
日期:2015-03-10 10:32:022015年亚洲杯之阿曼
日期:2015-03-10 14:53:222015亚冠之水原三星
日期:2015-07-18 15:40:262015亚冠之塔什干棉农
日期:2015-07-27 20:52:05
18 [报告]
发表于 2006-06-02 17:22 |只看该作者
sp_help xxx
sp_configure 'max memory'
optdiag is a tool not a statment,and you can use it to analyse data cluster ration.
you need to measure how I/O operates perform.

论坛徽章:
0
19 [报告]
发表于 2006-06-04 07:24 |只看该作者
不要从数据库上找毛病,把RAID5换成RAID0+1甚至RAID0保证你快!
还有,千万不要用软RAID

论坛徽章:
0
20 [报告]
发表于 2006-06-06 00:36 |只看该作者
试试看把global async prefetch limit 调到80
删完了记得改回来.
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP