PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Hébergement serveur > ms.sqlserver.setup > limit the sql log size
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
ms.sqlserver.setup Questions about SQL Server.

limit the sql log size

Réponse
 
LinkBack Outils de la discussion
Vieux 25/04/2008, 20h12   #1
Bill_Orova
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut limit the sql log size


Hello Gurus
I was wondering other than bouncing the server is there a way to limit
or flush a log when it becomes to large say like 11 gigs
We had a log several months ago that was over 25 gigs this caused the
log to fail to grab some of the entries, this stopped us from verifing a
problem
Is there a method to flucsh or limit the size of the log now I am not
talking tranlog but the sqlserver log under management tab in enterpise
manager??


William Orova


*** Sent via Developersdex http://www.developersdex.com ***
  Réponse avec citation
Vieux 25/04/2008, 23h29   #2
Andrew J. Kelly
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: limit the sql log size

More importantly why did it get that large to begin with? If you are in FULL
recovery mode you need to issue regular Log backups to free and reuse the
space in the log. Otherwise consider changing to SIMPLE recovery mode.

--
Andrew J. Kelly SQL MVP
Solid Quality Mentors


"Bill_Orova" <nospam@devdex.com> wrote in message
news:%23rKN2$vpIHA.4848@TK2MSFTNGP05.phx.gbl...
>
> Hello Gurus
> I was wondering other than bouncing the server is there a way to limit
> or flush a log when it becomes to large say like 11 gigs
> We had a log several months ago that was over 25 gigs this caused the
> log to fail to grab some of the entries, this stopped us from verifing a
> problem
> Is there a method to flucsh or limit the size of the log now I am not
> talking tranlog but the sqlserver log under management tab in enterpise
> manager??
>
>
> William Orova
>
>
> *** Sent via Developersdex http://www.developersdex.com ***


  Réponse avec citation
Vieux 28/04/2008, 15h00   #3
Bill Orova
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: limit the sql log size

Mr. Kelly,
Thanx for the response
That direction is for the tran log I am talking about the sql server
logs that are located under management tab in enterprise manager. The
tran log is fine it is the sql server log that grows very large
They to my knoqwledge are not the same thing....Right?


Wisord

*** Sent via Developersdex http://www.developersdex.com ***
  Réponse avec citation
Vieux 28/04/2008, 15h35   #4
Andrew J. Kelly
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: limit the sql log size

Sorry I didn't catch that originally. You most likely have auditing turned
on which is bloating the log. Do you have a lot of entries listing
successful logins? If so and you don't need this turn that off via the
server properties in EM. But you can run sp_cycle_errorlog on a regular
basis to keep the log files in check.

--
Andrew J. Kelly SQL MVP
Solid Quality Mentors


"Bill Orova" <kwiso@msn.com> wrote in message
news:uE3VJ$SqIHA.1872@TK2MSFTNGP04.phx.gbl...
> Mr. Kelly,
> Thanx for the response
> That direction is for the tran log I am talking about the sql server
> logs that are located under management tab in enterprise manager. The
> tran log is fine it is the sql server log that grows very large
> They to my knoqwledge are not the same thing....Right?
>
>
> Wisord
>
> *** Sent via Developersdex http://www.developersdex.com ***


  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 00h22.


Édité par : vBulletin® version 3.7.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,12445 seconds with 12 queries