- 论坛徽章:
- 0
|
我的sybase数据库是11.5的,目前运行缓慢,发现都是很多表被锁、等待又解锁,想用dbcc traceon(3604),dbcc sqltext(spid)分析是什么语句造成的,但是11.5数据库不支持dbcc sqltext,请问高手有没有什么解决办法,
下面是sysmon文件:
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/11.5/P/NT/OS 4.00/1/fbu/Wed S
Server Name: Server is Unnamed
Run Date: Apr 01, 2007
Statistics Cleared at: 00:28:51
Statistics Sampled at: 00:39:47
Sample Interval: 00:10:00
===============================================================================
Kernel Utilization
------------------
Engine Busy Utilization
Engine 0 73.9 %
CPU Yields by Engine per sec per xact count % of total
------------------------- ------------ ------------ ---------- ----------
Engine 0 17.8 2.3 10700 100.0 %
Network Checks
Total Network I/O Checks 0.0 0.0 0 n/a
Disk I/O Checks
Total Disk I/O Checks 465312.7 61131.5 279187614 n/a
Checks Returning I/O 448836.1 58966.9 269301686 96.5 %
Avg Disk I/Os Returned n/a n/a 0.01326 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 0.3 0.0 180 n/a
Task Context Switches by Engine
Engine 0 6307.1 828.6 3784275 100.0 %
Task Context Switches Due To:
Voluntary Yields 32.6 4.3 19539 0.5 %
Cache Search Misses 28.7 3.8 17247 0.5 %
System Disk Writes 0.1 0.0 86 0.0 %
I/O Pacing 1.5 0.2 918 0.0 %
Logical Lock Contention 1.3 0.2 801 0.0 %
Address Lock Contention 0.0 0.0 0 0.0 %
Log Semaphore Contention 0.9 0.1 560 0.0 %
Group Commit Sleeps 1.6 0.2 963 0.0 %
Last Log Page Writes 6.5 0.9 3912 0.1 %
Modify Conflicts 0.9 0.1 517 0.0 %
I/O Device Contention 0.0 0.0 0 0.0 %
Network Packet Received 26.0 3.4 15596 0.4 %
Network Packet Sent 30.2 4.0 18126 0.5 %
SYSINDEXES Lookup 0.0 0.0 0 0.0 %
Other Causes 6176.7 811.5 3706010 97.9 %
===============================================================================
Application Management
----------------------
Application Statistics Summary (All Applications)
-------------------------------------------------
Priority Changes per sec per xact count % of total
------------------------- ------------ ------------ ---------- ----------
To High Priority 2.9 0.4 1761 4.8 %
To Medium Priority 30.6 4.0 18355 50.2 %
To Low Priority 27.4 3.6 16416 44.9 %
------------------------- ------------ ------------ ----------
Total Priority Changes 60.9 8.0 36532
Allotted Slices Exhausted per sec per xact count % of total
------------------------- ------------ ------------ ---------- ----------
High Priority 0.0 0.0 1 0.1 %
Medium Priority 1.2 0.2 703 99.9 %
Low Priority 0.0 0.0 0 0.0 %
------------------------- ------------ ------------ ----------
Total Slices Exhausted 1.2 0.2 704
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
===============================================================================
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 7.6 n/a 4567 n/a
Transaction Detail per sec per xact count % of total
------------------------- ------------ ------------ ---------- ----------
Inserts
Heap Table 269.2 35.4 161496 99.0 %
Clustered Table 2.6 0.3 1573 1.0 %
------------------------- ------------ ------------ ---------- ----------
Total Rows Inserted 271.8 35.7 163069 96.4 %
Updates
Deferred 2.4 0.3 1428 31.2 %
Direct In-place 0.0 0.0 0 0.0 %
Direct Cheap 5.2 0.7 3147 68.8 %
Direct Expensive 0.0 0.0 0 0.0 %
------------------------- ------------ ------------ ---------- ----------
Total Rows Updated 7.6 1.0 4575 2.7 %
Deletes
Deferred 2.4 0.3 1451 99.4 %
Direct 0.0 0.0 9 0.6 %
------------------------- ------------ ------------ ---------- ----------
Total Rows Deleted 2.4 0.3 1460 0.9 %
========================= ============ ============ ==========
Total Rows Affected 281.8 37.0 169104
===============================================================================
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 7.6 1.0 4559 95.1 %
by Change of Database 0.0 0.0 14 0.3 %
by System Log Record 0.3 0.0 185 3.9 %
by Other 0.1 0.0 38 0.8 %
------------------------- ------------ ------------ ----------
Total ULC Flushes 8.0 1.1 4796
ULC Log Records 37.7 5.0 22649 n/a
Max ULC Size During Sample n/a n/a 664 n/a
ULC Semaphore Requests
Granted 107.3 14.1 64392 100.0 %
Waited 0.0 0.0 0 0.0 %
------------------------- ------------ ------------ ----------
Total ULC Semaphore Req 107.3 14.1 64392
Log Semaphore Requests
Granted 19.4 2.5 11634 95.4 %
Waited 0.9 0.1 560 4.6 %
------------------------- ------------ ------------ ----------
Total Log Semaphore Req 20.3 2.7 12194
Transaction Log Writes 7.9 1.0 4718 n/a
Transaction Log Alloc 1.3 0.2 792 n/a
Avg # Writes per Log Page n/a n/a 5.95707 n/a
===============================================================================
Index Management
----------------
Nonclustered Maintenance per sec per xact count % of total
------------------------- ------------ ------------ ---------- ----------
Ins/Upd Requiring Maint 1.0 0.1 601 n/a
# of NC Ndx Maint 1.0 0.1 601 n/a
Avg NC Ndx Maint / Op n/a n/a 1.00000 n/a
Deletes Requiring Maint 0.0 0.0 8 n/a
# of NC Ndx Maint 0.0 0.0 8 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 7 n/a
Retries 0.0 0.0 0 0.0 %
Deadlocks 0.0 0.0 0 0.0 %
Empty Page Flushes 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 158.7 20.9 95232 99.2 %
Descending Scans 1.3 0.2 758 0.8 %
------------ ------------ ----------
Total Scans 160.0 21.0 95990
===============================================================================
Metadata Cache Management
-------------------------
Metadata Cache Summary per sec per xact count % of total
------------------------ ------------ ------------ ---------- ----------
Open Object Usage
Active 0.2 0.0 109 n/a
Max Ever Used Since Boot 0.2 0.0 110 n/a
Free 0.7 0.1 391 n/a
Reuse Requests
Succeeded 0.0 0.0 0 n/a
Failed 0.0 0.0 0 n/a
Open Index Usage
Active 0.1 0.0 80 n/a
Max Ever Used Since Boot 0.1 0.0 81 n/a
Free 0.7 0.1 420 n/a
Reuse Requests
Succeeded 0.0 0.0 0 n/a
Failed 0.0 0.0 0 n/a
Open Database Usage
Active 0.0 0.0 5 n/a
Max Ever Used Since Boot 0.0 0.0 5 n/a
Free 0.0 0.0 7 n/a
Reuse Requests
Succeeded 0.0 0.0 0 n/a
Failed 0.0 0.0 0 n/a
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 % |
|