can you any body tell me the how to decrease the logfile
Answers were Sorted based on User's Feedback
Answer / vani
The log files must be backed up, so that the inactive log
records are truncated after every checkpoint thus freeing
up the logspace to be reused.
Schrink your database (Database-All task-Schrink database)
leave 10% free and the size of the log will schrink
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / prasadhari_m@yahoo.com
take a backup using this command
backup log dbname with no_log
Is This Answer Correct ? | 1 Yes | 0 No |
We have to decrease the size of a log file by shrinking the
large file.
Syntex:-
DBCC dbname
go
DBCC shrinkfile(filename,sizevalue)
go.
for eg I want to shrink the filename data of databse userdb
to 7 mb.
dbcc userdb
dbcc shrinkfile(data,7)
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / rahul
dbcc shrinkfile ( 'databasename', 'size to be shrinked upto
(in mb)')
Is This Answer Correct ? | 0 Yes | 0 No |
What are different types of collation sensitivity?
How optimize sql query with multiple joins in sql server?
What are exact numeric data types in ms sql server?
Is mysql better than sql server?
How can i give the restrictions for the data entry, if i wish to enter only I ,II, III, IV in the grade actegory of student table?
What is measure group, measure? : sql server analysis services, ssas
What is usually the first word in a sql query?
What is the default fill factor value?
What is the maximum size of sql server database?
How to list all dsn entries on your local machine using odbc_data_source()?
What is the difference between Clustered and Non-Clustered Index?
what is the diffrence between Snap Shot and Transaction Replication