Viewing 15 posts - 1,246 through 1,260 (of 5,843 total)
You failed to give us ALL the code in your sproc, most especially those things that drive the cursor(s). First thing I would say is put the output of...
March 9, 2016 at 6:30 am
I'm going to STRONGLY disagree with any notion anyone might have that putting this lookup stuff into a table (of any flavor) and joining to it in in a query...
March 9, 2016 at 6:22 am
That sounds like the way I would do it.
March 8, 2016 at 2:45 pm
1) In my experience as a performance tuning consultant at lots of different clients of varying sizes, 95%+ of performance problems can be found with profiler with it's existing set...
March 7, 2016 at 11:50 am
1) Why can't you use Profiler? Aggregate profiler analysis is my single-most important tool as a performance tuning consultant!!!
2) You can capture workload with extended events.
3) sp_whoisactive is great...
March 6, 2016 at 10:23 am
tcronin 95651 (3/4/2016)
March 4, 2016 at 6:40 am
tony28 (3/3/2016)
I didnt know about it... have to learn..Thanks
Adam posted a 30-day blog post series on SQLBlog.com about all the ins-and-outs of sp_whoisactive. Read and learn.
March 4, 2016 at 5:59 am
I will say again that this is a perfect scenario for a SEQUENCE. It offers everything you are asking for and is very easy to use. Look it up...
March 4, 2016 at 5:58 am
The few clients I have had use this feature went the simple route. I don't know a best practice here.
March 3, 2016 at 9:32 pm
No. It means precisely what it says. Nothing more and nothing less. Any data going into/out of tempdb, regardless of the source of that data, gets the encryption overhead. There...
March 3, 2016 at 9:06 pm
Alan.B (3/3/2016)
Take a look at sp_whoisactive by Adam Machanic.
+1000000
March 3, 2016 at 6:34 pm
I'm with Jeff as usual on questioning the design decision/need here. But what you ask for seems tailor-made for SEQUENCEs, which are available in SQL Server 2012+.
March 3, 2016 at 6:32 pm
It is confirmed here: https://msdn.microsoft.com/en-us/library/mt614935.aspx
March 3, 2016 at 2:35 pm
I love putting a heavily used tempdb on local SSD, especially if it is like FusionIO and bolted into a PCI slot.
March 3, 2016 at 2:32 pm
Just to reinforce how bad this logic flaw is, I had a client GO OUT OF BUSINESS because they did this - and I TOLD THEM IT WAS GOING TO...
March 3, 2016 at 2:30 pm
Viewing 15 posts - 1,246 through 1,260 (of 5,843 total)