Viewing 15 posts - 1,666 through 1,680 (of 5,843 total)
Sample create table statements, sample data and expected output please. Then we can help you more efficiently and with less chance of error.
January 26, 2015 at 3:02 pm
Books Online is your friend. start with sp_trace_create, it links to the others. My profiler trace is text, cpu, duration, reads, writes, rowcount, starttime, databaseid, spid. That's...
January 26, 2015 at 12:46 pm
Profiler will be better mechanism to capture the tsql that is causing DML on the table I think. See my earlier post.
January 26, 2015 at 9:20 am
That's quite interesting Dwain! I will have to set aside some time to break it down, and also modify it to work with the typical "UserID did something" scenarios...
January 26, 2015 at 8:06 am
Michael has good advice. I will amend it with a removal of the 90% fill factor recommendation. Many indexes in SQL Server can and should be 100% FF...
January 25, 2015 at 9:06 am
Try this:
SELECT
'create login [' + p.name + '] ' +
case when p.type in('U','G') then 'from windows ' else '' end +
'with '...
January 24, 2015 at 10:45 am
Ronnie Jones (1/23/2015)
So, you're saying that I shouldn't worry about the avg_fragmentation_in_percent number in my result set? I'm trying to setup routine maintenance and just...
January 23, 2015 at 9:12 pm
The only reasonable explanation seems to be updates. Set up a tight trace to disk filtering on just the name of the table maybe to catch what is going...
January 23, 2015 at 9:11 pm
I personally think 50K pages is a bit high, but agree with the principal that you should ignore small tables.
And you should definitely switch to Ola.hallengren.com's stuff for doing all...
January 23, 2015 at 2:27 pm
girish.nehte-1109699 (1/23/2015)
I am having a limited knowledge in SQL. Let me explain my scenario in detail. I have to write a Stired Procedure with the following functionality.
Write a simple...
January 23, 2015 at 10:15 am
I concur. Plan change is good possibility. Another is blocking. Use sp_whoisactive to find that. That free tool can also show you a LOT about the...
January 23, 2015 at 9:03 am
Maybe it is just your efforts to anonymize the name, but you are missing a backslash in the file name? 'E:xxxxxxxx.trn'
Outside of that try running a profiler...
January 23, 2015 at 8:45 am
ericb1 (1/22/2015)
January 22, 2015 at 6:51 pm
Hire a good consultant to do the performance review for you and learn from them and their findings document.
Failing that, there are a baJILLION things you could pursue....
January 22, 2015 at 5:56 pm
pkapas (1/22/2015)
January 22, 2015 at 3:37 pm
Viewing 15 posts - 1,666 through 1,680 (of 5,843 total)