Viewing 15 posts - 22,156 through 22,170 (of 49,552 total)
Dev (11/16/2011)
I had one of those. I sat down with the architect and explained to him what NoLock actually did and what effects it could have. The standards...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
November 16, 2011 at 11:08 am
You'll have to catch it in the application. To SQL Server, it's not an error. It's the same as clicking 'stop' in management studio.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
November 16, 2011 at 11:03 am
Dev (11/16/2011)
But what I am saying is a fact (Live Example). My customer is forcing us to write NOLOCK hint in all queries. It's primary QA check (per...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
November 16, 2011 at 10:17 am
ashuthinks (11/16/2011)
hmm alright but my use of WITH(NOLOCK) in delete block is correct or not?
Syntactically it's correct. It's almost certainly the complete wrong way to go about this, but I'm...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
November 16, 2011 at 8:16 am
Your first stop for this kind of problem should be the application vendor's support people. They're more likely to have a clue than we are (since we have no idea...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
November 16, 2011 at 8:13 am
derekr 43208 (11/16/2011)
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
November 16, 2011 at 8:10 am
ashuthinks (11/16/2011)
many reports are accessing this stored procedure at the same time so TO AVOID DEADLOCK I'M USING THI 🙂
So, if you don't use it you are definitely getting deadlocks?...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
November 16, 2011 at 8:03 am
ashuthinks (11/16/2011)
i.m just using this stored procedure for reporting purpose..please let me know my usage is at right or not?
Since when does reporting run deletes?
Why are you so determined to...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
November 16, 2011 at 7:58 am
Wiesinger (11/16/2011)
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
November 16, 2011 at 7:53 am
Firstly those 2 hints mean exactly the same thing, so you're just repeating yourself.
Secondly, those hints have NO place in most code most of the time.
Thirdly, did you read through...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
November 16, 2011 at 7:51 am
Ninja's_RGR'us (11/16/2011)
Logitech Wireless Performance Mouse MX
+1000000
I love that mouse.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
November 16, 2011 at 7:24 am
Wiesinger (11/16/2011)
the checktable (including indexes) reports no error.
No, it won't now, because the problem went away when you rebuilt the indexes.
Indexes with a different number of rows to...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
November 16, 2011 at 3:07 am
In that case, I'd say don't shrink. Just leave the free space in the data file for the DB to reuse.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
November 16, 2011 at 3:06 am
As Anthony said...
anthony.green (11/16/2011)
Unless you know excatly what is thrown through TempDB its a...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
November 16, 2011 at 3:06 am
How big's the DB? How long do you expect it will take to reuse that 250GB (based on the database's current growth rate)
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
November 16, 2011 at 2:59 am
Viewing 15 posts - 22,156 through 22,170 (of 49,552 total)