Viewing 15 posts - 12,511 through 12,525 (of 22,214 total)
odanwada (5/19/2011)
I think my manager wants the...
May 20, 2011 at 6:45 am
Must be that the procedure was created with a different schema as owner.
May 20, 2011 at 6:42 am
Take a look at the RML Utilities from Microsoft. You can set up a work load and automate the replay of that workload or use a trace file and automate...
May 20, 2011 at 6:39 am
Another option is to skip the trace entirely and pull the data from cache using dynamic management objects. Selecting from sys.dm_exec_query_stats will show you aggregate information about a query and...
May 20, 2011 at 6:37 am
You can set this up pretty easily by using SQL Agent. You can query for the processes that are in place using sys.dm_exec_requests. With that you can get the session...
May 20, 2011 at 6:33 am
But, the first time you move a database onto a new server, there's nothing of that database in cache. At best you're looking at memory pressure that is exposed when...
May 20, 2011 at 6:28 am
Craig Farrell (5/19/2011)
Steve Jones - SSC Editor (5/19/2011)
Any chance someone can go a better job than me in explaining this is a bad idea: http://www.sqlservercentral.com/Forums/Topic1111536-392-1.aspx?Update=1Tried my humble best.
No, that was...
May 19, 2011 at 1:38 pm
I didn't even know Hyperbac could be set to compress trace files. Cool!
By the way, rollover is supposed to give you a series of files, so that was working as...
May 19, 2011 at 6:49 am
Robert Pepin (5/18/2011)
May 19, 2011 at 6:47 am
I would not lay out the database by the transactions defined. Instead I would to set up standard database normalization, taking it out to 3rd normal form. It's a good...
May 19, 2011 at 5:37 am
Why the restriction to not use a stored procedure? A stored procedure is just a wrapper on a query, and you're going to have to write a query no matter...
May 19, 2011 at 5:35 am
One thing you don't have is rollover on the files enabled:
exec @rc = sp_trace_create @TraceID output, 0, @OutputFileName, @MaxFileSize, @EndTime
That should get changed to this:
exec @rc = sp_trace_create @TraceID output,...
May 19, 2011 at 5:33 am
There is no gui from SQL Server. It's worse than that. If you launch from SSMS, you're going to have a brain dead version of PowerShell. Better to launch it...
May 18, 2011 at 6:52 pm
Is this for data export? You don't have any kind of where clause at all. You're likely to see nothing but table scans from a query like that, and based...
May 18, 2011 at 6:44 pm
Just remember that the Profiler gui is good for browsing the data later. Don't use it to monitor the server. Capture the data with a server-side trace.
If you really...
May 18, 2011 at 6:36 pm
Viewing 15 posts - 12,511 through 12,525 (of 22,214 total)