Viewing 15 posts - 8,746 through 8,760 (of 22,214 total)
When SQL Server takes an exclusive lock, which it must have in order to maintain data integrity when modifying data, there is no way for any other process to get...
March 7, 2014 at 11:53 am
SQLRNNR (3/7/2014)
SQL Guy 1 (3/7/2014)
Question: if my database files sit all on one drive, will my query benefit from parallelism (even if query cost > threshold)?
Yes you could benefit...
March 7, 2014 at 10:41 am
When you add a row to a table that has an index, the index has to be updated to reflect the new value added. When you modify a value that...
March 7, 2014 at 6:59 am
CXPACKET waits in and of themselves are no big deal. They're just indications of parallelism occurring within your system. Now, you may be seeing parallelism for some queries that are...
March 7, 2014 at 6:53 am
You might want to take a look at this article I wrote in SimpleTalk. It goes through how to retrieve versioned data[/url] from the table. Assuming you can identify the...
March 7, 2014 at 3:41 am
Right there with Gail. This is something I'd test the heck out of this before I got anywhere near production. It's far too big a change to do it any...
March 7, 2014 at 3:36 am
Sqlsavy (3/7/2014)
How to reduce fragmentation <30?
IndexTypeavg_fragmentation_in_percent
CLUSTERED INDEX 97.67442
CLUSTERED INDEX...
March 7, 2014 at 3:27 am
sqlbuddy123 (3/6/2014)
Rebuild index doesn't update all the statistics. It updates only index statistics. Column statistics that are not part of index are not updated.
True, but we know they have...
March 6, 2014 at 6:00 pm
It's hard to know for sure, but on a guess, statistics. I'll bet they're not being well maintained on either machine. Minimum, start with sp_updatestats. After that, you may find...
March 6, 2014 at 4:28 pm
For a quick hit, I agree with Lowell, pull information out of the cache. You can see what's going on there. For longer term though, you need to look into...
March 6, 2014 at 4:23 pm
sqlbuddy123 (3/6/2014)
Or just run sp_updatestats to update the stats.And check for any Blocking, Memory, CPU, Disk utilization on the server. Also check for any waits on the server.
--
SQLBuddy
But... If they...
March 6, 2014 at 4:21 pm
It looks like you've missed something on the security screens. Make sure, minimum, you add the current user. That's actually not always the best way to go about it, but...
March 6, 2014 at 4:08 pm
I really don't care what naming standards we have. Let's just make them clear and let's enforce them. After that, it's all good.
I have a presentation where I spend about...
March 6, 2014 at 4:05 pm
SQL Guy 1 (3/6/2014)
March 6, 2014 at 3:51 pm
If it's an update statement, you could be seeing contention from other resources doing reads at the same time as you're trying to modify the data. That's a pretty classic...
March 6, 2014 at 12:18 pm
Viewing 15 posts - 8,746 through 8,760 (of 22,214 total)