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 > Rebuilding tables indexes
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
ms.sqlserver.setup Questions about SQL Server.

Rebuilding tables indexes

Réponse
 
LinkBack Outils de la discussion
Vieux 07/03/2007, 17h03   #1
Jon
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Rebuilding tables indexes

Hello all,

I have a table that I've just ran DBCC SHOWCONTIG ('Containers') against,
the scan density is coming out as 20% which I understand is bad, as it should
be above 75%, now ran DBREINDEX and also dropped and rebuilt all 4 indexes,
re ran the above and it's still coming out at 20%. Why is that and how do i
fix it?

Also, all columns (5) are of type 'int'.

Thanks,

Jon

  Réponse avec citation
Vieux 08/03/2007, 01h32   #2
Andrew J. Kelly
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Rebuilding tables indexes

How many pages are there? I there is less than 8 it will use mixed extents.
Also if none of the indexes are clustered you can reindex the table all you
want and wont get any where.

--
Andrew J. Kelly SQL MVP

"Jon" <Jon@discussions.microsoft.com> wrote in message
news:363C701D-8840-4C3B-B6FE-5BBA17153F19@microsoft.com...
> Hello all,
>
> I have a table that I've just ran DBCC SHOWCONTIG ('Containers') against,
> the scan density is coming out as 20% which I understand is bad, as it
> should
> be above 75%, now ran DBREINDEX and also dropped and rebuilt all 4
> indexes,
> re ran the above and it's still coming out at 20%. Why is that and how do
> i
> fix it?
>
> Also, all columns (5) are of type 'int'.
>
> Thanks,
>
> Jon
>



  Réponse avec citation
Vieux 08/03/2007, 05h05   #3
Kalen Delaney
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Rebuilding tables indexes

This was discussed in detail, with many responses, in .programming. Please
do not multi-post.

--
HTH
Kalen Delaney, SQL Server MVP
http://sqlblog.com


"Jon" <Jon@discussions.microsoft.com> wrote in message
news:363C701D-8840-4C3B-B6FE-5BBA17153F19@microsoft.com...
> Hello all,
>
> I have a table that I've just ran DBCC SHOWCONTIG ('Containers') against,
> the scan density is coming out as 20% which I understand is bad, as it
> should
> be above 75%, now ran DBREINDEX and also dropped and rebuilt all 4
> indexes,
> re ran the above and it's still coming out at 20%. Why is that and how do
> i
> fix it?
>
> Also, all columns (5) are of type 'int'.
>
> Thanks,
>
> Jon
>



  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 17h29.


É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,10737 seconds with 11 queries