Groups | Blog | Home
all groups > sql server (microsoft) > june 2005 >

sql server (microsoft) : Tweaking database performance



Meharis
6/25/2005 12:00:00 AM
Hi

do you have some hints to increase performance of an SQL Server / Database
Queries
without changing any hardware ?

tia
Sanny

GP
6/26/2005 8:20:04 AM
Creating right indexes on table will definitely improve the performance.
Ian
6/27/2005 5:02:10 AM
No it won't.

I can think of at least two situations where it won't. Firstly when
there's only one row in the table. Secondly when the server's at the
limits of disk IO due to inserts and updates.

Perhaps you meant that creating the right indexes on a table can
sometimes improve the query performance.
Meharis
7/1/2005 12:00:00 AM
ok. Besides having the right indexes for tables, is there anything else
which
could improve performance ?

I'm asking this because my employer has built an commercial application and
occasionally clients complain about performance. eg. Time Outs when trying
to connect to the database server (using hostname/named pipes resolving over
TCP/IP).

[quoted text, click to view]

Ian
7/1/2005 12:53:12 PM
There's a lot. Good index choice is important, I was merely pointing
out that Indexes may not always help.

However, while we're on, you could read books on...
Indexes,
Storage,
SQL optimisation,
Capacity planning.

etc.
GP
7/9/2005 6:24:23 PM
If it's taking long time to connect to the database server, there could
be some problems in the network. If the queries are taking long time to
run, create a trace by using the sql profiler and find out the
reason.(It could be locks, recompile or table scans)
AddThis Social Bookmark Button