Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
DB Engine
SQL ServerMSDESQL Server CE
Services
Analysis (Data Mining)Analysis (OLAP)DTSIntegration ServicesNotification ServicesReporting Services
Programming
CLRConnectivitySQLXML
Other Technologies
ClusteringEnglish QueryFull-Text SearchReplicationService Broker
General
Data WarehousingPerformanceSecuritySetupSQL Server ToolsOther SQL Server Topics
DirectoryUser Groups
Related Topics
MS AccessOther DB ProductsMS Server Products.NET DevelopmentVB DevelopmentJava DevelopmentMore Topics ...

SQL Server Forum / General / Data Warehousing / August 2005

Tip: Looking for answers? Try searching our database.

lot of CXPACKET wait types...

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jéjé - 10 Aug 2005 16:11 GMT
Hi again,

my second problem is the CXPACKET wait type.

during the execution of complex queries when the same table is used multiple
times, I have some CXPACKET waits.

My server is SQL 2000 Ent. SP4 with 4 proc. (with HT, so windows see 8
processors)
my HD subsystem is bad and I can't do anything here :-(

using the maxdop option sometimes helps sometimes doesn't helps.
when I use maxdop = 1, then I see 1 processor to work, then another work,
then a third...
its not only the same processor used during the entire query process.

but forcing maxdop = 1 cause the query to be slower

for 1 query this is my statistics (trace on):
maxdop = 1
time to process= 1'54
Duration= 180
CPU= 138
Reads= 45
No CXPACKET waits

maxdop = 8
time to process= 0'50
Duration= 152
CPU= 187
Reads= 193
a lot of CXPACKET waits displayed using the sp_who1

so there is 193 reads instead-of 45 when I use all my processors, but the
overall result takes only 50sec.

but for another query its the oposite result, maxdop = 1 improve the
performance !

any guide? or idea?

thanks

jerome.
Mike Epprecht (SQL MVP) - 10 Aug 2005 16:26 GMT
Have a look at
http://groups.google.ch/group/microsoft.public.sqlserver.server/browse_thread/th
read/4120269de454120c/2f267486cc7be973?lnk=st&q=cxpacket&rnum=1&hl=en#2f267486cc
7be973

Signature

--------------------------------
Mike Epprecht, Microsoft SQL Server MVP
Zurich, Switzerland

MVP Program: http://www.microsoft.com/mvp

Blog: http://www.msmvps.com/epprecht/

> Hi again,
>
[quoted text clipped - 40 lines]
>
> jerome.
Jéjé - 15 Aug 2005 16:02 GMT
the maxdop option doesn't help too much,
this reduce the waittype, but the query is longer to execute.

what I have to monitor to identify the bottleneck?

> Have a look at
> http://groups.google.ch/group/microsoft.public.sqlserver.server/browse_thread/th
read/4120269de454120c/2f267486cc7be973?lnk=st&q=cxpacket&rnum=1&hl=en#2f267486cc
7be973

[quoted text clipped - 44 lines]
>>
>> jerome.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.