The transaction log for database 'WSS_Content' is full. To find out why space in the log cannot be reused, see the log_reuse_wait_desc column in sys.databases

Hi all,
Observing the below error in event logs once in every day at 3:30 AM on the on SQL Server Machine, it is being used for TFS 2010.
The transaction log for database 'WSS_Content' is full. To find out why space in the log cannot be reused, see the log_reuse_wait_desc column in sys.databases
Kindly advice me here on what to do?
Thanks in advance

First thing to check is, what is happening at 3:30am to cause the log to fill up?  Is there any maintenance tasks being run against the DB, such as index re-organizations or rebuilds?  If so, take a look at what the job is doing, maybe it could
be tuned (ex:  A Maintenance Plan with a rebuild indexes task will rebuild *every* index whether it needs it or not.  Look at using something that checks how fragmented an index is, and then intelligently determines what, if anything, to do to that
index.)
Basically, the error is telling you that SQL is trying to do something in the DB, and has filled up the log (either because it's not getting backed up often enough, or the transaction in question is running *very* long, or your log is set to not auto-grow)
So, a couple possible solutions:
Increase the frequency of Transaction Log backups of WSS_Content (only works if the DB is in Full Recovery)
If you've got the disk space, turn on auto-growth for the TLog (or just manually grow it larger) {This will work for both Full and Simple Recovery}
It would be nice to know what's causing the space to not be re-used, but with this occuring at 3:30am, you'll either need to set up an Agent job to run around that time and record its results, or manually run something like "select log_reuse_wait_desc from
sys.databases where name = 'WSS_Content';"  Me, I prefer to be soundly sleeping at 3:30am and would set up an Agent job to run from say about 3:00am to 3:45am once per minute (maybe even more frequently.)
DON'T shrink the log, though.  SQL will idealy grow the log as large as it needs it (if autogrowth is enabled) and no more.  If you shrink the file, SQL will just have to re-grow it later again, which can affect performance.
Jason A.

Similar Messages

  • The transaction log for database 'mydatabase' is full. To find out why space in the log cannot be reused, see the log_reuse_wait

    Every time I get this error, at different points of testing inserts and deletions on my table:
    The transaction log for database 'mydatabase' is full. To find out why space in the log cannot be reused, see the log_reuse_wait_desc column in sys.databases
    Why do I keep getting this?  All I'm doing is deleting several hundred thousand records and inserting them into a couple of tables.  i shouldn't have to truncate my log every time or my application bombs out!
    sys.databases only gives me this info for log_reuse_wait_desc which does nothing for me:
    LOG_BACKUP

    sp_helpdb BizTalkDTADb
    ALTER DATABASE BiztalkDTADb
    SET RECOVERY SIMPLE;
    GO
    DBCC SHRINKFILE (BiztalkDTADb_log, 1);
    GO
    sp_helpdb BizTalkDTADb
    GO
    ALTER DATABASE BiztalkDTADb
    SET RECOVERY FULL
    GO

  • Firefox crashes the second I purchase on Ebay. When Firefox reopens, it brings me to the purchase page again making me think the transaction did not go through. Later I find out the transaction did go through.

    Crashes the second I purchase on Ebay. When Firefox reopens, it brings me to the purchase page again making me think the transaction did not go through. Later I find out the transaction did go through.

    This is all very confusing and frustrating. You recommended that I install the latest updates for:
    1. Shockwave Flash security (but do not tell me the number for the latest update)
    2. Java Plug-In version 1.6.0_07
    3. Flash version 10.0
    However, you do not tell me how install these. I also woke up early so I could access your Chat service from 6:00 - 7:00 am Pacific time but it is not available. I have also not been able to find a contact phone number to get my problem resolved. I regularly purchase on ebay and have had this problem for all 3 purchases I made in the last week. I need to purchase several other items in the next few weeks before I leave the country for 2 months. I need to get this problem resolved immediately. If someone can call me, my phone number is 720-***-****.
    Thank you.
    Susan Bells

  • I was organizing my photos into albums. then deleting them from my Camera roll. Then I went into MY Photo Stream and started deleting the pics I had moved to albums;Come to find out I deleted all pic from everywhere!!  Would the iCloud still have them sav

    I was organizing my photos into albums. then deleting them from my Camera roll. Then I went into MY Photo Stream and started deleting the pics I had moved to albums;Come to find out I deleted all pic from everywhere!!  Would the iCloud still have them saved

    First of all, you should always save you photos on computer like any other digital camera.
    Backup on iCloud or iTunes only backup your Camera Roll. The other photos should be already on the computer.
    Note: Photos are not saved in iTunes, it's only a conduit between your iPhone and your photo managing software on computer.
    What computer do you have?

  • How to find out if a table has logging on?

    I need to temporarily turn off logging, and restore the logging setting afterward.
    How do I find out if a table has logging on or off before my change?

    TUBBY_TUBBZ?alter table tablea nologging;
    Table altered.
    Elapsed: 00:00:00.28
    TUBBY_TUBBZ?select logging from dba_tables where table_name = 'TABLEA';
    LOGGING
    NO
    1 row selected.
    Elapsed: 00:00:00.00

  • I am trying to backup my iPhone but the email used for my Apple ID has been deactivated so I can no longer log into my account or back up my iPhone. How do I back it up otherwise? Or how do I change my email?

    I am trying to backup my iPhone but the email used for my Apple ID has been deactivated so I can no longer log into my account or back up my iPhone. How do I back it up otherwise? Or how do I change my email?

    You can update your AppleID info here: Manage your Apple ID
    Also check this page for more details about iTunes: Apple - Support - iTunes

  • Unable to save PDF's from Internet Explorer. Error "The document could not be saved. The disk you were saving to or the disk used for temporary files is full. Free some space on this disk and try again, or save to a different disk."

    We are currently in a published desktop environment in Citrix XenApp 6.5.  Server is running on Windows 2008 R2.  Users are not able to save PDF's into the redirected folders (ie Desktop or My Documents).  Exactly same issue described in "The disk you were saving to or the disk used for temporary file is full...."  Anyone has any suggestion??

    Same problem here. Any ideas?
    Saving with Shortcut "CRTL+SHIFT+S" works just fine.
    Using IE 11.0.9600.17728 and Adobe Reader 11.0.10

  • Hi what is the transaction code for vendor master delete

    hi
       what is the transaction code for vendor master delete? and customer master delete?
    thank u
    surya

    Hi
    There won't be any Deleting of customer and vendor completely
    we only BLOCK them
    FK05                   Block Vendor (Accounting)
    MK05                   Block Vendor (Purchasing)
    XK05                   Block Vendor (centrally)
    FD05                   Block Customer (Accounting)
    VD05                   Customer Block (Sales)
    XD05                   Block customer (centrally)
    <b>Reward points for useful Answers</b>
    Regards
    Anji

  • How to find the transaction code for the particular program or include

    Dear All,
    Please help me on this queary.
    1) How to find what is the transaction assigned for the particular Report
    2) How to find the particular include is used in which programs and also transaction codes
    I have one ZProgram that contains only includes no selection screen, I have to find where this program is used, in that one include is ther I would like to know in which program and in which transaction that is used,
    They have given ME9F, ME21N/22n, wheren this includle is calling.
    Please kinely help on this.
    Thanks and Regards,
    Muralikrishna

    HI
    1. you can find the transaction for your report by opening in se80. On the left side window it will show the transaction if there is any.
    2. to find in which programs particular inclue is called , just open include in se38 and press where used list icon. in the pop up window select programs.
    regards
    vijay
    reward points if helpful

  • What is the transaction code for where used list

    hi,  
                    what is the transaction code for where used list and
               how to retrieve the previous delivery quantity and quantity delivered for a particular material  with reference to both material document number and material number.

    hi,
    there is no transaction code for where-used-list..
    its one of the buttons in application tool bar which if you click will tell you where,in which program or tables etc this object is used.
    to retrieve the previous delivery quantity and quantity delivered for a particular material with reference to both material document number and material number,
    use tables <b>likp lips and mara</b> and use material number and document number in where condtion.
    regards,
    pankaj singh
    <b>**** please mark all helpful answers</b>

  • Where to see the transaction code for a script

    Hai my dout is  where to see the transaction code for a script after assigning to  a drive programm for example i see output for medruck in me11 and for other standard scripts where can i see the  output is there any table avaible to check it

    Hi masthan,
       for sd and mm related scripts. u can use tnapr.
    Otherwise go to nace transaction u can find the script name as well as program name.
    Or u can try with TSTC table, which will give the t/c's.
    Regards...
    Arun.

  • Unable to save PDF. The disk used for temporary files is full.

    I just started getting the "Document could not be saved. The disk you were saving to or the disk used for temporary files is full. Free some space on this disk and try again, or save to a different disk" message.
    I am running Windows 8. I've seen fixes for this on the Internet for previous versions of Windows on the Internet, but haven't seen one that works for Windows 8. Help, please.

    Same problem here. Any ideas?
    Saving with Shortcut "CRTL+SHIFT+S" works just fine.
    Using IE 11.0.9600.17728 and Adobe Reader 11.0.10

  • Required the transaction code for the user exit

    Hi Abap Gurus,
            i want to find out the *sap transaction code for which the user exit belongs to  from the below code i am getting the enhancement name and the type.
    i want to know the transaction code for exit EXIT_SAPLMEKO_002 and  EXIT_SAPLFYTX_USER_001
    data: begin of it_modsap occurs 0,
            name   type modsap-name,
            typ    type modsap-typ,
            member type modsap-member,
          end of it_modsap.
    type-pools:slis.
    data:wa_layout type slis_layout_alv.
    data:it_sort   type slis_t_sortinfo_alv.
    data:wa_sort   like line of it_sort.
    parameters:p_exit type modsap-member.
    select * from modsap into table it_modsap where member = p_exit.
    read table it_modsap index 1.
    select * from modsap into table it_modsap where name = it_modsap-name.
    wa_layout-colwidth_optimize = 'X'.
    wa_sort-fieldname = 'NAME'.
    wa_sort-tabname   = 'IT_MODSAP'.
    wa_sort-up        = 'X'.
    append wa_sort to it_sort.
    clear  wa_sort.
    call function 'REUSE_ALV_GRID_DISPLAY'
      exporting
        i_callback_program = sy-repid
        i_structure_name   = 'MODSAP'
        is_layout          = wa_layout
        it_sort            = it_sort
      tables
        t_outtab           = it_modsap.

    HI
    The user exit EXIT_SAPLFYTX_USER_001 is trigered for the below transactions and also postings via IDOC.
    'ME21' 'ME21N' 'ME22' 'ME22N' 'ME23'  'ME23N' 'ME31L'  'ME31'   'ME32L' 'ME32'  'ME33L'  'ME33' 'ME38'   'ME39'  'VL31N'  'VL32N' 'VL33N'.
    This is basically used for tax calculation purposes.
    The user exit EXIT_SAPLMEKO_002 is trigerred for multiple transactions of purchansing scenario.
    Also use user exit for your business scenario.
    Br
    Vijay V

  • I seem to not enter the correct answers to my security questions for itunes to buy an in-app purchase and also cannot answer the questions exactly like i answered them when creating the account for my ipod, how do i find out what answers i put

    I seem to not enter the correct answers to my security questions for itunes to buy an in-app purchase and also cannot answer the questions exactly like i answered them when creating the account for my ipod, how do i find out what answers i put for my ipod touch and itunes?

    Try these previous discusssions:
    recover answers to security questions: Apple Support Communities
    how do i change apple ID security...: Apple Support Communities

  • On iPhoto, I can no longer access the 'Classic' option which would lay out my photos on the page. It will send them as attachments only. I need the page layout for my work. Any thoughts as to why this has changed?

    On iPhoto, I can no longer access the 'Classic' option which would lay out my photos on the page. It will send them as attachments only. I need the page layout for my work. Any thoughts as to why this has changed? It used to fully lay out the photos so I could add notes and detailed information before I sent them. I am thinking it is something simple that I have just missed...

    The "Photos" view has been replaced by the Media Browser.
    Most applications will show you the Photos icon in the Sidebar, when you need to select photos in a file chooser dialoge. Mail, Safari, the iWork apps. See Terence Devlin's User Tip: How to Access Files in iPhoto
    For example, in the File > Open dialogue in Preview I am seeing this in the sidebar.

Maybe you are looking for