Crystal Report Server Database Log File Growth Out Of Control?

We are hosting Crystal Report Server 11.5 on Microsoft SQL Server 2005 Enterprise.  Our Crystal Report Server SQL 2005 database file size = 6,272 KB, and the log file that goes with the database has a size = 23,839,552.
I have been reviewing the Application Logs and this log file size is auto-increasing about 3-times a week.
We backup the database each night, and run maintenance routines to Check Database Integrity, re-organize index, rebuild index, update statistics, and backup the database.
Is it "Normal" to have such a large LOG file compared to the DATABASE file?
Can you tell me if there is a recommended way to SHRINK the log file?
Some Technical Documents suggest frist truncating the log, and the using the DBCC SHRINKFILE command:
USE CRS
GO
--Truncate the log by changing the database recovery model to SIMPLE
ALTER DATABASE CRS
SET RECOVERY SIMPLE;
--Shrink the truncated log file to 1 gigabyte
DBCC SHRINKFILE (CRS_log, 1000);
GO
--Reset the database recovery model.
ALTER DATABASE CRS
SET RECOVERY FULL;
GO
Do you think this approach would help?
Do you think this approach would cause any problems?

my bad you didn't put the K on the 2nd number.
Looking at my SQL server that's crazy big my logs are in the k's like 4-8.
I think someone enabled some type of debugging on your SQL server, it's more of a Microsoft issue, as our product doesn't require it from looking at my SQL DB's
Regards,
Tim

Similar Messages

  • Crystal Report Server Database question

    Hi,
    I am reading the installation guide for crystal report server.  It said a database is required for CMS.  It also mention about a database for auditing (optional).  I was wondering if they share one database or I have to create one for each?
    Thanks!

    Crystal Reports Server does not support auditing, unfortunately some of the admin guides for BOE and CRS are the same and this gets mistaken many times. If you want auditing then you must buy Business Objects Enterprise and then the previous post is accurate.
    Regards,
    Tim

  • Help! SQL server database log file increasing enormously

    I have 5 SSIS jobs running in sql server job agent and some of them are pulling transactional data into our database over the interval of 4 hours frequently. The problem is log file of our database is growing rapidly which means in a day, it eats up 160GB of
    disk space. Since our requirement dont need In-point recovery, so I set the recovery model to SIMPLE, eventhough I set it to SIMPLE, the log
    data consumes more than 160GB in a day. Because of disk full, the scheduled jobs getting failed often.Temporarily I am doing DETACH approach
    to cleanup the log.
    FYI: All the SSIS packages in the job is using Transaction on
    some tasks. for eg. Sequence Cointainer
    I want a permanent solution to keep log file in a particular memory limit and as I said earlier I dont want my log data for future In-Point recovery, so no need to take log backup at all.
    And one more problem is that in our database,the transactional table has 10 million records in it and some master tables have over 1000 records on them but our mdf file
    size is about 50 GB now.I dont believe that this 10 million records should make it to 50GB memory consumption.Whats the problem here?
    Help me on these issues. Thanks in advance.

    And one more problem is that in our database,the transactional table has 10 million records in it and some master tables have over 1000 records on them but our mdf file
    size is about 50 GB now.I dont believe that this 10 million records should make it to 50GB memory consumption.Whats the problem here?
    Help me on these issues.
    For SSIS part of question it would be better if you ask in SSIS forum although noting is going to change about logging behavior. You can increase some space on log file and also should batch your transactions as already suggested
    Regarding memory question about SQL Server, once it utilizes memory is not going to release unless there is windows OS faces memory pressure and SQLOS asks SQL Server to trim down its memory consumption. So again if you have set max server memory to some
    where near 50 SQL Server will utilize that much memory eventually. So what you are seeing is totally normal. Remember its costtly task for SQL Server to release and take memory so it avoids it by caching as much as possible plus it caches more so as to avoid
    physical reads which are costly
    When log file is getting full what does below transaction return
    select log_reuse_wait_desc from sys.databases where name='db_name'
    Can you manually introduce chekpoint in ETL query. Try this it might help you
    Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it
    My Technet Wiki Article
    MVP

  • Crystal Reports Server XI - what files need to be backed up?

    I don't want to set up a fail over cluster which there seems to be plenty of information on.
    All I want to do is identify what files I need to backup incase I need to do a restore.
    We use Tivoli Storage Manageru2019s backup and recovery solution for backups
    Any help would be appreciated...

    Depends on the complexity of your deployment. Basically, your CMS DB and the FileStore directory are the only objects outside of the application itself that need to be backed up. The CMS DB contains all your security and links to reports, while the FileStore contains all the reports and instances themselves. You want to have the backups of these synchronized, so that you limit the number of report links that point to nothing, or have reports in your FileStore that have no links to them.
    Other than that, if you have made modifications to your deployment to allow for LDAP/AD authentication, modification to server properties to adjust timeouts or orther parameters, etc you should have these documented so that they can be reaccomplished.
    If you have the CMS DB and the FileStore, you can reinstall, point to the CMS DB, point to the FileStore, and be back up and running.
    Those Tivoli backups should not be run on the entire installation volume while the system is up and processing scheduled reports. You will see the backup program report errors, as temp files are being created/destroyed, and executables will be locked. It may still run successfully with errors, but it may also cause issues with the report processing and stability of your system. Depends on how busy it is - it could still run successfully if it's quiet. Recommended best practice is to stop services, backup, start services.

  • Sql server 2005 log file shrinking issue.

    hi,
    one of my production server database  log file size is increasing continuously,we can take log backup but no use,
    we can change the database recovery model from  full to simple we shrink the log file, log file shrink successfully but space is not released,and we are getting the alerts continuously your physical disk is 95% like that.
    here what we can do how reduced the log file size and how to control the log file size.
    please give me the answer  ASAP.
    Thanks,

    Hello,
    In SQL Server, log truncation occurs automatically as follows:
    • Under the simple recovery model, after a checkpoint.
    • Under the full recovery model or bulk-logged recovery model, after a log backup, if a checkpoint has occurred since the previous backup.
    As Dan posted earlier, when we run the above code, we will get an integer value. The log_reuse_wait_desc value tells us why the transaction log space is not reused. You can refer to the article below to check the root cause. 
    http://msdn.microsoft.com/en-us/library/ms345414.aspx
    Regards,
    Alisa Tang
    Alisa Tang
    TechNet Community Support

  • Linux - Oracle - Crystal Report Server XI : Error in File Report1: Failed to load database information.

    I am using Crystal Reports Server XI on Linux Server with Oracle Server 10g.
    I did install Oracle Client on Report Server and config Oracle SID in tnsnames.ora also. It works well with tnsping command. Then, I published a report which was created in Crystal Reports developer on this server.
    When I preview the report on Report Server. I got the following error message:
    Error in File Report1: Failed to load database information.
    Try to fix the problem I ran web Central Management Console -> Objects ->Report1->Process -> Database and set there the following parameters:
    Database driver: Oracle
    Server: servers_host_name
    Database: (tried both ORACLE_SID and tns_name)
    User: oracle_user_name
    Password: oracle_pw
    It still got the same problem.
    I will appreciate any help.
    Tham.

    I was having a similar problem in Crystal Reports Server 2008 v1, and had to install the full client to resolve it, which I didn't like.  I poked around some, and was able to get the Instant Client working with a few minor changes.  Note that I tried it only with the 32-bit Instant Client even though I was on a 64-bit system because that was what SAP recommended when I talked to them.
    The changes I had to do was initialize the Oracle environment variables (the instant client doesn't have a script to do this for you) and to create a soft-link which is included in the full client, but not in the instant client.
    To setup the environment variables I created a file called env.sh and put it in /opt/crystal/bobje/setup/oracle/, where /opt/crystal was my install path.  This ensured that it got called by the /opt/crystal/bobje/setup/env.sh script which runs as part of the System init scripts to initialize the environment.  The following is what I put in my file (again for the 32-bit 11g R2 instant client):
         export ORACLE_SID=summitdb
         export ORACLE_HOME='/usr/lib/oracle/11.2/client'
         export ORACLE_BASE='/usr/lib/oracle/'
         export TNS_ADMIN='/usr/lib/oracle/11.2/client/network/admin'
         export PATH="$:/usr/lib/oracle/11.2/client/bin"
         export LD_LIBRARY_PATH="$$/usr/lib/oracle/11.2/client/lib"
    After that, I created the missing soft link using this command:
         ln -s "$/lib/libclntsh.so.11.1" "$/lib/libclntsh.so.10.1"
    Once I had done those two things, and restarted the service using the /etc/init.d script, it worked fine.

  • Crystal Report Server XI Report recurring instances do not work. Logs?

    I have scheduled a report to be run every morning, and each instance return status is "success". However, I encountered the following problem when I try to view instances of the report: There is a long time period of waiting (seems to be waiting for some kind of timeout), and then eventually the message: "A request was cancelled. The necessary security privileges could not be verified. This indicates a problem with the security server."
    I also noticed that in event viewer (windows server 2003) I see many failure audits to login to the sql database, and the events contain the login used in my data source.
    It's interesting to note, that when I run a single instance of the report "Now" there is no problem.
    Some info about the report which may be relevant:
    The report uses 2 formula fields to auto-parameterize 2 of the 5 parameters used by a subreport. The other 3 subreport parameters are set when scheduling the report.
    The subreport uses a call into a stored procedure in a MS SQL server 2005 database to retrieve its records.
    The 2 fields which are parameterized are datetime fields (StartTime, EndTime), and the main report is basically just a wrapper to only show the previous day.
    JDBC data source to local Sql server instance.
    Also, the crystal report server XI install uses the same sql server instance to store CMS data under a separate database.
    I'm stumped on this.
    Has anybody encountered this problem?
    Is there a simpler way to auto-parameterize the report?
    Why are the failure audits occurring when I view the instance of the report? Is this because the instance is setup to use RPT output format?
    Are there logs I can look into aside from event viewer? I can't find anything that looks relevant under program files, but perhaps I missed something.
    The failure audits would make more sense to me if it occurred with the other report instances, but some instances are shown correctly, and some just do this timeout thing.

    Please post this query to the Business Objects Enterprise Administration forum:
    BI Platform
    That forum is monitored by qualified technicians and you will get a faster response there.
    Thank you for your understanding,
    Ludek

  • Crystal Report Server 2008 - Out of Memory in Event Server

    Hi All,
            We run a Crystal report Server 2008 on a Windows 2003 Server Std Edition, with 4 GB of Memory and enough Harddisk space(C: More than 25 GB and D: around 155 GB).  The Server is running with MS SQL Server 2005 and CRS 2008 on MySQL and Tomcat.  Other than this there is a transactional application running using MS SQL Server 2005 which creates a new database everyday. 
           We have Scheduled reports which were working fine for an year, since last month we were getting the "Out of Memory in the event Server" error and the CRS stops to schedule reports, only after restarting the server and SIA it allows us to schedule the jobs in time.  But this happens every once in 2 days.  Am not sure what is causing this problem.  Currently there are no backup jobs running and no OS Scheduled jobs are running and also no error messages in the Application log other than the "Out of Memory in the Event Server".
           Could anyone help to sort out what may cause this?
    Thanks
    Senthil

    Hi
    I strongly believe that what you are seeing here is a bug. I would suggest to open a case by SAP support immediately (http://service.sap.com/support)
    Regards,
    Stratos

  • Crystal Report Server 2008 - Schedule/Process/History Grayed Out on CMC

    Hi - I'm using Crystal Reports Server 2008 (11.5) and am unable to schedule reports - the schedule (as well as the Process and History) tabs are greyed out in the Central Management Console and don't appear at all in Infoview. In addition I can specify the database when I setup a new report or when using the Publishing Wizard to import files I don't get the dialogue about scheduling.
    Am I missing something?
    Thanks

    Can you please try one of the CRS 2008 keys from the folowing file?
    [https://service.sap.com/~sapidb/011000358700000213152009E]
    Regards,
    Stratos
    PS: You can change the license keys in the CMC.

  • Crystal Reports Server 2008 trial install - unable to log into CMC

    Hi,
    I have been looking for a way to host my existing Crystal XI reports on our in house web application rather than using a thick client application with cview. I was told that the options were Crystal Reports Server 2008 or Visual Studio 2008. I have downloaded trials of both and am currently testing.
    After installing Crystal Reports Server 2008, including MySQL DB and Tomcat web server, i am unable to log into any of the applications with the error that:
    Error: Server SCOTTPC:6400 not found or server may be down (FWM 01003) null
    After seeing this i checked the services on my test machine and found that the Server Intelligence Agent was not started. So i tried starting it and recieved the generic windows message:
    Service on local computer started and them stopped. Some services stop automatically if they have no work to do ... etc
    After multiple reboots and reinstalls i am still unable to use any aspect of the application as i am unable to log into the CMC as the server is down. Now i am new to Crystal reports and web servers so have a very limited knowledge of whats going on here - i am primarily a DBA. From what i can tell MySQL does not even appear to be installed but i cannot be sure.
    Any suggestions?

    ok... after research it seems a DSN has not been created.
    Also when trying to start the server intelligence service i see the following in the application event viewer:
    [Node Name: SCOTTPC]
    [User Name: SYSTEM]
    Server Intelligence Agent has failed to initialize because the bootstrap file C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\_boe_SCOTTPC.bootstrap is missing information about the CMS cluster. Please restore your bootstrap file from your backup.
    i have recreated the bootstrap file but still get the same error.
    i have SQL Server 2005 installed on this rig as well - could this be causing the issue? Would it be better for me to integrate this to SQL Server rather than using the MySQL DB that comes with Crystal server 2008?

  • Failed to load database information. Crystal Reports Server 2008

    Received the following error message:
    Error in File Relatorio4: Failed to load database information.
    I'm trying to run a report Crystal Reports 2008 in Crystal Reports Server 2008.
    Configuration:
    Driver connection: Oracle Server
    Server: Windows Server 2003 R2
    Any help would be appreciated!

    Hi   Vilari,
    What is the drivers you are using to connect to your database.
    Just check with the connection type  you are using.
    Is  the SQL connection with user credentials are working fine.
    Just try to connection with SQL 2000 drivers rather than 2005 native client drivers.
    Thanks,
    Naveen.

  • RIDICULOUS Crystal Reports Server XI R2 SP4 - Installing - missing cab file

    Unsympathetic SAP rep Don Williams wrote in a now closed thread,
    Subject: Re: Crystal Reports Server XI R2 SP4 - Installing - missing cab file : m293.cab
    Message: Hi All,
    There is no incremental SP4 service pack for Crystal Reports Server XI R2 and no plans to build one.
    Your ONLY option is to back up your CMS and Data store, un-install and then install from the FTP link.
    The downloadable file from the support site is broken and they are working on fixing it and it is/will be the full build also.
    Closing this post now.
    Thank you for your understanding
    Don
    Frankly, this is outrageous.  This issue has been open for close to 5 months.  Rather than simply updating the SP4 incremental update with the correct files, SAP's brilliant response is to tell us that the file is STILL broken, but ***** you, whenever we fix it it will be the full build only.  Well, thanks!  That makes it so much easier.  Rather than looking at Crystal Reports 2008, maybe it's time to suck it up and look elsewhere,
    Here's hoping SAP decides to do the right thing.  I'm sure everyone on the original thread would be interested.

    Hi Falk,
       Yes, I am downloading it from a Win2003 machine. The browser is IE7.
       I can even see what's inside the m293.cab, and it is not the file mentioned on the error message...
       This is the m293.cab content (one file):
       tslv.dll.7ADA0B91_68E0_4E90_AD3D_23C9E3079BAB
       The file doesn't seem to be corrupted, it just doesnt have what was expected by the installer software.
       I tried downloading it again and had the same result... These are the installation files that I've already tried with the same result:
        - crsxir2win_sp4.exe (from [https://smpdl.sap-ag.de/~sapidp/012002523100009887052008E/crsxir2win_sp4.exe])
        - 1401492085.exe (from [https://businessobjects.subscribenet.com/control/bobj/product?cert_num=48316663&child_plneID=30801])
       The next one was not the rigth package:
         - boXIwin_sp2.zip (from [https://smpdl.sap-ag.de/~sapidb/012002523100005931922008E/boXIwin_sp2.zip])
       I uploaded the servicepack4 part of the log where the error appears:
      [ftp://ftp.businessobjects.com/pub/incoming/sp4LogPiece.txt]
    Thanks,
    Marcos

  • Crystal Reports Server :Unable to connect: incorrect log on parameters

    Hi there, I am getting the following error in Crystal Reports Server  when i try to preview or schedule a Crystal Report on an Access 2000 database.
    Unable to connect: incorrect log on parameters
    The Access database does not have has not username or password and I have left these blank when publishing it, and the Database properties in the Central Management Console also show the username and password as blank.
    All other reports are fine is it just reports on the Access 2000 database that give me this errror.
    Anyone any ideas.
    Thanks

    Hi,
    ok now you have to make ure that the user used to run the BOBJ services on your BO server (if you hvae windows then this is the local system account), has access to your AccessDB. Normally local users do not have access to network locations so it is advisable to create a domain user, who is allowed to access the directory with your database and is melber of the local administrators group on the BOBJ server. All you have to do then is to  configure your BOBJ services (Use the Central Configuration Management utility to do this) to run under the credentials (Log-on-as) of user you created.
    Regards,
    Stratos

  • How to design SQL server data file and log file growth

    how to design SQL DB data file and log file growth- SQL server 2012
    if my data file is having 10 GB sizze and log file is having 5 GB size
    what should be the size in MB (not in %) of autogrowth. based on what we have to determine the ideal size of file auto growth.

    It's very difficult to give a definitive answer on this. Best principal is to size your database correctly in advance so that you never have to autogrow, of course in reality that isn't always practical.
    The setting you use is really dictated by the expected growth in your files. Given that the size is relatively small why not set it to 1gb on the datafile(s) and 512mb on the log file? The important thing is to monitor it on an on-going basis to see if that's
    the appropriate amount.
    One thing you should do is enable instant file initialization by granting the service account Perform Volume Maintenance tasks in group policy. This will allow the data files to grow quickly when required, details here:
    https://technet.microsoft.com/en-us/library/ms175935%28v=sql.105%29.aspx?f=255&MSPPError=-2147217396
    Also, it possible to query the default trace to find autogrowth events, if you wanted you could write an alert/sql job based on this 
    SELECT
    [DatabaseName],
    [FileName],
    [SPID],
    [Duration],
    [StartTime],
    [EndTime],
    CASE [EventClass]
    WHEN 92 THEN 'Data'
    WHEN 93 THEN 'Log' END
    FROM sys.fn_trace_gettable('c:\path\to\trace.trc', DEFAULT)
    WHERE
    EventClass IN (92,93)
    hope that helps

  • Crystal Reports Server - Sub Reports requesting SQL Log In

    I have a Sales report which has four subreports. The main report has parameters for year and four product groups. The year parameter and one of the product group parameters are passed to each subreport. When I run the report in Crystal Reports only one SQL log in is requested.  When the report is run from Crystal Reports Server the SQL log in for he main report is handled automatically by CR Server but the report then prompts for 4 SQL logins, one for each subreport.  I am not using integrated securirty. How can I prevent the four SQL log ins?

    Hi Tony,
    From the question that you have posted, we would like to know the following things: -
    1. Are the main report and the subreports using the same database connection?
    2. Which type of viewer are you using in Infoview to view the reports?
    3. How many connections do you see in the Database Source under Process Tab in the properties of the report in CMC?
    Usually this issue can be resolved by using ActiveX or Java Viewer in the Enterprise.
    Please try chaning the viewer and let us know if it helps.
    Cheers!

Maybe you are looking for

  • Field Merge in Subject Line - Increasing the Hard Bounce Rate?

    Hey All, We did a little A/B test recently. By "little" I mean two different tests, 250 recipients in each test). We wanted to test the option to insert Field Merge in the Subject Line. We took 10% of 2 specific groups of costumers and sent the two o

  • Digital Signature in ECC 5.0

    Dear All, Can anyone please confirm if we can configure Digital Signature with ECC 6.0 only? It's because I am currently working in ECC 5.0 and require to use digital signature in Form16. Regards, Amit Srivastava

  • Facebook App Updates???

    Are there any Facebook app updates in the near future? I own the LG Ally and the Facebook app that came installed on the phone keeps saying "Error while fetching data [null]" everytime I go into the News Feed, and when it does work it's all old posts

  • Question about trigger to check the number of open cursors

    Hello. I wonder if it is possible to create a trigger that fires when the number of open cursors in a database becomes larger than a certain number. What kind of trigger and how would it be? If it were possible the trigger would write traces with the

  • Do I have to locally host my DNS Server to have iCal Services work?

    I have my registrar handling my DNS hosting and have set up an A record for what I'm putting into my "Host Name" field in the iCal Service setting. Is this correct? The error dialog that pops up is: "No virtual host found for iCal service More inform