Forum Replies Created

Viewing 15 posts - 20,536 through 20,550 (of 49,552 total)

  • RE: Non-clustered index compression

    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

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Are the posted questions getting worse?

    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

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: insufficient memory

    sqlfriends (2/6/2012)


    This is SQL server, memory setting using default, Max server memory is 2147483647 MB

    But 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

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: I have two transaction logs. one is 95 gigs and the other is 10gig I would like to remove the 10gig

    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

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Disabling SSMS connection for few uses

    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

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Disabling SSMS connection for few uses

    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

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Disabling SSMS connection for few uses

    Damian-167372 (2/6/2012)


    GilaMonster (2/6/2012)


    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...

    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

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Disabling SSMS connection for few uses

    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

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Disabling SSMS connection for few uses

    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

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Large amount of "unused" space on table

    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

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Disabling SSMS connection for few uses

    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

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Large amount of "unused" space on table

    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

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Are the posted questions getting worse?

    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

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Terrible performance on SQL server 2005

    Dev (2/6/2012)


    Per BOL:

    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

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Are the posted questions getting worse?

    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

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass

Viewing 15 posts - 20,536 through 20,550 (of 49,552 total)