Showing posts with label running. Show all posts
Showing posts with label running. Show all posts

Friday, March 30, 2012

I fixed this problem!

In my SSAS SP1, I received an error msg in Aggregation design wizard "A connection cannot be made. Ensure that the server is running ..." while I was tryng to start "Performance gain reaches%" box. I verified that the local source SQL 2005 sample "AdventureWorksDW" is running without a problem.

Make sure your Analysis Server is running.

Aggregation Design Wizard sends commands to Analysis Server that is running aggregation desing algorithm.

Try and open SQL Management Studio and make sure you can connect to Analysis Server.

Edward.
--
This posting is provided "AS IS" with no warranties, and confers no rights.

|||

While I tried to connect to Analysis Server in SQL Management Studio, I got an error as following -
* I am sure the service of "SQL Server Analysis Services (MSSQLSERVER)" is started on port 2383.


Quotes:

TITLE: Connect to Server

Cannot connect to localhost.


ADDITIONAL INFORMATION:

A connection cannot be made. Ensure that the server is running. (Microsoft.AnalysisServices.AdomdClient)

DIME protocol error: The required bytes cannot be read from the stream. (Microsoft.AnalysisServices.AdomdClient)


BUTTONS:

OK

|||

Open Service control manager and make sure you've started "SQL Server Analysis Services( MSSQLSERVER)" service. That is in case you installed default instance.

If you installed named instance the service name will contain the instance name.

For troubleshooting connectivity issues you can look at some tips on http://www.sqljunkies.com/WebLog/edwardm/archive/2006/05/26/21447.aspx

Edward Melomed.
--
This posting is provided "AS IS" with no warranties, and confers no rights.

|||

Thanks a lot.
I had carefully read your posted URL, but I had NOT found a way to solve the problem yet.
(1) In Service control manager, SQL Server Analysis Services (MSSQLSERVER) is started.
(2) In DOS command console, C:/>telnet localhost 2383 , output a blank screen, means that - port 2383 is on listening on localhost.
so that, I am SURE that
- SQL Server Analysis Services (MSSQLSERVER)" is started and listening on port 2383 -
but when I try to connect to Analysis Services in Microsoft SQL Server Management Studio , the error popup:

Frank X. Huang wrote:

TITLE: Connect to Server

Cannot connect to localhost.


ADDITIONAL INFORMATION:

A connection cannot be made. Ensure that the server is running. (Microsoft.AnalysisServices.AdomdClient)

DIME protocol error: The required bytes cannot be read from the stream. (Microsoft.AnalysisServices.AdomdClient)


BUTTONS:

OK

|||

Let's try another thing.

On your server machine:

Create a new text file in one of your folders.

Change the extension of the file from .txt to .udl. Doble click on the file and you'd see data link dialog open up.

Switch to the Provider tab and select "Microsoft OLEDB provider for Analysis Services 90"

Go to the Connection tab and type in the server name for the Data Source. Choose Windows auth.

At this moment you should be able to see list of databases on the server.

Edward Melomed.
--
This posting is provided "AS IS" with no warranties, and confers no rights.

|||

I do like this -

(1) on my server machine(localhost): create a new text file and rename to x.udl;
(2) Double click on the file, and In the popup window which titled "Data Link Properties",
(2.1) In "Provider" tab, I select "Microsoft OLE DB Provider for Analysis Services 9.0",
(2.2) In "Connection" tab, I select "Use Windows NT Integrated security"; Fill "Data Source:" textbox with "localhost"; let "Location:" textbox empty; and then
(2.2.1) if I drop down the list of "Enter the initial catalog to use:", there is an error "An error was encountered in the transport layer." with title "Microsoft Data Link Error".

(2.2.1.1) I have no choice but to click "OK" on the error window, and then another window shows "Login failed. Catalog information cannot be retrieved."
(2.2.2) or, if I click "Test Connection" button, an error show "Test connection failed because of an error in initializing provider. An error was encountered in the transport layer."

Further more, I try some other things -
(1) create a data source with "SQL Native Client"(version 2005.90.2047.00), and then retry all steps.
(2) at step 2.1, I select another Provider "SQL Native Client"(version 2005.90.2047.00); at step 2.2 fill the data source with "localhost"; and then "Test Connection"......It's OK!......or, drop down the database name list, It's OK!.......no error!

By the way, "Database Engine", "Integration Services", and "Reporting Services" are ALL can be connected, ONLY "Analysis Services" CANNOT be connected in the "Microsoft SQL Server Management Studio".

|||(1) I removed and re-installed Microsoft SQL Server 2005 Developer Edition on my Windows XP Professional, yet the error remains.
(2) I, then, downloaded and installed Microsoft SQL Server 2005 SP1, and try again, the error remains.
(3) I also remove and reinstall my Network Interface Card on my IBM ThinkPad, and start all services who can be started on my Operating System, the error remains.
Who can help me, God?|||

Another idea.

This could be a network related. Instead of localhost try to use machine name or IP of your server.

Edward Melomed.
--
This posting is provided "AS IS" with no warranties, and confers no rights.

|||

Thanks God! I fixed this problem, but I really do not know how and why?

I will do some experiment and try to find it out (this may take me several hours or days or never), but now, I only list what I did -

(1) There is an error "Could not add the requested component.
The error is: ...."(sorry for lost details) when I try to install Microsoft TCP/IP version 6 on my Network Adapter;

(2) There is an error "Unable to start the MSMQ service. Error Code: 0x433
Error description: The dependency service does not exist or has been marked for deletion. "
and/or "Setup could not copy one or more files. The specific error code is 0x4b8..."
and/or "The MSMQTriggers service cannot be started. Error Code: 0x42C Error Description: The dependency service or group failed to start."
When I removed and try to re-install Message Queuing;

(3.1) To resolve 0x4b8, I running this command:
esentutl /p c:\WINDOWS\security\Database\secedit.sdb

(3.2) To resolve 0x42C, I found a very useful message on Etc. Windows.
http://www.google.com/notebook/public/04097591150171922613/BDT6NIgoQlMDj180h
and running these commands:

net stop msdtc

msdtc -uninstall

go into regedit and delete the key HKLM\Software\Microsoft\MSDTC

msdtc -install

net start msdtc

(3.3) Now, I can continue to re-install Message Queuing.

(4) Check and install Microsoft TCP/IP version 6.

(5) Connect to localhost (Analysis Server) in Microsoft SQL Server Management Studio. It is OK now!

I really don't know how to fixed but I finally fiexed it anyhow! If you doubt whether it meets your case or not, please just take a trial; If you want to contact me, please email to huangxiangyao@.hotmail.com.

|||

Thanks God! I fixed this problem, but I really do not know how and why.

I will do some experiment and try to find it out (this may take me several hours or days or never), but now, I only list what I did -

(1) There is an error "Could not add the requested component.
The error is: ...."(sorry for lost details) when I try to install Microsoft TCP/IP version 6 on my Network Adapter;

(2) There is an error "Unable to start the MSMQ service. Error Code: 0x433
Error description: The dependency service does not exist or has been marked for deletion. "
and/or "Setup could not copy one or more files. The specific error code is 0x4b8..."
and/or "The MSMQTriggers service cannot be started. Error Code: 0x42C Error Description: The dependency service or group failed to start."
When I removed and try to re-install Message Queuing;

(3.1) To resolve 0x4b8, I running this command:
esentutl /p c:\WINDOWS\security\Database\secedit.sdb

(3.2) To resolve 0x42C, I found a very useful message on Etc. Windows.
http://www.google.com/notebook/public/04097591150171922613/BDT6NIgoQlMDj180h
and running these commands:

net stop msdtc

msdtc -uninstall

go into regedit and delete the key HKLM\Software\Microsoft\MSDTC

msdtc -install

net start msdtc

(3.3) Now, I can continue to re-install Message Queuing.

(4) Check and install Microsoft TCP/IP version 6.

(5) Connect to localhost (Analysis Server) in Microsoft SQL Server Management Studio. It is OK now!

I really don't know how to fixed but I finally fiexed it anyhow! If you doubt whether it meets your case or not, please just take a trial; If you want to contact me, please email to huangxiangyao@.hotmail.com. (From 1:00 to 17:00 UTC)

Monday, March 26, 2012

I Changed My Servername Help Please

Hi,
I have Joined my SQL Server into another domain and had to rename the
machine as well I am running SQL Server 2000 on a Windows 2000 server on an
NT Domain
Since this I seem to have some problems with replication etc. is there a
registry setting or something I need to change where the old machine name
might be lurking?
Or is it a case of me removing then re-installing SQL Server ?
Thanks in advance for any help provided on this
Joe MellonIf you re-run the Setup from the SQL Server CD, it should show you an option
to repair registry only. Try with this first, it is quick and easy process.
You don't have to reinstall SQL Server. Maybe after the registry rebuild you
will have only to reestablish the replication.
--
Dejan Sarka, SQL Server MVP
Please reply only to the newsgroups.
"Joe Mellon" <joe@.bluesteel.co.uk> wrote in message
news:O9vZofNsDHA.2492@.TK2MSFTNGP12.phx.gbl...
> Hi,
> I have Joined my SQL Server into another domain and had to rename the
> machine as well I am running SQL Server 2000 on a Windows 2000 server on
an
> NT Domain
> Since this I seem to have some problems with replication etc. is there a
> registry setting or something I need to change where the old machine name
> might be lurking?
> Or is it a case of me removing then re-installing SQL Server ?
> Thanks in advance for any help provided on this
>
> Joe Mellon
>

I can't Start\Stop\Pause SQL Server or SQL Agent from Remote SSMS

Hello,
I do all of my SQL Server administration remotely from my workstation and
i noticed that the green running status symbol was blank on one of my MS SQL
2005 servers. I also noticed that when i right click on the server name my
options for start stop and pause are disabled. I can see all of the tables
and run my queries without any issues. If i log onto the server itself i can
see the status symbols and start\stop\pause the services for the Server and
Agent. Does anyone know why i wouldnt be able to remotely do this or see the
status of the server services? Thanks in advance for the help!
jrunowski (jrunowski@.discussions.microsoft.com) writes:
> I do all of my SQL Server administration remotely from my workstation
> and i noticed that the green running status symbol was blank on one of
> my MS SQL 2005 servers. I also noticed that when i right click on the
> server name my options for start stop and pause are disabled. I can see
> all of the tables and run my queries without any issues. If i log onto
> the server itself i can see the status symbols and start\stop\pause the
> services for the Server and Agent. Does anyone know why i wouldnt be
> able to remotely do this or see the status of the server services?
Normally, you can only stop and start services on the local machine. This
is not specific to SQL Server, but applies to Windows in general. I guess
that you can configure a machine so that services can be stopped and
started from a remote computer, but it sonds like a dare security-wise.
Erland Sommarskog, SQL Server MVP, esquel@.sommarskog.se
Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx

I can't seem to access my fulltext data

I am running on Sql Server 2000.
This was set up a couple of weeks ago and ran fine. I came in today and was
looking at some of my asp.net pages and started to get the error:
Execution of a full-text operation failed. The catalog does not exist or is
currently unavailable
I tried just a simple query:
select * from position where Contains(jobDescription,'sales')
and got the same error.
What causes the problem? When I right-click on the table and go the
fulltext menu and wizard, it says it is already set up for FullText
indexing.
Thanks,
Tom
Can you check for any messages in the event log from MSSearch or MSSCI?
You might also want to use the gthrlog.vbs to examine your gatherer logs for
this catalog.
Go to c:\program files\Common files\system\mssearch\bin copy the gthrlog.vbs
to c:\winnt\system32 directory or add the above path to your
path (control panel - system - Environment - user and in the path variable
append the above path in the path value (separate it from the entry before
with a ;).
Click on set, apply and OK. Run path from the command prompt to ensure you
did this correctly. You may have to close down all dos boxes to get this to
update
correctly, if not a log off log on normally works.
Now navigate to your gather log location. On my machine it is at
C:\Program Files\Microsoft SQL Server\MSSQL\FTDATA\SQLServer\XGatherLogs>
then type cscript.vbs gthrlog SQL0000600006.7.gthr or whatever you find
there.
these logs have time stamps on them, look for a date relevant one to
examine.
Hilary Cotter
Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602.html
Looking for a FAQ on Indexing Services/SQL FTS
http://www.indexserverfaq.com
"tshad" <tscheiderich@.ftsolutions.com> wrote in message
news:eeSITHLMFHA.3016@.TK2MSFTNGP15.phx.gbl...
> I am running on Sql Server 2000.
> This was set up a couple of weeks ago and ran fine. I came in today and
was
> looking at some of my asp.net pages and started to get the error:
> Execution of a full-text operation failed. The catalog does not exist or
is
> currently unavailable
> I tried just a simple query:
> select * from position where Contains(jobDescription,'sales')
> and got the same error.
> What causes the problem? When I right-click on the table and go the
> fulltext menu and wizard, it says it is already set up for FullText
> indexing.
> Thanks,
> Tom
>
>
|||> Can you check for any messages in the event log from MSSearch or MSSCI?
> You might also want to use the gthrlog.vbs to examine your gatherer logs
> for
> this catalog.
> Go to c:\program files\Common files\system\mssearch\bin copy the
> gthrlog.vbs
> to c:\winnt\system32 directory or add the above path to your
> path (control panel - system - Environment - user and in the path variable
> append the above path in the path value (separate it from the entry before
> with a ;).
> Click on set, apply and OK. Run path from the command prompt to ensure you
> did this correctly. You may have to close down all dos boxes to get this
> to
> update
> correctly, if not a log off log on normally works.
> Now navigate to your gather log location. On my machine it is at
>
> C:\Program Files\Microsoft SQL Server\MSSQL\FTDATA\SQLServer\XGatherLogs>
>
> then type cscript.vbs gthrlog SQL0000600006.7.gthr or whatever you find
> there.
> these logs have time stamps on them, look for a date relevant one to
> examine.
We don't have cscript.vbs on our server which is a "Windows 2003 Server".
But the date of the only file in the GatherLogs folder is 3/15/05 and this
happened today.
There is no entry in the Event log or the Sql Server Logs about this
either - the last entry was 2:00 am this morning for our backups.
However, I did look at the FullTextCatalogs in the Databases folder on EM
and saw that the JobDescriptions Catalog is idle. Is this normal?
Thanks,
Tom
>
> --
> Hilary Cotter
> Looking for a SQL Server replication book?
> http://www.nwsu.com/0974973602.html
> Looking for a FAQ on Indexing Services/SQL FTS
> http://www.indexserverfaq.com
> "tshad" <tscheiderich@.ftsolutions.com> wrote in message
> news:eeSITHLMFHA.3016@.TK2MSFTNGP15.phx.gbl...
> was
> is
>
|||Possibly, can you try to run a full population.
Btw its cscript gthrlog SQL0000600006.7.gthr
My mistake
"tshad" <tscheiderich@.ftsolutions.com> wrote in message
news:e$rh5NMMFHA.3960@.TK2MSFTNGP12.phx.gbl...
> We don't have cscript.vbs on our server which is a "Windows 2003 Server".
> But the date of the only file in the GatherLogs folder is 3/15/05 and this
> happened today.
> There is no entry in the Event log or the Sql Server Logs about this
> either - the last entry was 2:00 am this morning for our backups.
> However, I did look at the FullTextCatalogs in the Databases folder on EM
> and saw that the JobDescriptions Catalog is idle. Is this normal?
> Thanks,
> Tom
>
|||"Hilary Cotter" <hilary.cotter@.gmail.com> wrote in message
news:uiDrhnMMFHA.4044@.TK2MSFTNGP12.phx.gbl...
> Possibly, can you try to run a full population.
I did try the full population, but that didn't seem to help. But when I did
a rebuild catalog and then full population it worked fine.
Why would it do that and how would I get around that?
I can't have people trying to use our site and finding that their searches
won't work.
Thanks,
Tom
> Btw its cscript gthrlog SQL0000600006.7.gthr
> My mistake
>
> "tshad" <tscheiderich@.ftsolutions.com> wrote in message
> news:e$rh5NMMFHA.3960@.TK2MSFTNGP12.phx.gbl...
>
|||Its hard to say - their may have been some catalog corruption, but there
should have been error messages logged in the event log, or in the gatherer
logs.
Hilary Cotter
Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602.html
Looking for a FAQ on Indexing Services/SQL FTS
http://www.indexserverfaq.com
"tshad" <tscheiderich@.ftsolutions.com> wrote in message
news:e26H3zMMFHA.3760@.TK2MSFTNGP12.phx.gbl...
> "Hilary Cotter" <hilary.cotter@.gmail.com> wrote in message
> news:uiDrhnMMFHA.4044@.TK2MSFTNGP12.phx.gbl...
> I did try the full population, but that didn't seem to help. But when I
did[vbcol=seagreen]
> a rebuild catalog and then full population it worked fine.
> Why would it do that and how would I get around that?
> I can't have people trying to use our site and finding that their searches
> won't work.
> Thanks,
> Tom
MSSCI?[vbcol=seagreen]
logs[vbcol=seagreen]
find[vbcol=seagreen]
Server".[vbcol=seagreen]
EM
>
|||Hilary,
I have had a similiar issue; I cannot read any of my data from a simple
query or returning all rows from SQL. I tried to reinstal my *.dll files for
MSSearch, to no avail.
I am running Server 2003, SQL 2000 sp3.
Any help would be appreciated.
Derek
"Hilary Cotter" wrote:

> Its hard to say - their may have been some catalog corruption, but there
> should have been error messages logged in the event log, or in the gatherer
> logs.
> --
> Hilary Cotter
> Looking for a SQL Server replication book?
> http://www.nwsu.com/0974973602.html
> Looking for a FAQ on Indexing Services/SQL FTS
> http://www.indexserverfaq.com
> "tshad" <tscheiderich@.ftsolutions.com> wrote in message
> news:e26H3zMMFHA.3760@.TK2MSFTNGP12.phx.gbl...
> did
> MSSCI?
> logs
> find
> Server".
> EM
>
>
|||Its difficult to assess what the problem could be. Could you check the event
log from messages coming from MSSearch or MSSCi? This might refer to your
gatherer logs, which can be accessed by using the gthrlog.vbs utility.
go to c:\program files\Common files\system\mssearch\bin, copy the
gthrlog.vbs to c:\winnt\system32 directory or add the above path to your
path (control panel - system - Environment - user and in the path variable
append the above path in the path value (separate it from the entry before
with a ;).
Click on set, apply and OK. Run path from the command prompt to ensure you
did this correctly. You may have to close down all dos boxes to get this to
update
correctly, if not a log off log on normally works.
Now navigate to your gather log location. On my machine it is at C:\Program
Files\Microsoft SQL Server\MSSQL\FTDATA\SQLServer\XGatherLogs
then type cscript.vbs gthrlog SQL0000600006.7.gthr or whatever you find
there. these logs have time stamps on them, look for a date relevant one
to examine.
The most common reason for such a failure is the the SQL Server Service
account was changed through control panel as opposed to through EM. Refer to
this kb article for more information.
http://support.microsoft.com/default...b;en-us;295034
http://support.microsoft.com/default...b;en-us;317746
http://support.microsoft.com/default...b;en-us;295772
Hilary Cotter
Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602.html
Looking for a FAQ on Indexing Services/SQL FTS
http://www.indexserverfaq.com
"dkoz" <dkoz@.discussions.microsoft.com> wrote in message
news:D0FA563F-B9B0-4ABF-887B-DEA64EE7DDE9@.microsoft.com...
> Hilary,
> I have had a similiar issue; I cannot read any of my data from a simple
> query or returning all rows from SQL. I tried to reinstal my *.dll files
for[vbcol=seagreen]
> MSSearch, to no avail.
> I am running Server 2003, SQL 2000 sp3.
> Any help would be appreciated.
> Derek
> "Hilary Cotter" wrote:
gatherer[vbcol=seagreen]
I[vbcol=seagreen]
searches[vbcol=seagreen]
gatherer[vbcol=seagreen]
entry[vbcol=seagreen]
ensure[vbcol=seagreen]
get[vbcol=seagreen]
to[vbcol=seagreen]
and[vbcol=seagreen]
this[vbcol=seagreen]
on[vbcol=seagreen]
today[vbcol=seagreen]
exist[vbcol=seagreen]
the[vbcol=seagreen]
FullText[vbcol=seagreen]

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).
>
>

Monday, March 19, 2012

i cannot run express after i have installed it

my system meets the requirements and I have installed .net framework 2.0,

why can't i run sql express?

I tried running it from command prompt but nothing happens?

hi,

how did you "run" the SQLEXPR.EXE boostrap installer? please have a look at http://msdn2.microsoft.com/en-us/library/ms144259.aspx for command prompt required and supported parameters...

as regards "system requirements", be sure they are satisfied as exposed in http://msdn2.microsoft.com/en-us/library/ms143680.aspx

and just to be sure () you can have a look at http://msdn2.microsoft.com/en-us/library/ms143441.aspx as well ...

regards

Monday, March 12, 2012

I can not connect to SQL Server 2000 on WinXP SP2

Hi,
I am using 'SQLServer 2000 Driver for JDBC' in my java application. My SQL
Server is running in Windows XP pc. I dont had any problem before install
WindowsXP Service Pack 2. But when i have installed WinXP SP2 my application
can not connected to SQL Server. I have disabled firewall option in windows
but problem already continue. Is there any way for fixing this problem.
Thanks.
Sql Server SP3 is required
"Sercan AYYILDIZ" <sercan@.politeknik.us> wrote in message
news:O4umfOqEFHA.2756@.TK2MSFTNGP15.phx.gbl...
> Hi,
> I am using 'SQLServer 2000 Driver for JDBC' in my java application. My
> SQL
> Server is running in Windows XP pc. I dont had any problem before install
> WindowsXP Service Pack 2. But when i have installed WinXP SP2 my
> application
> can not connected to SQL Server. I have disabled firewall option in
> windows
> but problem already continue. Is there any way for fixing this problem.
> Thanks.
>

I amRe: HELP!!! Can not restore database from only back up I have

I had to transfer my database from one server to another. Both are running SQL 2000. I backed the database up and moved it to the new server however when I try to do a restore I get the following message:

The media set for database "xxx' has 2 family members but only 1 are provided. RESTORE DATABASE is terminating abnormally.

I did some searching and found a couple of posts that mentioned something about the back up including 2 files.

My problem is that the machine I backed this up from crashed when it was shut down and would not reboot so all of the data and the original database do not exist. Is there any hope of restoring this database. It is pretty critical.

Thanks,

Melissa :-)

Do "restore filelistonly from <backup_device>" to see what is in the backup device. Also, please post the "restore" command here so we can see what's going on.|||When you say "My problem is that the machine I backed this up from crashed when it was shut down and would not reboot so all of the data and the original database do not exist" - can you pull the drive that contained the original databases out of the machine and add it to the new one? (I'm assuming from your description that the database is on a DAS drive rather than a SAN)|||

I wish. The administrator who was trying to get the machine to boot determined it was beyond help and reformatted the drive and installed a new operating system on it. So all is lost.

Melissa : -(

|||

Ok here is the results from the restore filelistonly we ran:

LiveStats.XSP

C:\Program Files\Microsoft SQL Server\MSSQL\Data\LiveStats.XSP.mdf D PRIMARY 1188560896 35184372080640 LiveStats.XSP_log

C:\Program Files\Microsoft SQL Server\MSSQL\Data\LiveStats.XSP_log.LDF L NULL 13623296 35184372080640

I just did the restore from the menu.

|||Can you post the restore command you're using please?|||

I am using the restore wizard. Right clicking on the blank database (I also tried restoring without creating a blank database) Selecting Restore. Then I select From Device>>>browse to the location the back up file is>>>Restore backup set...database complete and I am not changing anything under the options tab.

Melissa :-)

|||

Please! Please! Please! tell me there is a way to restore this database. It is the only copy I have of webstats for almost 100 clients for the past year. The raw files were on the same hard drive that got wiped out.

Melissa :-)

|||

What happens when you run this (directly through a client connection, not from any wizard):

restore database LiveStats.XSP from <backupdevice>

|||Server: Msg 3132, Level 16, State 1, Line 1
The media set for database 'LiveStatsXSP' has 2 family members but only 1 are provided. All members must be provided.
Server: Msg 3013, Level 16, State 1, Line 1
RESTORE DATABASE is terminating abnormally.|||

Greetings.

It looks as if there is more to the backup than the one file which you are specifying.

Is there a chance that your backup produced more than one file, and that you still have access to both?

The command RESTORE LABELONLY FROM <backup_device> will tell us more about the mackup media.

|||

Here are the results from the Restore Label Only

NULL {525AA069-12A6-4E37-92CF-737C4FD9E4E2} 2 2 {F9E38D61-0000-0000-0000-000000000000} 1 0 NULL Microsoft SQL Server 4608 2006-06-30 16:42:25.000

Unfortunately that is the only file that was zipped up and moved to the new server. :-(

|||

That error tells us that when the backup was done, it was a striped backup, so the data was written to two different files in alternating stripes similar to the way a striped disk works. That means that we have to find that other file for us to have any chance of restoring the database.

The good news is that it is highly likely to be in the same location as the first backup file that you're using to restore.

The bad news is that without that other file, we cannot restore the database. Do you have ANY other copies of the backup anywhere? Even a system backup might be helpful.

|||Wow. Allowing the user to stripe across two devices is so risky. I was hoping to use a dummy striped member but it looks like you have the GUID set for each mediaset. Thus, the restore still fails. Another suggestion , make it like RAID-5. Only allow striping across 3 or more devices.|||

I had a feeling the news was not going to be good. It sounds like I am pretty much out of luck.I can not find a back up of that data anywhere.

I guess some lessons are just more painful to learn than others. If there is anything else I can try please let me know.

Melissa

Friday, March 9, 2012

I am not able to connect to SqlServer 2005

Hi All,

I am trying to connect to SqlServer 2005 whihc is running on another machine. But it is giving error. ie.

"

An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)

"

this si my connection string information

//SqlConnection cn = new SqlConnection("Server=id03;uid=sa;pwd=infokall;database=TestDB");

SqlConnection cn = new SqlConnection(conn);

SqlCommand cmd = new SqlCommand();

string Value;

string query = sqlInfo.SQL;

cmd.CommandType = CommandType.Text;

cmd.Connection = cn;

cmd.CommandText = query;

if (Convert.ToInt32(cn.State) == 0)

cn.Open();

Value = cmd.ExecuteNonQuery().ToString();

// return Value;

Response.Write(Value);

plz help me out.

Regards

Raju

Have a look at the Screencast "Enable Remote Connections" on my site under the section Screencast > Enable Remote Connections

HTH, Jens Suessmeyer.

http://www.sqlserver2005.de|||

(Great screencast Jens)

Raju,

Another things to keep in mind that this error may also be the result of a firewall blocking traffic. Please see the BOL for instructions on configuring the Windows firewall (http://msdn2.microsoft.com/en-us/library/ms175043.aspx).

Il-Sung.

Wednesday, March 7, 2012

HYT00

Can someone assist with SQL7, Win2K, MDAC 2.8, all other patches
applied with no SQLAgent running.
Getting HYT00 error (timeout).> Getting HYT00 error (timeout).
Doing what? From what application? And from where (same machine, inside
the LAN, over the Internet, etc.)?

Hypothetically speaking...

Let's pretend I'm running a big fat batch in a giant stored procedure that's
chewing on about half a million rows, and meanwhile, some clown in MIS
decides it would be a neat idea to reboot the big momma SQL Server in the
middle of the work day.
What might happen? Think the MSSQLServer service completes the batch before
stopping, or roles it back so I get to run it all over again? [grumble]
Peace & happy computing,
Mike Labosh, MCSD
"Escriba coda ergo sum." -- vbSenseiIf you have your batch inside a transaction you are correct. If not the
only thing that will roll back will be any statement that you are in the
middle of.
Then, get the person who rebooted the machine and take him on a little
ride...
----
Louis Davidson - http://spaces.msn.com/members/drsql/
SQL Server MVP
"Mike Labosh" <mlabosh@.hotmail.com> wrote in message
news:OjEu88IYFHA.2128@.TK2MSFTNGP15.phx.gbl...
> Let's pretend I'm running a big fat batch in a giant stored procedure
> that's chewing on about half a million rows, and meanwhile, some clown in
> MIS decides it would be a neat idea to reboot the big momma SQL Server in
> the middle of the work day.
> What might happen? Think the MSSQLServer service completes the batch
> before stopping, or roles it back so I get to run it all over again?
> [grumble]
> --
> Peace & happy computing,
> Mike Labosh, MCSD
> "Escriba coda ergo sum." -- vbSensei
>|||What a hypothetical headache :( If the batch is a single transaction, it
will all roll back. If it's a bunch of individual transactions, only the
uncommitted transactions will be rolled back - basically the last one it was
executing when your buddy pulled the plug.
"Mike Labosh" <mlabosh@.hotmail.com> wrote in message
news:OjEu88IYFHA.2128@.TK2MSFTNGP15.phx.gbl...
> Let's pretend I'm running a big fat batch in a giant stored procedure
> that's chewing on about half a million rows, and meanwhile, some clown in
> MIS decides it would be a neat idea to reboot the big momma SQL Server in
> the middle of the work day.
> What might happen? Think the MSSQLServer service completes the batch
> before stopping, or roles it back so I get to run it all over again?
> [grumble]
> --
> Peace & happy computing,
> Mike Labosh, MCSD
> "Escriba coda ergo sum." -- vbSensei
>|||> What a hypothetical headache :( If the batch is a single transaction, it
> will all roll back. If it's a bunch of individual transactions, only the
> uncommitted transactions will be rolled back - basically the last one it
> was executing when your buddy pulled the plug.
They also recently got a new SQL Server so that we now finally have a
production server and a development server.
The original one is now the dev server. But now that they've moved the
databases over to the new server, they (now that it's back up) deleted the
huge importing database that my group uses off of the dev server, and now
nobody can get in because that database is set as the "default one" on all
our logins. And the two guys that know the sa password are out of the
office. I wanna rip somebody's "hypothetical" eyes out.
So now I can't even get in and look at the hypothetical mess that got made
by my long list of little transactions.
"MIS" must mean "Masters In Silliness". I swear, working here is like
living inside a Salvador Dali painting.
Peace & happy computing,
Mike Labosh, MCSD
"Escriba coda ergo sum." -- vbSensei|||Mike,
Do you have access to another db in the server?, if so, then use osql
utility, connect to the db you have access to and execute sp_defaultdb to
change your default db to one that you have access to.
Example:
c:\> osql.exe -S my_server -d db_i_have_access_to -E -Q "exec sp_defaultdb
'my_login', 'new_default_db'"
AMB
"Mike Labosh" wrote:

> They also recently got a new SQL Server so that we now finally have a
> production server and a development server.
> The original one is now the dev server. But now that they've moved the
> databases over to the new server, they (now that it's back up) deleted the
> huge importing database that my group uses off of the dev server, and now
> nobody can get in because that database is set as the "default one" on all
> our logins. And the two guys that know the sa password are out of the
> office. I wanna rip somebody's "hypothetical" eyes out.
> So now I can't even get in and look at the hypothetical mess that got made
> by my long list of little transactions.
> "MIS" must mean "Masters In Silliness". I swear, working here is like
> living inside a Salvador Dali painting.
> --
> Peace & happy computing,
> Mike Labosh, MCSD
> "Escriba coda ergo sum." -- vbSensei
>
>|||To change the default database for a login, when that database was
dropped and when "sa"-s are out of the office, use ISQL to connect to
SQL Server, as suggested by the following KB articles:
http://support.microsoft.com/defaul...b;en-us;Q196076
http://support.microsoft.com/defaul...b;en-us;Q307864
Razvan|||> Do you have access to another db in the server?, if so, then use osql
> utility, connect to the db you have access to and execute sp_defaultdb to
> change your default db to one that you have access to.
OH WOW! I would *never* have thought of that
--
Peace & happy computing,
Mike Labosh, MCSD
"Escriba coda ergo sum." -- vbSensei|||How transactions are rolled back depends on the recovery model setting on
the database. Also, did he stop the SQL Server service, click Windows
re-start, or punch the power button?
"Mike Labosh" <mlabosh@.hotmail.com> wrote in message
news:OjEu88IYFHA.2128@.TK2MSFTNGP15.phx.gbl...
> Let's pretend I'm running a big fat batch in a giant stored procedure
that's
> chewing on about half a million rows, and meanwhile, some clown in MIS
> decides it would be a neat idea to reboot the big momma SQL Server in the
> middle of the work day.
> What might happen? Think the MSSQLServer service completes the batch
before
> stopping, or roles it back so I get to run it all over again? [grumble]
> --
> Peace & happy computing,
> Mike Labosh, MCSD
> "Escriba coda ergo sum." -- vbSensei
>|||> How transactions are rolled back depends on the recovery model setting on
> the database.
No they arent. The recovery model determines how long committed transactions
are stored in the log, not uncommitted ones. And once they are committed
they are "more or less" useless to us (except to apply to a backup or poke
around in with a log explorer.
----
Louis Davidson - http://spaces.msn.com/members/drsql/
SQL Server MVP
"JT" <someone@.microsoft.com> wrote in message
news:OOBRwgKYFHA.3584@.TK2MSFTNGP12.phx.gbl...
> How transactions are rolled back depends on the recovery model setting on
> the database. Also, did he stop the SQL Server service, click Windows
> re-start, or punch the power button?
> "Mike Labosh" <mlabosh@.hotmail.com> wrote in message
> news:OjEu88IYFHA.2128@.TK2MSFTNGP15.phx.gbl...
> that's
> before
>|||Thank you all.
The "suit" that has the sa password has fixed our logins, app-dev has
continued (amidst a rather surreal delay) and I have finished mopping up the
mess that my batch became.
In the morning I will soothe the users with a bunch of "It's ok, we just had
a glitch" foolishness.
I cannot believe I even work here. Perhaps I should change my sig to "Life
is like a Salvador Dali painting".
Peace & happy computing,
Mike Labosh, MCSD
"(bb)|(^b){2}" -- William Shakespeare

Hyper-Threading with SQL 2000 Standard

We just purchased a quad processor server running windows
2003. The processors are xeon so they have HTT
capability. Will SQL200 recognize all eight logical
processor or will it only see four. I wan't to find out
before we install SQL 2000. Thanks.With sp3 it should use all eight.
--
Tibor Karaszi, SQL Server MVP
Archive at: http://groups.google.com/groups?oi=djq&as_ugroup=microsoft.public.sqlserver
"Stephen" <anonymous@.discussions.microsoft.com> wrote in message
news:297901c3af9b$78aa3c40$a601280a@.phx.gbl...
> We just purchased a quad processor server running windows
> 2003. The processors are xeon so they have HTT
> capability. Will SQL200 recognize all eight logical
> processor or will it only see four. I wan't to find out
> before we install SQL 2000. Thanks.|||Here's a good white-paper on hyper-threading for various Windows OS'
http://www.microsoft.com/windows2000/server/evaluation/performance/reports/hyperthread.asp
"Tibor Karaszi" <tibor.please_reply_to_public_forum.karaszi@.cornerstone.se> wrote in message news:<OS1YGh6rDHA.2456@.TK2MSFTNGP12.phx.gbl>...
> With sp3 it should use all eight.
> --
> Tibor Karaszi, SQL Server MVP
> Archive at: http://groups.google.com/groups?oi=djq&as_ugroup=microsoft.public.sqlserver
>
> "Stephen" <anonymous@.discussions.microsoft.com> wrote in message
> news:297901c3af9b$78aa3c40$a601280a@.phx.gbl...
> > We just purchased a quad processor server running windows
> > 2003. The processors are xeon so they have HTT
> > capability. Will SQL200 recognize all eight logical
> > processor or will it only see four. I wan't to find out
> > before we install SQL 2000. Thanks.

HYPER-THREADING configuration hints

Hi
We have a SQL 2000 ENTERPRISE, running on four Hyper-threaded processors, 8
GIG of Memory, Windows SERVER 2003, connected to EMC.
Does anybody have any general rules for configuration for such a server
(it's going to be OLTP) Should we set the affinity to only use the "REAL"
processors. Should we allow all processors to be used for parallelism or
just the "REAL" ones. Anything else we need to consider?
Right now during load testing we are seeing a lot of CXPACKET waits.
Thanks
Paul
Try setting your MAXDOP to use just 4 processors first and see how that
goes.
Andrew J. Kelly SQL MVP
"Paul" <xx@.nospam.com> wrote in message
news:%23AGSkbP0EHA.1264@.TK2MSFTNGP12.phx.gbl...
> Hi
> We have a SQL 2000 ENTERPRISE, running on four Hyper-threaded processors,
> 8
> GIG of Memory, Windows SERVER 2003, connected to EMC.
> Does anybody have any general rules for configuration for such a server
> (it's going to be OLTP) Should we set the affinity to only use the "REAL"
> processors. Should we allow all processors to be used for parallelism or
> just the "REAL" ones. Anything else we need to consider?
> Right now during load testing we are seeing a lot of CXPACKET waits.
> Thanks
> Paul
>
|||I have used the number of physical processors minus 1 as a stating point. In
you case I would start with 3 and work down from there, testing after each
change. Your mileage will vary based on the number of concurrent users and
the types of queries they are executing.
Rob
"Paul" wrote:

> Hi
> We have a SQL 2000 ENTERPRISE, running on four Hyper-threaded processors, 8
> GIG of Memory, Windows SERVER 2003, connected to EMC.
> Does anybody have any general rules for configuration for such a server
> (it's going to be OLTP) Should we set the affinity to only use the "REAL"
> processors. Should we allow all processors to be used for parallelism or
> just the "REAL" ones. Anything else we need to consider?
> Right now during load testing we are seeing a lot of CXPACKET waits.
> Thanks
> Paul
>
>

HYPER-THREADING configuration hints

Hi
We have a SQL 2000 ENTERPRISE, running on four Hyper-threaded processors, 8
GIG of Memory, Windows SERVER 2003, connected to EMC.
Does anybody have any general rules for configuration for such a server
(it's going to be OLTP) Should we set the affinity to only use the "REAL"
processors. Should we allow all processors to be used for parallelism or
just the "REAL" ones. Anything else we need to consider?
Right now during load testing we are seeing a lot of CXPACKET waits.
Thanks
PaulTry setting your MAXDOP to use just 4 processors first and see how that
goes.
Andrew J. Kelly SQL MVP
"Paul" <xx@.nospam.com> wrote in message
news:%23AGSkbP0EHA.1264@.TK2MSFTNGP12.phx.gbl...
> Hi
> We have a SQL 2000 ENTERPRISE, running on four Hyper-threaded processors,
> 8
> GIG of Memory, Windows SERVER 2003, connected to EMC.
> Does anybody have any general rules for configuration for such a server
> (it's going to be OLTP) Should we set the affinity to only use the "REAL"
> processors. Should we allow all processors to be used for parallelism or
> just the "REAL" ones. Anything else we need to consider?
> Right now during load testing we are seeing a lot of CXPACKET waits.
> Thanks
> Paul
>|||I have used the number of physical processors minus 1 as a stating point. In
you case I would start with 3 and work down from there, testing after each
change. Your mileage will vary based on the number of concurrent users and
the types of queries they are executing.
Rob
"Paul" wrote:

> Hi
> We have a SQL 2000 ENTERPRISE, running on four Hyper-threaded processors,
8
> GIG of Memory, Windows SERVER 2003, connected to EMC.
> Does anybody have any general rules for configuration for such a server
> (it's going to be OLTP) Should we set the affinity to only use the "REAL"
> processors. Should we allow all processors to be used for parallelism or
> just the "REAL" ones. Anything else we need to consider?
> Right now during load testing we are seeing a lot of CXPACKET waits.
> Thanks
> Paul
>
>

HYPER-THREADING configuration hints

Hi
We have a SQL 2000 ENTERPRISE, running on four Hyper-threaded processors, 8
GIG of Memory, Windows SERVER 2003, connected to EMC.
Does anybody have any general rules for configuration for such a server
(it's going to be OLTP) Should we set the affinity to only use the "REAL"
processors. Should we allow all processors to be used for parallelism or
just the "REAL" ones. Anything else we need to consider?
Right now during load testing we are seeing a lot of CXPACKET waits.
Thanks
PaulTry setting your MAXDOP to use just 4 processors first and see how that
goes.
--
Andrew J. Kelly SQL MVP
"Paul" <xx@.nospam.com> wrote in message
news:%23AGSkbP0EHA.1264@.TK2MSFTNGP12.phx.gbl...
> Hi
> We have a SQL 2000 ENTERPRISE, running on four Hyper-threaded processors,
> 8
> GIG of Memory, Windows SERVER 2003, connected to EMC.
> Does anybody have any general rules for configuration for such a server
> (it's going to be OLTP) Should we set the affinity to only use the "REAL"
> processors. Should we allow all processors to be used for parallelism or
> just the "REAL" ones. Anything else we need to consider?
> Right now during load testing we are seeing a lot of CXPACKET waits.
> Thanks
> Paul
>|||I have used the number of physical processors minus 1 as a stating point. In
you case I would start with 3 and work down from there, testing after each
change. Your mileage will vary based on the number of concurrent users and
the types of queries they are executing.
Rob
"Paul" wrote:
> Hi
> We have a SQL 2000 ENTERPRISE, running on four Hyper-threaded processors, 8
> GIG of Memory, Windows SERVER 2003, connected to EMC.
> Does anybody have any general rules for configuration for such a server
> (it's going to be OLTP) Should we set the affinity to only use the "REAL"
> processors. Should we allow all processors to be used for parallelism or
> just the "REAL" ones. Anything else we need to consider?
> Right now during load testing we are seeing a lot of CXPACKET waits.
> Thanks
> Paul
>
>

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.
>