Forum Replies Created

Viewing 15 posts - 24,001 through 24,015 (of 49,552 total)

  • RE: restore database failed because database size would exceed your licensed limit of 4096 MB

    SQL Express 2008 R2 has a 10GB limit. If your DB is larger than that you'll need to buy a licensed version of a higher edition.

    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 for sorting startdatetime and enddatetime

    So the rest of the columns should be taken from the row with the max end date?

    p.s. You either haven't read that article or are ignoring it... I can't test...

    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: Help, my database is corrupt. Now what?

    btw, if that were my DB, I'd be trying to get it onto alternate storage first, before something worse corrupts.

    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: Help, my database is corrupt. Now what?

    KB - 2000 (8/22/2011)


    Anything specific that we should be checking on the I/O subsystem?

    Everything.

    It could be anything in the IO stack, from anti-virus right down to the disks.

    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 can t shirink tempdb

    GilaMonster (8/22/2011)


    To shrink TempDB properly you need to completely quiesce the server

    http://support.microsoft.com/kb/307487

    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 can t shirink tempdb

    Shrinking TempDB while it is use is not recommended and can cause problems. To shrink TempDB properly you need to completely quiesce the server

    http://support.microsoft.com/kb/307487

    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 Mystery of Transaction Log Size Growth???

    If the log is 10GB from regular database activity then it needs to be 10GB and you need to ensure you have that much space.

    Maybe reducing the interval between 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: Execution Plans: Key Lookup = Add Index

    MyDoggieJessie (8/22/2011)


    Is there a general rule of thumb for this?

    If the column is in the where or join (or order, group) then it needs to be in the key. Otherwise...

    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: Execution Plans: Key Lookup = Add Index

    It depends on the cost of the key lookup, the gain from covering the query and the increase in DB size (maintenance time, backup size) and impact on data modifications.

    Can't...

    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: Execution Plans: Key Lookup = Add Index

    Lowell (8/22/2011)


    Just a Double Check; As I understand it, when I'm reading an Execution plan, If I see a Key Lookup, the rule of thumb is/always/should be / that...

    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 Mystery of Transaction Log Size Growth???

    Typically the more frequent the log backup the smaller the log file can be. But that requires no long-running transactions, no replication. If you're doing index rebuilds in full recovery,...

    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 Mystery of Transaction Log Size Growth???

    EjSQLme (8/22/2011)


    So, is it normal for a t-log to be over 10GB even though you are doing a t-log backup?

    I used to work with a DB that had 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: The Mystery of Transaction Log Size Growth???

    Have you looked 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: *= non ansi join

    Can't be a trigger. Error specifically lists the proc in question.

    Errors from login triggers don't go to the messages (because the login fails as a result)

    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 Server 2008 shirnk logs

    No. It won't (there's no backup_log option on Backup Log)

    Please go and read my article and stop shrinking your 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

Viewing 15 posts - 24,001 through 24,015 (of 49,552 total)