๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: chile.comp.programacion
Article #707

Re: Mantenimiento de BD

#707
From: Pintamono
Date: Tue, 04 Dec 2007 13:08
46 lines
2844 bytes
Gracias, muy buenos los links!!


ShEnZy wrote:

> holas,
> no cacho mucho del tema pero aca explican cada uno de los datos del 
> resultdo...
> http://technet.microsoft.com/es-es/library/ms175008.aspx

> 
http://www.sql-server-performance.com/articles/dba/dt_dbcc_showcontig_p1.aspx 
> aca tambien pero en ingles..

> "Pintamono" <pintamono@NoMandeWeas.kk> escribi๏ฟฝ en el mensaje 
> news:efffa3d34a636e6928b086f81523ee5e$1@usenet.no-ip.com...
>> Tengo una BD y esta tiene problemas de performance en alta carga, dentro
>> de lo poco que se de sql he tratado de dejar de mejor manera las
>> consultas, ahora me han indicado que revisare el tema de indices y
>> defragmentacion...
>>
>> Ahi me vi pillado, navegando llegue a este comando "DBCC SHOWCONTIG", lo
>> ejecute sobre una de mis tablas y me da este resultado:
>>
>> DBCC SHOWCONTIG scanning 'MiTabla' table...
>> Table: 'MiTabla' (1620968901); index ID: 1, database ID: 15
>> TABLE level scan performed.
>> - Pages Scanned................................: 24358
>> - Extents Scanned..............................: 3061
>> - Extent Switches..............................: 4336
>> - Avg. Pages per Extent........................: 8.0
>> - Scan Density [Best Count:Actual Count].......: 70.21% [3045:4337]
>> - Logical Scan Fragmentation ..................: 61.02%
>> - Extent Scan Fragmentation ...................: 53.09%
>> - Avg. Bytes Free per Page.....................: 821.1
>> - Avg. Page Density (full).....................: 89.86%
>> DBCC execution completed. If DBCC printed error messages, contact your
>> system administrator.
>>
>> Como interpretar esto?, en cual de todo esos valores debo fijarme para
>> determinar si hacer o no la defragmentacion? o reindexacion?
>>
>> Que me recomiendan? la verdad es que estoy bastante perdido...
>>
>> Gracias.
>>
Technical Details
Message-ID: <01715c6d952930a37af39f483bd0ce2f$1@usenet.no-ip.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news2.google.com!news.glorb.com!news.kjsl.com!news.nivel5.cl!not-for-mail
References: <efffa3d34a636e6928b086f81523ee5e$1@usenet.no-ip.com> <fipgdk$k2g$1@jagger.tie.cl>

Show Full Headers
Complete Article Headers
X-Google-Thread: 1593cb,e1e2a30238fdf5fc
X-Google-Attributes: gid1593cb,public,usenet
X-Google-Language: SPANISH,ASCII
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news2.google.com!news.glorb.com!news.kjsl.com!news.nivel5.cl!not-for-mail
From: pintamono@NoMandeWeas.kk (Pintamono)
Newsgroups: chile.comp.programacion
Subject: Re: Mantenimiento de BD
Date: Tue, 04 Dec 2007 10:08:53 -0300
Organization: Usenet Chile.* http://usenet.no-ip.com
Lines: 48
Message-ID: <01715c6d952930a37af39f483bd0ce2f$1@usenet.no-ip.com>
References: <efffa3d34a636e6928b086f81523ee5e$1@usenet.no-ip.com> <fipgdk$k2g$1@jagger.tie.cl>
NNTP-Posting-Host: pc-146-86-104-200.cm.vtr.net
Mime-Version: 1.0
X-Trace: news.nivel5.cl 1196773686 9882 200.104.86.146 (4 Dec 2007 13:08:06 GMT)
X-Complaints-To: news@news.nivel5.cl
NNTP-Posting-Date: Tue, 4 Dec 2007 13:08:06 +0000 (UTC)
User-Agent: NewsPortal/0.3X RCL MOD
X-Abuse: robertocl@gmail.com
X-HTTP-Posting-Host: kerberos.uno.cl