- 论坛徽章:
- 0
|
现在是这样,应用程序已经做了优化。服务器两颗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 %
=============================================================================== |
|