I initiated two terminal windows, logged into Sybase via isql end executed the following commands from both:
update index statistics table1(2) with consumers=3
go
Then I opened a third terminal window and launched sp_sysmon "00:10:00"
here is the beginning of sp_sysmon output:
Kernel Utilization
------------------
Engine Busy Utilization
Engine 0 0.1 %
Engine 1 100.0 %
----------- --------------- ----------------
Summary Total 100.1 % Average 50.0 %
CPU Yields by Engine per sec per xact count % of total
------------------------- ------------ ------------ ---------- ----------
Engine 0 0.1 1.7 38 0.3 %
Engine 1 23.7 619.5 14249 99.7 %
------------------------- ------------ ------------ ----------
Total CPU Yields 23.8 621.2 14287
So, only Engine 1 is working, although there is pleanty to do for both. Table1 has 1,135,000 rows and takes 382MB, Table2 has 1,406,000 rows and takes 338MB. One would think that tempdb is loaded with all the temp files, but it is not the case. from the 1024MB tempdb only 290KB is used. Interestingly Engine 0 does all the network traffic. All the disk reads ar APF-reads.
There are zeros in the Worker Process Management and in the Parallel Query Management sections for counts. Is there a way to force the other engine to do some work without partitioning the tables ?
Thanks ahead,
János