SQL Server Management
Hi there,
We have a production DB.
Under allocated space I see the following:
total DB space: 720.50 MB used: 641.50 MB free: 79.0 MB
total tranLOG space: 15,618.68 MB user: 42.78 MB free: 15,575.9 MBSince I see only 79 MB of available space for data. what can I do to increase total DB space? and even reduce Transact Log space?thank you
regards.
You can reduce log file space to run DBCC SHRINKFILE on the logfile.
Databases can be shrunk as well with DBCC SHRINKDATABASE.
use ALTER DATABASE to set various database options (like AUTO_SHRINK).
You can set growth behavior of individual database files or log files with
ALTER DATABASE ... MODIFY FILE ( NAME = ..., FILEGROWTH = 10%)
... fill in the dots ...
Hope this helps.