Viewing 15 posts - 20,536 through 20,550 (of 49,552 total)
Same way as for the clustered index or heap
SELECT t.name AS TableName, i.name AS IndexName, p.data_compression_desc
FROM sys.tables AS t
INNER JOIN sys.indexes AS i ON t.object_id = i.object_id
INNER...
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
February 6, 2012 at 1:01 pm
Koen Verbeeck (2/6/2012)
Cadavre (2/6/2012)
Grant Fritchey (2/6/2012)
Go easy on him. He's trying. Gentle guidance, not all up in his grill.
Tried polite and unpolite impolite comments directed at him, neither received 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
February 6, 2012 at 12:59 pm
sqlfriends (2/6/2012)
This is SQL server, memory setting using default, Max server memory is 2147483647 MBBut why SQL server still complains about it, what we should do?
The first thing that you...
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
February 6, 2012 at 12:35 pm
There's only really one way.
When there is no portion of the active log in the file you want to remove, you can just ALTER DATABASE ... REMOVE FILE.
DBCC loginfo...
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
February 6, 2012 at 12:32 pm
Also make sure that you have support from management before kicking people out, otherwise those internal users will go to management and complain that you are preventing them from doing...
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
February 6, 2012 at 11:17 am
Is there an IT security policy (or other policy) in place that prohibits what they are doing? If not, the first thing to do would be to get management approval...
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
February 6, 2012 at 10:17 am
Damian-167372 (2/6/2012)
GilaMonster (2/6/2012)
Btw, I've been through this, had a couple devs who knew the app's password and thought they were above the rules. I put 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
February 6, 2012 at 9:33 am
That's what I was saying....
Btw, I've been through this, had a couple devs who knew the app's password and thought they were above the rules. I put a login trigger...
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
February 6, 2012 at 9:29 am
Oh, one other added complexity - Maintenance plans have an app name of Microsoft SQL Server Management Studio..., so be careful you don't throw your maint plans out (I found...
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
February 6, 2012 at 9:18 am
Yes, DBCC DBREINDEX and no, the database does not need to be taken offline (and if you mean the database state OFFLINE, reindex won't be able to run). That said,...
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
February 6, 2012 at 9:14 am
Nothing wrong with login triggers, however a few things to consider...
You block connections from SSMS, now, what about Query Analyser? isql? osql? sqlcmd? Access? Excel? 3rd party tools like Toad?...
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
February 6, 2012 at 9:06 am
Rebuild the clustered index. See if that fixes things.
Does the table have a LOB column?
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
February 6, 2012 at 8:48 am
The only real lambasting I gave was the SVVM thread, and that would have been given with or without the thread (in fact was before i dropped by the thread...
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
February 6, 2012 at 8:46 am
Dev (2/6/2012)
CXPACKET
Occurs when trying to synchronize the query processor exchange iterator. You may consider lowering the degree of parallelism if contention on this wait type becomes 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
February 6, 2012 at 8:28 am
Grant Fritchey (2/6/2012)
Go easy on him. He's trying. Gentle guidance, not all up in his grill.
Already done days back. No reply and no improvement.
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
February 6, 2012 at 8:26 am
Viewing 15 posts - 20,536 through 20,550 (of 49,552 total)