473,398 Members | 2,812 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

Force Parallelism

Hi guys,

i got the following query:

SELECT 0xFCDE62BD682D6247A2B0D2E1DFFF1EAD, ConfGRAssoc.ConfID, ConfGRAssoc.BlockDate, ConfGRAssoc.ConfGRAssocID, ConfGRAssoc.AllotmentIDPhysical, ConfGRAssoc.BlockedRooms, ConfGRAssoc.RoomRate
FROM ( ( (RoomType INNER JOIN ConfGRAssoc ON RoomType.RoomTypeID = ConfGRAssoc.GuestRoomID)
LEFT JOIN ConfGRAssoc AS AllotGR ON ConfGRAssoc.AllotmentIDPhysical = AllotGR.ConfID AND ConfGRAssoc.BlockDate = AllotGR.BlockDate AND ConfGRAssoc.GuestRoomID = AllotGR.GuestRoomID)
INNER JOIN Conference ON ConfGRAssoc.ConfID = Conference.ConfID)
WHERE ConfGRAssoc.OccupancyID In (0x1882AA555328D2118C080040F6240F03,0x1282AA555328 D2118C080040F6240F03,0xA37EA2045F93D211941800104B9 E7ED2,0xA67EA2045F93D211941800104B9E7ED2)
AND ((AllotGR.ConfID) Is Null)
AND (ConfGRAssoc.BlockDate BETWEEN { ts '2007-04-01 00:00:00'} AND { ts '2008-03-31 00:00:00'})
AND ConfGRAssoc.AllotmentIDPhysical IN (0x28C6B8F90A26DF4F8C0BFBAD69C330F2, 0x2C9ADBAB31EEEA44B5B11C15AF99F442, 0x4FFE01AC0F5B8342BAF196361FF813B6, 0xCD7ECE9DFE2F5549B0DAC3EDDCF52EA5) AND RoomType.Suite = 0


this query has different performance on development (3sec) & production (12sec) server.
i found that the execution plan on the 2 servers are different. Dev uses parallelism but prod doesn't. Later i found that there are 4 CPUs on dev but only 2 CPUs on prod.

Is there any way i can force prod to use parallelism also?

thanks,
mandy
Oct 3 '07 #1
0 1490

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Ryan | last post by:
If SQL Server is designed for multi processor systems, how can running a query in parallel make such a dramatic difference to performance ? We have a reasonably simple query which brings in data...
6
by: tracy | last post by:
I have a complex query (16 table join) that until five days ago took 30 sec to run. It now takes eight hours. I restored a backup of the database from five days ago and the query plans are...
3
by: jim_geissman | last post by:
I have a function that returns a table of information about residential properties. The main input is a property type and a location in grid coordinates. Because I want to get only a certain...
4
by: T Dubya | last post by:
We're experiencing a large number of deadlocks since we began running SQL Server 2000 Enterprise Edition SP3 on a Dell 6650 with hyper threading intel processors. We don't have the same problem on...
3
by: kev | last post by:
Hi, I have a sql 2000 server with 8 processors, server settings are as default. I read on Technet that it is good practise to remove the highest no. processors from being used for parallelism,...
5
by: Evan Smith | last post by:
We recently upgraded the box that hosts our main DB2 database to an 8-CPU machine with 8 GB of memory. With all the extra horsepower, we were eager to test performance with intra-parallelism turned...
2
by: Raquel | last post by:
FORCE APPLICATION command is valid only at the 'instance' level. Why is this so? An instance may contain many databases. So, what command do I give if I want to force applications from a particular...
8
by: JSC | last post by:
Hello all, We're running AIX 5.3 and DB2 v8.1 FP 9. Topas and lscfg confirm that this is a 4-way SMP environment, however only 1 of the 4 processors seems to be operative. That is, with...
6
by: paul | last post by:
hi, i've set 'max degree of parallelism' to 1 because some sql request hanged. Now when i connect, how can i set the parallelism to 4 for a session. Is there a command like this : 'alter session...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.