Forum Replies Created

Viewing 15 posts - 37,246 through 37,260 (of 49,552 total)

  • RE: A Story of the Deleted Transaction Log

    talltop (8/7/2009)


    WRONG! A db in Simple recovery mode does NOT guarantee that the transaction log will

    shrink in size or not grow and thus cure an out of disk space...

    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: Extracting Information from Procedure Cache

    This is from a presentation that I did earlier this week at TechEd

    -- cumulative execution stats for the queries in cache

    select * from sys.dm_exec_query_stats

    -- the 10 longest running queries

    SELECT TOP...

    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: Losing my primary keys!

    When a backup is restored it always recreates the database exactly as it was at the time of the backup. If there are no indexes after the restore it means...

    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: A Story of the Deleted Transaction Log

    Mark Horninger (8/7/2009)


    GilaMonster (8/7/2009)


    Bill Whitman (7/14/2008)


    A maintenance plan should be set up to truncate, shrink, and backup the transaction log -- nightly, if necessary.

    Absolutely not. That's terrible advice to 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: Are the posted questions getting worse?

    Anyone seen today's article? The article's fine but some of the comments are scary....

    Example:

    A maintenance plan should be set up to truncate, shrink, and backup the transaction log -- nightly,...

    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: Clustered Index space concern.

    If you put a clustered index on a view, the view is materialised and stored almost as if it was a 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: How to release the free space present in Database data file to OS

    venu_ksheerasagaram (8/7/2009)


    Is there any way to make the free space release to OS.

    Why do you want to do that? Databases tend to grow as more data gets put in them....

    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: Extracting Information from Procedure Cache

    Edit: Sorry, noticed after posting it was SQL 2000

    In SQL 2000, you can query the syscacheobjects table, but there's very little useful information in there. No where close to what...

    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 2005 - Takes time to update

    Is there blocking, are there waits? If so, what's the wait type?

    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: Clarification on finding fragmented indexes

    How big is the index in question?

    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: DBCC REINDEX

    Small indexes often don't reindex properly, but it's not a concern. 1000 pages is usually cited as the point where one starts to worry about fragmentation in an index.

    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: A Story of the Deleted Transaction Log

    Raymond Xu (7/14/2008)


    There are two ways to recover a single data file DB in SQL 2005.

    1. Create DB for attach ...

    CREATE DATABASE database_name

    ON ...

    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: A Story of the Deleted Transaction Log

    Michael Oberhardt (7/14/2008)


    I've had a few issues with rogue transaction logs as well (on MSDE at any rate). Even on autoshrink I've had them grow to over 10GB, and didn'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: A Story of the Deleted Transaction Log

    Bill Whitman (7/14/2008)


    A maintenance plan should be set up to truncate, shrink, and backup the transaction log -- nightly, if necessary.

    Absolutely not. That's terrible advice to be giving.

    Backup the log,...

    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: A Story of the Deleted Transaction Log

    BobAtDBS (7/14/2008)


    Why wouldn't you simply detach the database, then attach it back with the single file option? Sorry, I'm in a hurry this morning, but I'm almost certain I've...

    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 - 37,246 through 37,260 (of 49,552 total)