on 09-14-2012 10:01 PM
Using B1 8.82 PL06 HF. The B1if database is over 50 gigabytes. The B1if log file is 8 gig. The company database is only 1.2 gig.
How did B1if get so big? We have not done any integration other than using the prebuilt dashboards that are already in SAP.
How may I reduce the size of the database? Please don't tell me to shrink the log file as it is not the problem. I have also manually deleted the message log through the framework and set it to delete daily.
I can uninstall the integration piece and reinstall, but, is it going to happen again?
Alan
I had to reinstall the integration as none of the other solutions worked. I will monitor it to see if it grows quickly again.
Alan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Alan,
Before That Have you check the Log size growth under SQL
You can monitor log space use by using DBCC SQLPERF (LOGSPACE). This command returns information about the amount of log space currently used and indicates when the transaction log is in need of truncation. For more information, see DBCC SQLPERF (Transact-SQL). For information about the current size of a log file, its maximum size, and the autogrow option for the file, you can also use the size, max_size, and growth columns for that log file in sys.database_files. For more information, see sys.database_files (Transact-SQL).
Hope Helpful
Regards
Kennedy
Hi all,
The potential reasons:
1.too many messages triggered. Please try to setup the event filter.
2.too many retry attempt of failure messages. Please find the root cause of failure if you have any custom development scenario here.
Here is some Best Practices for B1if/B1iSN DB Administration:
Kind Regards, Yatsea
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Yatsea,
Thank you for your suggestion,
I've a few question....
Thanks & Regards,
Hendra
Hi Starling,
EventFilter in EventServer: go to (Windows) Start -> All Programs -> Integration Solution for SAP B1 -> SAP Business One EventSender -> Setup -> Step 4/5
or/and
Start -> All Programs -> Integration Solution for SAP B1 -> Integration Framework -> Maintenance-> Cfg B1 Event Filter
Switch off message log for B1Event Monitor: Start -> All Programs -> Integration Solution for SAP B1 -> Integration Framework -> Monitoring -> B1 Event Monitor
and Message Log: Start -> All Programs -> Integration Solution for SAP B1 -> Integration Framework -> Maintenance -> Cfg MsgLog
Set transaction log level to to SEVERE in xcellerator.cfg: I'm not quite sure, for the sake of simplicity in production env. I set all of lines in the bottom of this file to SEVERE - the whole section is named '#== Settings for the Logging: ==='
Best regards,
Radek
Hi,
I had once the same problem. Check Your settings in B1if in Maintenance->Cfg MsgLog. You can also try to Manual Deletion. Left Range empty and it show You how much message You have stored in Your database. Then You can delete them. It should help. In that case shrinking database doesn't help.
Regards
Szymon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I had similiar problem, my B1if database MDF file is so big, almost 60GB, the log file ldf only 500MB
what file is hogging data file B1if ? I only use it for mobile approval...
How can I make the MDF smaller ?
@symon
I've tried delete manually on cfg msglog, but it doesnt change anything...
I'm on SBO 8.82 PL 6 SQL 2008 R2, with simple recover for B1if
please help.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Gordon,
I have already had it on SIMPLE recovery mode and have tried backing up and shrinking the db, but, it doesn't shrink and in fact, since I posted this it has grown another 2 gig. What on earth would be making it grow so much when the company's production B1 database is only 1 gig?
Alan
Hi Alan,
B1if file is for the integration framework of sap business one.
So, I suggest you to check what the recovery model has been chosen for the db. I suggest you to change to simple if it is full.
You can also remove the B1if if it is really never used and then created again by reinstalling integration component
Regards,
Jimm
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Alan,
First make a backup
Then use this to reduce the log
DBCC SHRINKFILE ('NAME OF THE FILE LOG', 1) -- 1 EQUAL TO 1mb
GO
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
100 | |
12 | |
11 | |
6 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.