Sharepoint 2013 - WSS content LOG file very very big

Hi there.
Sharepoint 2013 with latest updates.
WSS CONTENT database size is cca 110GB, LOG FILE is 90GB.
Even if we did FULL backup of databes that does not decrease LOG file size.
Any hints how to lower the size of LOG data file?
With best regards
bostjanc

Hi Bostjan,
I wonder whether the issue can be resolved by shrinking log file.
Shrinking data files recovers space by moving pages of data from the end of the file to unoccupied space closer to the front of the file. When enough free space is created at the end of the file, data pages at end of the file can deallocated and returned
to the file system.
Here is the reference for Shrink a File in SQL 2012 for your convenience:
https://technet.microsoft.com/en-us/library/ms190757(v=sql.110).aspx
Regards,
Rebecca Tu
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected]

Similar Messages

  • Open SharePoint 2013 Search Results (EML files) In The Client Application

    Hi, I have a problem about using sharepoint 2013 search for EML files:
    When i click on the search result link *.eml, the browser open for the email file, i can only view the content of the EML file, but actually i want to see the full info of it like using an email client application outlook express including From:,To:,Date:,Subject:,ect.
    How can i click on the search result link to open an email client application to view the result?
    Thanks a lot.

    Hi  ,
    According to your description, my understanding is that you want to open SharePoint 2013 Search Results (EML files) in the Client Application.
    For your issue, you can follow the steps as the blog’s:
    http://www.quercussolutions.com/blog/index.php/opening-eml-file-types-in-outlook-from-sharepoint-2010/
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • Alert SID .log file size too big ,How to keep it under control

    alert<SID>.log file size too big ,How to keep it under control?
    -rw-r--r-- 1 oracle dba 182032983 Aug 29 07:14 alert_g54nha.log

    Metalink Note:296354.1

  • BPC log files very large

    Hi All, 
    our BPC log files are very large compared to the data files. our
    we have separate disks for data and log files:
    DATA D:\ = 550GB total
    LOG E:\ = 278GB total
    D:\ICTSI_BPC.mdf = 5.6GB
    E:\ICTSI_BPC_log.ldf = 185GB
    is this correct?  i have read that Log file should roughly be 25% of the
    size of the total amount of data. Example: a 4GB database should have a
    1GB log file.  How can we adjust the size of the SQL log file?
    we are using a multiserver set up, SAP BPC 7 SP04 (32bit)
                                       MS SQL 2008 Server (64 bit)
    thanks in advance!

    Hi Jeb,
    Do you already backup the database from the SQL Server ? Because in my server there is once when the log file is bigger then my database and that's because the backup schedule is not working.
    So what i do is , do the backup manual from the sql server and the log file will shrink automatic.
    After that , i create the automatic backup schedule again.
    Hope this information helps.
    Suprapto

  • Sync Services Log file very large

    user>library>application support>sync services>local
    My Sync Services log file was over 111 Gb. It appears to grow in size every day. I have reset SyncServices per Apple. http://support.apple.com/kb/TS1627
    I even deleted the contents of the local folder (not recommended per apple, but seems fine) and still my syncservices.log grows and is taking over my hard drive.
    I use Entourage and Sync Services is used to Sync iCal/Address book (then for my iPhone sync).
    Any suggestions to stop this out of control log?!?

    Hi,
    Increasing the size of the redo logfile size may reduce the number of switches as it takes time to fill the file up but your system's redo generatin will stil be the same. Reduce the frequent commits.
    Use the following notes to further narrow down the possible root cause.
    WAITEVENT: "log file sync" Reference Note [ID 34592.1]
    WAITEVENT: "log file parallel write" Reference Note [ID 34583.1]

  • Uploading multiple documents into sharepoint list item with REST in sharepoint 2013 using content editor web part :

    hi ,
    i am trying to upload multiple document files into sharepoint list item. I followed below link for implementaion.
    http://techfindings-prem.blogspot.in/search/label/jquery.multifilejs
    It was working for sharepoint hosted app.
     This complete code is written within content edito web part.
    It was working when i was in root site collection with below change (hard coded the root level url) in code in "UploadFile" function.
    var scriptbase = "http://servername" + "/_layouts/15/";
                console.log(' File size:' + bytes.length);
                $.getScript(scriptbase + "SP.RequestExecutor.js", function () {
                    var createitem = new SP.RequestExecutor("http://servername");
                    createitem.executeAsync({
                        url: "http://servername/sites/cpg/" + "/_api/web/lists/GetByTitle('SalesRecord')/items(" + attachmentitemid + ")/AttachmentFiles/add(FileName='"
    + fileName + "')",
                        method: "POST",
                        binaryStringRequestBody: true,
                        body: binary,
                        success: fsucc,
                        error: ferr,
                        state: "Update"
                    function fsucc(data) {
                        //alert( data.statusText + "\n\n" + data.responseText);
                        console.log(data + ' uploaded successfully');
                        deferred.resolve(data);
                    function ferr(data) {
                        //alert( data.statusText + "\n\n" + data.responseText);
                        console.log(fileName + "not uploaded error");
                        deferred.reject(data);
    But the issue came in picture when i was working with the other site collection instead of root one. The url was like below.
    "http://servername/sites/cpg/". This time i need to be there within "cpg" site collection. 
    Now if i hard code the url as i did above my code gets break here while come to below line
     $.getScript(scriptbase + "SP.RequestExecutor.js", function () {
    I am getting error when i used below code:
    var scriptbase = "http://servername" + "/_layouts/15/";
     $.getScript(scriptbase + "SP.RequestExecutor.js", function () {
                    var createitem = new SP.RequestExecutor("http://servername");
                    createitem.executeAsync({
                        url: "http://servername/sites/cpg/" + "/_api/web/lists/GetByTitle('SalesRecord')/items(" + attachmentitemid + ")/AttachmentFiles/add(FileName='"
    + fileName + "')",
                        method: "POST",
                        binaryStringRequestBody: true,
                        body: binary,
                        success: fsucc,
                        error: ferr,
                        state: "Update"
                    function fsucc(data) {
                        //alert( data.statusText + "\n\n" + data.responseText);
                        console.log(data + ' uploaded successfully');
                        deferred.resolve(data);
                    function ferr(data) {
                        //alert( data.statusText + "\n\n" + data.responseText);
                        console.log(fileName + "not uploaded error");
                        deferred.reject(data);
    Please hekp in this case. This complete code is written within content edito web part. 
    Regards:
    Sanjay Joshi

    Hi,
    According to your post, my understanding is that you have an issue about upload multiple documents files into library vai REST API.
    As you have said, you have used the hard code url in your code.
    How about use the _spPageContextInfo.webAbsoluteUrl method to get the url?
    I have used this method to get the url, then use the code in the article you have pasted within a content editor web part to upload the files.
    You can replace the hard code url with the _spPageContextInfo.webAbsoluteUrl method, then check whether it works.
    Thanks,
    Jason
    Jason Guo
    TechNet Community Support

  • Hosting SharePoint 2013 and content separation (Windows Server 2012)

    I have a windows 2012 server which hosts a ASP.NET 4.5 MVC website.
    I am interested in installing SharePoint 2013 on the same standalone server (which is a virtual cloud server, and easily scalable). I would like to be able to create separate instances of sharepoint for each of my customers (around 10), and provide them
    with a custom URL ie. customer.abc.com (where abc.com is my domain). These sites will be created programmatically when a user signs us to my site (they only require basic SharePoint functionality, i.e. the creation of team sites, notifications etc.)
    So:
    1) Can I install SharePoint 2013 at no extra cost on windows server 2012? (what are the limitations)
    2) Is it possible to create separate instances of sharepoint 2013 (in terms of config and content DB's)
    3) I'm sure there are many but what are some other considerations

    1) With SharePoint Foundation, SharePoint itself does not cost anything, but you must purchase User CALs for employees of your company, and User CALs for non-employees or a Windows External Connector license.
    2) No, you need to use multi-tenancy instead - http://www.harbar.net/articles/sp2010mt1.aspx
    Note that you must have Active Directory in this environment and the Server 2012 VM you currently have must be joined to the Active Directory domain.
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • SharePoint is not crawling .Log File Types

    Does a default SharePoint Search installation understand and know how to crawl .log file types?  "log" was added as an allowable file type.  Is there a specific iFilter needed?  Thanks for any tips provided.

    Hi obautista,
    This is by design, because the default ifilter installed with SPS2010 does not support .log type.
    Please refer to
    File types and IFilters reference (SharePoint Server 2010)  
    To index .log type file, you need to install an ifilter, unfortunatelly, i didn't find any ifilters for that.
    If you do need this feature, you may want to write your own ifiter.
    Refer to:
    How to Build an IFilter for SharePoint 2010 Search and Windows Search Using C++, ATL, and MFC
    Best Regards,
    Tom
    Microsoft Online Community Support
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to
    other community members reading the thread.

  • 'Share' functionality in SHarePoint 2013 - Prevent access to files

    Hello
    I have a client that has just moved to SP2013 and they used the send document link as hyperlink in email functionality of SharePoint 2010 regularly.  THis was good for them because if the link was sent to a user that did not have access to a document
    then they couldn't open it.
    I would like to do the same thing in the 2013 environment and I have been making use of the 'Share' functionality.  This does not seem to be working as if the Share functionality is used then the users specified get access to the document regardless
    of their permissions. 
    Is there a way to stop users from opening documents if they are accidentally sent a link to a document they don't have access to??  it seems the 'Share' functionality overwrites it.

    There are a few ways to do it:
    http://www.sharemuch.com/2013/07/25/how-to-disable-sharesynchfollow-buttons-on-the-sharepoint-2013-ribbon/
    http://www.sharepointdiary.com/2013/12/sharepoint-2013-share-functionality-faqs.html
    http://removesharefollow.codeplex.com/
    http://www.eliostruyf.com/hiding-the-social-actions-follow-share-from-the-document-libraries-in-sharepoint-2013/
    Disabling Access Requests should disable the Share feature.
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Exchange 2013 - Cleaning UP logs files (Client Access Server)

    I have to client access server and it is running out of space
    Is there anywhere in the C:\ drive where I can delete some space (e.g. log files)

    Hello,
    If you refer to C:\inetpub\logs\LogFiles, you can delete them manually or use a Powershell script to delete them.
    Here is the similar thread for your reference.
    http://social.technet.microsoft.com/Forums/exchange/en-US/703dc324-721e-4c52-b43a-263b5543cfda/how-to-control-iis-logs-on-cas-server?forum=exchange2010
    If you refer to other log files, please free let me know.
    If you have any feedback on our support, please click
    here
    Cara Chen
    TechNet Community Support

  • Pls immediate help required  log files are getting big size than 1GB

    oc4j_DBConsole_mbcvizpilot3.mbc.uae_vizrtdb\log

    Do as follows :
    - stop EM
    - rename log directory to log.old
    - create a new log directory
    - restart EM
    - check that new log files have been created in the new log directory
    - after checking that everything works fine you can remove the old directory.
    You shouldn't have any problem, at least I didn't have any...

  • Sharepoint 2013 Does not open files using UNC path from Server

    Hi All,
    Just setup our new 2013 sharepoint intranet site , I tried adding a hyperlink to a document stored on our server using a UNC path file://servername/share/filename.doc but when i click on it it takes me to a blank Webpage in a new tab.
    I have turned on "open client applications" in the site collection features hoping that would help ....buuuuuut it did not.
    Also tried variations in the UNC path eg: \\servername\share\filename.doc etc..
    Any help would be greatly appreciated
    Thanks

    Open start run > type > file://servername/share/filename.doc Does this works
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/63b229de-ce4a-42be-b209-2c0f33d4b0d5/problem-opening-an-access-file-from-a-unc-file-link-in-sharepoint?forum=sharepointgeneralprevious
    Actually the problem I described is an Internet Explorer issue and I will try to get resolution in the appropriate forum.  IE exhibits the described behavior whether the link is in a Sharepoint site page, or in a regular non-Sharepoint web page. 
    Mozilla does not have the issue.
    Check below:
    http://social.msdn.microsoft.com/Forums/en-US/3f2c34cc-5686-4e03-ba26-092aaa29ff33/link-from-document-library-to-unc-path
    If this helped you resolve your issue, please mark it Answered

  • SharePoint 2013 Folder Content Types

    Hi,
    In SP2013 I have library with a default content type (IT Library Content Type) that I want to change when a file is placed in a particular folder in this library.
    The default content type order for this folder has been changed to a different content type 'Issues' and should be the only content type shown when the edit page is presented. However, when a file is added to this folder, a Content Type selection
    listbox is presented showing 'It Library Content Type' as the default selection with the 'Issues' content type available for selection.
    Desired behavior is to have 'Issues' content type columns presented, with no content type selections seen, when the Edit Page is shown.
    Thanks

    Hi,
    As you said about Folder content type in SharePoint, I supposed that you were talking about Document Set content type.
    If I misunderstood, please feel free to correct me.
    If that is the case, the issue is by design that the default content type will be available when uploading or editing documents inside the document set even though the content type is not added in the allowed content types in Document Set settings. And the
    default content type of the library will be set the default selection when editing or uploading documents inside the document set.
    As a workaround, I recommend to set the allowed content type as the default content type in the document library.
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • SharePoint 2013 Custom Content Type with Site Column custom validations

    Hello,
    Can somebody please suggest me how I can create custom content type with site columns with custom validation to site columns programmatically?
    Thanks,
    Praveen Kumar Padmakaran

    Hi,
    From your description, my understanding is that you want to create content type with site column with validation.
    You could create a site column, and add some validation to the site column. After you could create a custom content type, please add the site column with validation to the content type. Please refer
    to this code below:
    static void Main(string[] args)
    // replace your url
    using (SPSite site = new SPSite("http://sp/sites/sp2013"))
    using (SPWeb web = site.OpenWeb())
    //define the type of the field
    SPFieldType type = SPFieldType.Number;
    // create a site column
    SPField field = CreateSiteColumn(web, "newTest", type, "");
    // add custom formula for the field
    SPFieldNumber fieldNumber = web.Fields.GetField("newTest") as SPFieldNumber;
    fieldNumber.ValidationFormula = "=[newTest]>5";
    fieldNumber.ValidationMessage = ">5";
    fieldNumber.Update();
    SPContentTypeId parentItemCTypeId = web.ContentTypes[0].Id;
    // create custom content type
    SPContentType contentType = CreateSiteContentType(web, "newContent", parentItemCTypeId, "Custom Content Types");
    // add the site column to the content type
    AddFieldToContentType(web, contentType, field);
    // add fiedl to contenttype
    public static void AddFieldToContentType(SPWeb web, SPContentType contentType, SPField field)
    if (contentType == null) return;
    if (contentType.Fields.ContainsField(field.Title)) return;
    SPFieldLink fieldLink = new SPFieldLink(field);
    contentType.FieldLinks.Add(fieldLink);
    contentType.Update();
    // create a custom content type
    public static SPContentType CreateSiteContentType(SPWeb web, string contentTypeName,SPContentTypeId parentItemCTypeId, string group)
    if (web.AvailableContentTypes[contentTypeName] == null)
    SPContentType itemCType = web.AvailableContentTypes[parentItemCTypeId];
    SPContentType contentType =
    new SPContentType(itemCType, web.ContentTypes, contentTypeName) { Group = @group };
    web.ContentTypes.Add(contentType);
    contentType.Update();
    return contentType;
    return web.ContentTypes[contentTypeName];
    // create a site column
    public static SPField CreateSiteColumn(SPWeb web, string displayName,SPFieldType fieldType, string groupDescriptor)
    if (!web.Fields.ContainsField(displayName))
    string fieldName = web.Fields.Add(displayName, fieldType, false);
    SPField field = web.Fields.GetFieldByInternalName(fieldName);
    field.Group = groupDescriptor;
    field.Update();
    return field;
    return web.Fields[displayName];
    You could refer to these articles:
    C# code to create Site Column, Content Type, and add fields to Content Type
    http://spshare.blogspot.jp/2013/10/c-code-to-create-site-column-content.html
    How to do custom validation for site column in SharePoint
    http://www.c-sharpcorner.com/uploadfile/anavijai/how-to-do-custom-validation-for-site-column-in-sharepoint/
    Best Regards,
    Vincent Han
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected].

  • SharePoint 2013 PowerShell Command Log - similar to Exchange EMC powershell logging

    Is there any kind of logging that tracks the powershell cmdlet equivalent of the operations being performed in the SharePoint Central Admin GUI?
    similar to how you can view the powershell equivalence logging from inside the exchange management console?
    if it isn't a feature you can enable, or something that comes out of the box; is there any third party tools that could track/correlate that king of information?
    I find those powershell cmdlet logs extremely useful
    I have conducted various searches and cannot find any information on this topic.

    It does not. The tooling is dramatically different as is the way that you interact with the application.
    In theory MS could do something like it for vNext and the cloud (that'd be great) but it's not really viable for 2013 due to the complexities of the interaction.

Maybe you are looking for

  • Ipod touch not recognised by win7

    Hi I have 2 ipod touch 2nd Gen 8gb. 1 works fine when I plug it into my laptop or any PC. The other one won't get recognised by any computer I plug it into, I keep getting a USB not recognised error. Does anyone have any ideas? I believe the Ipod was

  • How to Hide buttons in HCM forms

    Hi Experts, In "Transfer" forms, with out filling mandatory fields if I press button "Check and Send" then I get a extra button called "Continue". When I click on "Continue" it takes me to the next page without asking me to fill mandatory fields. Her

  • I can't get the send button in iMessages to work

    iMessages was working well when I bought my iPad in February. Now the send button stays down and I have to reset iMessages every time I want to use it, and then I can only send one message . Does anyone have any ideas on what it's wrong?

  • Dragging file on desktop

    Hello, When I try to duplicate a file on the desktop and I am dragging it on the desktop while holding the Option key, I am facing a strange behavior. If, at that time a Safari window, or a Mail window, is opened, it is closed, but the software is no

  • Adding a blog without Business Catalyst

    I can't be the first to ask about this: Clients want blogs added to their site but do not want to opt for Business Catalyst hosting. What options are available that allow the creation of a blog that will integrate well with a non-BC site, and that wi