Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Justify Hardware Expand / Collapse
Author
Message
Posted Tuesday, June 11, 2013 1:30 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Thursday, December 19, 2013 9:53 AM
Points: 6, Visits: 40
This is most likely my biggest weakness at the moment, but I do not know how to go about justifying better hardware with some real facts that the non techs would understand. So what is the best approach to this.

Not sure if this would help, but the basis system info:

I am running a virtual SQL 2012 server 96GB RAM 8 cores.
It is attached to a Equilogics SAN Array (15k disks)
I am getting PATEIOLATCH_EX (you can add almost all the codes after the _)
Surprisingly, partitioning actual speed the system up tremendously.

Some stats:

to delete 107,000 records it takes about 15 seconds batching 5000 at time (this seems long)
to Select 107,000 and insert them into another table is take 12 seconds using the SSIS data flow component

SQL_Noob
Post #1462345
Posted Tuesday, June 11, 2013 2:53 PM


SSCarpal Tunnel

SSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal Tunnel

Group: General Forum Members
Last Login: Today @ 8:07 AM
Points: 4,128, Visits: 5,835
1) virtual environment could be misconfigured. I have NEVER been to a client that already had such an environment set up with SQL Server running on it where they did everything optimal, and most of the time things are HORRIBLY bad.

2) First thing to do is TUNE your database application/structures/code. Aggregate profiler analysis is a huge help with this.

3) Then do fileIO stall and waitstats analysis

4) the "slow" DELETEs could have many causes, such as having to scan a big table per 5K batch, too many indexes on the table, heap with lots of forwarding pointers, blocking from other users, etc, etc.



Best,

Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru at GMail
Post #1462384
Posted Wednesday, June 12, 2013 8:38 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Thursday, December 19, 2013 9:53 AM
Points: 6, Visits: 40
Starting doing tuning today. Got a good chunk of data during heavy load.

How would I go about tracking the metrics for File IO? My idea was to save Database I/O metrics over time (maybe a week or so) and chart it.

I feel noobish since it's been about 13 years since I did any server type administrative work.

Thanks for the help.
Post #1462886
Posted Thursday, June 13, 2013 7:19 AM


SSCarpal Tunnel

SSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal Tunnel

Group: General Forum Members
Last Login: Today @ 8:07 AM
Points: 4,128, Visits: 5,835
pjbaratelli (6/12/2013)
Starting doing tuning today. Got a good chunk of data during heavy load.

How would I go about tracking the metrics for File IO? My idea was to save Database I/O metrics over time (maybe a week or so) and chart it.

I feel noobish since it's been about 13 years since I did any server type administrative work.

Thanks for the help.


A week is FAR too long to look at IO stalls. When I am tuning I do 2-5 minute differential analysis while the server is under load. Download my Tune Like a Guru session from here: http://sqlsaturday.com/81/schedule.aspx

I hope you grabbed a long-run profiler trace to disk so you can then load it into a SQL Table or run it through Qure to do aggregate execution analysis. Many people fail to recognize that the thing(s) that are most important to tune are not necessarily the sprocs/calls that run the longest. If you can knock 25% of the duration of something that runs in 0.4 seconds but gets called 200 times per minute that could be the biggest win for the server and your app.


Best,

Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru at GMail
Post #1463077
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse