473,406 Members | 2,281 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,406 software developers and data experts.

DB migration

I just moved a SQL 2000 database to a new server (backup/restore).
This server is much beefier with respect to hardware.

The problem is that the system doesn't seem to be very fast at all. It
seems to be having issues with thread count. For example, I saw some
errors like this in my client apps:

"The query processor could not start the necessary thread resources
for parallel query execution."

Also, connections from SSMS occasionally timeout and running this
"query": "PRINT GETUTCDATE()" takes as long as 2 minutes to return the
current date.

What should I be looking for? What things should I check?

Is it possible the db is just taking IO hits like crazy as it spins up
(it's been up for about an hour now)?

Thanks!
Jun 27 '08 #1
3 1667
On Jun 17, 12:22*pm, michael <mha...@gmail.comwrote:
I just moved a SQL 2000 database to a new server (backup/restore).
This server is much beefier with respect to hardware.

The problem is that the system doesn't seem to be very fast at all. It
seems to be having issues with thread count. For example, I saw some
errors like this in my client apps:

"The query processor could not start the necessary thread resources
for parallel query execution."

Also, connections from SSMS occasionally timeout and running this
"query": "PRINT GETUTCDATE()" takes as long as 2 minutes to return the
current date.

What should I be looking for? What things should I check?

Is it possible the db is just taking IO hits like crazy as it spins up
(it's been up for about an hour now)?

Thanks!
It turns out that this was caused by the max degree of parallelism
threshold being set to 0. I guess the optimizer was parallelizing
everything, even the simplest of queries. I changed it back to 5 (the
default) and it's running much, much better now.
Jun 27 '08 #2
michael (mh****@gmail.com) writes:
It turns out that this was caused by the max degree of parallelism
threshold being set to 0. I guess the optimizer was parallelizing
everything, even the simplest of queries. I changed it back to 5 (the
default) and it's running much, much better now.
The default is actually 0, but it's good to hear that your issue was
resolved.

--
Erland Sommarskog, SQL Server MVP, es****@sommarskog.se

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/pro...ads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinf...ons/books.mspx
Jun 27 '08 #3
To add to Erland's response, consider examining the execution plans of the
parallel queries to see if index/query tuning is warranted. SQL Server will
sometimes throw parallelism at a query to compensate for lack of useful
indexes. I have seen cases where tuning eliminates parallelism and improves
performance.

--
Hope this helps.

Dan Guzman
SQL Server MVP
http://weblogs.sqlteam.com/dang/

"michael" <mh****@gmail.comwrote in message
news:94**********************************@i76g2000 hsf.googlegroups.com...
>I just moved a SQL 2000 database to a new server (backup/restore).
This server is much beefier with respect to hardware.

The problem is that the system doesn't seem to be very fast at all. It
seems to be having issues with thread count. For example, I saw some
errors like this in my client apps:

"The query processor could not start the necessary thread resources
for parallel query execution."

Also, connections from SSMS occasionally timeout and running this
"query": "PRINT GETUTCDATE()" takes as long as 2 minutes to return the
current date.

What should I be looking for? What things should I check?

Is it possible the db is just taking IO hits like crazy as it spins up
(it's been up for about an hour now)?

Thanks!
Jun 27 '08 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: Paddy McCarthy | last post by:
Frustrated at being prevented from using Python at work I went gunning for Perl. Time to roll out some useless Google statistics to make me feel better Google Phrase count...
4
by: Abram Friesen | last post by:
Hi, I'm a developer for a software application vendor, and our application makes use of a customer-maintained Oracle 8i/9i database. We've had a customer request to support DB2 database, and I'm...
1
by: sac | last post by:
I am using DB2 v8.1 on UNIX. A few weeks ago the DBAs carried out node migration activity on the database. After the node migration I observed that the queries that execute on temporary tables...
1
by: rob | last post by:
Dear All, I have a very small test project to convert asp to asp.net using the Microsoft/Artisan ASP to ASP.NET Migration Assistant...
3
Frinavale
by: Frinavale | last post by:
I have been researching the best approach to migrating a VB6 application into a VB.NET application. There is a lot of information out there but most of it recommends that you "train in the migration...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
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,...

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.