Forum Replies Created

Viewing 15 posts - 37,741 through 37,755 (of 49,552 total)

  • RE: ALTER DATABASE SGCT SET SINGLE_USER

    The remote timeout setting affects remote servers only. It has no effect on how long queries will wait on the local server.

    If you want the alter database to kick everyone...

    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: knowing the deadlock causing queries.

    This is kinda what the beginning of the output looks like (this particular graph is 120 lines long in total)

    [font="Courier New"]deadlock-list

    deadlock victim=processf14c58

      process-list

        process id=processc8f198 taskpriority=0 logused=1120 waitresource=KEY:...

    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: knowing the deadlock causing queries.

    BU69 (7/10/2009)


    I use trace flag 1204, doesn't 1222 give the results in xml?

    1222 is not xml. It's the profiler event "Deadlock graph" that gives xml. The output of 1222...

    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: knowing the deadlock causing queries.

    Switch traceflag 1222 on. That will result in a deadlock graph been written to the error log every time a deadlock occurs. The graph will tell you, among other things,...

    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: Does SP4 for SQL server 2005 exist ?

    There is no SP4 for SQL 2005. There's an SP4 for SQL 2000, but the very latest for SQL 2005 is Service pack 3, cumulative update 4, released Jun 15...

    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: Transactionlog does not shrink after backup

    sanderstad (7/10/2009)


    The weird thing is that the logfile grows from 100MB to 45GB overnight.

    There's some operation overnight that requires 45 GB or so of log space.

    Rebuilding all indexes?

    Doing large data...

    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 recover my user database if LDF is lost?

    Only after an unusual activity has grown the log beyond what is needed for normal database activity.

    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: Vote for these 2 features in next version of SQL Server

    Lamprey13 (7/9/2009)


    Whitefang, is that you?

    Don't think so. There's been no mention of "Enterprise Application" or "Entry level DBA" yet. 😀

    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: Log file growth

    doug turner (7/9/2009)


    After doing all that, I ran the backup with truncate_only, then the dbcc_shrink and it went down to 104K!

    Now do a full backup, because you've just...

    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 recover my user database if LDF is lost?

    Why do you want to shrink the log at all? You should manage the log so that the file size is adequate for the activity in your database and 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: Update Statistics Task (Maintenance Plan) vs auto update statistics

    Juanita (7/9/2009)


    Hello,

    I have an existing sql 2000 server that has a maintenance plan whose only step is to UPDATE STATISTICS on the OPTIMIZER tab. I also notice that all of...

    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: Log file growth

    In that case, somehow you've got a half-set up transactional publication. I really wish I knew how this happened.

    The fix is fairly simple. Create a transactional replication publication. Add 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: Log file growth

    Run sp_helppublication in the published database. In the results, the replication frequency will tell you what it is

    Books Online


    replication frequency

    Type of replication frequency:

    0 = Transactional

    1 =...

    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: Trigger to execute dbmail based on cloumn update.

    Duplicate post. No replies to this thread please. Direct replies to:http://www.sqlservercentral.com/Forums/Topic750337-145-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: Log file growth

    doug turner (7/9/2009)


    If I remember correctly, the replication occurs once a day.

    Transactional replication is constant. What kind of replication are you using?

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