We have a program (originally written for sql 4.21) with a lot of embedded sql in it. The program was adapted for sql 7.0 but still uses embedded sql and did run quite well. After we have installed sp2 we noticed a considerable performance decrease. So we traced in order to find the sql causing this. Several statements (from the embedded code) using cursors seems to cause the trouble. When we ran the code in query manager, the access path was good (runtime some milliseconds), when running the code via the embedded-sql-program then same sql statement runs as slow as hell (runtime 3 to 10 minutes). When looking at reads/writes/cpu, it's obvious that the optimizer uses a whole other accesspath. Probably with a lot of tablescans instead of using the right indexes.
Has anyone a similar problem? Also related to sp2? Is this a bug in sp2? Anyone a clue how to work around this? Help...
Does anyone know how to report this to Microsoft, since we don't have direct support from them, only via HP?
Kurt De Cauwsemaecker
Database Administrator
Telepolis Antwerpen
Belgium.
We are experiencing a major issue since upgrading from SQL2000 to SQL2005 over the weekend. Starting today, it appears that the performance of SQLServer reaches a limit every 15 minutes.
Our configuration is as follows:
Window Server 2K3 x64 Enterprise
SQLServer 2005 x64 Enterprise
HP DL585 with 4 dual core Opterons
32 GB of RAM
2 TB EMC SAN
At first, I thought there was a memory pressure problem, since I had the default max memory set. After changing the max memory to only 25 GB (out of 32 available), the issue went away temporarily. However, after 15-20 minutes, the number of batches/sec dropped in half, and remained after half until I changed the max memory setting again. Over the course of the day, I was able to fix the issue each time by just changing the max memory by 1MB. (From 30,000 to 29,999 and back from 29,999 to 30,000). Each time, the batches/sec counter immediately doubles and remains there for about 15-20 minutes. None of the SQL statements have changed since upgrading.
I have found this post, which talks about a similar issue at the end of the thread:
The 6:th of march Sql server data tools for Visual Studio 2012 was released.
[URL]
I seem to be unable to install this using the link provided on the blog page. I'm getting a "Same architecture installation" error. Running on the machine is Visual Studio 2012 Premium & Sql Server 2012 (64bit).
I am trying to install SQL Server 2000 on a Win2K OS machine but Iget this error message:"A previous program installation created pending file operations onthe installation machine. You must restart the computer before runningsetup."I see others have had this problem but have fixed it using the solutionin:http://support.microsoft.com/defaul...kb;en-us;312995I have tried the solution but to no avail. The registry key:HKEY_LOCAL_MACHINESYSTEMCurrentControlSetContro lSessionManagerPendingFileRenameOperations keeps reappearing as soon as Iclose RegEdit.Any ideas?Thanks,lq
Please help,I am trying to install MSDE 2000 so that Backup exec will run on thisserver. I have gotten so far as to find an entry in my SQLSTP.TXT filethat says that c:mssql7 was detected so the install fails.Now, to start with there is no directory called C:mssql7 on thisserver. I have gone through all MS articles on manual removal of SQLserver and instances. I have searched the registry for mssql7 andremoved any keys that matched, as per MS article I have searched onSQLBOOT.dll and it is not present anywhere on my system and I still getthe same results.2:07:44 Begin Action: Detection12:07:44 SQL Server version already installed: 7.00.62312:07:44 Previous Install SQL Path: C:MSSQL712:07:44 Previous Install SQL Data Path: C:MSSQL712:07:44 End Action Detection12:07:44 Begin Action: ODBCLocked12:07:44 End Action ODBCLocked12:07:44 GetDefinition returned: 112:07:44 Previous SQL Server ProductType: MSDE [0x4]12:07:44 This combination of Package and Operating System allows a fullproduct install.can anyone think of anything here..what else could be causing the server to think there is a previousversion of SQL 7 on this box!!!?
I get an error when trying to install the SQL Native Client. It says it cannot find the installation package and to use a valid copy of 'sqlncli.msi'. I've downloaded the Express setup twice and get the same error from both of them.
I'm attempting this in a VMWare session setup for Windows 2K, Advanced Server. I am trying to test my installation and setup procedures. This is not a production setup, just install testing and documentation. I have allocated only 272MB to the VMWare session, which is why the system doesn't meet the recommended settings.
Any help would be greatly appreciated.
Below is the Summary.txt output file.
Microsoft SQL Server 2005 9.00.2047.00
==============================
OS Version : Microsoft Windows 2000 Advanced Server Service Pack 4 (Build 2195)
Time : Wed May 03 09:54:23 2006
CPCWIN2KVM1 : The current system does not meet recommended hardware requirements for this SQL Server release. For detailed hardware requirements, see the readme file or SQL Server Books Online.
Machine : CPCWIN2KVM1
Product : Microsoft SQL Server Setup Support Files (English)
Error : An installation package for the product Microsoft SQL Server Native Client cannot be found. Try the installation again using a valid copy of the installation package 'sqlncli.msi'.
Error String : An installation package for the product Microsoft SQL Server Native Client cannot be found. Try the installation again using a valid copy of the installation package 'sqlncli.msi'.
Hello Everyone,I have a very complex performance issue with our production database.Here's the scenario. We have a production webserver server and adevelopment web server. Both are running SQL Server 2000.I encounted various performance issues with the production server with aparticular query. It would take approximately 22 seconds to return 100rows, thats about 0.22 seconds per row. Note: I ran the query in singleuser mode. So I tested the query on the Development server by taking abackup (.dmp) of the database and moving it onto the dev server. I ranthe same query and found that it ran in less than a second.I took a look at the query execution plan and I found that they we'rethe exact same in both cases.Then I took a look at the various index's, and again I found nodifferences in the table indices.If both databases are identical, I'm assumeing that the issue is relatedto some external hardware issue like: disk space, memory etc. Or couldit be OS software related issues, like service packs, SQL Serverconfiguations etc.Here's what I've done to rule out some obvious hardware issues on theprod server:1. Moved all extraneous files to a secondary harddrive to free up spaceon the primary harddrive. There is 55gb's of free space on the disk.2. Applied SQL Server SP4 service packs3. Defragmented the primary harddrive4. Applied all Windows Server 2003 updatesHere is the prod servers system specs:2x Intel Xeon 2.67GHZTotal Physical Memory 2GB, Available Physical Memory 815MBWindows Server 2003 SE /w SP1Here is the dev serers system specs:2x Intel Xeon 2.80GHz2GB DDR2-SDRAMWindows Server 2003 SE /w SP1I'm not sure what else to do, the query performance is an order ofmagnitude difference and I can't explain it. To me its is a hardware oroperating system related issue.Any Ideas would help me greatly!Thanks,Brian T*** Sent via Developersdex http://www.developersdex.com ***
I'd like to install SQL SERVER 2005 Express Edition ,I begin to install it from DVD but during the installation it dosn't ask me about any instance and after installation there isn't SQLExpress service and I can't use sql server .(there are not MSSQL and Binn directory in sql server 2005) but when I install visual studio 2005 and after that I install sql server 2005 it ask me for name of instance and with this way every thing is ok and I use sql server completely.
I 'd like to know the complete installation of sql server 2005 is depend on installation of visual studio 2005 befor it ?if not how can I introduce any instance after installation of sel server 2005 .
Hello Everyone,I have a very complex performance issue with our production database.Here's the scenario. We have a production webserver server and adevelopment web server. Both are running SQL Server 2000.I encounted various performance issues with the production server witha particular query. It would take approximately 22 seconds to return100 rows, thats about 0.22 seconds per row. Note: I ran the query insingle user mode. So I tested the query on the Development server bytaking a backup (.dmp) of the database and moving it onto the devserver. I ran the same query and found that it ran in less than asecond.I took a look at the query execution plan and I found that they we'rethe exact same in both cases.Then I took a look at the various index's, and again I found nodifferences in the table indices.If both databases are identical, I'm assumeing that the issue isrelated to some external hardware issue like: disk space, memory etc.Or could it be OS software related issues, like service packs, SQLServer configuations etc.Here's what I've done to rule out some obvious hardware issues on theprod server:1. Moved all extraneous files to a secondary harddrive to free up spaceon the primary harddrive. There is 55gb's of free space on the disk.2. Applied SQL Server SP4 service packs3. Defragmented the primary harddrive4. Applied all Windows Server 2003 updatesHere is the prod servers system specs:2x Intel Xeon 2.67GHZTotal Physical Memory 2GB, Available Physical Memory 815MBWindows Server 2003 SE /w SP1Here is the dev serers system specs:2x Intel Xeon 2.80GHz2GB DDR2-SDRAMWindows Server 2003 SE /w SP1I'm not sure what else to do, the query performance is an order ofmagnitude difference and I can't explain it. To me its is a hardware oroperating systemrelated issue.Any Ideas would help me greatly!Thanks,Brian T
Hello, Yesterday, to start SQLServer, I have used the DOS Command setup SAPWD=xxx from C:sql2ksp3MSDE. I think tne mix mode of authentification is correct. But when I want to connect to the database by SQLEntMan, it doesn't work ... How can I connect to SQLServer ? Server adress = name of the computer Username = ? Password = password of windows ? password of of SAPWD ? Thank you any help Ben
Hi, I ama trying to install SQL Server Express 2005, when the setup.exe does an anlysis of the machine configuration it tellme that out of 10 checks one has failed, and that the machine needs tobe rebooted in order to fulfill a requirment from a previous installation, I did this and went to start the installation process again only ot be told that this check failure still exists, unfortunately I cannot progress, has anybody experienced this, I am using Windows XP Hone, with ASP.NET 2.0 installed and Web Dev Express 2005 Beta 2Looking forward to hearing fom you
I am trying the SQL 7 STANDARD installation on WIN`98. However, it creates the directory structure on the hard-disk alonwith files but on connecting to server it comes out with a VC++ assertion failed message.
The TCP/IP sockets are being used and the TCP/IP port (local ping) is working fine. Windows 98 was installed again and there are no prequisites for SQL 7 on 98 but the problem persists !
We ran SQL Replication in Production SQL 7.0 with SP1. We encountered some problems. We ran the same tests in QA which used SQL 7.0 with SP1. The problems were gone.
Both Production and QA used SQL 7.0 with SP1 but they came from different resource CDs. Production one was installed from Microsoft Select CD in 1998. I did not recall the CD which was used for QA.
It indicated those two SQL 7.0 functioned differently and Production on had a bug in it. Can somebody to share with me a detecting tool and a criteria to find out where is wrong in the Production SQL 7.0?
Hi, I am having pentium 3 with windows 98 I had Sql Server 7 installed But due to some problem i uninstalled it. I am having difficulty in reinstalling the same i uninstalled completely and even removed entries in registry and tried to install But i am getting the same error always.
1)Acmsetup failed 2)setup failed to configure the server Refer to the server error logs and cnfgsvr,out for more information There is nothing in server error logs
cnfgsvr.out file looks like this Starting Service ...
An error occurred while attempting to start the service (1460)
SQL Server configuration failed.
What is ACMSETUP what it does how i can prevent its failure is the failure of ACMSETUP a reason for sqlserver set up failure
I have installed sqlserver 2000 (desktop edition) on my pc at home. I am running windows xp home edition. what i am finding is i am not able to log in to either Enterprise Manager or Query Analyzer. I have tried using different accounts during installation. The service has started and the server seems to be running, but I cannot make a connection.
We have installed SQL Server 6.5 in an NT system. We are able to start and stop the server from a client enterprise manager, but unable to connect to the databases there(ie., we are able to right-click on the server and start and stop the server but unable to right-click and connect to the server). Can anyone help us out with this?
Hey guys, I'm new to this and had some general questions. I'm currently running windows xp pro with sql server 2005 tools installed. However I cannot deploy any of the reports due to not having IIS installed. I've now installed IIS however, do I need to completely uninstall SQL Server 2005 tools and is there a particular order to uninstall it in order to get everything to work?
I tried to install sql server 2005 professional Edition in my machine.While doing the step by step installation, it was not showing the " Instance name " and " server accounts" ( i.e whether it is built-in system account or domain user account) slides and so finally i am not able to complete the installation. Kindly help me to rectify this. Thanks in advance.
Hey Guys,Im going to install the SQL Server 2005,can any one tell me what are the things do i need to know before the installation.Its 64 bit and clustered.Active/passive
I am new with SQL and have a question regarding SQL Connections. I have 2 Win2003 Servers(tom and Jerry) setup with Microsoft Cluster installed in Active-->Active Mode. Also, on both of these servers, I have SQL 2000 installed in Active-->Active mode as well. So I installed SQL2000 on Tom first and gave the SQL server name of Dog1 which has and IP assigned to it, at the same time I gave an instance name of D1. So now my SQL on Tom server reads Dog1D1. I did another installation on Tom and gave it Dog2D2. Than I went and installed SQL again on Jerry, this time and gave name of CatC3, and CatC4.
Now in my DNS, I have Dog1, Dog2, Cat3, Cat4 defined with an IP I assigned.
Problem I am running into is I cannot connect my application or make and ODBC connection to Dog1D1, Dog2D2, Cat3C3 or Cat4C4. I am getting Server not found message.
Can anyone help me and tell me where I am going wrong, as I need to get this app up ASAP.
Hi guys, i am new to the forum. i got sql server 2000 and i wanted to install it on my home pc. i am able to do that.
But when i create a database out of it and then take it out of the SQl folder and put it in some other folder in my C: drive and then if i try to link it to my program it gives me a error stating that it is not accessible.
MY QUESTION : Am i doing something wrong ? Do i have to set some properties on the database i create?if yes how to do it?
Hi, SQL Server 2005 has been installed on windows server 2003 machine by the support team. Microsoft SQL Server Management Studio9.00.3042.00 Now this machine has been passed on to me to create databases, tables, etc... On this server, I open the management studio and I get the connect to server windows. What should the entries in the connect to server window be for me to get to the next stage where I can start building databases. At present, I tried local or localhost and windows/sql authentication. Still can not get to the management studio window. Any thoughts please? Thanks
Hi experts, I have installed SQL server 2005 Standard edition and SP2 in production box, after completion of installation the perticual production server is not connecting, but every other servers are getting connect through that instance, and one more main issue is i could not able to see this instance in SERVICES.MSC, I was wondered, how come it is not showing!!!!!!!!!!!!!!!!
i m trying installing sqlserver 2000 in my PC(WIN XP). all the process are happening properly.. but while starting SQL and Configuring the database the setup exists and throws the message to check sqlstp.log.
HiWe have the following setupW2k server with IIS 5.0Asus P4P800E Deluxe MoboP4 2,8 Mhz - 1 Gb Ram3 sata harddisks1 hd = 2 partitionsc: boot/systemf: backup2 hd's in a raid 1 (mirror) Promise controllere: webrootWhere would be the best partition to install a MS SQL2000 databas?It's possible to install a 4th ide harddiskKitty
I had SQL Mobile installed on my XP PC. As I wanted to use INSERT IDENTITY, I uninstalled SQL Mobile from my Pc. Now I see two problems: 1. Even after uninstalling SQL Mobile and rebooting my PC, I still see SQL Mobile option when I start SQL Server Mgmt Studio. Any reason why?
2. I then installed SQL CE desktop runtime (nearly 1.8 MB) and rebooted my Pc. Now when I go to Query Analyzer, I still cannot use IDENTITY Insert.
3. There seems to be two versions of CE download: one for desktop and one for mobile. Can anyone let me know which one I should download for desktop? And for deployment on device which version I need to download?
I started migrating from C++ and want to use C# with an embedded database in my application. My search pointed to MS SQL Server 2005 compact edition. I go to download it and seems like there are two versions to choose from:
MS SQL Server Compact Edition 3.5 Can't use it because it requires Visual Studio 2008. I have VS 2005 and don't want to spend another chuck of money just to work around this one problem.
MS SQL Server Compact Edition 2005 Can't use it because Vista is not a supported operating system for development and it requires Active Sync 4.0 which also will not install on Vista.
I am just screwed because I am using Vista as my development machine, even when I am not targeting Vista for my applications?
Is there anything I can use for a simple embedded data storage solution with VS 2005 and Vista, using C#?
Can someone help me with my problem, I have SQL clustered ACTIVE/PASSIVE setup. The problem is I need to reinstall the OS of our passive server only, then after the setup I need to join it again on the clustered. For microsoft clustering I think there will be no problem, but for SQL I have no idea if I can join it again on the SQL cluster as well.
A very basic question. I am new to SQL server. I am installing SQL server 2005 Workgroup eddition on window 2000 advance server. The system summary is following: [System Summary]
OS Name Microsoft Windows 2000 Advanced Server Version 5.0.2195 Service Pack 4 Build 2195 OS Manufacturer Microsoft Corporation System Type X86-based PC Processor x86 Family 6 Model 8 Stepping 0 AuthenticAMD ~1659 Mhz BIOS Version Phoenix - AwardBIOS v6.00PG Windows Directory C:WINNT System Directory C:WINNTsystem32 Boot Device DeviceHarddisk0Partition1 Total Physical Memory 753,136 KB Available Physical Memory 380,024 KB Total Virtual Memory 2,548,656 KB Available Virtual Memory 1,846,432 KB Page File Space 1,795,520 KB Page File C:pagefile.sys
When run set up. SCC always show the warning for the minimun hardware requiremnet not satisfied. Which part of the hardware is not enought for this installation? THanks Ceiling