SQL Server Performance Questions and Answers

Recent IT Questions

21 - 40 of 46

SQL Server - where clause

When I execute query like below select * from A where bb in ('1','2','3') That is very fast. not a problem. But in procedure first, if I make a "B" table with '1','2','3' and join with A table like below, select * from a a , B b where a.xx = b.xx and than it is very slow. Do you know why and...

View Answer   |  Dec 16 2008  7:21 PM GMT
SQL Server, SQL Server performance, WHERE clause
asked by Overbrain

  5 pts.

Impact on application after upgrade from SQL Server 2005 to SQL Server 2008?

What would be impact/changes to be done in my application which is using general SQL for upgradation from SQL Server 2005 to SQL Server 2008 ?

View Answer   |  Dec 12 2008  8:15 AM GMT
SQL Server 2005, SQL Server 2008, SQL Server upgrades
asked by Vht

  5 pts.

Increasing SQL Server performance by excluding files from anti-virus scanning

To increase our SQL Server’s performance, we would like to take these certain steps: 1. Exclude the anti-virus software from scanning .mdf, .ldf, .ndf, .dtsx, .sql and .msc files. 2. Turn off I/O scanning for the writing to disk and reading from disk processes. 3. Disable buffer overflow...

View Answer   |  Dec 5 2008  6:08 PM GMT
Antivirus appliances, SQL Server performance
asked by SQL Server Ask the Experts

  2445 pts.

Reducing CPU usage on a SQL Server application

I have Windows Server 2003 and with SQL Server 2005 installed. I run my timesheet software on that SQL server, but CPU usage reaches 70% to 80% when the program is running on many consoles on the client side. Is there a solution to reduce CPU usage?

View Answer   |  Nov 21 2008  4:28 PM GMT
Windows Server 2003, Timesheet software, SQL Server 2005
asked by SQL Server Ask the Experts

  2445 pts.

Slow performance for a SQL query

I have a SQL query I am running, but it is experiencing significant slowdown. The main table - has over 1 million records and a unique key of cusID. It has a one to many relationship with the other two tables mentioned. The query code is as follows: Select customer.cusID,customer.VisitDate,...

View Answer   |  Oct 23 2008  6:22 PM GMT
SQL performance, SQL Server performance, SQL Query
asked by SQL Server Ask the Experts

  2445 pts.

SQL SERVER 2005 MAINTENANCE PLAN PROBLEM

HI, SQL2K5 Maintenance plan does not delete old backups even when 'backups older than 1 days' is selected.so my backups are piling up and have to remove them manulally everyday. any solution? Marshall

asked by Marshall0127

  5 pts.

Running a performance baseline trace on a SQL server

When you are running a performance baseline trace on a SQL server, how long do you typically run the trace? Or, do you run multiple traces at various times of the day?

View Answer   |  Oct 13 2008  6:48 PM GMT
SQL Server, Performance/Tuning, Trace
asked by SQL Server Ask the Experts

  2445 pts.

Tuning a simple SQL statement in SQL Server 2005

How would I tune a simple SQL statement, like "SELECT @eno = eno FROM emp WHERE dno = @dno," in SQL Server 2005?

View Answer   |  Oct 13 2008  6:47 PM GMT
SQL Server 2005, SQL Server performance, SQL statements
asked by SQL Server Ask the Experts

  2445 pts.

Implementing indexed views on a SQL Server

How can I implement indexed views on our SQL Server? Is there an example that shows how they would improve query performance?

asked by SQL Server Ask the Experts

  2445 pts.

Improving I/O performance on SQL Server 2000

I have SQL Server 2000 SP4 running on an Intel Xeon 2.33 GHz CPU with a 2GB RAM server. We have a total of eight workstations connected to this server, and Performance Monitoring says that the Avg. Disk Queue Length is at about 20 when all users are working concurrently. My tempdb logs are at...

asked by SQL Server Ask the Experts

  2445 pts.

SQL server - Stocks Data -How to Push Data To Client Application

My client application providing real time stock quotes takes data using a xml webservice which pulls data from sql server 2005.with number of clients increasing for same piece of data, the sql server is being queried again and again.Is there a way to push data from sql 2005 to client application...

View Answer   |  Aug 25 2008  5:53 AM GMT
ASP.NET, XML, SQL Server
asked by Rak999

  5 pts.

sql server 2005 slow

Several times during the day SQL Server 2005 Express is becoming very very slow (actually freezes), even if there was no activitry at all. After restart it is normal again for a couple of hours, then freezes again.

asked by Vad

  20 pts.

Hardware requirements for SQL Server 2005

Hi all, We are looking into creating a SQL 2005 server (Windows 2003 R2 SP2 Enterprise Ed.) with 3 databases. Size of the db 's will be app. 50 GB, 15 GB and 7 GB. Amount of continuous logged on users is app 20. Can anyone recommend the amount of CPU + clockspeed of the CPU's, RAM memory and...

View Answer   |  Aug 6 2008  10:50 AM GMT
Database design, SQL Server 2005, SQL Server performance
asked by Arne

  5 pts.

SQL Server 2000 error in log: WARNING: EC 5c3320c0, 9 waited 300 sec. on latch 44173b2c. Not a BUF latch.

I am seeing this error weekly in the sql server log with associated performance hit: WARNING: EC 5c3320c0, 9 waited 300 sec. on latch 44173b2c. Not a BUF latch. Has anyone resolved this error?

View Answer   |  Jul 18 2008  9:02 PM GMT
SQL Server 2000, SQL Server errors, SQL Server logs
asked by Ftornoe

  35 pts.

Running a lengthy query on SQL Server 2005

We are running SQL Server 2005 and Windows 2003 Server. I ran a query in SQL on a PC with one dual code processor and 4GB and it took six hours. However, we ran the same query in SQL on a brand-new server that has 4 quad core processors and 32GB of RAM, and it took 12 hours. Why would this be?

View Answer   |  Jul 16 2008  8:21 PM GMT
Windows Server 2003, Query, SQL Server 2005
asked by SQL Server Ask the Experts

  2445 pts.

Allowing SQL Server 2000 Enterprise Edition to utilize free physical memory

I have two identical SQL Server 2000 Enterprise Editions running on Windows 2003 Enterprise servers. They both have 8GB of RAM with /PAW and /3GB switches configured. The max server memory is set to 7GB on both. On one of the servers, the available physical memory under Task Manager Is always...

View Answer   |  Jul 3 2008  6:16 PM GMT
SQL Server 2000, Memory, SQL Server performance
asked by SQL Server Ask the Experts

  2445 pts.

Slowdown on a server running SQL Server 2000 and Windows Server 2003

I have a server with SQL Server 2000 SP4 and Windows Server 2003 Standard Edition SP1 that runs SAP Business One. The server's specs are: ML350G5 XEON 2.0DC 4GB RAM 6 UNITS SAS 72GB C:=>Raid 1+0, D:=>DATA Files, E:LOG files, F:TempDB files Swith Hub: 3COM 2924 SFP plus ...

View Answer   |  Jul 3 2008  6:13 PM GMT
Windows Server 2003, SQL Server 2000, SAP Business One
asked by SQL Server Ask the Experts

  2445 pts.

Dealing with a hyperactive SQL Server

On occassion, our SQL Server goes hyper - 100% disk activity with I/O queues. It happens only once a year, lasts for a couple of days and then stops. We have our database administration staff look at it, but we have no real idea what the cause is. Can you suggest a direction or idea?

View Answer   |  Jun 30 2008  7:31 PM GMT
SQL Server, SQL Server errors, SQL Server performance
asked by SQL Server Ask the Experts

  2445 pts.

disk activity is running at 100%

24 hrs ago disk i/o and activity shot up to 100* with quues grwoing. our average i/o queue is normally around zero with disk activity at <15% we have had this before - lasts a couple of days and then stops. we have never found out why? can anyone help?

asked by Salmonthefish

  5 pts.

load balancing in sql server

Is there any Load Balancing in SQL Server 2005 to distribute CPU load between more than one server?

View Answer   |  Apr 28 2008  11:08 AM GMT
SQL Server, Load balancing, SQL Server clustering
asked by Rabinarayan

  5 pts.

21 - 40 of 46