Forum Replies Created

Viewing 15 posts - 1 through 15 (of 18 total)

  • RE: 40gig templog - What to do

    So is it common practice to have a handful of traces running all the time to track performance/maint issues?  It seems like a growth trace would be something you would...

  • RE: 40gig templog - What to do

    0 for both.

    The coworker contacted me, and has shut down his app.  Hopefully that's the problem.

  • RE: 40gig templog - What to do

    Tempdb is already set to simple recovery, so everything in the templog is just waiting to commit...from what I've read.  I'm no expert.

  • RE: 40gig templog - What to do

    Ok I found some log growth already.  I also picked up on the user, and it's a coworker in Texas who is pushing data into my DB.  I killed his...

  • RE: 40gig templog - What to do

    Good advice.  I'm going to set up a trace on file growth, and see what's going on.  I stopped and started the service yesterday at approximately 4pm, so that would...

  • RE: 40gig templog - What to do

    Ok I just stopped and started the service again.  Templog is now 2g.  Still seems pretty large.

  • RE: 40gig templog - What to do

    I tried running a DBCC SHRINKFILE (templog, TRUNCATEONLY) and got these results:

    DBID FILEID CURRENTSIZE MINSIZE USEDPAGES MINPAGES

    2     2        546152          64         546152       64 

    So then I ran DBCC SHRINKFILE (templog, 2000) to try and...

  • RE: 40gig templog - What to do

    More information:  I just read that truncating the log file won't actually free up physical size only logical size.  So I need to go in and run a shrinkfile on...

  • RE: 40gig templog - What to do

    Yeah I often use temp tables when gathering data to update into a very large data table.  The database I'm updating is only about 1g (but it's log file is...

  • RE: 40gig templog - What to do

    Ok I've got a trace running for starttime greater than 2007-08-28 00:00:00 less than 2007-08-28 09:00:00.  That should show me what's going on with tembdb, correct?

  • RE: 40gig templog - What to do

    In regards to shrinking the db, I did restart the service by stop then start.  The growth happend after this point.  What I've read is even if you do this...

  • RE: Can''''t kill a process / get rid of a lock

    Ok I'm not out of the woods yet.  My templog is 40 gigs...

    I did verify the lock problem I was having is indeed not a problem by running sp_who, which...

  • RE: Can''''t kill a process / get rid of a lock

    I found additional info regarding locks on spt_values and a lockinfo[spid] for this while searching the web (Go Google!):

    The person's question was what are these two locks:

    ------------

    Object:master.dbo.spt_values

    Lock Type:TAB

    Mode:Sch-S

    Status:GRANT

    Owner:Xact

    Index:

    Object:tempdb.dbo.##lockinfo51

    Lock Type:TAB

    Mode:X

    Status:GRANT

    Owner:Xact

    Index:##lockinfo51

    ------------

    (Ah doesn't...

  • RE: Can''''t kill a process / get rid of a lock

    Ok the problem is it is holding a lock on part of the master db.  I queried the tembdb lock info (select * from ##lockinfo53), and here are the results:

  • RE: Can''''t kill a process / get rid of a lock

    Yes the client connection is myself, but usually the status is 'awaiting command' not 'select into'.

Viewing 15 posts - 1 through 15 (of 18 total)