Viewing 15 posts - 13,006 through 13,020 (of 22,214 total)
Jeff Moden (3/16/2011)
Craig Farrell (3/16/2011)
GilaMonster (3/16/2011)
I object, I'm a model of good behaviourwell, compared to others on that list anyway...
Isn't that like saying you're a 'nice' barbarian because you only...
March 16, 2011 at 5:51 pm
Yes and no. DBCC is subject to contention issues the same as almost any other process. Assuming no connections and no activity, yes, I'd expect it to run more or...
March 16, 2011 at 4:39 pm
BTW, Gail lives in South Africa which is about 6 hours ahead of us. It's near midnight her time. She's up this late sometimes, but sometimes not. Just so...
March 16, 2011 at 4:08 pm
Are you looking for sys.dm_db_index_physical_stats?
A query would look something like this:
SELECT * FROM sys.dm_db_index_physical_stats(DB_ID('AdventureWorks2008R2'),object_id('person.address'),NULL,NULL,'sampled') AS ddips
March 16, 2011 at 4:07 pm
No, you really can't do that. You're going to have to get to that user and train them or get ahold of their code and clean it up. Either way,...
March 16, 2011 at 4:03 pm
Did a few tests and this seemed to work just fine:
EXEC sys.sp_renamedb @dbname = [MyDB ], -- sysname
@newname = [MyDB2] -- sysname
;
EXEC sys.sp_renamedb @dbname = [MyDB2],...
March 16, 2011 at 4:01 pm
GSquared (3/16/2011)
GilaMonster (3/16/2011)
CirquedeSQLeil (3/16/2011)
GilaMonster (3/15/2011)
WayneS (3/15/2011)
March 16, 2011 at 3:53 pm
Brandie Tarvin (3/16/2011)
March 16, 2011 at 12:50 pm
Unless you want to look at SQL Server 2008 R2 multi-server management, you're just going to have to set up a lot of manual processes out to multple servers. No...
March 16, 2011 at 6:42 am
It sounds like you're getting spikes on usage. That can be normal. A particularly nasty query used the CPU a lot and then cleared. The problem with setting a threshold...
March 16, 2011 at 5:46 am
Another way that sometimes works is to eliminate the OR by rewriting the query to use UNION ALL and then putting each side of the OR clause on either side...
March 16, 2011 at 5:44 am
Reorg is specifically for indexes that are only lightly fragmented as a way to give them an augmented performance metric at very low cost. You're looking 90% fragmentation. you need...
March 16, 2011 at 5:42 am
GilaMonster (3/15/2011)
WayneS (3/15/2011)
So Gail - how did your presentation go? I'm sorry that I couldn't see it.
Awesome. Great fun. Timing went perfectly too (for once)
Trying to figure if I managed...
March 16, 2011 at 5:21 am
I'd say Nivek summed it up fairly well there.
March 15, 2011 at 11:47 am
Viewing 15 posts - 13,006 through 13,020 (of 22,214 total)