Hi All,
I ask the eternal question of what is the best practice to handle log files.
I want to and have given the log file to grow so that I have no performance
issue.
I do backup the database every night.
So is the only solution to detach the Server and start a new log file every
now and then or is there any better solution ?
Thanks
--
Jishnu GuhathakurtaRead these articles
http://www.sql-server-performance.com/database_settings.asp
http://vyaskn.tripod.com/sql_server_administration_best_practices.htm#Step1
--administaiting best practices
"Jishnu" <Jishnu@.discussions.microsoft.com> wrote in message
news:53346E6A-7BA4-412B-9E0D-56E587E1BD68@.microsoft.com...
> Hi All,
> I ask the eternal question of what is the best practice to handle log
> files.
> I want to and have given the log file to grow so that I have no
> performance
> issue.
> I do backup the database every night.
> So is the only solution to detach the Server and start a new log file
> every
> now and then or is there any better solution ?
> Thanks
> --
> Jishnu Guhathakurta|||If you aren't dong log backups, have the db in simple recovery mode. The physical size of the log
file need to accommodate your largest transaction. there is no performance penalty of having a "too
big" log file. There is to regularly shrink: http://www.karaszi.com/SQLServer/info_dont_shrink.asp.
Never delete the log file unless it is OK to lose the database.
--
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
Blog: http://solidqualitylearning.com/blogs/tibor/
"Jishnu" <Jishnu@.discussions.microsoft.com> wrote in message
news:53346E6A-7BA4-412B-9E0D-56E587E1BD68@.microsoft.com...
> Hi All,
> I ask the eternal question of what is the best practice to handle log files.
> I want to and have given the log file to grow so that I have no performance
> issue.
> I do backup the database every night.
> So is the only solution to detach the Server and start a new log file every
> now and then or is there any better solution ?
> Thanks
> --
> Jishnu Guhathakurta
Showing posts with label handle. Show all posts
Showing posts with label handle. Show all posts
Monday, March 26, 2012
Log Files
Hi All,
I ask the eternal question of what is the best practice to handle log files.
I want to and have given the log file to grow so that I have no performance
issue.
I do backup the database every night.
So is the only solution to detach the Server and start a new log file every
now and then or is there any better solution ?
Thanks
Jishnu GuhathakurtaRead these articles
http://www.sql-server-performance.c...se_settings.asp
http://vyaskn.tripod.com/ sql_serve...r />
.htm#Step1
--administaiting best practices
"Jishnu" <Jishnu@.discussions.microsoft.com> wrote in message
news:53346E6A-7BA4-412B-9E0D-56E587E1BD68@.microsoft.com...
> Hi All,
> I ask the eternal question of what is the best practice to handle log
> files.
> I want to and have given the log file to grow so that I have no
> performance
> issue.
> I do backup the database every night.
> So is the only solution to detach the Server and start a new log file
> every
> now and then or is there any better solution ?
> Thanks
> --
> Jishnu Guhathakurta|||If you aren't dong log backups, have the db in simple recovery mode. The phy
sical size of the log
file need to accommodate your largest transaction. there is no performance p
enalty of having a "too
big" log file. There is to regularly shrink: http://www.karaszi.com/SQLServer/in...ont_shrink.asp.
Never delete the log file unless it is OK to lose the database.
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
Blog: http://solidqualitylearning.com/blogs/tibor/
"Jishnu" <Jishnu@.discussions.microsoft.com> wrote in message
news:53346E6A-7BA4-412B-9E0D-56E587E1BD68@.microsoft.com...
> Hi All,
> I ask the eternal question of what is the best practice to handle log file
s.
> I want to and have given the log file to grow so that I have no performanc
e
> issue.
> I do backup the database every night.
> So is the only solution to detach the Server and start a new log file ever
y
> now and then or is there any better solution ?
> Thanks
> --
> Jishnu Guhathakurtasql
I ask the eternal question of what is the best practice to handle log files.
I want to and have given the log file to grow so that I have no performance
issue.
I do backup the database every night.
So is the only solution to detach the Server and start a new log file every
now and then or is there any better solution ?
Thanks
Jishnu GuhathakurtaRead these articles
http://www.sql-server-performance.c...se_settings.asp
http://vyaskn.tripod.com/ sql_serve...r />
.htm#Step1
--administaiting best practices
"Jishnu" <Jishnu@.discussions.microsoft.com> wrote in message
news:53346E6A-7BA4-412B-9E0D-56E587E1BD68@.microsoft.com...
> Hi All,
> I ask the eternal question of what is the best practice to handle log
> files.
> I want to and have given the log file to grow so that I have no
> performance
> issue.
> I do backup the database every night.
> So is the only solution to detach the Server and start a new log file
> every
> now and then or is there any better solution ?
> Thanks
> --
> Jishnu Guhathakurta|||If you aren't dong log backups, have the db in simple recovery mode. The phy
sical size of the log
file need to accommodate your largest transaction. there is no performance p
enalty of having a "too
big" log file. There is to regularly shrink: http://www.karaszi.com/SQLServer/in...ont_shrink.asp.
Never delete the log file unless it is OK to lose the database.
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
Blog: http://solidqualitylearning.com/blogs/tibor/
"Jishnu" <Jishnu@.discussions.microsoft.com> wrote in message
news:53346E6A-7BA4-412B-9E0D-56E587E1BD68@.microsoft.com...
> Hi All,
> I ask the eternal question of what is the best practice to handle log file
s.
> I want to and have given the log file to grow so that I have no performanc
e
> issue.
> I do backup the database every night.
> So is the only solution to detach the Server and start a new log file ever
y
> now and then or is there any better solution ?
> Thanks
> --
> Jishnu Guhathakurtasql
Log Files
Hi All,
I ask the eternal question of what is the best practice to handle log files.
I want to and have given the log file to grow so that I have no performance
issue.
I do backup the database every night.
So is the only solution to detach the Server and start a new log file every
now and then or is there any better solution ?
Thanks
Jishnu Guhathakurta
Read these articles
http://www.sql-server-performance.co...e_settings.asp
http://vyaskn.tripod.com/sql_server_...ices.htm#Step1
--administaiting best practices
"Jishnu" <Jishnu@.discussions.microsoft.com> wrote in message
news:53346E6A-7BA4-412B-9E0D-56E587E1BD68@.microsoft.com...
> Hi All,
> I ask the eternal question of what is the best practice to handle log
> files.
> I want to and have given the log file to grow so that I have no
> performance
> issue.
> I do backup the database every night.
> So is the only solution to detach the Server and start a new log file
> every
> now and then or is there any better solution ?
> Thanks
> --
> Jishnu Guhathakurta
|||If you aren't dong log backups, have the db in simple recovery mode. The physical size of the log
file need to accommodate your largest transaction. there is no performance penalty of having a "too
big" log file. There is to regularly shrink: http://www.karaszi.com/SQLServer/info_dont_shrink.asp.
Never delete the log file unless it is OK to lose the database.
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
Blog: http://solidqualitylearning.com/blogs/tibor/
"Jishnu" <Jishnu@.discussions.microsoft.com> wrote in message
news:53346E6A-7BA4-412B-9E0D-56E587E1BD68@.microsoft.com...
> Hi All,
> I ask the eternal question of what is the best practice to handle log files.
> I want to and have given the log file to grow so that I have no performance
> issue.
> I do backup the database every night.
> So is the only solution to detach the Server and start a new log file every
> now and then or is there any better solution ?
> Thanks
> --
> Jishnu Guhathakurta
I ask the eternal question of what is the best practice to handle log files.
I want to and have given the log file to grow so that I have no performance
issue.
I do backup the database every night.
So is the only solution to detach the Server and start a new log file every
now and then or is there any better solution ?
Thanks
Jishnu Guhathakurta
Read these articles
http://www.sql-server-performance.co...e_settings.asp
http://vyaskn.tripod.com/sql_server_...ices.htm#Step1
--administaiting best practices
"Jishnu" <Jishnu@.discussions.microsoft.com> wrote in message
news:53346E6A-7BA4-412B-9E0D-56E587E1BD68@.microsoft.com...
> Hi All,
> I ask the eternal question of what is the best practice to handle log
> files.
> I want to and have given the log file to grow so that I have no
> performance
> issue.
> I do backup the database every night.
> So is the only solution to detach the Server and start a new log file
> every
> now and then or is there any better solution ?
> Thanks
> --
> Jishnu Guhathakurta
|||If you aren't dong log backups, have the db in simple recovery mode. The physical size of the log
file need to accommodate your largest transaction. there is no performance penalty of having a "too
big" log file. There is to regularly shrink: http://www.karaszi.com/SQLServer/info_dont_shrink.asp.
Never delete the log file unless it is OK to lose the database.
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
Blog: http://solidqualitylearning.com/blogs/tibor/
"Jishnu" <Jishnu@.discussions.microsoft.com> wrote in message
news:53346E6A-7BA4-412B-9E0D-56E587E1BD68@.microsoft.com...
> Hi All,
> I ask the eternal question of what is the best practice to handle log files.
> I want to and have given the log file to grow so that I have no performance
> issue.
> I do backup the database every night.
> So is the only solution to detach the Server and start a new log file every
> now and then or is there any better solution ?
> Thanks
> --
> Jishnu Guhathakurta
Monday, February 20, 2012
Log
When analysing my SQLAGENT.OUT FILE i get this error:
Unable to read local eventlog (reason: The handle is
invalid)
Anyone know what it is?Hi Nefasha,
This "Invalid Handle" error may occur when another process (could be third
party application) is trying to access the handle the same time that the
SQL Server Agent is trying to access the Event Log handler.
Sincerely,
Yih-Yoon Lee [Microsoft]
Microsoft SQL Server Support
This posting is provided "AS IS" with no warranties, and confers no rights.
Subscribe to MSDN & use http://msdn.microsoft.com/newsgroups.
Unable to read local eventlog (reason: The handle is
invalid)
Anyone know what it is?Hi Nefasha,
This "Invalid Handle" error may occur when another process (could be third
party application) is trying to access the handle the same time that the
SQL Server Agent is trying to access the Event Log handler.
Sincerely,
Yih-Yoon Lee [Microsoft]
Microsoft SQL Server Support
This posting is provided "AS IS" with no warranties, and confers no rights.
Subscribe to MSDN & use http://msdn.microsoft.com/newsgroups.
Subscribe to:
Posts (Atom)