[Help] DarksTeam MuServer 0.99.60/62T (1.0M) Beta 13 [DB too much GB volume]

NewEmpire

Member
Joined
Mar 12, 2020
Messages
47
Reaction score
2
Hi,
Who can help to reduce memory for this DB, 244GB is too much for 100 online.
1592835398701.jpg
 
Older SQL servers
SQL:
USE master
BACKUP LOG [MuOnline] WITH TRUNCATE_ONLY
DBCC SHRINKDATABASE([MuOnline], 0)

Newer SQL servers
SQL:
ALTER DATABASE MuOnline
SET RECOVERY SIMPLE;
GO
DBCC SHRINKFILE (MuOnline_Log, 1);
GO
ALTER DATABASE MuOnline
SET RECOVERY FULL;
GO
 
And I am guessing if you don't want it to become this big again in a short period of time, you should skip the last part and use only this:

SQL:
ALTER DATABASE MuOnline
SET RECOVERY SIMPLE;
GO
DBCC SHRINKFILE (MuOnline_Log, 1);
GO
 
Here is how to reduce DB size using Graphical Interface:
Recovery Model.png
Shrink Files.png
 
  • Like
Reactions: Ednet