minimizing performance overhead during profiling........ SQL 2008R2

server A has an issue and needs to be profiled...

so a profile is being run from workstation A, and the results are saved in Server B table.

3000 lines are generated a minute (filter is applied only for that specific database).

does this help relieve Server A of performance issue during the profiling? any other way to accomplish with less overhead?
LVL 5
25112Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Marten RuneSQL Expert/Infrastructure ArchitectCommented:
It migth be a good ide profiling using a server side trace instead, and write to a file on for example the backupdisk (given it's a local disk). And after the trace take the tracefile and open on a separate system. This would prevent disk I/O problems, given the backuptarget is not used for databasefiles, but solely for backup. And network would not be affected at all.

Start by creating a trace in profiler to a file, start the trace, stop it, and then under "File/Export/Script Trace Definition" you'll get a SQL that you change filepath on to a disk on this local server. Then run it on the server. The file created can later be opened in profiler for investigation. Keep your valid filters.

You can combine this with a perfmon trace run the same time on the server and actually compare things like the CPU, memory, network traffic with statements captured in the server side trace.

For combining look at:
https://www.simple-talk.com/sql/database-administration/correlating-sql-server-profiler-with-performance-monitor/

For server side trace look at:
https://www.mssqltips.com/sqlservertutorial/272/profiler-and-server-side-traces/

Regards Marten
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft SQL Server 2008

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.