dbTalk Databases Forums  

Log file Size..

microsoft.public.sqlserver.clients microsoft.public.sqlserver.clients


Discuss Log file Size.. in the microsoft.public.sqlserver.clients forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Test
 
Posts: n/a

Default Log file Size.. - 04-04-2008 , 10:03 AM






I would appreciate if anyone let me know why the log file size is increasing
too much. My database size is 15 GB and my log file size is 10 GB.

Anyway I can reduce my file size?

Thanks


Reply With Quote
  #2  
Old   
Ekrem Önsoy
 
Posts: n/a

Default Re: Log file Size.. - 04-04-2008 , 10:14 AM






To truncate the passive virtual logs in your tlog file use the following
line:

BACKUP LOG your_db WITH NO_LOG

To shrink the file physically, use the following one:
DBCC SHRINKFILE (your_log_file's_logical_name, <size of the tlog file you
want it to be>)

Result of this operation depends on the active virtual logs in the t-log
file.

However, you also better take a look at the following article:
http://www.karaszi.com/SQLServer/info_dont_shrink.asp

--
Ekrem Önsoy



"Test" <test (AT) hotmail (DOT) com> wrote

Quote:
I would appreciate if anyone let me know why the log file size is
increasing too much. My database size is 15 GB and my log file size is 10
GB.

Anyway I can reduce my file size?

Thanks


Reply With Quote
  #3  
Old   
Ekrem Önsoy
 
Posts: n/a

Default Re: Log file Size.. - 04-04-2008 , 10:14 AM



To truncate the passive virtual logs in your tlog file use the following
line:

BACKUP LOG your_db WITH NO_LOG

To shrink the file physically, use the following one:
DBCC SHRINKFILE (your_log_file's_logical_name, <size of the tlog file you
want it to be>)

Result of this operation depends on the active virtual logs in the t-log
file.

However, you also better take a look at the following article:
http://www.karaszi.com/SQLServer/info_dont_shrink.asp

--
Ekrem Önsoy



"Test" <test (AT) hotmail (DOT) com> wrote

Quote:
I would appreciate if anyone let me know why the log file size is
increasing too much. My database size is 15 GB and my log file size is 10
GB.

Anyway I can reduce my file size?

Thanks


Reply With Quote
  #4  
Old   
Ekrem Önsoy
 
Posts: n/a

Default Re: Log file Size.. - 04-04-2008 , 10:14 AM



To truncate the passive virtual logs in your tlog file use the following
line:

BACKUP LOG your_db WITH NO_LOG

To shrink the file physically, use the following one:
DBCC SHRINKFILE (your_log_file's_logical_name, <size of the tlog file you
want it to be>)

Result of this operation depends on the active virtual logs in the t-log
file.

However, you also better take a look at the following article:
http://www.karaszi.com/SQLServer/info_dont_shrink.asp

--
Ekrem Önsoy



"Test" <test (AT) hotmail (DOT) com> wrote

Quote:
I would appreciate if anyone let me know why the log file size is
increasing too much. My database size is 15 GB and my log file size is 10
GB.

Anyway I can reduce my file size?

Thanks


Reply With Quote
  #5  
Old   
Ekrem Önsoy
 
Posts: n/a

Default Re: Log file Size.. - 04-04-2008 , 10:14 AM



To truncate the passive virtual logs in your tlog file use the following
line:

BACKUP LOG your_db WITH NO_LOG

To shrink the file physically, use the following one:
DBCC SHRINKFILE (your_log_file's_logical_name, <size of the tlog file you
want it to be>)

Result of this operation depends on the active virtual logs in the t-log
file.

However, you also better take a look at the following article:
http://www.karaszi.com/SQLServer/info_dont_shrink.asp

--
Ekrem Önsoy



"Test" <test (AT) hotmail (DOT) com> wrote

Quote:
I would appreciate if anyone let me know why the log file size is
increasing too much. My database size is 15 GB and my log file size is 10
GB.

Anyway I can reduce my file size?

Thanks


Reply With Quote
  #6  
Old   
Ekrem Önsoy
 
Posts: n/a

Default Re: Log file Size.. - 04-04-2008 , 10:14 AM



To truncate the passive virtual logs in your tlog file use the following
line:

BACKUP LOG your_db WITH NO_LOG

To shrink the file physically, use the following one:
DBCC SHRINKFILE (your_log_file's_logical_name, <size of the tlog file you
want it to be>)

Result of this operation depends on the active virtual logs in the t-log
file.

However, you also better take a look at the following article:
http://www.karaszi.com/SQLServer/info_dont_shrink.asp

--
Ekrem Önsoy



"Test" <test (AT) hotmail (DOT) com> wrote

Quote:
I would appreciate if anyone let me know why the log file size is
increasing too much. My database size is 15 GB and my log file size is 10
GB.

Anyway I can reduce my file size?

Thanks


Reply With Quote
  #7  
Old   
Ekrem Önsoy
 
Posts: n/a

Default Re: Log file Size.. - 04-04-2008 , 10:14 AM



To truncate the passive virtual logs in your tlog file use the following
line:

BACKUP LOG your_db WITH NO_LOG

To shrink the file physically, use the following one:
DBCC SHRINKFILE (your_log_file's_logical_name, <size of the tlog file you
want it to be>)

Result of this operation depends on the active virtual logs in the t-log
file.

However, you also better take a look at the following article:
http://www.karaszi.com/SQLServer/info_dont_shrink.asp

--
Ekrem Önsoy



"Test" <test (AT) hotmail (DOT) com> wrote

Quote:
I would appreciate if anyone let me know why the log file size is
increasing too much. My database size is 15 GB and my log file size is 10
GB.

Anyway I can reduce my file size?

Thanks


Reply With Quote
  #8  
Old   
Ekrem Önsoy
 
Posts: n/a

Default Re: Log file Size.. - 04-04-2008 , 10:14 AM



To truncate the passive virtual logs in your tlog file use the following
line:

BACKUP LOG your_db WITH NO_LOG

To shrink the file physically, use the following one:
DBCC SHRINKFILE (your_log_file's_logical_name, <size of the tlog file you
want it to be>)

Result of this operation depends on the active virtual logs in the t-log
file.

However, you also better take a look at the following article:
http://www.karaszi.com/SQLServer/info_dont_shrink.asp

--
Ekrem Önsoy



"Test" <test (AT) hotmail (DOT) com> wrote

Quote:
I would appreciate if anyone let me know why the log file size is
increasing too much. My database size is 15 GB and my log file size is 10
GB.

Anyway I can reduce my file size?

Thanks


Reply With Quote
  #9  
Old   
Ekrem Önsoy
 
Posts: n/a

Default Re: Log file Size.. - 04-04-2008 , 10:14 AM



To truncate the passive virtual logs in your tlog file use the following
line:

BACKUP LOG your_db WITH NO_LOG

To shrink the file physically, use the following one:
DBCC SHRINKFILE (your_log_file's_logical_name, <size of the tlog file you
want it to be>)

Result of this operation depends on the active virtual logs in the t-log
file.

However, you also better take a look at the following article:
http://www.karaszi.com/SQLServer/info_dont_shrink.asp

--
Ekrem Önsoy



"Test" <test (AT) hotmail (DOT) com> wrote

Quote:
I would appreciate if anyone let me know why the log file size is
increasing too much. My database size is 15 GB and my log file size is 10
GB.

Anyway I can reduce my file size?

Thanks


Reply With Quote
  #10  
Old   
Ekrem Önsoy
 
Posts: n/a

Default Re: Log file Size.. - 04-04-2008 , 10:14 AM



To truncate the passive virtual logs in your tlog file use the following
line:

BACKUP LOG your_db WITH NO_LOG

To shrink the file physically, use the following one:
DBCC SHRINKFILE (your_log_file's_logical_name, <size of the tlog file you
want it to be>)

Result of this operation depends on the active virtual logs in the t-log
file.

However, you also better take a look at the following article:
http://www.karaszi.com/SQLServer/info_dont_shrink.asp

--
Ekrem Önsoy



"Test" <test (AT) hotmail (DOT) com> wrote

Quote:
I would appreciate if anyone let me know why the log file size is
increasing too much. My database size is 15 GB and my log file size is 10
GB.

Anyway I can reduce my file size?

Thanks


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.