473,785 Members | 2,283 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Fixing my table based on Dbcc Showcontig results

SR
Can someone please help me interpret this result set below and suggest
on way I can speed up my table? What changes should I make?

DBCC SHOWCONTIG scanning 'tblListing' table...
Table: 'tblListing' (1092914965); index ID: 1, database ID: 13
TABLE level scan performed.
- Pages Scanned........ ............... .........: 97044
- Extents Scanned........ ............... .......: 12177
- Extent Switches....... ............... ........: 13452
- Avg. Pages per Extent......... ............... : 8.0
- Scan Density [Best Count:Actual Count].......: 90.17% [12131:13453]
- Logical Scan Fragmentation ............... ...: 0.86%
- Extent Scan Fragmentation ............... ....: 2.68%
- Avg. Bytes Free per Page........... ..........: 1415.8
- Avg. Page Density (full)......... ............: 82.51%
DBCC execution completed. If DBCC printed error messages, contact your
system administrator.

Thank you.
Jul 20 '05 #1
2 5643
You should take a look at ttp://www.microsoft.c om/technet/prodtechnol/sql/2000/maintain/ss2kidbp.mspx. Let us know if you have any questions after reading this. Keep in mind that it's quite possible that given your server workload, index defragmentation isn't at all necessary.

Thanks,
Ryan Stonecipher
Microsoft SQL Server Storage Engine.
"SR" <yo****@socal.r r.com> wrote in message news:ba******** *************** ***@posting.goo gle.com...
Can someone please help me interpret this result set below and suggest
on way I can speed up my table? What changes should I make?

DBCC SHOWCONTIG scanning 'tblListing' table...
Table: 'tblListing' (1092914965); index ID: 1, database ID: 13
TABLE level scan performed.
- Pages Scanned........ ............... .........: 97044
- Extents Scanned........ ............... .......: 12177
- Extent Switches....... ............... ........: 13452
- Avg. Pages per Extent......... ............... : 8.0
- Scan Density [Best Count:Actual Count].......: 90.17% [12131:13453]
- Logical Scan Fragmentation ............... ...: 0.86%
- Extent Scan Fragmentation ............... ....: 2.68%
- Avg. Bytes Free per Page........... ..........: 1415.8
- Avg. Page Density (full)......... ............: 82.51%
DBCC execution completed. If DBCC printed error messages, contact your
system administrator.

Thank you.
Jul 20 '05 #2

"SR" <yo****@socal.r r.com> wrote in message
news:ba******** *************** ***@posting.goo gle.com...
Can someone please help me interpret this result set below and suggest
on way I can speed up my table? What changes should I make?

DBCC SHOWCONTIG scanning 'tblListing' table...
Table: 'tblListing' (1092914965); index ID: 1, database ID: 13
TABLE level scan performed.
- Pages Scanned........ ............... .........: 97044
- Extents Scanned........ ............... .......: 12177
- Extent Switches....... ............... ........: 13452
- Avg. Pages per Extent......... ............... : 8.0
- Scan Density [Best Count:Actual Count].......: 90.17% [12131:13453]
- Logical Scan Fragmentation ............... ...: 0.86%
- Extent Scan Fragmentation ............... ....: 2.68%
- Avg. Bytes Free per Page........... ..........: 1415.8
- Avg. Page Density (full)......... ............: 82.51%
DBCC execution completed. If DBCC printed error messages, contact your
system administrator.

Thank you.


http://www.sql-server-performance.co...showcontig.asp

At first glance, the output seems fine - there is very little fragmentation,
and the scan density is high. If you're having performance issues with this
table, you may want to give some more information. In particular, the CREATE
TABLE and CREATE INDEX statements, plus a query which is performing badly,
and the reason why you believe this table is the problem (eg. the execution
plan for the query).

Simon
Jul 20 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
2649
by: MAB | last post by:
I have two tables in SQL 6.5 database with identical fields and indexes. One contains the data of August 2003 and other July 2003. Now the august table is larger ( about 40000 more rows ) than the july table but i've noticed that the same queries perform much faster on the august table than the july table. Ive tried this with many different queries so i'm wondering whats the reason behind this. Is there a way to optimize a table? Remember ,...
4
7092
by: spilich | last post by:
I have a large table that I recently purged a year of data from. However, the table size in sp_spaceused hasn't decreased as much as I would expect. (there are no text or large object columns on this table, BTW) Running sp_spaceused on the table shows the following. rows reserved data index size unused TABLE_NAME 23470880 67790808 KB 18116312 KB 3211616 KB 46462880 KB I ran a dbcc indexdefrag on all indexes on...
16
21344
by: mamo74 | last post by:
Hello. I am administering a SQL Server (Enterprise Edition on Windows 2003) from some month and can't understand what is going on in the latest week (when the db grow a lot). The DB is around 250G, and has one table with 1 billion rows. It is performing in a decent way, but can't understand why a particolar table has strong performance problem.
2
2574
by: jon_brookins | last post by:
I have a stored proc that identifies indexes that need to be defragmented ( LogicalFragmentation > 20% ) using DBCC SHOWCONTIG. This works fine and shows me all of the candidate indexes to be defragged. I am using DBCC DBREINDEX to rebuild the indexes. What I noticed yesterday is that it seems that DBREINDEX is not actually doing anything. I would check the target indexes, run DBREINDEX, then check again. The same list of indexes came...
5
3250
by: garydevstore | last post by:
Hi, I have a table defined as CREATE TABLE ( IDENTITY (1, 1) NOT NULL , NULL , NULL , NOT NULL , NULL , (255) COLLATE SQL_Latin1_General_CP1_CS_AS
4
1700
by: Matik | last post by:
Hi, I have a small theoretical issue. I have one table, which is prettyu large. There is lot of evaluations running on this table, that's why, each process need to wait for another to be finished. Sometimes, for some critical functions, it takes to long time. I don't think that I can speed up processes, by changing the indexes on the tables (to increase scan time for example), because this is
8
2391
by: rshivaraman | last post by:
Hi : I have a TableA with around 10 columns with varchar and numeric datatypes It has 500 million records and its size is 999999999 KB. i believe it is kb i got this data after running sp_spaceused on it. The index_size was also pretty big in 6 digits. On looking at the tableA
3
18951
by: Tom | last post by:
Does anyone know if there is a simple way to get the results of a DBCC INPUTBUFFER() request into a table? I have a process for monitoring activity that will give me the results of sp_who2 into a temp table, and want to scroll through the active connections and get the input buffers into another table for review: Insert into #TmpWho exec sp_who2 'active' Something like that with the dbcc command.
5
5282
rsrinivasan
by: rsrinivasan | last post by:
Hi all, When i run below statement, i get some result set. But i want to store the results sets in some temp table. How can i store it? DBCC SHOWCONTIG ('table_name') WITH TABLERESULTS Thanks,
0
9480
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
10083
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8968
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7494
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6737
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5379
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5511
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3645
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2877
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.