Forum Replies Created

Viewing 15 posts - 33,751 through 33,765 (of 49,552 total)

  • RE: Transaction log for master isn't happening

    Just take full backups weekly (or daily). Same with model. As Lynn pointed out, you can't take log backups of master and model should almost never change.

    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: Can't Backup Transaction Log

    Because restore history is the restore from backup history, not reverting to a snapshot.

    Is this a production server? If so, why is a dev creating and reverting snapshots?

    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: Avoid dynamic SQL

    emily-1119612 (3/1/2010)


    I have seen code so concise that I couldn't even understand it with my mere-mortal tsql skills. And of course I have seen bloat. For me this seemed to...

    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: Can't Backup Transaction Log

    Someone's either run Backup Log with truncate only or has switched the DB into simple recovery and back. Those two things will break the log chain.

    Both will be logged to...

    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?

    No one interested in the soccer world cup?

    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: Newbie - Detach / Attach in SQL 2005

    Both will transfer the database users. They're stored in the database, hence they move with the database.

    Neither will transfer the login information. That you'll have to script out, preferably with...

    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?

    Excellent

    It was kinda interesting watching the twitter comments, with people rooting for both sides, without actually watching the game.

    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?

    Who actually won the hockey yesterday?

    I went to bed before it was finished and didn't feel like wading through hundreds of twitter updates this morning.

    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: Reading the .LDF File in Sql server 2005

    GSquared (3/1/2010)


    It's "DBCC Log()". The parameters that I know of are the database name and a numeric "style" that determines the columns you get back.

    SELECT <column list> FROM fn_dblog(null,...

    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: Newbie - Detach / Attach in SQL 2005

    No services need to be stopped to detach and attach a database. Just note that the DB will be unavailable while the copy is in process.

    Backup/restore is a better option,...

    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: Reading the .LDF File in Sql server 2005

    If you want to track transactions and changes, you're better off using triggers or a SQL trace. The transaction log was never intended to be human readable, if 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: Transaction log for master isn't happening

    Does master change so often that you need it in full recovery and log backups being taken? Same goes for model?

    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: Overusing Identities

    RalphWilson (3/1/2010)


    As far as I am concerned, a non-clustered PK is, in reality, a non-clustered Unique Key.

    There are some fundamental differences between a primary key and a unique constraint, not...

    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: Overusing Identities

    RalphWilson (3/1/2010)


    IMHO, if you must use a GUID for your Identity column (and I will concede that there are times when that is the proper choice 😉 ) then 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: Query/Performance Tuning using wait types

    Have a look at Andrew Kelly's stuff. His blog is here: http://sqlblog.com/blogs/andrew_kelly/, I think he's written stuff for SQL Mag and other places.

    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 - 33,751 through 33,765 (of 49,552 total)