Showing posts with label servers. Show all posts
Showing posts with label servers. Show all posts

Monday, March 26, 2012

I cant solve this linked server problem, can you?

We rebooted our main SQL Server (SQL2k). It had 5 linked servers setup, 2 on the same network and 3 on another network. After the reboot the linked sql servers on the other network only work some of the time when trying to access them via a linked server. The 2 linked servers on the same network have no problems at all. All the routes are setup properly and are persistant.

Linked servers
SameNetwork1 -- No Problems
SameNetwork2 -- No Problems
ServerOtherNetwork1 -- "sqlserver does not exist or access is denied. [SQLSTATE 42000] (Error 17)."
ServerOtherNetwork2 -- "sqlserver does not exist or access is denied. [SQLSTATE 42000] (Error 17)."
ServerOtherNetwork3 -- "sqlserver does not exist or access is denied. [SQLSTATE 42000] (Error 17)."

All SQL Server 2k Standard with 2 processor licenses and the latest service packs.
All have been setup as TCPIP and the port has been defined in the client network utility using the IP address not the name.
All servers can be "pinged" and you can pull up the physical drive folders from across the networks with no problems.
All linked servers are running windows 2000. The main server is running NT.

After the reboot only server1 was working with the linked server. The other 2 servers were getting either a timeout or "sqlserver does not exist or access is denied. [SQLSTATE 42000] (Error 17)."
I tried to fiddle with the linked servers by changing the passwords and got Server1 and Server2 working over the linked server connection but could not get server3 to work. After about 30 minutes or so I noticed that server 2 was working on and off. It was not consistant about failing or working. I decided to go home for the night. When I came in this morning, only Server2 works. Server1 and 3 do not at all.

I have a job setup to pull transactions from a table on server2 to our main sqlserver. This job was running every 5 minutes and it was failing here and there. I have now setup the job to run every 2 minutes and it has not failed for the past hour. When it does fail it gives the error above (server does not exist).

I really hope this makes sence to someone... lol :o

Thanks.No takers on fixing this? :(|||Since the reboot, I have noticed that we are getting quite a bit of DEMO 19 errors for locking. We never really had this before. Could the locking issues be related to the linked server connection errors? :confused:|||When you are saying "different networks", do you mean different subnets or different domains or both?|||When you are saying "different networks", do you mean different subnets or different domains or both?

When I asked if they were on different subnets our admin said yes then replied with this: "Physically the networks are connected but logically they are not." :D

I know that our main SQL Server is on a network that has a PDC. The other 3 servers that I need the linked server setup with are on a network that does not have a domain. I know that I have a persistent route setup between my dev box and they network that those 3 are on and there is also a route setup between the main sql server and the network with those 3 servers.

Does all that help?|||This may be a prob. I've never used SQL in workgroup environment. How did you set up login mapping?|||I am sure you have already tried this, but what happens when you try to connect to the remote servers from the main server using Query Analyzer? Be sure to use the same address/credentials as the linked server would be tying to use. Do you get any errors, or connection problems there?|||Here is another thing I just noticed. The job that runs every 2 minutes that works fine with one linked server starts failing when I attempt to setup a linked server to one of the other 2 servers on that network. Then to make it work again I do a select from of the tables, otherwise the job continues to fail.

to explain a little differently:
- The Server1 linked server is working and has a job that runs against it.
- I attempt to setup the Server2 linked server and it will wait for 60 seconds or so to time out with the error "sqlserver does not exist or access is denied"
- While waiting for the timeout on the setup of Server2 the Server1 linked server looses connectivity with the error "sqlserver does not exist or access is denied".
- Once the error occurs then I can use the Server1 linked server again if I do a select from of the tables, otherwise the job continues to fail.

The net admin assures me that its not his problem. He also said there there is no way that the switches or routers or whatever are overloaded.

I can connect to all these boxes with no problem from my dev box and have all the linked servers working with no problem all at the same time. So more and more I think this problem is specific to our main sql server and not to anything outside of it, but who knows? :(|||I am sure you have already tried this, but what happens when you try to connect to the remote servers from the main server using Query Analyzer? Be sure to use the same address/credentials as the linked server would be tying to use. Do you get any errors, or connection problems there?

Well I have no problem from my dev box. But trying to connect in query analyzer from the main sql server to the other servers on the other network does not work, to my knowledge; but it can ping the servers with no problems.|||This may be a prob. I've never used SQL in workgroup environment. How did you set up login mapping?

Mapping was setup with the bottom setting: "Be made using this security context"

Then I typed the SQL authenticated login and password.|||We may be on to something here. I assume it is giving you the same error "SQL Server does not exist or access is denied"? If so, then something about the client setup on the main server is not quite right. Check over the aliases in the Client Network Utility. Are they still valid?|||We may be on to something here. I assume it is giving you the same error "SQL Server does not exist or access is denied"? If so, then something about the client setup on the main server is not quite right. Check over the aliases in the Client Network Utility. Are they still valid?

Yup. Its all standard stuff. port 1433. TCP/IP and Named Pipes. I am using the IP address in the client config because you cant ping the server names.|||All out of suggestions? :(

Perhaps, its just time to FDISK and reformat the production SQL Server. :D|||Sorry, man. I am not as good with cross-domain problems. I am used to single domain stuff, which is a heck of a lot easier.

That brings up a question, which may have been answered before. How are you authenticating to the remote servers? By SQL Authentication, or by Windows Authentication?

In it simplest form, if you can use Query Analyzer from your main SQL server to get to the remote servers, you should be able to use the linked servers. Not sure if that helps, but it may give you an extra tool to generate errors with.|||Sorry, man. I am not as good with cross-domain problems. I am used to single domain stuff, which is a heck of a lot easier.

That brings up a question, which may have been answered before. How are you authenticating to the remote servers? By SQL Authentication, or by Windows Authentication?

In it simplest form, if you can use Query Analyzer from your main SQL server to get to the remote servers, you should be able to use the linked servers. Not sure if that helps, but it may give you an extra tool to generate errors with.

SQL Authentication. I have problems in SQL QA too. I just cant seem to get the connectivity from that specific box to those boxes. I can get it to work on any other boxes so I think the problem is with our main sql server itself.|||have you tried using the IP address in the link server setup?
just a thought...it sounds like you've aliased it already in your client network config, but it's something i would try just for giggles, were i in this position.

cheers!|||have you tried using the IP address in the link server setup?
just a thought...it sounds like you've aliased it already in your client network config, but it's something i would try just for giggles, were i in this position.

cheers!Ye fish and little cat-gods! That sounds like something that I'd write. Are you sure that you aren't me?

-PatP|||Just to check, the network guys are not blocking port 1433 or port 1434, by chance, are they? If they have had problems with SQL Slammer, some network groups have done this in the past.|||given the nature of time and space i'm not entirely sure we are aren't all a cruel reflection of some divine dick-n-fart joke.

actually,come to think, the vedic (vastly ancient spiritual perspective from india) says there are only 49 souls and because what we call 'time' is actually an illusion that the vast majority of us are actually the same person.

so...could be.

:eek:

I can't see my SQL servers they dissappeared

I used to be able to see them now there are gone? Ideas ?
I checked Wins they all show up there...
Thanks> I used to be able to see them now there are gone? Ideas ?
You can't see them where...? SQL EM?
sincerely,
--
Sebastian K. Zaklada
Skilled Software
http://www.skilledsoftware.com
This posting is provided "AS IS" with no warranties, and confers no rights.|||Hi ,
Maybe your tempdb is full .
Regards
Ajay
"Sebastian K. Zaklada" <szaklada-dont-like-spam@.skilledsoftware.com> wrote
in message news:#V#URZc8DHA.1112@.tk2msftngp13.phx.gbl...
> > I used to be able to see them now there are gone? Ideas ?
> You can't see them where...? SQL EM?
> sincerely,
> --
> Sebastian K. Zaklada
> Skilled Software
> http://www.skilledsoftware.com
> This posting is provided "AS IS" with no warranties, and confers no
rights.
>|||Did you disable "NetBIOS over TCP/IP"
Are you looking for your SQL servers from a Windows 20003 server (that has "NetBIOS over TCP/IP" disabled by default)
The later problem is what caused problems for me for a couple of days...|||It looks like its NN problem. Its across a WAN. Other WAN
connected sites can see them so I think there is a
problem at the remote site. I am tryng to determine scope
now. Thanks.
>--Original Message--
>Hi,
>U mean U cannot see them from EM or from Network
Neighborhood(NN) what net work is it NT Domain/AD Domain'
>if it's EM (possible to re-register to fix problem)
>if it's NN and you haven't changed Netlib on client /
Protocol on server then possible it is either
>1) Master Domain Browser does not have updated list of
computers
>2) Computer Browser service on PC might require
restarting
>HTH
>.
>

I can't see my SQL servers they dissappeared

I used to be able to see them now there are gone? Ideas ?
I checked Wins they all show up there...
Thanks> I used to be able to see them now there are gone? Ideas ?
You can't see them where...? SQL EM?
sincerely,
--
Sebastian K. Zaklada
Skilled Software
http://www.skilledsoftware.com
This posting is provided "AS IS" with no warranties, and confers no rights.|||Hi ,
Maybe your tempdb is full .
Regards
Ajay
"Sebastian K. Zaklada" <szaklada-dont-like-spam@.skilledsoftware.com> wrote
in message news:#V#URZc8DHA.1112@.tk2msftngp13.phx.gbl...
> You can't see them where...? SQL EM?
> sincerely,
> --
> Sebastian K. Zaklada
> Skilled Software
> http://www.skilledsoftware.com
> This posting is provided "AS IS" with no warranties, and confers no
rights.
>|||Hi,
U mean U cannot see them from EM or from Network Neighborhood(NN) what net w
ork is it NT Domain/AD Domain'
if it's EM (possible to re-register to fix problem)
if it's NN and you haven't changed Netlib on client / Protocol on server the
n possible it is either
1) Master Domain Browser does not have updated list of computers
2) Computer Browser service on PC might require restarting
HTH|||Did you disable "NetBIOS over TCP/IP"?
Are you looking for your SQL servers from a Windows 20003 server (that has "
NetBIOS over TCP/IP" disabled by default) ?
The later problem is what caused problems for me for a couple of days...|||It looks like its NN problem. Its across a WAN. Other WAN
connected sites can see them so I think there is a
problem at the remote site. I am tryng to determine scope
now. Thanks.

>--Original Message--
>Hi,
>U mean U cannot see them from EM or from Network
Neighborhood(NN) what net work is it NT Domain/AD Domain'
>if it's EM (possible to re-register to fix problem)
>if it's NN and you haven't changed Netlib on client /
Protocol on server then possible it is either
>1) Master Domain Browser does not have updated list of
computers
>2) Computer Browser service on PC might require
restarting
>HTH
>.
>

I can't restore my master DB

I have 2 servers (Prod & Staging)
Prod is running SQL 2k Enterprise SP2 (obviously with some fix)
Staging is running SQL 2k Enterprise SP2
I can't get the versions to match, thus I can't restore any of my backed up databases to the staging server from the production one.
Server: Msg 3168, Level 16, State 1, Line 1
The backup of the system database on device g:\DBBACKUP\Master.bak cannot be restored because it was created by a different version of the server (134218407) than this server (134218262).
Server: Msg 3013, Level 16, State 1, Line 1
RESTORE DATABASE is terminating abnormally.
I would determine what versions you are running on both, and then upgrade
staging to match production. Is this possible?
----
Need SQL Server Examples check out my website at
http://www.geocities.com/sqlserverexamples
"HELP! Can't Restore DB's" <HELP! Can't Restore
DB's@.discussions.microsoft.com> wrote in message
news:75D5B62B-2A21-4BF4-889C-92CE4A645F36@.microsoft.com...
> I have 2 servers (Prod & Staging)
> Prod is running SQL 2k Enterprise SP2 (obviously with some fix)
> Staging is running SQL 2k Enterprise SP2
> I can't get the versions to match, thus I can't restore any of my backed
up databases to the staging server from the production one.
>
> Server: Msg 3168, Level 16, State 1, Line 1
> The backup of the system database on device g:\DBBACKUP\Master.bak cannot
be restored because it was created by a different version of the server
(134218407) than this server (134218262).
> Server: Msg 3013, Level 16, State 1, Line 1
> RESTORE DATABASE is terminating abnormally.
>
|||I figured out the problem. A network guy implemented a security fix that altered the version on the production box and he didn't implement the same fix on the Staging box.
"Gregory A. Larsen" wrote:

> I would determine what versions you are running on both, and then upgrade
> staging to match production. Is this possible?
>
> --
> ----
> ----
> --
> Need SQL Server Examples check out my website at
> http://www.geocities.com/sqlserverexamples
> "HELP! Can't Restore DB's" <HELP! Can't Restore
> DB's@.discussions.microsoft.com> wrote in message
> news:75D5B62B-2A21-4BF4-889C-92CE4A645F36@.microsoft.com...
> up databases to the staging server from the production one.
> be restored because it was created by a different version of the server
> (134218407) than this server (134218262).
>
>

I can't restore my master DB

I have 2 servers (Prod & Staging)
Prod is running SQL 2k Enterprise SP2 (obviously with some fix)
Staging is running SQL 2k Enterprise SP2
I can't get the versions to match, thus I can't restore any of my backed up databases to the staging server from the production one.
---
Server: Msg 3168, Level 16, State 1, Line 1
The backup of the system database on device g:\DBBACKUP\Master.bak cannot be restored because it was created by a different version of the server (134218407) than this server (134218262).
Server: Msg 3013, Level 16, State 1, Line 1
RESTORE DATABASE is terminating abnormally.I would determine what versions you are running on both, and then upgrade
staging to match production. Is this possible?
----
----
--
Need SQL Server Examples check out my website at
http://www.geocities.com/sqlserverexamples
"HELP! Can't Restore DB's" <HELP! Can't Restore
DB's@.discussions.microsoft.com> wrote in message
news:75D5B62B-2A21-4BF4-889C-92CE4A645F36@.microsoft.com...
> I have 2 servers (Prod & Staging)
> Prod is running SQL 2k Enterprise SP2 (obviously with some fix)
> Staging is running SQL 2k Enterprise SP2
> I can't get the versions to match, thus I can't restore any of my backed
up databases to the staging server from the production one.
> ---
> Server: Msg 3168, Level 16, State 1, Line 1
> The backup of the system database on device g:\DBBACKUP\Master.bak cannot
be restored because it was created by a different version of the server
(134218407) than this server (134218262).
> Server: Msg 3013, Level 16, State 1, Line 1
> RESTORE DATABASE is terminating abnormally.
>|||I figured out the problem. A network guy implemented a security fix that altered the version on the production box and he didn't implement the same fix on the Staging box.
"Gregory A. Larsen" wrote:
> I would determine what versions you are running on both, and then upgrade
> staging to match production. Is this possible?
>
> --
> ----
> ----
> --
> Need SQL Server Examples check out my website at
> http://www.geocities.com/sqlserverexamples
> "HELP! Can't Restore DB's" <HELP! Can't Restore
> DB's@.discussions.microsoft.com> wrote in message
> news:75D5B62B-2A21-4BF4-889C-92CE4A645F36@.microsoft.com...
> > I have 2 servers (Prod & Staging)
> >
> > Prod is running SQL 2k Enterprise SP2 (obviously with some fix)
> > Staging is running SQL 2k Enterprise SP2
> >
> > I can't get the versions to match, thus I can't restore any of my backed
> up databases to the staging server from the production one.
> >
> > ---
> >
> > Server: Msg 3168, Level 16, State 1, Line 1
> > The backup of the system database on device g:\DBBACKUP\Master.bak cannot
> be restored because it was created by a different version of the server
> (134218407) than this server (134218262).
> > Server: Msg 3013, Level 16, State 1, Line 1
> > RESTORE DATABASE is terminating abnormally.
> >
>
>

Friday, March 23, 2012

I can't restore my master DB

I have 2 servers (Prod & Staging)
Prod is running SQL 2k Enterprise SP2 (obviously with some fix)
Staging is running SQL 2k Enterprise SP2
I can't get the versions to match, thus I can't restore any of my backed up
databases to the staging server from the production one.
---
Server: Msg 3168, Level 16, State 1, Line 1
The backup of the system database on device g:\DBBACKUP\Master.bak cannot be
restored because it was created by a different version of the server (13421
8407) than this server (134218262).
Server: Msg 3013, Level 16, State 1, Line 1
RESTORE DATABASE is terminating abnormally.I would determine what versions you are running on both, and then upgrade
staging to match production. Is this possible?
----
----
--
Need SQL Server Examples check out my website at
http://www.geocities.com/sqlserverexamples
"HELP! Can't Restore DB's" <HELP! Can't Restore
DB's@.discussions.microsoft.com> wrote in message
news:75D5B62B-2A21-4BF4-889C-92CE4A645F36@.microsoft.com...
> I have 2 servers (Prod & Staging)
> Prod is running SQL 2k Enterprise SP2 (obviously with some fix)
> Staging is running SQL 2k Enterprise SP2
> I can't get the versions to match, thus I can't restore any of my backed
up databases to the staging server from the production one.
> ---
> Server: Msg 3168, Level 16, State 1, Line 1
> The backup of the system database on device g:\DBBACKUP\Master.bak cannot
be restored because it was created by a different version of the server
(134218407) than this server (134218262).
> Server: Msg 3013, Level 16, State 1, Line 1
> RESTORE DATABASE is terminating abnormally.
>|||I figured out the problem. A network guy implemented a security fix that alt
ered the version on the production box and he didn't implement the same fix
on the Staging box.
"Gregory A. Larsen" wrote:

> I would determine what versions you are running on both, and then upgrade
> staging to match production. Is this possible?
>
> --
> ----
--
> ----
--
> --
> Need SQL Server Examples check out my website at
> http://www.geocities.com/sqlserverexamples
> "HELP! Can't Restore DB's" <HELP! Can't Restore
> DB's@.discussions.microsoft.com> wrote in message
> news:75D5B62B-2A21-4BF4-889C-92CE4A645F36@.microsoft.com...
> up databases to the staging server from the production one.
> be restored because it was created by a different version of the server
> (134218407) than this server (134218262).
>
>

Wednesday, March 7, 2012

hyperthreaded processors running on win2k

My company is currently deploying new hardware for our new hosting site. We
have all new servers. 4 of them are running Win2k standard server and are
web servers, and 3 of them are win2k advanced servers running SQL Server
2000.
These servers have dual Xeons, so if hyperthreading is on, win2k sees 4
procs.
We have been working on tracking down speed issues for quite a while and
recently realized (by accident) , that the webservers run WAY faster when
hyperthreading is turned off. We are using MS Application Center Test for
load testing, so that's how we determined the performance gain.
I've been trying to find a clear cut answer about whether or not you should
use hyperthreading on win2k server, but I haven't found one. Although I have
seen several references to this issue and seen posts of people saying to
shut if off. It seems win2k doesn't know the difference between logical and
physical processors, so maybe that's why it's not good for win2k. ?
Does anyone know where I could find more info on this? We're going to turn
off hyperthreading on the webservers obviously because they perform better,
but I'm wondering if we will see performance gains by also shutting of
hyperthreading on the win2k SQL Servers. ?
Any insight into this would be great.
Thanks.
Personally, I have had fairly good experience with Hyperthreading. First,
make sure you are on build 816 or later. There were some significant
HT-friendly modifications in that build. The easiest way is to download the
818 security hotfix and apply it. That way, you do not have to open a case
to get it. Regardless, you must be on SP2 or higher to get SQL to count the
processors correctly for licensing purposes.
Finally, 2 virtual HT processors run about 20-30% faster using SQL than the
same processer set to non HT. SQL still counts them as full processors for
parallelism, meaning that you can over-parallel a query and drag system
performance down. I manually set MAX DEGREE OF PARALLELISM (MAXDOP) to no
higher than the actual physical processor count.
Geoff N. Hiten
Microsoft SQL Server MVP
Senior Database Administrator
Careerbuilder.com
I support the Professional Association for SQL Server
www.sqlpass.org
"Mark" <maxmann@.kc.rr.com> wrote in message
news:uyOJwARJEHA.1312@.TK2MSFTNGP12.phx.gbl...
> My company is currently deploying new hardware for our new hosting site.
We
> have all new servers. 4 of them are running Win2k standard server and are
> web servers, and 3 of them are win2k advanced servers running SQL Server
> 2000.
> These servers have dual Xeons, so if hyperthreading is on, win2k sees 4
> procs.
> We have been working on tracking down speed issues for quite a while and
> recently realized (by accident) , that the webservers run WAY faster when
> hyperthreading is turned off. We are using MS Application Center Test for
> load testing, so that's how we determined the performance gain.
> I've been trying to find a clear cut answer about whether or not you
should
> use hyperthreading on win2k server, but I haven't found one. Although I
have
> seen several references to this issue and seen posts of people saying to
> shut if off. It seems win2k doesn't know the difference between logical
and
> physical processors, so maybe that's why it's not good for win2k. ?
> Does anyone know where I could find more info on this? We're going to
turn
> off hyperthreading on the webservers obviously because they perform
better,
> but I'm wondering if we will see performance gains by also shutting of
> hyperthreading on the win2k SQL Servers. ?
>
> Any insight into this would be great.
> Thanks.
>

hyperthreaded processors running on win2k

My company is currently deploying new hardware for our new hosting site. We
have all new servers. 4 of them are running Win2k standard server and are
web servers, and 3 of them are win2k advanced servers running SQL Server
2000.
These servers have dual Xeons, so if hyperthreading is on, win2k sees 4
procs.
We have been working on tracking down speed issues for quite a while and
recently realized (by accident) , that the webservers run WAY faster when
hyperthreading is turned off. We are using MS Application Center Test for
load testing, so that's how we determined the performance gain.
I've been trying to find a clear cut answer about whether or not you should
use hyperthreading on win2k server, but I haven't found one. Although I have
seen several references to this issue and seen posts of people saying to
shut if off. It seems win2k doesn't know the difference between logical and
physical processors, so maybe that's why it's not good for win2k. ?
Does anyone know where I could find more info on this? We're going to turn
off hyperthreading on the webservers obviously because they perform better,
but I'm wondering if we will see performance gains by also shutting of
hyperthreading on the win2k SQL Servers. ?
Any insight into this would be great.
Thanks.Personally, I have had fairly good experience with Hyperthreading. First,
make sure you are on build 816 or later. There were some significant
HT-friendly modifications in that build. The easiest way is to download the
818 security hotfix and apply it. That way, you do not have to open a case
to get it. Regardless, you must be on SP2 or higher to get SQL to count the
processors correctly for licensing purposes.
Finally, 2 virtual HT processors run about 20-30% faster using SQL than the
same processer set to non HT. SQL still counts them as full processors for
parallelism, meaning that you can over-parallel a query and drag system
performance down. I manually set MAX DEGREE OF PARALLELISM (MAXDOP) to no
higher than the actual physical processor count.
--
Geoff N. Hiten
Microsoft SQL Server MVP
Senior Database Administrator
Careerbuilder.com
I support the Professional Association for SQL Server
www.sqlpass.org
"Mark" <maxmann@.kc.rr.com> wrote in message
news:uyOJwARJEHA.1312@.TK2MSFTNGP12.phx.gbl...
> My company is currently deploying new hardware for our new hosting site.
We
> have all new servers. 4 of them are running Win2k standard server and are
> web servers, and 3 of them are win2k advanced servers running SQL Server
> 2000.
> These servers have dual Xeons, so if hyperthreading is on, win2k sees 4
> procs.
> We have been working on tracking down speed issues for quite a while and
> recently realized (by accident) , that the webservers run WAY faster when
> hyperthreading is turned off. We are using MS Application Center Test for
> load testing, so that's how we determined the performance gain.
> I've been trying to find a clear cut answer about whether or not you
should
> use hyperthreading on win2k server, but I haven't found one. Although I
have
> seen several references to this issue and seen posts of people saying to
> shut if off. It seems win2k doesn't know the difference between logical
and
> physical processors, so maybe that's why it's not good for win2k. ?
> Does anyone know where I could find more info on this? We're going to
turn
> off hyperthreading on the webservers obviously because they perform
better,
> but I'm wondering if we will see performance gains by also shutting of
> hyperthreading on the win2k SQL Servers. ?
>
> Any insight into this would be great.
> Thanks.
>

hyperthreaded processors running on win2k

My company is currently deploying new hardware for our new hosting site. We
have all new servers. 4 of them are running Win2k standard server and are
web servers, and 3 of them are win2k advanced servers running SQL Server
2000.
These servers have dual Xeons, so if hyperthreading is on, win2k sees 4
procs.
We have been working on tracking down speed issues for quite a while and
recently realized (by accident) , that the webservers run WAY faster when
hyperthreading is turned off. We are using MS Application Center Test for
load testing, so that's how we determined the performance gain.
I've been trying to find a clear cut answer about whether or not you should
use hyperthreading on win2k server, but I haven't found one. Although I have
seen several references to this issue and seen posts of people saying to
shut if off. It seems win2k doesn't know the difference between logical and
physical processors, so maybe that's why it's not good for win2k. ?
Does anyone know where I could find more info on this? We're going to turn
off hyperthreading on the webservers obviously because they perform better,
but I'm wondering if we will see performance gains by also shutting of
hyperthreading on the win2k SQL Servers. ?
Any insight into this would be great.
Thanks.Personally, I have had fairly good experience with Hyperthreading. First,
make sure you are on build 816 or later. There were some significant
HT-friendly modifications in that build. The easiest way is to download the
818 security hotfix and apply it. That way, you do not have to open a case
to get it. Regardless, you must be on SP2 or higher to get SQL to count the
processors correctly for licensing purposes.
Finally, 2 virtual HT processors run about 20-30% faster using SQL than the
same processer set to non HT. SQL still counts them as full processors for
parallelism, meaning that you can over-parallel a query and drag system
performance down. I manually set MAX degree OF PARALLELISM (MAXDOP) to no
higher than the actual physical processor count.
Geoff N. Hiten
Microsoft SQL Server MVP
Senior Database Administrator
Careerbuilder.com
I support the Professional Association for SQL Server
www.sqlpass.org
"Mark" <maxmann@.kc.rr.com> wrote in message
news:uyOJwARJEHA.1312@.TK2MSFTNGP12.phx.gbl...
> My company is currently deploying new hardware for our new hosting site.
We
> have all new servers. 4 of them are running Win2k standard server and are
> web servers, and 3 of them are win2k advanced servers running SQL Server
> 2000.
> These servers have dual Xeons, so if hyperthreading is on, win2k sees 4
> procs.
> We have been working on tracking down speed issues for quite a while and
> recently realized (by accident) , that the webservers run WAY faster when
> hyperthreading is turned off. We are using MS Application Center Test for
> load testing, so that's how we determined the performance gain.
> I've been trying to find a clear cut answer about whether or not you
should
> use hyperthreading on win2k server, but I haven't found one. Although I
have
> seen several references to this issue and seen posts of people saying to
> shut if off. It seems win2k doesn't know the difference between logical
and
> physical processors, so maybe that's why it's not good for win2k. ?
> Does anyone know where I could find more info on this? We're going to
turn
> off hyperthreading on the webservers obviously because they perform
better,
> but I'm wondering if we will see performance gains by also shutting of
> hyperthreading on the win2k SQL Servers. ?
>
> Any insight into this would be great.
> Thanks.
>

Sunday, February 19, 2012

Hyper Threading for a cluster envirnoment

Hi
We are running SQL server in a cluster environment and Hyper threading are
enabled in that servers. The application and Database servers are
different. The appliactions stores 2 MB size of acrobat files to the table
which contains more than 600000 records . We are finding some kind of
issues with this servers.
Couple of SQL DBAs mentioning that , Hyder threading needs to disable in
that server .Is hyper threading cause any issue related to SQL Server
envirnoment.
Please reply
Regards
Swami
ganesh2012@.hotmail.com
Hi
I see no reason why you should. HT processors act like there are 2
processors installed.
What issues are you having?
--
Mike Epprecht, Microsoft SQL Server MVP
Zurich, Switzerland
IM: mike@.epprecht.net
MVP Program: http://www.microsoft.com/mvp
Blog: http://www.msmvps.com/epprecht/
"Swami" <Swami@.discussions.microsoft.com> wrote in message
news:54181388-7DEA-46D4-AA5E-D183BE5846E5@.microsoft.com...
> Hi
> We are running SQL server in a cluster environment and Hyper threading
are
> enabled in that servers. The application and Database servers are
> different. The appliactions stores 2 MB size of acrobat files to the
table
> which contains more than 600000 records . We are finding some kind of
> issues with this servers.
> Couple of SQL DBAs mentioning that , Hyder threading needs to disable in
> that server .Is hyper threading cause any issue related to SQL Server
> envirnoment.
> Please reply
> Regards
> Swami
> ganesh2012@.hotmail.com
>
|||In general, hyperthreading is a good thing. There are some strange
behaviors on 8 or more processor clusters but these only happen under some
very specific conditions. I do find that you will need to lower the
maximium degree of parallelism to the actual physical processor count to
avoid oversaturating a system. Please reply with more details on exactly
what your symptoms are so someone here can give you a better answer.
Geoff N. Hiten
Microsoft SQL Server MVP
Senior Database Administrator
Careerbuilder.com
I support the Professional Association for SQL Server
www.sqlpass.org
"Swami" <Swami@.discussions.microsoft.com> wrote in message
news:54181388-7DEA-46D4-AA5E-D183BE5846E5@.microsoft.com...
> Hi
> We are running SQL server in a cluster environment and Hyper threading
are
> enabled in that servers. The application and Database servers are
> different. The appliactions stores 2 MB size of acrobat files to the
table
> which contains more than 600000 records . We are finding some kind of
> issues with this servers.
> Couple of SQL DBAs mentioning that , Hyder threading needs to disable in
> that server .Is hyper threading cause any issue related to SQL Server
> envirnoment.
> Please reply
> Regards
> Swami
> ganesh2012@.hotmail.com
>
|||Geoff N. Hiten wrote:

> In general, hyperthreading is a good thing.

> There are some strange
> behaviors on 8 or more processor clusters but these only happen under some
> very specific conditions.
Could jou post a link to some info on this?
Hans
|||Here is one I actually oberved. It is a very unusual set of circumstances
that caused the problem.
FIX: Intermittent query slowdowns and corresponding high CPU utilization
http://support.microsoft.com/default.aspx/kb/835864
Here was another fix earlier to handle some other synchronization
performance issues.
FIX: Intense SQL Server Activity Results in Spinloop Wait in SQL Server 2000
Service Pack 2
http://support.microsoft.com/default...b;en-us;818763
I am pretty sure SP2 had something in it for Hyperthreading, most likely
counting the processors correctly for licensing restrictions.
Geoff N. Hiten
Microsoft SQL Server MVP
Senior Database Administrator
Careerbuilder.com
I support the Professional Association for SQL Server
www.sqlpass.org
"Hans de Bruin" <hans@.invalid.invalid> wrote in message
news:1107960610.727258@.draco.amc.uva.nl...[vbcol=seagreen]
> Geoff N. Hiten wrote:
>
some
> Could jou post a link to some info on this?
> --
> Hans

Hyper Threading - Good or Bad?

Ello,

We have quite a few SQL Servers running on servers with hyper threaded enabled processors. We have always left hyper threading on, even on our very busy servers but i've recently begun to question this due to comments i have received.

All our servers run SQL 2000 SP3a as "support" for hyper threading was added in SP3a

So... What do you think of Hyper Threading any why?Never had the need...I'll have to read up on this....|||OK, I'll go with gimicky

www.microsoft.com/sql/howtobuy/SQLonHTT.doc

Just scale the box|||Thanks Brett.

It will be good to compare notes, my hunt for information has not found much for or against yet although when trouble shooting we are now always advised to turn it off...

This link to a newgroup article raised my eyebrow
News Group (http://groups.google.co.uk/group/microsoft.public.sqlserver.server/browse_frm/thread/99860c74db9d183/af9e69650569f1db?lnk=st&q=hyper+threading+%2B+SQL+performance&rnum=2&hl=en#af9e69650569f1db)

Quoting a MVP from the link he says

The problem with a HT CPU that the 2 simultaneous threads running on the CPU both contend for the *same* L1, L2 and L3 processor cache. During heavy processing, you may actually have the 2 clearing each other's cache. This results in each having to go to main system RAM to work.

But read the whole thing for context as he also talks about parallelism|||Yes i read that but the other post has spurred me on to get the internet shovel out and keep hunting for more information and post for peoples experiences.

:D|||I have been told that Windows Server 2003 has better support for Hyperthreading. If you can, get your SQL Servers running on 2003, and all should be well. We have had no problems on 2003, or 2000, though.

HW Requirement for SQL Server 2005

We are running four servers at different sites say A,B,C and D and want
it to connect main Server at head office what would be the
configuration of main server for running SQL Server 2005.There are two
database say X and Y at each server at sites A,B,C and D. X requires
37.4 MB memory while Y requires 154 MB memory. 500 records are
populated in X database at each site While 30000 records are populated
in Y database at each site. What would be HW requirement for SQL
Server?

With regards
Ali Raza RajputI'd be more concerned with the connectivity between servers, what latency
will you accept?

It also depends how many users are querying the new server, what's its
purpose?

--
Tony Rogerson
SQL Server MVP
http://sqlblogcasts.com/blogs/tonyrogerson - technical commentary from a SQL
Server Consultant
http://sqlserverfaq.com - free video tutorials

"perhiyar" <dba.hilal@.gmail.com> wrote in message
news:1148108985.178205.178820@.i40g2000cwc.googlegr oups.com...
> We are running four servers at different sites say A,B,C and D and want
> it to connect main Server at head office what would be the
> configuration of main server for running SQL Server 2005.There are two
> database say X and Y at each server at sites A,B,C and D. X requires
> 37.4 MB memory while Y requires 154 MB memory. 500 records are
> populated in X database at each site While 30000 records are populated
> in Y database at each site. What would be HW requirement for SQL
> Server?
>
> With regards
> Ali Raza Rajput|||perhiyar wrote:
> We are running four servers at different sites say A,B,C and D and want
> it to connect main Server at head office what would be the
> configuration of main server for running SQL Server 2005.There are two
> database say X and Y at each server at sites A,B,C and D. X requires
> 37.4 MB memory while Y requires 154 MB memory. 500 records are
> populated in X database at each site While 30000 records are populated
> in Y database at each site. What would be HW requirement for SQL
> Server?

Now, do you have a centralized server or not? It's not fully clear to
me what you are trying to accomplish but with this "volume" of data
nearly all server hardware will pull this off easily if you don't do
overly complex calculations. As Tony pointed out, network latency is
probably more of an issue here - depending on the connectivity.

Regards

robert

HW Requirement for SQL Server 2005

We are running four servers at different sites say A,B,C and D and want
it to connect main Server at head office what would be the
configuration of main server for running SQL Server 2005.There are two
database say X and Y at each server at sites A,B,C and D. X requires
37.4 MB memory while Y requires 154 MB memory. 500 records are
populated in X database at each site While 30000 records are populated
in Y database at each site. What would be HW requirement for SQL
Server?
With regards
Ali Raza RajputHi
Replied in .server http://tinyurl.com/z4uyh Please do not multipost.
John
"perhiyar" wrote:

> We are running four servers at different sites say A,B,C and D and want
> it to connect main Server at head office what would be the
> configuration of main server for running SQL Server 2005.There are two
> database say X and Y at each server at sites A,B,C and D. X requires
> 37.4 MB memory while Y requires 154 MB memory. 500 records are
> populated in X database at each site While 30000 records are populated
> in Y database at each site. What would be HW requirement for SQL
> Server?
>
> With regards
> Ali Raza Rajput
>

HW Requirement for SQL Server 2005

We are running four servers at different sites say A,B,C and D and want
it to connect main Server at head office what would be the
configuration of main server for running SQL Server 2005.There are two
database say X and Y at each server at sites A,B,C and D. X requires
37.4 MB memory while Y requires 154 MB memory. 500 records are
populated in X database at each site While 30000 records are populated
in Y database at each site. What would be HW requirement for SQL
Server?
With regards
Ali Raza RajputHi
Hardware requirements are not just about volumes, other factors need to be
taken into consideration such as response, resilience and recovery. In a
distributed architecture you also need to consider network issues and
connectivity, not just the server on it's own. If you are looking at
replication you should also consider additional hardware if you need to
separate publishers from the distributors. You give no indication of future
volumes or growth rates, this and other unanwered questions make it very
difficult to answer you question. I suggest that you analyse you requirement
s
in more detail and talk to a hardware vendor.
John
"perhiyar" wrote:

> We are running four servers at different sites say A,B,C and D and want
> it to connect main Server at head office what would be the
> configuration of main server for running SQL Server 2005.There are two
> database say X and Y at each server at sites A,B,C and D. X requires
> 37.4 MB memory while Y requires 154 MB memory. 500 records are
> populated in X database at each site While 30000 records are populated
> in Y database at each site. What would be HW requirement for SQL
> Server?
>
> With regards
> Ali Raza Rajput
>

HW Requirement for SQL Server 2005

We are running four servers at different sites say A,B,C and D and want
it to connect main Server at head office what would be the
configuration of main server for running SQL Server 2005.There are two
database say X and Y at each server at sites A,B,C and D. X requires
37.4 MB memory while Y requires 154 MB memory. 500 records are
populated in X database at each site While 30000 records are populated
in Y database at each site. What would be HW requirement for SQL
Server?
With regards
Ali Raza RajputHi
Hardware requirements are not just about volumes, other factors need to be
taken into consideration such as response, resilience and recovery. In a
distributed architecture you also need to consider network issues and
connectivity, not just the server on it's own. If you are looking at
replication you should also consider additional hardware if you need to
separate publishers from the distributors. You give no indication of future
volumes or growth rates, this and other unanwered questions make it very
difficult to answer you question. I suggest that you analyse you requirements
in more detail and talk to a hardware vendor.
John
"perhiyar" wrote:
> We are running four servers at different sites say A,B,C and D and want
> it to connect main Server at head office what would be the
> configuration of main server for running SQL Server 2005.There are two
> database say X and Y at each server at sites A,B,C and D. X requires
> 37.4 MB memory while Y requires 154 MB memory. 500 records are
> populated in X database at each site While 30000 records are populated
> in Y database at each site. What would be HW requirement for SQL
> Server?
>
> With regards
> Ali Raza Rajput
>