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 > Reason for Master db corruption.
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
Reason for Master db corruption.

Réponse
 
LinkBack Outils de la discussion
Vieux 15/09/2008, 10h21   #1
tzvikaz
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Reason for Master db corruption.

There are tons of articles describing what needs to be done in order
to fix a corrupted Master.ldf/mdf
but I cannot find anything that explains why this actually happens or
how to minimize the chances of it.

Can you give pointers in that matter?

Thanks
  Réponse avec citation
Vieux 15/09/2008, 10h51   #2
Uri Dimant
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Reason for Master db corruption.

Tzvika shalom
That what happened two days ago to one of our client. He had a third party
database on his prod. server and once a quarter the vendor required to
upgrade the database (don't ask me why). For an upgrading they had an
application to be run with 'sa' login and as it turns out due to the
bug in their software ( update some system tables in master db, WHY???) the
server crashed.

The moral....... I think we understood..:-))




"tzvikaz" <tzvikaz@gmail.com> wrote in message
news:fb7485be-72ab-46f8-ba92-b34c446e7006@k37g2000hsf.googlegroups.com...
> There are tons of articles describing what needs to be done in order
> to fix a corrupted Master.ldf/mdf
> but I cannot find anything that explains why this actually happens or
> how to minimize the chances of it.
>
> Can you give pointers in that matter?
>
> Thanks



  Réponse avec citation
Vieux 15/09/2008, 13h43   #3
Roy Harvey (SQL Server MVP)
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Reason for Master db corruption.

On Mon, 15 Sep 2008 01:21:31 -0700 (PDT), tzvikaz <tzvikaz@gmail.com>
wrote:

>There are tons of articles describing what needs to be done in order
>to fix a corrupted Master.ldf/mdf
>but I cannot find anything that explains why this actually happens or
>how to minimize the chances of it.
>
>Can you give pointers in that matter?


The number one reason for a corrupt database , master or otherwise, is
hardware problems.

Roy Harvey
Beacon Falls, CT
  Réponse avec citation
Vieux 15/09/2008, 15h58   #4
tzvikaz
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Reason for Master db corruption.

> The number one reason for a corrupt database , master or otherwise, is
> hardware problems.
>
> Roy Harvey
> Beacon Falls, CT


I think its too easy to dismiss this issue with saying its a hardware
problem.
Sometimes even doing a large bulk of DELETE from a table causes the
master to get corrupted.
After I fix the corruption everything is back to normal so I dont
understand what you mean by hardware problem? temporary hardware
problem?
what hardware exactly? hard disk? if it happens should I replace my
drive??

The question is if this kind of corruption happens once a year on a
single db, does it count as normal?
does anyone know if mysql or sql server express is more tolerant than
MSDE 2000 and gets less corrpted?

Thanks.




  Réponse avec citation
Vieux 15/09/2008, 17h06   #5
Roy Harvey (SQL Server MVP)
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Reason for Master db corruption.

On Mon, 15 Sep 2008 06:58:36 -0700 (PDT), tzvikaz <tzvikaz@gmail.com>
wrote:

>> The number one reason for a corrupt database , master or otherwise, is
>> hardware problems.

>
>I think its too easy to dismiss this issue with saying its a hardware
>problem.


I did not think I was dismissing it, I thought I was suggesting a
cause.

>Sometimes even doing a large bulk of DELETE from a table causes the
>master to get corrupted.


That is another way of saying that the server is completely
unreliable. What hardware are you using? What release of SQL Server,
patched to what level? What version of Windows? Patched to what
level?

Is the bulk delete against master, or against some other database? If
it is against some other database the only affect on master I can
imagine would be to updated would be when the log file of the db where
the deletes occur auto-grows. (The record of the size of the log file
has to be updated.) If the deletes are against master it still should
not occur, but then there should never be any user data in master
either.

>After I fix the corruption everything is back to normal so I dont
>understand what you mean by hardware problem? temporary hardware
>problem?


Unreliable hardware is often intermittently unreliable. That can be
especially true of memory problems.

>what hardware exactly? hard disk? if it happens should I replace my
>drive??


Hard disk, disk controller, disk controller firmware, disk controller
drivers are all possible. Memory is probably an even bigger issue.
Any server should have ECC memory, which will correct any single-bit
memory errors. I'm sure there are other potential weak spots, but
those are the main ones.

>The question is if this kind of corruption happens once a year on a
>single db, does it count as normal?


No, it is certainly not normal.

>does anyone know if mysql or sql server express is more tolerant than
>MSDE 2000 and gets less corrpted?


If the problem is hardware the choice of RDBMS will make little
difference. Express 2005 is a better product than MSDE 2000, and
would be a clear improvement in many areas, but MSDE should not be
having those problems.

Roy Harvey
Beacon Falls, CT
  Réponse avec citation
Vieux 16/09/2008, 20h13   #6
Roy Harvey (SQL Server MVP)
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Reason for Master db corruption.

On Mon, 15 Sep 2008 11:06:45 -0400, "Roy Harvey (SQL Server MVP)"
<roy_harvey@snet.net> wrote:

>>what hardware exactly? hard disk? if it happens should I replace my
>>drive??

>
>Hard disk, disk controller, disk controller firmware, disk controller
>drivers are all possible. Memory is probably an even bigger issue.
>Any server should have ECC memory, which will correct any single-bit
>memory errors. I'm sure there are other potential weak spots, but
>those are the main ones.


I left out the power supply. A flaky power supply can cause terrible
problems with no discernable cause.

Roy Harvey
Beacon Falls, CT
  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 07h40.


É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,11278 seconds with 14 queries