Article View: chile.comp.programacion
Article #705Re: Mantenimiento de BD
From: ShEnZy
Date: Fri, 30 Nov 2007 17:14
Date: Fri, 30 Nov 2007 17:14
40 lines
2747 bytes
2747 bytes
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:
<fipgdk$k2g$1@jagger.tie.cl>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!news.kjsl.com!news.nivel5.cl!news.tie.cl!not-for-mailReferences:
<efffa3d34a636e6928b086f81523ee5e$1@usenet.no-ip.com>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!news2.google.com!news.glorb.com!news.kjsl.com!news.nivel5.cl!news.tie.cl!not-for-mail From: "ShEnZy" <dktronics@[nospam]hotmail.com> Newsgroups: chile.comp.programacion Subject: Re: Mantenimiento de BD Date: Fri, 30 Nov 2007 14:14:46 -0300 Organization: Telefonica Internet Empresa Lines: 42 Message-ID: <fipgdk$k2g$1@jagger.tie.cl> References: <efffa3d34a636e6928b086f81523ee5e$1@usenet.no-ip.com> NNTP-Posting-Host: 190-82-192-18.adsl.cust.tie.cl X-Trace: jagger.tie.cl 1196442868 20560 190.82.192.18 (30 Nov 2007 17:14:28 GMT) X-Complaints-To: news@jagger.tie.cl NNTP-Posting-Date: Fri, 30 Nov 2007 17:14:28 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.3138 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3138 X-RFC2646: Format=Flowed; Original