- Log files
- Query log space usage for every DB on the server: DBCC SQLPERF(‘logspace’)
- Add a log file to the DB: ALTER DATABASE dbname ADD LOG FILE(NAME = logicalname, FILENAME = ‘filepath’, SIZE = size, MAXSIZE = maxsize, FILEGROWTH = filegrowth)
- Modify auto growth: ALTER DATABASE dbname FILE (NAME = logicalname, AUTOGROW = size)
- Remove MAXSIZE limit: ALTER DATABASE dbname (NAME = logicalname, MAXSIZE = UNLIMITED)
- Prevent autogrow: ALTER DATABASE dbname (NAME = logicalname, AUTOGROW = 0)
- Data files
- the command is essentially the same with some new options (e.g. “TO FILEGROUP”).
Search This Blog
How to Manage SQL Server Database Files
Subscribe to:
Post Comments (Atom)
Use WinSCP to Transfer Files in vCSA 6.7
This is a quick update on my previous post “ Use WinSCP to Transfer Files in vCSA 6.5 ”. When I try the same SFTP server setting in vCSA 6.7...
-
Recently, we created a new child domain in the existing AD forest with two new Windows Server 2012 R2 domain controllers. The AD authenticat...
-
find out the name of vSphere host running the stuck task if possible SSH to the vCenter Server server appliance service vmware-vpxd resta...
-
Updated on 07/13/2016. See the update this post, I might find the ultimate solution, even I am still not sure what the cause of the issue. ...
No comments:
Post a Comment