Forum Replies Created

Viewing 15 posts - 43,396 through 43,410 (of 49,552 total)

  • RE: LINKED SERVER PROBLEM

    Please don't cross post. It just wastes people's time and fragments replies.

    No replies to this thread please. Direct replies to: http://www.sqlservercentral.com/Forums/Topic595287-146-1.aspx

    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 has filled disk drive.

    Ans sys.databases still shows the same value for the log reuse for that database?

    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: Converting SQL for 2000 to work onSQL 2005

    What errors is that giving on SQL 2005? Or is it returning incorrect results?

    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: Re: Database backups and recovery models

    See today's headline article. (http://www.sqlservercentral.com/articles/64582/)

    What's acceptable data loss for that system? A full day?

    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 has filled disk drive.

    Then you've got an open transaction somewhere. That will prevent log reuse as logs can only be truncated to the beginning of the oldest open transaction.

    What does DBCC OPENTRAN...

    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 has filled disk drive.

    Check the value of log_reuse_wait_desc in the sys.databases view. That will say why the space in the tran log is not been released. If it's 'Backup log' or similar then...

    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: Managing Transaction Logs

    xyzt (10/31/2008)


    I'm fairly sure there is a better way.

    Backup the tran log more often. It's not just about risk, it's about how big you want the log 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: Managing Transaction Logs

    Rob Symonds (10/31/2008)


    Great article. I find myself struggling to explain these concepts to people on a weekly basis. You've put everything very clearly.

    Thanks. I mostly wrote it because I got...

    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: Backup/Restores for Database Mirroring Session

    avi27 (10/31/2008)


    GilaMonster,

    Thanks a lot for the tip. I was getting the same error and there was this job which was truncating the logs after the full backup

    Thanks a lot

    You should...

    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 Free space

    It's near impossible to say without knowing a lot more about your environment, your setup, the databases you have, the activity on them, the hardware and a fair bit more.

    Is...

    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: Managing Transaction Logs

    jmanly (10/31/2008)


    Taking a data update as an example, I was once told that that every record changed within the transaction is represented in the log with: a copy of 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: The famous "Must declare the variable '@...'" again :(

    😀

    GOs break batches and hence variables declared before will be out of scope afterwards.

    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: Ok, its their first day on the job.

    And if you're not learning from books, mentors or others when you are the senior DBA then either you know everything (which is unlikely) or you think you know everything.

    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: To get records from a few days ago...

    Garadin (10/31/2008)


    Syntax issue.

    Use this instead:

    select id, name, changedate

    from table1

    where changedate > GETDATE()-5

    Beware of the time portion of dates. That, if run now, would miss any entries with a time before...

    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: To get records from a few days ago...

    The where clause must be a condition that returns true or false. Your is not. changedate-5 is simply a value, it's not a condition. It will return a date 5...

    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 - 43,396 through 43,410 (of 49,552 total)