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 |
Detail about the hardware which is supported by SQL server?
You have a table with close to 100 million records recently, a huge amount of this data was updated now, various queries against this table have slowed down considerably what is the quickest option to remedy the situation?
How to check parameter value in stored procedure sql server?
What are the types of processing and explain each? : sql server analysis services, ssas
What is side by side migration in sql server?
What should we do to copy the tables, schema and views from one SQL Server to another?
What are the steps you can take to avoid “deadlocks”?
Explain what are db_options used for?
How do I start sql server 2017?
What is resource governor in sql server?
What is identity?
Can you index views?