473,549 Members | 2,592 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

sql profiler trace file

im trying to understand how the profiler works. so i started 2
profilers,one listen to another and I saw the profiler is running:
exec sp_trace_create @P1 output, 1, NULL, NULL, NULL
which means @tracefile = NULL
so where from the profiler read the results?!

Jun 26 '07 #1
1 3163
Profiler essentially creates a SQL Trace and streams the trace data back to
the Profiler client GUI. It is recommended that you use SQL Trace scripts
instead of Profiler on an active system due to the overhead. You can use
Profiler to generate SQL Trace scripts.

--
Hope this helps.

Dan Guzman
SQL Server MVP

<of*****@gmail. comwrote in message
news:11******** **************@ n60g2000hse.goo glegroups.com.. .
im trying to understand how the profiler works. so i started 2
profilers,one listen to another and I saw the profiler is running:
exec sp_trace_create @P1 output, 1, NULL, NULL, NULL
which means @tracefile = NULL
so where from the profiler read the results?!
Jun 26 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
5957
by: Robert | last post by:
Greetings, I have been attempting to develop a useful and functional template for database tracing/profiling that will enable me to collect metrics for performance tuning. The database is used as an OLTP database as well as running reports. Below is a list of my trace properties and data columns. I would be interested to see other...
3
1547
by: jw56578 | last post by:
Where is the information coming from that is displayed in query profiler. Is it the command that is retrieved before it is processed, or is it what is actually processed.
8
2817
by: patrickshroads | last post by:
I am running a profiler trace against a database and noticed that the reads column always shows 0. When running the same trace against another machine I get back values in the reads column. I took a query that profiler reported as having 0 reads and ran in in query analyzer wtih STATISTICS IO on and confirmed that there are in fact reads: ...
1
2292
by: Pushkar | last post by:
Hi I want read a trace file generated by SQL Server 2005 througr SQL Server 2000. But fn_trace_gettable function in SQL 2000 does not recognize the file as of proper format. If there is some other tool or utility available through which i can read the file generated by SQL Server 2005.
8
2137
by: Bryan | last post by:
Does anyone have an example of an application that can connect to a running process and capture Trace.WriteLine calls like in SQL Server Profiler? I know that we can inherit from a TraceListener class to write to files, databases, etc..., but I would really like to attach to running .NET processes and get the results without any logging and...
1
6527
by: Thyagu | last post by:
Hi, We have a requirement to run profiler continuously to find out the misbehaving applications/SQL in the dataserver. And we are not interested in running it from an individuals local machine. Also we want the profiler to start automatically whenever there are SQL Server/ Machine restarts. Is there a way to invoke the profiler instance...
3
2656
by: akkha1234 | last post by:
I am using SQL Profiler to monitor one of my database. The temporary trace file is stored under C:\Documents and Settings\user \Local Settings\Temp by default. Is it possible to re-configure it to place to another location as the file become huge after some time. Thanks
3
3672
by: Sam Samson | last post by:
Can any-one recommend some good sites detailing how to code a simple memory profiler? How do they "look under the hood"? I built an uber simple service that tracks the process' memory but I need to "get inside" and look a bit deeper and I don't have a clue where to start ... a commercial memory profiler is not an option due the nature of...
0
5040
by: anweshadash | last post by:
Using SQL Profiler: (Ref: http://msdn2.microsoft.com/en-us/library/ms181091.aspx) Sometimes it’s very beneficial to use sql profiler. Let’s have an idea about that and how to use that by taking some scenarios. Microsoft SQL Server Profiler is a graphical user interface to SQL Trace for monitoring an instance of the SQL Server Database...
0
7527
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7459
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7726
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7967
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7485
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7819
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5377
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3488
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
772
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.