免费注册 查看新帖 |

Chinaunix

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

数据库查询慢 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-01-18 11:54 |只看该作者 |倒序浏览
现在是这样,应用程序已经做了优化。服务器两颗CPU,4G内存。我在普通的pc机上也装了个SYBASE然后把数据恢拖后愎上了,也没做任何优化。在服务器上没有人应用的时候做查询需要2-3分钟,在新装PC上只要30几秒。相差这么多,不知道为什么,是不是服务器上优化没做好。查询都是在本地做的。请大家帮忙分析一下,以下是sp_sysmon 20分钟监控结果。

1> 2> 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 11449 ESD#4/P/NT
Server Name:           Server is Unnamed                                       
Run Date:              Jan 18, 2006                                             
Statistics Cleared at: 11:04:14                                                
Statistics Sampled at: 11:24:14                                                
Sample Interval:       00:20: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                        2.8 %     30.9 %     66.3 %              

  CPU Yields by Engine            per sec      per xact       count  % of total
  -------------------------  ------------  ------------  ----------  ----------
    Engine 0                         22.0         124.3       26362     100.0 %

  Network Checks
    Non-Blocking                 188667.5     1067929.3   226400989     100.0 %
    Blocking                         43.9         248.7       52724       0.0 %
  -------------------------  ------------  ------------  ----------
  Total Network I/O Checks       188711.4     1068177.9   226453713            
  Avg Net I/Os per Check              n/a           n/a     0.00007       n/a   

  Disk I/O Checks
    Total Disk I/O Checks         96453.1      545960.8   115743699       n/a   
    Checks Returning I/O          92494.0      523550.9   110992784      95.9 %
    Avg Disk I/Os Returned            n/a           n/a     0.00338       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   

Tuning Recommendations for Worker Processes                                    
-------------------------------------------                                    
  - Consider decreasing the 'number of worker processes'
    configuration parameter.


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

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

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

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

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

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

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

  Connections Opened                  0.0           0.2          37       n/a   

  Task Context Switches by Engine
    Engine 0                        269.2        1523.6      323010     100.0 %

  Task Context Switches Due To:
    Voluntary Yields                  0.8           4.6         968       0.3 %
    Cache Search Misses              39.9         225.6       47834      14.8 %
    System Disk Writes                0.1           0.6         130       0.0 %
    I/O Pacing                        0.1           0.6         135       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           1       0.0 %
    Last Log Page Writes              0.2           1.1         238       0.1 %
    Modify Conflicts                  0.0           0.0           0       0.0 %
    I/O Device Contention             0.0           0.0           0       0.0 %
    Network Packet Received           4.4          25.1        5313       1.6 %
    Network Packet Sent               8.6          48.5       10286       3.2 %
    Other Causes                    215.1        1217.5      258105      79.9 %


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

论坛徽章:
0
2 [报告]
发表于 2006-01-18 11:55 |只看该作者
Application Management
----------------------

  Application Statistics Summary (All Applications)
  -------------------------------------------------
  Priority Changes                per sec      per xact       count  % of total
  -------------------------  ------------  ------------  ----------  ----------
    To High Priority                  0.0           0.0           0       0.0 %
    To Medium Priority                0.4           2.3         487      51.5 %
    To Low Priority                   0.4           2.2         459      48.5 %
  -------------------------  ------------  ------------  ----------
  Total Priority Changes              0.8           4.5         946            

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

  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.4          76.1       16135     100.0 %
  Dirty                              0.0           0.0           5       0.0 %
                             ------------  ------------  ----------            
Total Washes                        13.5          76.1       16140              

Garbage Collections                  0.2           1.1         240       n/a   
Pages Processed in GC                0.0           0.0           0       n/a   

Statistics Updates                   0.0           0.2          46       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.2           n/a         212     n/a     

  Transaction Detail              per sec      per xact       count  % of total
  -------------------------  ------------  ------------  ----------  ----------
    Inserts
      APL Heap Table                  1.1           6.4        1365      84.8 %
      APL Clustered Table             0.2           1.2         245      15.2 %
      Data Only Lock Table            0.0           0.0           0       0.0 %
  -------------------------  ------------  ------------  ----------  ----------
    Total Rows Inserted               1.3           7.6        1610      95.6 %

    Updates
      APL Deferred                    0.0           0.0           0       0.0 %
      APL Direct In-place             0.0           0.2          49     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.0           0.2          49       2.9 %

    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.1          25     100.0 %
      DOL                             0.0           0.0           0       0.0 %
  -------------------------  ------------  ------------  ----------  ----------
    Total Rows Deleted                0.0           0.1          25       1.5 %
  =========================  ============  ============  ==========
    Total Rows Affected               1.4           7.9        1684            

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

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

  ULC Flushes to Xact Log         per sec      per xact       count  % of total
  -------------------------  ------------  ------------  ----------  ----------
    by Full ULC                       0.0           0.1          11       2.8 %
    by End Transaction                0.2           0.9         200      51.0 %
    by Change of Database             0.0           0.1          17       4.3 %
    by Single Log Record              0.1           0.3          74      18.9 %
    by Other                          0.1           0.4          90      23.0 %
  -------------------------  ------------  ------------  ----------
  Total ULC Flushes                   0.3           1.8         392            

  ULC Log Records                     0.7           4.1         870       n/a   
  Max ULC Size During Sample          n/a           n/a        2004       n/a   

  ULC Semaphore Requests
    Granted                           1.9          10.6        2241     100.0 %
    Waited                            0.0           0.0           0       0.0 %
  -------------------------  ------------  ------------  ----------
  Total ULC Semaphore Req             1.9          10.6        2241            

  Log Semaphore Requests
    Granted                           0.3           2.0         414     100.0 %
    Waited                            0.0           0.0           0       0.0 %
  -------------------------  ------------  ------------  ----------
  Total Log Semaphore Req             0.3           2.0         414            

  Transaction Log Writes              0.3           1.4         306       n/a   
  Transaction Log Alloc               0.0           0.2          51       n/a   
  Avg # Writes per Log Page           n/a           n/a     6.00000       n/a   

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

论坛徽章:
0
3 [报告]
发表于 2006-01-18 11:56 |只看该作者
Index Management
----------------

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

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

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

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

  Page Splits                         0.0           0.0           1       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                  30.5         172.7       36604      81.2 %
    DOL Ascending Scans               7.0          39.7        8416      18.7 %
    Descending Scans                  0.0           0.2          32       0.1 %
    DOL Descending Scans              0.0           0.0           0       0.0 %
                             ------------  ------------  ----------            
    Total Scans                      37.5         212.5       45052            

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

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

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

  Open Object Usage                                                            
    Active                            n/a           n/a         163       n/a   
    Max Ever Used Since Boot          n/a           n/a         163       n/a   
    Free                              n/a           n/a        4957       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         118       n/a   
    Max Ever Used Since Boot          n/a           n/a         118       n/a   
    Free                              n/a           n/a        5002       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           7       n/a   
    Max Ever Used Since Boot          n/a           n/a           7       n/a   
    Free                              n/a           n/a           5       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
4 [报告]
发表于 2006-01-18 11:57 |只看该作者
Lock Management
---------------

  Lock Summary                    per sec      per xact       count  % of total
  -------------------------  ------------  ------------  ----------  ----------
  Total Lock Requests               753.1        4262.7      903688       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                          14.1          79.7       16902       n/a   
    Avg Chain Length                  n/a           n/a     0.00325       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                           0.1           0.8         171     100.0 %
    Waited                            0.0           0.0           0       0.0 %
  -------------------------  ------------  ------------  ----------  ----------
  Total EX-Intent Requests            0.1           0.8         171       0.0 %

  Shared Intent
    Granted                          13.9          78.9       16731     100.0 %
    Waited                            0.0           0.0           0       0.0 %
  -------------------------  ------------  ------------  ----------  ----------
  Total SH-Intent Requests           13.9          78.9       16731       1.9 %

  Page & Row Lock HashTable
    Lookups                         687.8        3893.3      825377       n/a   
    Avg Chain Length                  n/a           n/a     0.00021       n/a   
    Spinlock Contention               n/a           n/a         n/a       0.0 %

  Exclusive Page
    Granted                           0.2           1.0         209     100.0 %
    Waited                            0.0           0.0           0       0.0 %
  -------------------------  ------------  ------------  ----------  ----------
  Total EX-Page Requests              0.2           1.0         209       0.0 %

  Update Page
    Granted                           0.1           0.3          60     100.0 %
    Waited                            0.0           0.0           0       0.0 %
  -------------------------  ------------  ------------  ----------  ----------
  Total UP-Page Requests              0.1           0.3          60       0.0 %

  Shared Page
    Granted                         665.4        3766.5      798505     100.0 %
    Waited                            0.0           0.0           0       0.0 %
  -------------------------  ------------  ------------  ----------  ----------
  Total SH-Page Requests            665.4        3766.5      798505      88.4 %


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

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

  Shared Row
    Granted                          21.9         124.2       26325     100.0 %
    Waited                            0.0           0.0           0       0.0 %
  -------------------------  ------------  ------------  ----------  ----------
  Total SH-Row Requests              21.9         124.2       26325       2.9 %


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

  Address Lock Hashtable
    Lookups                          51.4         290.8       61650       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.2           1.1         237     100.0 %
    Waited                            0.0           0.0           0       0.0 %
  -------------------------  ------------  ------------  ----------  ----------
  Total EX-Address Requests           0.2           1.1         237       0.0 %

  Shared Address
    Granted                          51.2         289.7       61413     100.0 %
    Waited                            0.0           0.0           0       0.0 %
  -------------------------  ------------  ------------  ----------  ----------
  Total SH-Address Requests          51.2         289.7       61413       6.8 %


  Last Page Locks on Heaps
    Granted                           1.1           6.4        1365     100.0 %
    Waited                            0.0           0.0           0       0.0 %
  -------------------------  ------------  ------------  ----------  ----------
  Total Last Pg Locks                 1.1           6.4        1365     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   


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

论坛徽章:
0
5 [报告]
发表于 2006-01-18 11:58 |只看该作者
Data Cache Management
---------------------

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

    Cache Search Summary
      Total Cache Hits              705.6        3994.2      846760      69.3 %
      Total Cache Misses            313.3        1773.3      375939      30.7 %
  -------------------------  ------------  ------------  ----------
    Total Cache Searches           1018.9        5767.4     1222699            

    Cache Turnover
      Buffers Grabbed               312.1        1766.7      374537       n/a   
      Buffers Grabbed Dirty           0.0           0.0           0       0.0 %

    Cache Strategy Summary
      Cached (LRU) Buffers          689.9        3905.0      827863      67.8 %
      Discarded (MRU) Buffers       327.2        1852.1      392635      32.2 %

    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                   272.3        1541.1      326703      52.3 %
      APFs Denied Due To                                                        
        APF I/O Overloads             0.0           0.0           0       0.0 %
        APF Limit Overloads          26.4         149.3       31657       5.1 %
        APF Reused Overloads          0.9           5.3        1126       0.2 %
      APF Buffers Found in Cache                                                
        With Spinlock Held            0.0           0.0           0       0.0 %
        W/o Spinlock Held           221.2        1252.0      265425      42.5 %
  -------------------------  ------------  ------------  ----------
    Total APFs Requested            520.8        2947.7      624911            

    Other Asynchronous Prefetch Statistics
      APFs Used                     271.1        1534.5      325311       n/a   
      APF Waits for I/O             214.3        1213.0      257159       n/a   
      APF Discards                    0.0           0.0           0       n/a   

    Dirty Read Behavior
      Page Requests                   0.0           0.0           0       n/a   

  Tuning Recommendations for All Caches                                         
  -------------------------------------                                         
  - Consider increasing the 'global asynchronous prefetch limit' parameter
    (and the 'local asynchronous prefetch limit' parameter for each pool
    for which this was overidden) by 10%.

-------------------------------------------------------------------------------
  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                    705.6        3994.2      846760      69.3 %
         Found in Wash               65.2         368.9       78217       9.2 %
      Cache Misses                  313.3        1773.3      375939      30.7 %
  -------------------------  ------------  ------------  ----------
    Total Cache Searches           1018.9        5767.4     1222699            

    Pool Turnover
      2  Kb Pool                                                               
          LRU Buffer Grab           312.1        1766.7      374537     100.0 %
            Grabbed Dirty             0.0           0.0           0       0.0 %
  -------------------------  ------------  ------------  ----------
    Total Cache Turnover            312.1        1766.7      374537            

    Buffer Wash Behavior
      Buffers Passed Clean          363.8        2059.1      436538     100.0 %
      Buffers Already in I/O          0.0           0.0           0       0.0 %
      Buffers Washed Dirty            0.0           0.2          51       0.0 %

    Cache Strategy
      Cached (LRU) Buffers          689.9        3905.0      827863      67.8 %
      Discarded (MRU) Buffers       327.2        1852.1      392635      32.2 %

    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                  0.7           4.2         895       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.3          70       n/a   
  Pages Released                      0.1           0.3          70       n/a   

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

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

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

  Avg Time per Normal Chkpt       0.00000 seconds                              

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

论坛徽章:
0
6 [报告]
发表于 2006-01-18 12:00 |只看该作者
Disk I/O Management
-------------------

  Max Outstanding I/Os            per sec      per xact       count  % of total
  -------------------------  ------------  ------------  ----------  ----------
    Server                            n/a           n/a         239       n/a   
    Engine 0                          n/a           n/a         239       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         312.6        1769.7      375168            

  Completed Disk I/O's
    Engine 0                        312.6        1769.7      375167     100.0 %
  -------------------------  ------------  ------------  ----------            
  Total Completed I/Os              312.6        1769.7      375167            


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

  Device:                                                                       
    D:\sybase\device\dev0                                                      
    dev0                          per sec      per xact       count  % of total
  -------------------------  ------------  ------------  ----------  ----------
    Reads                                                                       
      APF                            96.5         546.2      115795      83.5 %
      Non-APF                        18.9         107.0       22688      16.4 %
    Writes                            0.1           0.6         123       0.1 %
  -------------------------  ------------  ------------  ----------  ----------
  Total I/Os                        115.5         653.8      138606      36.9 %


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

  Device:                                                                       
    D:\sybase\device\dev1                                                      
    dev1                          per sec      per xact       count  % of total
  -------------------------  ------------  ------------  ----------  ----------
    Reads                                                                       
      APF                             0.0           0.0           0       0.0 %
      Non-APF                         0.0           0.0           3       0.9 %
    Writes                            0.3           1.5         323      99.1 %
  -------------------------  ------------  ------------  ----------  ----------
  Total I/Os                          0.3           1.5         326       0.1 %


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

  Device:                                                                       
    D:\sybase\device\dev2                                                      
    dev2                          per sec      per xact       count  % of total
  -------------------------  ------------  ------------  ----------  ----------
    Reads                                                                       
      APF                            60.5         342.6       72633      90.7 %
      Non-APF                         6.2          35.2        7471       9.3 %
    Writes                            0.0           0.0           1       0.0 %
  -------------------------  ------------  ------------  ----------  ----------
  Total I/Os                         66.8         377.9       80105      21.4 %


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

  Device:                                                                       
    D:\sybase\device\dev3                                                      
    dev3                          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:                                                                       
    D:\sybase\device\erp_032_data                                               
    erp_032_data                  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:                                                                       
    D:\sybase\device\erp_032_log                                                
    erp_032_log                   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:                                                                       
    d:\sybase\data\master.dat                                                   
    master                        per sec      per xact       count  % of total
  -------------------------  ------------  ------------  ----------  ----------
    Reads                                                                       
      APF                             0.0           0.0           0       0.0 %
      Non-APF                         0.1           0.6         124      61.4 %
    Writes                            0.1           0.4          78      38.6 %
  -------------------------  ------------  ------------  ----------  ----------
  Total I/Os                          0.2           1.0         202       0.1 %


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

  Device:                                                                       
    d:\sybase\data\sybprocs.dat                                                
    sysprocsdev                   per sec      per xact       count  % of total
  -------------------------  ------------  ------------  ----------  ----------
    Reads                                                                       
      APF                             0.0           0.0           0       0.0 %
      Non-APF                         0.0           0.1          27     100.0 %
    Writes                            0.0           0.0           0       0.0 %
  -------------------------  ------------  ------------  ----------  ----------
  Total I/Os                          0.0           0.1          27       0.0 %


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

  Device:                                                                       
    d:\sybase\device\dev4                                                      
    dev4                          per sec      per xact       count  % of total
  -------------------------  ------------  ------------  ----------  ----------
    Reads                                                                       
      APF                           115.2         652.2      138275      88.7 %
      Non-APF                        14.6          82.6       17521      11.2 %
    Writes                            0.1           0.5         106       0.1 %
  -------------------------  ------------  ------------  ----------  ----------
  Total I/Os                        129.9         735.4      155902      41.6 %


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

  Device:                                                                       
    d:\sybase\device\dev5                                                      
    dev5                          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:                                                                       
    d:\sybase\device\testdev2                                                   
    testdev2                      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 %


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

论坛徽章:
0
7 [报告]
发表于 2006-01-18 12:01 |只看该作者
===============================================================================

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

  Total Network I/O Requests         13.0          73.6       15599       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.4          25.1        5313     100.0 %
  -------------------------  ------------  ------------  ----------            
  Total TDS Packets Rec'd             4.4          25.1        5313            


  Total Bytes Received            per sec      per xact       count  % of total
  -------------------------  ------------  ------------  ----------  ----------
    Engine 0                        723.8        4097.1      868577     100.0 %
  -------------------------  ------------  ------------  ----------            
  Total Bytes Rec'd                 723.8        4097.1      868577            


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

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

  Total TDS Packets Sent          per sec      per xact       count  % of total
  -------------------------  ------------  ------------  ----------  ----------
    Engine 0                          8.6          48.5       10286     100.0 %
  -------------------------  ------------  ------------  ----------            
  Total TDS Packets Sent              8.6          48.5       10286            


  Total Bytes Sent                per sec      per xact       count  % of total
  -------------------------  ------------  ------------  ----------  ----------
    Engine 0                       2587.1       14644.0     3104519     100.0 %
  -------------------------  ------------  ------------  ----------            
  Total Bytes Sent                 2587.1       14644.0     3104519            


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

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

论坛徽章:
0
8 [报告]
发表于 2006-01-18 12:56 |只看该作者
dat a cache 是怎么分配的,4G的内存应该可以对付普通应用的,为什么命中率那么低。

论坛徽章:
0
9 [报告]
发表于 2006-01-18 13:05 |只看该作者
max memmory  1310720 其它的默认值

论坛徽章:
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
10 [报告]
发表于 2006-01-18 13:14 |只看该作者
try once again after increase your large data-block pool
ps:
sp_cacheconfig
go
sp_configure 'max mem'
go
sp_configure 'disk'
go
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP