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

FYI: a weird performance problem with MSDE and possibly SQL Server 2000

This problem was discovered with MSDE2000 SP2 and under WinXP SP2. We
are unsure whether it is more widespread as it has only been seen on
one machine to date.

The problem is related to name resolution. If you attempt to connect
to a local database with a connect string using

server=.

rather than

server=(local)

or

server=MachineName

then the symptoms are that serious performance degradation on queries
will occur. The problem is related to name resolution and a registry
trace reveals excessive registry queries into the DNS and tcpip
subkeys of the hive.

Typically, application functions that took around 2 seconds were seen
to take nearly six times longer than normal. No CPU usage or disk I/O
occurred during the wait period.

This problem is unusual because in the past I have seen connection
performance problems involving name resolution - i.e, the connection
open itself takes a long time - but in this case, with a permanently
open connection, each query experiences performance degradation.

If you are having performance problems, you might like to check if you
are using this syntax for the server keyword in your connection string
and change it, to see if this helps.

It's got something to do with NetBIOS, because if you change the
client netlib so SQL Server is no longer listening on Named Pipes,
just TCP/IP, then the server=. syntax is no longer valid, and you are
unable to connect using it.

Note: we have tried, on the affected machine, clearing all DNS caches
and Netbios caches, and the issue occurs on the machine even when
entirely standalone with an IP address of 127.0.0.1. We also know that
the problem is entirely software-based, as swapping the operating
system drive to an identical piece of hardware causes the problem to
migrate to the new machine. However, this is as far as we have been
able to go with this. Since the workaround is relatively
straightforward, I guess we'll have to consign it to the pile of
Unsolved Microsoft Mysteries, of which there are many more, alas.
Jul 23 '05 #1
0 1161

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

Similar topics

6
by: Andreas Lauffer | last post by:
I changed from Access97 to AccessXP and I have immense performance problems. Details: - Access XP MDB with Jet 4.0 ( no ADP-Project ) - Linked Tables to SQL-Server 2000 over ODBC I used...
1
by: Mike N. | last post by:
I am writing a database app which will run under MSDE on the user's systems. Other than limitations as to the number of concurrent users, are there any issues that I need to be aware of when...
15
by: alex4groups | last post by:
Hi, I've been creating a db application using MS Access and MSDE. Only two of us are using the application, and the server and the app both run great on my laptop (1.6 GHz Pentium M, 2GB RAM,...
1
by: Diana Finley | last post by:
Hi all, I just got SQL Server 2000, but I already have MSDE installed. Is there any reason I would want to keep MSDE around on my computer if I install SQL Server 2000? I use MS Visual Studio...
6
by: baramee | last post by:
I develop web application by asp.net with ms access. In general , it work fine. But if hit rate of web is very much, it occure error 'Unspecified error'. it error on conn.open. My code will be...
1
by: Sebastian Santacroce | last post by:
Is it posible to package MSDE with VB .net so that its part of the installation? If so, is there documentation somewhere? What about packaging the .net framework with the application as well? ...
14
by: Developer | last post by:
Hello All, i have recently installed VS2005 and was trying to install SQL sever 2000. I have Win XP' SP2. But when I tried installing, it only installed client tools and not the database. Can...
11
by: HC | last post by:
I posted this in one of the VB forums but I'm starting to think it might be more appropriate to have it here, since it really seems to be a SQL server (MSDE/Express 2005) problem: Hey, all, I...
9
by: HC | last post by:
Hello, all, I started out thinking my problems were elsewhere but as I have worked through this I have isolated my problem, currently, as a difference between MSDE and SQL Express 2005 (I'll just...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.