can i delete the LOG file in the sql bcoz of large file size.
will it be able to use it without the LOG file and only with DAT file.
help me
SQL Server can't function without a log file. Regular log backups keeps your log small.
If you are not interested in the records in the log you can issue a BACKUP LOG dbname WITH TRUNCATE_ONLY. Maybe issue a DBCC SHRINKFILE (Filename, Size) WITH TRUNCATEONLY after that.
Using the SIMPLE recovery model also limits the size of the transaction log because it automatically truncates the log under certain circumstances. But a normal production database usually requires the FULL recovery model and regular backups.
No comments:
Post a Comment