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 > tempdb / sizing storage
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
tempdb / sizing storage

Réponse
 
LinkBack Outils de la discussion
Vieux 27/03/2008, 16h57   #1
Doug
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut tempdb / sizing storage

If I split the tempdb mdb to a separate drive on our SAN, which I
understand is a good practice, how can I determine the amount of space to
allow on the SAN for this? We don't want to exceed the space of course, but
also wouldn't want to assign more space if it'll never be used. How would
you go about determining something like this?

Doug
  Réponse avec citation
Vieux 27/03/2008, 16h58   #2
Aaron Bertrand [SQL Server MVP]
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: tempdb / sizing storage

What is the largest you have ever seen tempdb grow? What is its current
size? Ideally, you would create multiple /identically-sized/ files on
multiple drives. It's hard to answer your question, other than to suggest
observing how much space it has needed, and guess how much more space you
might envision it will need.




"Doug" <Doug@discussions.microsoft.com> wrote in message
news:4ED804AE-1D9A-4C7F-9AE0-571ABA8A0C36@microsoft.com...
> If I split the tempdb mdb to a separate drive on our SAN, which I
> understand is a good practice, how can I determine the amount of space to
> allow on the SAN for this? We don't want to exceed the space of course,
> but
> also wouldn't want to assign more space if it'll never be used. How would
> you go about determining something like this?
>
> Doug



  Réponse avec citation
Vieux 27/03/2008, 18h05   #3
Bulent
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: tempdb / sizing storage

On Mar 27, 8:58am, "Aaron Bertrand [SQL Server MVP]"
<ten....@dnartreb.noraa> wrote:
> What is the largest you have ever seen tempdb grow? What is its current
> size? Ideally, you would create multiple /identically-sized/ files on
> multiple drives. It's hard to answer your question, other than to suggest
> observing how much space it has needed, and guess how much more space you
> might envision it will need.
>
> "Doug" <D...@discussions.microsoft.com> wrote in message
>
> news:4ED804AE-1D9A-4C7F-9AE0-571ABA8A0C36@microsoft.com...
>
>
>
> > If I split the tempdb mdb to a separate drive on our SAN, which I
> > understand is a good practice, how can I determine the amount of space to
> > allow on the SAN for this? We don't want to exceed the space of course,
> > but
> > also wouldn't want to assign more space if it'll never be used. How would
> > you go about determining something like this?

>
> > Doug- Hide quoted text -

>
> - Show quoted text -


I did just what Aaron said and I have watched tempdb on my system to
grow up to 1 GB at times during maintenance. Per performance best
practice then I created one tempdb file per core and size it to 1 GB.
So watch your tempdb and create at least one additional tempdb per
socket or even better per core.
  Réponse avec citation
Vieux 27/03/2008, 18h06   #4
Aaron Bertrand [SQL Server MVP]
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: tempdb / sizing storage

>>
So watch your tempdb and create at least one additional tempdb per
socket or even better per core.
>>


Note that this doesn't really at all if you put them all on the same
physical drive.


  Réponse avec citation
Vieux 27/03/2008, 19h50   #5
Linchi Shea
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: tempdb / sizing storage

> Note that this doesn't really at all if you put them all on the same
> physical drive.


Well, the main reason for using X number of tempdb data files per socket is
not really to address any disk storage performance problem per se. Rather,
it's to resolve a SQL Server internal contention issue on the shared tempdb
metadata structures (e.g. contention on the allocation pages). So if that
metadata contention is the problem, having a better storage system doesn't
, but having multiple data files on the save drive still s.

Linchi

"Aaron Bertrand [SQL Server MVP]" wrote:

> >>

> So watch your tempdb and create at least one additional tempdb per
> socket or even better per core.
> >>

>
> Note that this doesn't really at all if you put them all on the same
> physical drive.
>
>
>

  Réponse avec citation
Vieux 27/03/2008, 19h52   #6
Aaron Bertrand [SQL Server MVP]
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: tempdb / sizing storage

>> Note that this doesn't really at all if you put them all on the same
>> physical drive.

>
> Well, the main reason for using X number of tempdb data files per socket
> is
> not really to address any disk storage performance problem per se. Rather,
> it's to resolve a SQL Server internal contention issue on the shared
> tempdb
> metadata structures (e.g. contention on the allocation pages). So if that
> metadata contention is the problem, having a better storage system doesn't
> , but having multiple data files on the save drive still s.


True, though I haven't encountered that yet...


  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 04h21.


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