Server Management - Systems Insight Manager
1832938 Members
2770 Online
110048 Solutions
New Discussion

SQL Logfile Space

 
SOLVED
Go to solution
Derek_31
Valued Contributor

SQL Logfile Space

I've had SIM 4.1 running on a server for a while now. The other day SQL is now complaning that the SQL log file for Insight ran out of space. I went into SQL and did a shrink and a full backup. It shows a lot of free space on the database tab, but Insight can't connect up without a ton of log file full messages on the SQL server.

What can I do?
2 REPLIES 2
So Def
Frequent Advisor
Solution

Re: SQL Logfile Space

I had the same problem. My sql database was 10 Gig. Half of it was the log file.
You can control the SQL filesize and still have SIM running smoothly by:

Ensure the database model is set to simple.
Enable the autoshrink option. Automatically grow option for both the database and log file should be enabled as well as the unrestricted file growth.

Create an automatic event to delete events older then e.g. 2 months.
You can do this by setting up a custom event list view. I delete them manually from this view as I like to be in control what is deleted.

By shrinking the database the SQL was reduced to 5 GIg. By controlling the amount of events my database is only 500 MB.
As you can see if you don't keep a lit on it the sim database will grow.

Derek_31
Valued Contributor

Re: SQL Logfile Space

Thanks! I changed it to simple and played around with the shink command, and got things working again.