Forum Replies Created

Viewing 15 posts - 16,861 through 16,875 (of 49,552 total)

  • RE: Adding Secondary Data Files (ndf)

    If they are in the primary filegroup, new data will be automatically written to them. SQL will not however re-balance existing data. Read up on proportional fill for how the...

    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: Trace Flag Forcing All Dependancies to exist at Proc Creation?

    Never heard of such a trace flag. If one did exist that turned off deferred name resolution, it would spectacularly break procedures that create and use temp tables.

    sys.dm_sql_referenced_entities

    sys.dm_sql_referencing_entities

    These should be...

    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: SELECT @@ServerName returns Null after renaming a Server

    No. If it's returning correct now it's fine.

    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: SQL Trace - simple SELECT shows writes

    Hash joins use a work table that's in tempDB. Both hashes and sorts can spill to tempDB as well.

    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: Question on Multi-Instance Clustering

    nroberson (8/29/2012)


    Does Node B need to have an active database instance running on it for it to be online? Or can it be running without an instance until 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: will there be a table lock situation while deleting records from a partitioned table ?

    Depends on how many rows get deleted. If SQL escalates the locks because of the number needed, it will escalate to table unless you enable partition-level escalation (careful if 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: MDF File of MS SQL Server 2008 is Corrupted

    Nope, that's just a login failure, not related at all.

    We need all the errors that suggested to you that the file was corrupt. Honestly though, at this point just restore...

    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: Log file is growing too much under simple recovery model

    Yes, it likely will show nothing now. You need to query at a time that the log is growing or that it's not getting reused.

    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: Slow query

    IN and NOT IN are usually very efficient, sometimes more so that joins. If the number column is nullable that could cause worse performance than expected.

    Can you post the table...

    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: Log file is growing too much under simple recovery model

    Large transactions would be the first guess. Maybe replication that's not working well.

    Take a read through this: http://www.sqlservercentral.com/articles/Transaction+Log/72488/

    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: remove identity property

    In the batch where you do the insert you need to set identity insert on (as Clare explained) and you need to list the columns that the insert affects. Both...

    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: missing index script?

    Taking a couple steps back...

    Missing indexes is there to give you a place to start with creating indexes that may be missing. It is absolutely not something that you want...

    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: cannot connect to named instance thru SSMS on developers desktop

    As long as the SQL Browser service is running on the server, there should be no issues connecting to a named instance. The client contacts the SQL Browser service, asks...

    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: UPDATE when the values are the same

    Sergiy (8/28/2012)


    GilaMonster (8/28/2012)


    Well I wrote that portion of that chapter, so I guess what's in there would be my explanation.

    So, it should be really easy for you to post 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: cannot connect to named instance thru SSMS on developers desktop

    My complete guess would be that the SQL browser service isn't running or he's got a firewall blocking the higher ports.

    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 - 16,861 through 16,875 (of 49,552 total)