While executing a ALTER INDEX statement the Disk is Full message occurred. A quick look at the drive dedicated for transaction logs indicated the disk was in fact full .
The following statement resolved the problem – and the reindexing job was able to continue.
This statement added a second transaction log file to the database .
ALTER DATABASE myDatabase
ADD LOG FILE
(
NAME = myDatabaselog2,
FILENAME = 'E:\mssqlserver\logs\myDatabaselog2.ldf',
SIZE = 5MB,
MAXSIZE = 100MB,
FILEGROWTH = 5MB
)
Source:Jack Vamvas (http://www.sqlserver-dba.com)This is only a preview. Your comment has not yet been posted.
As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.
Having trouble reading this image? View an alternate.
Posted by: |