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.server > SQL DB Error
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
SQL DB Error

Réponse
 
LinkBack Outils de la discussion
Vieux 16/07/2008, 16h06   #1
bcap
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut SQL DB Error

When I run a SPROC I get the following error:

Msg 9002, Level 17, State 1, Procedure nepBuildArchticsTableCopies,
Line 82
The transaction log for database DB_Name' is full. To find out why
space in the log cannot be reused, see the log_reuse_wait_desc column
in sys.databases


Does anyone know what this means and how I can fi this problem?

Thank you!!!!!!!!!!!!!!!!!

R
  Réponse avec citation
Vieux 16/07/2008, 16h18   #2
Uri Dimant
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: SQL DB Error

bcap
Your log file is full as per error message. See on the disk, do you have a
free space at all?
What is recovery model you set up to the LOG? Is it full or simple?




"bcap" <rayh@patriots.com> wrote in message
news:8b416985-7d7f-405a-b450-06af1dcfcc09@27g2000hsf.googlegroups.com...
> When I run a SPROC I get the following error:
>
> Msg 9002, Level 17, State 1, Procedure nepBuildArchticsTableCopies,
> Line 82
> The transaction log for database DB_Name' is full. To find out why
> space in the log cannot be reused, see the log_reuse_wait_desc column
> in sys.databases
>
>
> Does anyone know what this means and how I can fi this problem?
>
> Thank you!!!!!!!!!!!!!!!!!
>
> R



  Réponse avec citation
Vieux 16/07/2008, 16h26   #3
bcap
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: SQL DB Error

Hi Uri,

Thank you for your response. I am hardly a DBA, can you tell me where
to go to check if it is full or simple?

Thanks again!
  Réponse avec citation
Vieux 16/07/2008, 16h47   #4
Uri Dimant
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: SQL DB Error

bcap
SS2000
select name,convert(varchar(50),
DatabasePropertyEx(name,'Recovery'))
from master..sysdatabases

SS2005

SELECT name,recovery_model_desc FROM sys.databases



"bcap" <rayh@patriots.com> wrote in message
news:f35632f6-b552-4243-9664-81651b32b0c4@c58g2000hsc.googlegroups.com...
> Hi Uri,
>
> Thank you for your response. I am hardly a DBA, can you tell me where
> to go to check if it is full or simple?
>
> Thanks again!



  Réponse avec citation
Vieux 16/07/2008, 18h49   #5
bcap
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: SQL DB Error

Thank you! I am current set to FULL!


  Réponse avec citation
Vieux 16/07/2008, 19h42   #6
Ian Boyd
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: SQL DB Error

"bcap" <rayh@patriots.com> wrote in message
news:bcb5df8e-3877-41d1-af51-f18e001b9f43@i76g2000hsf.googlegroups.com...
> Thank you! I am current set to FULL!


You'll want to change it to simple mode.

If not you'll keep running out of space; UNLESS you do a full database
backup regularly - which will free space in the database files.


  Réponse avec citation
Vieux 17/07/2008, 11h34   #7
Ekrem Önsoy
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: SQL DB Error

It seems that the problem is about the Log file.

Taking Full Backups would not empty the Log file, he needs to take Log
Backup for this purpose.

--
Ekrem Önsoy




"Ian Boyd" <ian.msnews010@avatopia.com> wrote in message
news:OBE3Jt25IHA.3696@TK2MSFTNGP04.phx.gbl...
> "bcap" <rayh@patriots.com> wrote in message
> news:bcb5df8e-3877-41d1-af51-f18e001b9f43@i76g2000hsf.googlegroups.com...
>> Thank you! I am current set to FULL!

>
> You'll want to change it to simple mode.
>
> If not you'll keep running out of space; UNLESS you do a full database
> backup regularly - which will free space in the database files.
>


  Réponse avec citation
Vieux 29/08/2008, 14h27   #8
Fabiano Pereira
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut RE: SQL DB Error

you can see the log_reuse_wait_desc in sys.databases system view. It shows
you some factors that can delay log transaction reuse. For some reason,
displayed by log_reuse_wait_desc, your log file could not get more
transactions added to.

"bcap" wrote:

> When I run a SPROC I get the following error:
>
> Msg 9002, Level 17, State 1, Procedure nepBuildArchticsTableCopies,
> Line 82
> The transaction log for database DB_Name' is full. To find out why
> space in the log cannot be reused, see the log_reuse_wait_desc column
> in sys.databases
>
>
> Does anyone know what this means and how I can fi this problem?
>
> Thank you!!!!!!!!!!!!!!!!!
>
> R
>

  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 06h07.


Édité par : vBulletin® version 3.7.3
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,11098 seconds with 16 queries