Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Administration
 Clustering VS SAN

Author  Topic 

shiyam198
Yak Posting Veteran

94 Posts

Posted - 2010-12-23 : 01:32:05
Hi,

Our company has been told by a software vendor because of the data load the database is slow and they can't fine tune the software to make the performance better.

I have been told that the way to go is either clustering or SAN.

I have to start looking in to this and solve it within a month or so; I need some guifance from you guys..

- Is SAN a completely hardware thing? If purchase the right hardware and install them, that is it? are there any SQL server specific configuration? does this require replication to be setup?
- Are clustering and replication are same? I thought clustering is done only for fail over. will it improve performance too?
- are there any other solutions?
- what about vitualisation?

Thanks for your time.

- Shiyam

GilaMonster
Master Smack Fu Yak Hacker

4507 Posts

Posted - 2010-12-23 : 03:39:35
Huh?

Clustering is a High Availability technology to reduce downtime from server failures. It has no performance benefits
SANs are consolidated arrays of disks, sometimes for IO performance, more often for management, scalability, etc and a badly tuned SAN can run slower than direct attached storage. It's *expensive* to get a complete SAN and really needs someone to manage it.

I suspect your vendor is trying to deflect blame and hasn't a clue what they're talking about.

--
Gail Shaw
SQL Server MVP
Go to Top of Page

mrdenny
Starting Member

1 Post

Posted - 2010-12-23 : 04:02:55
OK, apparently your vendor doesn't know how to tune their own database. I can guarantee that a cluster won't improve performance as a cluster is only for reduced down time. Purchasing a storage array for the purposes of improving the performance of a single application is going to be a very expensive purchase, easily to the tune of several hundred thousand dollars. As Gail said typically storage arrays are purchased to make management of the overall storage easier. When done incorrectly a storage array can be configured to be slower than the current storage.

I'm thinking that your vendor may want to come to my storage presentation that I'm doing at SQL Saturday in January 2011.

Denny Cherry has over a decade of experience managing SQL Server and is currently the Manager of Information Systems at Awareness Technologies. Denny holds several Microsoft Certifications as well as being a Microsoft MVP.
Go to Top of Page

GilaMonster
Master Smack Fu Yak Hacker

4507 Posts

Posted - 2010-12-23 : 04:09:33
Ok, details...

How big is the database? What's expected growth over the next year? How many concurrent users?

--
Gail Shaw
SQL Server MVP
Go to Top of Page

alzdba
Starting Member

10 Posts

Posted - 2010-12-23 : 05:24:31
O please forward these replies to your software vendor.
My guess, they smelled the perfume of $$.

And they're greedy !
In stead of just suggesting a bigger box, they shamelessly go for a SAN infrastructure ??

I'm not saying a bigger box will solve their issues !
They should start with a decent performance analysis.

I bet you're the first one they encountered these kind of problems with, hu ?

Without a decent performance analysis report and solidly justified conclusions I wouldn't move an inch.

And, yes, they tricked me a couple of times.
These days are over !

I wonder, is their app (still) needing full sysadmin auth at run time ?

Google or Bing on their solutions name and see what other customers have the same problems you are experiencing.
Go to Top of Page

Kristen
Test

22859 Posts

Posted - 2010-12-23 : 05:40:51
"I suspect your vendor is trying to deflect blame and hasn't a clue what they're talking about."

That gets my vote too. We recently spent a lot of money on a SAN solution and had to revert to using local drives because the SAN was not fast enough. Clearly we didn't spend enough money .... so I'd be wary of even assuming that SAN is faster than local disks.

As a simple rule-of-thumb: on a "busy" database I would want Operating system, Data files, Index files, Backup files to each be on separate drives, and each drive RAID optimised for the type of operation it is to perform. Moving the TEMPDB system database to its own drives is also a good move for performance.

If your vendor has "everything on one drive" then that's a bad sign in terms of their knowledge.

Irrespective of that the frequently used queries need careful tuning. If tuning has not been done, and tuning DOES offer a solution, it could improve things by an order of magnitude - so spending money on hardware first would be a bit cart-before-the-horse
Go to Top of Page

russell
Pyro-ma-ni-yak

5072 Posts

Posted - 2010-12-23 : 13:13:01
You should start with these 2 basic things:

When was the last time you rebuilt indexes?
Is Auto Update Statics on?

Also, have you analyzed your most expensive queries?

What perfmon counters are you capturing? Start with Disk Queue length, % CPU time, Page Life Expectancy.

What version and edition of SQL server are you using? 32 bit or 64?

It is useless to talk about new hardware without having any idea what's going on in the current system.

Go to Top of Page

GilaMonster
Master Smack Fu Yak Hacker

4507 Posts

Posted - 2010-12-23 : 14:23:11
If you want some detail on the 'analysing expensive queries', try this:
[url]http://www.simple-talk.com/sql/performance/finding-the-causes-of-poor-performance-in-sql-server,-part-1/[/url]
[url]http://www.simple-talk.com/sql/performance/finding-the-causes-of-poor-performance-in-sql-server,-part-2/[/url]

--
Gail Shaw
SQL Server MVP
Go to Top of Page

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2010-12-23 : 15:29:07
I'd switch vendors if I were you. If they think that clustering is going to solve a performance problem, then they clearly don't know what they are doing. Hopefully it was just the sales person you were talking to and not an actual engineer.

Denny, please continue to post on SQLTeam!

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog
Go to Top of Page

shiyam198
Yak Posting Veteran

94 Posts

Posted - 2010-12-25 : 18:34:42
Brilliant ! Thanks a billion everyone.

Gail,
I have book marked your performance articles even before posting here.. Couldn't beleive you replied to my post here.. :)

Russ,
I will check every thing you mentioned as well.
we are builing the indexes as an automating task on a weekly basis.
the counters "Disk Queue length, % CPU time, Page Life Expectancy" are being captures.. but i dont know the standard to measure them against.
Again, i will research and check them.

I am in Deployment - so bit of programming, networking and getting in to DB (SQL server) management. I write SQL and do basic SQL administration (Installation, backup/restore, setting up replication, etc) on a daily basis. But performance analysis is new to me. But, I am excited for this opportunity to learn and not scared of it.

Again, thanks everyone for your time. each of your inputs are valuable.

Regards,
Shiyam
Go to Top of Page
   

- Advertisement -