Re: select statement run very slow after installing sp3

From: Hari (hari_prasad_k_at_hotmail.com)
Date: 07/02/04


Date: Fri, 2 Jul 2004 18:36:28 +0530

Hi,

Check the tables inside the table is fragmented using the command DBCC
SHOWCONTG (refer books online).

If it is fragmented execute DBCC DBREINDEX or DBCC INDEXDEFRAG to remove
fragmentation

--
Thanks
Hari
MCDBA
"new" <anonymous@discussions.microsoft.com> wrote in message
news:2527801c46032$92e06fb0$a301280a@phx.gbl...
> Select statement is running 3 time slower than before
> after I installed sp3 in SQL 2000.(before is sp1).
> Do anyone know why and how to fix it?
> Thanks all reply.


Relevant Pages

  • Re: High Extent Scan Fragmentation
    ... This looks like you've got multiple files. ... perfectly - that's why there's no logical scan fragmentation. ... > we check the ext. scan frag before and after the dbcc dbreindex. ... > insert FragTest values ...
    (microsoft.public.sqlserver.server)
  • Re: High Extent Scan Fragmentation
    ... understands the dbreindex every night is probably overkill -- but he's ... of single insert statements (to try and create fragmentation). ... we check the ext. scan frag before and after the dbcc dbreindex. ... CREATE CLUSTERED INDEX ON ...
    (microsoft.public.sqlserver.server)
  • Re: High Extent Scan Fragmentation
    ... Likewise, DBCC ... INDEXDEFRAG does not correct extent fragmentation on ... Interleaving occurs when index extents (a group ... RAID level has no effect on fragementation. ...
    (microsoft.public.sqlserver.server)
  • Re: Check database healthiness on a daily basis?
    ... > Thanks so much for your instance response, Hari. ... DBCC CHECKDB will run for a long time if your database is ... >> Monthly once check the fragmentation of table using DBCC ... >> THis will remove the fragmentation and increase the performance. ...
    (microsoft.public.sqlserver.server)
  • Re: INDEXDEFRAG FOR SQL SERVER 7.0
    ... I only added DBCC INDEXDEFRAG in SQL Server 2000 so your only opion in ... Can you post before and after output from DBCC SHOWCONTIG as I'm curious as ... the fragmentation calculations in DBCC SHOWCONTIG ... before SQL Server 2000 did not take account of multiple files so it will not ...
    (microsoft.public.sqlserver.server)