亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

  免費注冊 查看新帖 |

Chinaunix

  平臺 論壇 博客 文庫
12下一頁
最近訪問板塊 發(fā)新帖
查看: 2917 | 回復(fù): 12
打印 上一主題 下一主題

數(shù)據(jù)庫重建的性能問題[加貼sysmon信息和部分配置信息] [復(fù)制鏈接]

論壇徽章:
0
跳轉(zhuǎn)到指定樓層
1 [收藏(0)] [報告]
發(fā)表于 2006-03-21 16:30 |只看該作者 |倒序瀏覽
由于生產(chǎn)機需要作其他處理,暫時使用備機,兩機硬件配置不同,但是需要跑同樣的應(yīng)用和數(shù)據(jù)庫,目前討論備機的情況:
備機數(shù)據(jù)庫load進原生產(chǎn)機得數(shù)據(jù),大部分應(yīng)用沒有影響,但是部分應(yīng)用訪問速度慢(不是一般的慢,影響到應(yīng)用),請大家?guī)兔Ψ治鲆幌隆?br /> 備機的情況:Sco505+sybase11.0.3 內(nèi)存256M
作的配置:共享內(nèi)存設(shè)為內(nèi)存一得一半(約128M),sybase totol momery設(shè)未共享內(nèi)存的一半(約64M),procedure cache 比例40% 用戶連接數(shù)50,其它配置項使用默認配置。

1。load數(shù)據(jù)后,需要重新建立索引?
2。是否還需要對部分參數(shù)作調(diào)整?

[ 本帖最后由 chmmy 于 2006-3-22 14:42 編輯 ]

論壇徽章:
1
2017金雞報曉
日期:2017-01-10 15:19:56
2 [報告]
發(fā)表于 2006-03-21 17:32 |只看該作者
sp_mon看一下?

論壇徽章:
0
3 [報告]
發(fā)表于 2006-03-22 12:50 |只看該作者

sp_sysmon的結(jié)果1,幫忙分析一下,多謝

DBCC execution completed. If DBCC printed error messages, contact a user with
System Administrator (SA) role.
===============================================================================
              Sybase SQL Server System Performance Report
===============================================================================

Run Date                     Mar 22, 2006
Statistics Cleared at            11:38:44
Statistics Sampled at            11:48:44
Sample Interval                    10 min.

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

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

  Engine Busy Utilization:
    Engine 0                       50.8 %


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


  Network Checks
    Non-Blocking                   1671.0        6686.4     1002959      99.7 %
    Blocking                          5.1          20.3        3051       0.3 %
  -------------------------  ------------  ------------  ----------
  Total Network I/O Checks:        1676.1        6706.7     1006010            
  Avg Net I/Os per Check              n/a           n/a     0.00399       n/a


  Disk I/O Checks
    Total Disk I/O Checks          1676.1        6706.7     1006010       n/a
    Checks Returning I/O              0.0           0.0           0       0.0 %

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

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

  Connections Opened                  0.2           1.0         149       n/a


  Task Context Switches by Engine
    Engine 0                        475.6        1903.0      285454     100.0 %


  Task Context Switches Due To:
    Voluntary Yields                  9.3          37.4        5609       2.0 %
    Cache Search Misses             390.5        1562.7      234403      82.1 %
    System Disk Writes               16.9          67.6       10139       3.6 %
    I/O Pacing                        0.1           0.5          72       0.0 %
    Logical Lock Contention           0.0           0.0           1       0.0 %
    Address Lock Contention           0.0           0.0           0       0.0 %
    Log Semaphore Contention          0.0           0.0           0       0.0 %
    Group Commit Sleeps               0.0           0.0           1       0.0 %
    Last Log Page Writes              0.3           1.1         165       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           3.1          12.4        1864       0.7 %
    Network Packet Sent               3.6          14.3        2148       0.8 %
    SYSINDEXES Lookup                 0.0           0.0           0       0.0 %
    Other Causes                     51.7         207.0       31052      10.9 %

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

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

  Transaction Summary             per sec      per xact       count  % of total
  -------------------------  ------------  ------------  ----------  ----------
    Committed Xacts                   0.2           n/a         150     n/a


  Transaction Detail              per sec      per xact       count  % of total
  -------------------------  ------------  ------------  ----------  ----------
    Inserts
      Heap Table                    896.5        3587.0      538050     100.0 %
      Clustered Table                 0.2           0.7         100       0.0 %
  -------------------------  ------------  ------------  ----------
    Total Rows Inserted             896.6        3587.7      538150     100.0 %

    Updates
      Deferred                        0.1           0.5          75      72.8 %
      Direct In-place                 0.0           0.0           2       1.9 %
      Direct Cheap                    0.0           0.2          26      25.2 %
      Direct Expensive                0.0           0.0           0       0.0 %
  -------------------------  ------------  ------------  ----------
    Total Rows Updated                0.2           0.7         103       0.0 %

    Deletes
      Deferred                        0.1           0.4          65      69.1 %
      Direct                          0.0           0.2          29      30.9 %
  -------------------------  ------------  ------------  ----------
    Total Rows Deleted                0.2           0.6          94       0.0 %

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

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

  ULC Flushes to Xact Log         per sec      per xact       count  % of total
  -------------------------  ------------  ------------  ----------  ----------
    by Full ULC                       0.0           0.0           2       0.3 %
    by End Transaction                0.3           1.1         164      24.4 %
    by Change of Database             0.0           0.1          13       1.9 %
    by System Log Record              0.8           3.3         492      73.2 %
    by Other                          0.0           0.0           1       0.1 %
  -------------------------  ------------  ------------  ----------
  Total ULC Flushes                   1.1           4.5         672            


  ULC Log Records                     2.4           9.7        1451       n/a
  Max ULC Size                        n/a           n/a        1976       n/a


  ULC Semaphore Requests
    Granted                           5.8          23.1        3459     100.0 %
    Waited                            0.0           0.0           0       0.0 %
  -------------------------  ------------  ------------  ----------
  Total ULC Semaphore Req             5.8          23.1        3459            


  Log Semaphore Requests
    Granted                           1.4           5.5         826     100.0 %
    Waited                            0.0           0.0           0       0.0 %
  -------------------------  ------------  ------------  ----------
  Total Log Semaphore Req             1.4           5.5         826            


  Transaction Log Writes              0.4           1.5         225       n/a
  Transaction Log Alloc               0.1           0.3          47       n/a
  Avg # Writes per Log Page           n/a           n/a     4.78723       n/a

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

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

  Nonclustered Maintenance        per sec      per xact       count  % of total
  -------------------------  ------------  ------------  ----------  ----------
    Ins/Upd Requiring Maint           0.2           0.7         100       n/a
      # of NC Ndx Maint               0.2           0.7         100       n/a
      Avg NC Ndx Maint / Op           n/a           n/a     1.00000       n/a

    Deletes Requiring Maint           0.1           0.4          65       n/a
      # of NC Ndx Maint               0.1           0.4          65       n/a
      Avg NC Ndx Maint / Op           n/a           n/a     1.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


  Page Splits                         0.0           0.0           0       n/a


  Page Shrinks                        0.0           0.0           0       n/a

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

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

  Lock Summary                    per sec      per xact       count  % of total
  -------------------------  ------------  ------------  ----------  ----------
  Total Lock Requests               805.5        3223.1      483463       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
  -------------------------  ------------  ------------  ----------  ----------

  Exclusive Table
    Granted                           0.2           0.7         101     100.0 %
    Waited                            0.0           0.0           0       0.0 %
  -------------------------  ------------  ------------  ----------
  Total EX-Table Requests             0.2           0.7         101       0.0 %


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


  Exclusive Intent
    Granted                           0.1           0.4          54     100.0 %
    Waited                            0.0           0.0           0       0.0 %
  -------------------------  ------------  ------------  ----------
  Total EX-Intent Requests            0.1           0.4          54       0.0 %


  Shared Intent
    Granted                           6.2          24.6        3697     100.0 %
    Waited                            0.0           0.0           0       0.0 %
  -------------------------  ------------  ------------  ----------
  Total SH-Intent Requests            6.2          24.6        3697       0.8 %


  Exclusive Page
    Granted                           0.1           0.5          76      98.7 %
    Waited                            0.0           0.0           1       1.3 %
  -------------------------  ------------  ------------  ----------
  Total EX-Page Requests              0.1           0.5          77       0.0 %


  Update Page
    Granted                           0.0           0.2          26     100.0 %
    Waited                            0.0           0.0           0       0.0 %
  -------------------------  ------------  ------------  ----------
  Total UP-Page Requests              0.0           0.2          26       0.0 %


  Shared Page
    Granted                         776.0        3105.1      465770     100.0 %
    Waited                            0.0           0.0           0       0.0 %
  -------------------------  ------------  ------------  ----------
  Total SH-Page Requests            776.0        3105.1      465770      96.3 %


  Exclusive Address
    Granted                          14.6          58.2        8735     100.0 %
    Waited                            0.0           0.0           0       0.0 %
  -------------------------  ------------  ------------  ----------
  Total EX-Address Requests          14.6          58.2        8735       1.8 %


  Shared Address
    Granted                           8.3          33.4        5003     100.0 %
    Waited                            0.0           0.0           0       0.0 %
  -------------------------  ------------  ------------  ----------
  Total SH-Address Requests           8.3          33.4        5003       1.0 %


  Last Page Locks on Heaps
    Granted                         896.5        3587.0      538050     100.0 %
    Waited                            0.0           0.0           1       0.0 %
  -------------------------  ------------  ------------  ----------
  Total Last Pg Locks               896.5        3587.0      538051     111.3 %


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


  Deadlock Detection
    Deadlock Searches                 0.0           0.0           0       n/a


  Lock Promotions
                                      0.0           0.0           0       n/a

論壇徽章:
0
4 [報告]
發(fā)表于 2006-03-22 12:50 |只看該作者

sp_sysmon的結(jié)果2,幫忙分析一下,多謝

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

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

  Cache Statistics Summary (All Caches)
  -------------------------------------

    Cache Search Summary
      Total Cache Hits             1569.4        6279.6      941939      80.1 %
      Total Cache Misses            389.5        1558.6      233789      19.9 %
  -------------------------  ------------  ------------  ----------
    Total Cache Searches           1958.9        7838.2     1175728            


    Cache Turnover
      Buffers Grabbed               377.4        1510.2      226529       n/a
      Buffers Grabbed Dirty           0.0           0.0           0       0.0 %


    Cache Strategy Summary
      Cached (LRU) Buffers         1912.1        7651.1     1147665     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


    Dirty Read Behavior
      Page Requests               0.0           0.0           0       n/a

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

  default data cache                                                            
                                  per sec      per xact       count  % of total
  -------------------------  ------------  ------------  ----------  ----------

                                      0.0           0.0           0       n/a   
    Utilization                      n/a           n/a         n/a     100.0 %

    Cache Searches
      Cache Hits                   1569.4        6279.6      941939      80.1 %
         Found in Wash               44.1         176.3       26445       2.8 %
      Cache Misses                  389.5        1558.6      233789      19.9 %
  -------------------------  ------------  ------------  ----------
    Total Cache Searches           1958.9        7838.2     1175728            


    Pool Turnover
      2  Kb Pool
          LRU Buffer Grab           377.4        1510.2      226529     100.0 %
            Grabbed Dirty             0.0           0.0           0       0.0 %



  -------------------------  ------------  ------------  ----------
    Total Cache Turnover            377.4        1510.2      226529            


    Buffer Wash Behavior
      Buffers Passed Clean          343.0        1372.6      205897      99.1 %
      Buffers Already in I/O          0.0           0.0           0       0.0 %
      Buffers Washed Dirty            3.3          13.1        1968       0.9 %


    Cache Strategy
      Cached (LRU) Buffers         1912.1        7651.1     1147665     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 Detail
      No Large Pool(s) In This Cache

    Dirty Read Behavior
          Page Requests               0.0           0.0           0       n/a

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

Procedure Cache Management        per sec      per xact       count  % of total
---------------------------  ------------  ------------  ----------  ----------
  Procedure Requests                  2.3           9.3        1388       n/a
  Procedure Reads from Disk           0.0           0.0           0       0.0 %
  Procedure Writes to Disk            0.0           0.0           0       0.0 %
  Procedure Removals                  0.0           0.0           0       n/a

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

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

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

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

  Checkpoints                     per sec      per xact       count  % of total
  -------------------------  ------------  ------------  ----------  ----------
    # of Normal Checkpoints           0.0           0.1          13     100.0 %
    # of Free Checkpoints             0.0           0.0           0       0.0 %
  -------------------------  ------------  ------------  ----------  ----------
  Total Checkpoints                   0.0           0.1          13       n/a

  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


  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         411.3        1645.9      246880       n/a

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


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

  /home/sybase/dev/sybprocs.dat                                                
  sysprocsdev                     per sec      per xact       count  % of total
  -------------------------  ------------  ------------  ----------  ----------
                                      0.0           0.0           0       n/a   
  -------------------------  ------------  ------------  ----------  ----------
  Total I/Os                          0.0           0.0           0       0.0 %


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

  /home/sybase/dev/zjyw_dat                                                     
  zjyw_dat                        per sec      per xact       count  % of total
  -------------------------  ------------  ------------  ----------  ----------
    Reads                           374.1        1496.8      224520      99.9 %
    Writes                            0.3           1.4         205       0.1 %
  -------------------------  ------------  ------------  ----------  ----------
  Total I/Os                        374.4        1498.2      224725      91.0 %

  Device Semaphore Granted          374.4        1498.2      224725     100.0 %
  Device Semaphore Waited             0.0           0.0           0       0.0 %

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

  /home/sybase/dev/zjyw_log                                                     
  zjyw_log                        per sec      per xact       count  % of total
  -------------------------  ------------  ------------  ----------  ----------
    Reads                             0.0           0.1           8       3.6 %
    Writes                            0.4           1.4         216      96.4 %
  -------------------------  ------------  ------------  ----------  ----------
  Total I/Os                          0.4           1.5         224       0.1 %

  Device Semaphore Granted            0.4           1.5         224     100.0 %
  Device Semaphore Waited             0.0           0.0           0       0.0 %

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

  /home/sybase/dev/zjyw_temp                                                   
  zjyw_temp                       per sec      per xact       count  % of total
  -------------------------  ------------  ------------  ----------  ----------
    Reads                            14.3          57.2        8585      45.0 %
    Writes                           17.5          70.0       10498      55.0 %
  -------------------------  ------------  ------------  ----------  ----------
  Total I/Os                         31.8         127.2       19083       7.7 %

  Device Semaphore Granted           31.8         127.2       19083     100.0 %
  Device Semaphore Waited             0.0           0.0           0       0.0 %

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

  d_master                                                                     
  master                          per sec      per xact       count  % of total
  -------------------------  ------------  ------------  ----------  ----------
    Reads                             2.1           8.6        1290      45.3 %
    Writes                            2.6          10.4        1558      54.7 %
  -------------------------  ------------  ------------  ----------  ----------
  Total I/Os                          4.7          19.0        2848       1.2 %

  Device Semaphore Granted            4.7          19.0        2848     100.0 %
  Device Semaphore Waited             0.0           0.0           0       0.0 %

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

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

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

  Total Network I/O Requests          6.7          26.8        4015       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                          3.1          12.4        1864     100.0 %
  -------------------------  ------------  ------------  ----------  ----------
  Total TDS Packets Rec'd             3.1          12.4        1864            


  Total Bytes Received            per sec      per xact       count  % of total
  -------------------------  ------------  ------------  ----------  ----------
    Engine 0                        380.0        1520.7      228098     100.0 %
  -------------------------  ------------  ------------  ----------  ----------
  Total Bytes Rec'd                 380.0        1520.7      228098            


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

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

  Total TDS Packets Sent          per sec      per xact       count  % of total
  -------------------------  ------------  ------------  ----------  ----------
    Engine 0                          3.6          14.3        2148     100.0 %
  -------------------------  ------------  ------------  ----------  ----------
  Total TDS Packets Sent              3.6          14.3        2148            


  Total Bytes Sent                per sec      per xact       count  % of total
  -------------------------  ------------  ------------  ----------  ----------
    Engine 0                       1015.7        4064.2      609624     100.0 %
  -------------------------  ------------  ------------  ----------  ----------
  Total Bytes Sent                 1015.7        4064.2      609624            


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

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

論壇徽章:
4
2015年亞洲杯之阿聯(lián)酋
日期:2015-03-10 10:32:022015年亞洲杯之阿曼
日期:2015-03-10 14:53:222015亞冠之水原三星
日期:2015-07-18 15:40:262015亞冠之塔什干棉農(nóng)
日期:2015-07-27 20:52:05
5 [報告]
發(fā)表于 2006-03-22 13:36 |只看該作者
sp_configure 'total memory'
go
sp_cacheconfig
go
sp_configure 'proc'
go

論壇徽章:
0
6 [報告]
發(fā)表于 2006-03-22 13:57 |只看該作者

部分配置信息

#sp_configure 'total memory'
Parameter Name                 Default     Memory Used Config Value Run Value   
------------------------------ ----------- ----------- ------------ -----------
total memory                          7500       65036       32518        32518

(return status = 0)
#sp_cacheconfig
Cache Name                     Status    Type     Config Value Run Value   
------------------------------ --------- -------- ------------ ------------
default data cache             Active    Default       0.00 Mb     28.29 Mb
                                                   ------------ ------------
                                            Total       0.00 Mb     28.29 Mb
==========================================================================
Cache: default data cache,   Status: Active,   Type: Default
      Config Size: 0.00 Mb,   Run Size: 28.29 Mb

IO Size  Wash Size Config Size  Run Size     
-------- --------- ------------ ------------
     2 Kb    512 Kb      0.00 Mb     28.29 Mb

(return status = 0)
#sp_configure 'proc'
Configuration option is not unique.

Parameter Name                 Default     Memory Used Config Value Run Value   
------------------------------ ----------- ----------- ------------ -----------
i/o polling process count               10           0          10           10
procedure cache percent                 20       21070          40           40
runnable process search count         2000           0        2000         2000

(return status = 1)

論壇徽章:
1
操作系統(tǒng)版塊每日發(fā)帖之星
日期:2016-06-20 06:20:00
7 [報告]
發(fā)表于 2006-03-22 14:16 |只看該作者
不知道你是怎么個切換過程,是不是你的主機和備機的sybase配置參數(shù)不一樣,如果主機和備機硬件配置一樣,是不是沒有把主機的sybase配置文件拷過去,備機的sybase好象是缺省配置的,至少應(yīng)該根據(jù)實際情況配配

論壇徽章:
4
2015年亞洲杯之阿聯(lián)酋
日期:2015-03-10 10:32:022015年亞洲杯之阿曼
日期:2015-03-10 14:53:222015亞冠之水原三星
日期:2015-07-18 15:40:262015亞冠之塔什干棉農(nóng)
日期:2015-07-27 20:52:05
8 [報告]
發(fā)表于 2006-03-22 14:38 |只看該作者
try to compare database parameters from two hosts if possible, to analyse what's the difference between both of them.
according to general situation,more physical memory could be allocated for sybase server to carry on if no other important memory-heavily-consume processes function.if it does,more physical memory could be necessary.

論壇徽章:
0
9 [報告]
發(fā)表于 2006-03-22 14:50 |只看該作者
兩臺機器硬件相差比較大:
備機  vs      生產(chǎn)機
內(nèi)存256m vs 1G
cpu 800m vs 1.5G

數(shù)據(jù)庫結(jié)構(gòu)相同。

論壇徽章:
1
操作系統(tǒng)版塊每日發(fā)帖之星
日期:2016-06-20 06:20:00
10 [報告]
發(fā)表于 2006-03-22 15:06 |只看該作者
那是硬件配置的問題:.
Engine 0                        475.6        1903.0      285454     100.0 %
Cache Search Misses             390.5        1562.7      234403      82.1 %
cpu慢,負荷大,內(nèi)存小,cache小。
您需要登錄后才可以回帖 登錄 | 注冊

本版積分規(guī)則 發(fā)表回復(fù)

  

北京盛拓優(yōu)訊信息技術(shù)有限公司. 版權(quán)所有 京ICP備16024965號-6 北京市公安局海淀分局網(wǎng)監(jiān)中心備案編號:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年舉報專區(qū)
中國互聯(lián)網(wǎng)協(xié)會會員  聯(lián)系我們:huangweiwei@itpub.net
感謝所有關(guān)心和支持過ChinaUnix的朋友們 轉(zhuǎn)載本站內(nèi)容請注明原作者名及出處

清除 Cookies - ChinaUnix - Archiver - WAP - TOP