Forum Replies Created

Viewing 15 posts - 41,011 through 41,025 (of 49,552 total)

  • RE: Are the posted questions getting worse?

    <Sigh> Why don't people read the manuals?

    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 shrink a transaction log in a published database

    murthykalyani (2/17/2009)


    Once this is done, you can truncate your log.

    Um, if this database is in full recovery and log backups are been done, then a log backup can be done,...

    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: Stored proc not getting activated

    Look up "ALTER AUTHORIZATION" in Books Online. There is both a detailed explanation and a number of examples

    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: CREATE INDEX inside TRANSACTION

    Why do you want to do 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: can't set the autogrowth property of a database

    cafescott (2/17/2009)


    I'm still playing with these settings, trying to avoid the error. thanks.

    The error's saying that it's taking too long to grow the file by the required 20 MB....

    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 set the autogrowth property of a database

    cafescott (2/17/2009)


    I look for the Autogrowth heading and look at what it says for the log file. "[Autogrowth...] by 100 MB, restricted growth to 2,097,152."

    I click the Autogrowth button...

    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: Mirroring auto fail over

    Well, why do you need to fail back? What's wrong with just leaving the former mirror as the principal?

    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?

    Sailor (2/17/2009)


    Perhaps as a preventative measure, how often should I run check db?

    There's no right answer for that. Run it often enough that if is does find corruption you can...

    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: Advise for complete Beginners

    louisevb (2/17/2009)


    Oops it is Gail, sorry i am half asleep morning 😀

    😀

    Either works, I don't mind.

    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: Is a daily Update statistic task necessary?

    By updating stats after rebuilding indexes, you've left the statistics less accurate than they would have been. Index rebuild updates all stats with fullscan. If you then do a sampled...

    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 shrink a transaction log in a published database

    You've got transactional replication set up and a log reader that's never run. Is that database supposed to be replicated?

    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: Rollback the job running very long time

    sunny1_liu (2/16/2009)


    But in my opinion, profiler may consume many system resources, so we hardly turn it on unless really necessary.

    So don't use profile. You shouldn't be using profiler on 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: Backup failed...

    Looks like a IO failure. Any drive problems?

    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 checkdb takes up all my buffer cache

    bodhilove (2/16/2009)


    Hi when I run a dbcc it seems to take up all my buffer cache.

    Hardly surprising. CheckDB is very intensive and it has to read the entire 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: Deadlocks on update

    Enable traceflag 1222. It will write the deadlock graph into the error log whenever a deadlock occurs. Please post the deadlock graph here and we'll try and help.

    A single query...

    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 - 41,011 through 41,025 (of 49,552 total)