473,473 Members | 2,092 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

index fragmentation and explain

HI,

I had one delete statement, it was running for some time, caused
fragmentation on indexes. The delete performance is getting worse.
After reorg the indexes, the performance is getting better.

My question is I got explain before the reorg/runstats and after reorg/
runstats. The estimated costs are exactly the same..

I suppose the explain costs should be lower after reorg/runstats.

I don't understand this.

any suggestion is appreciated.

Thanks.

Dec 24 '07 #1
1 2712
Hi!

I don´t think that explain takes into consideration that the indexes may be
fragmented.
"He" assumes that the table and it´s index are well organized?
/dg

"jane" <es**********@yahoo.comwrote in message
news:b9**********************************@b40g2000 prf.googlegroups.com...
HI,

I had one delete statement, it was running for some time, caused
fragmentation on indexes. The delete performance is getting worse.
After reorg the indexes, the performance is getting better.

My question is I got explain before the reorg/runstats and after reorg/
runstats. The estimated costs are exactly the same..

I suppose the explain costs should be lower after reorg/runstats.

I don't understand this.

any suggestion is appreciated.

Thanks.

Dec 29 '07 #2

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

Similar topics

2
by: gary | last post by:
hello everyone, we dropped the clustered & nonclustered indeces on a table, then rebuilt them. logical fragmentation is near zero, but extent fragmentation is about 40%. how can this be if the...
18
by: Tron Thomas | last post by:
Given the following information about memory management in C++: ----- The c-runtime dynamic memory manager (and most other commercial memory managers) has issues with fragmentation similar to a...
25
by: sql_server_2000_user | last post by:
Hi, I have a table with about 305 million rows, and a composite primary key that consists of an ascending int and an ascending varchar(18), which is typically of length 13. Even if all the keys...
14
by: uli2003wien | last post by:
Dear group, we are running a SQL-Server Database which is about 30 GB large. The purpose of this database is to contain periodic data from automatic devices which insert values into some tables....
10
by: wackyphill | last post by:
After rebuilding an index, it still shows as the same amount of fragmentation. ANy ideas what's wrong? I'm determining which indexes to rebuild using the following query: SELECT...
1
by: Raziq Shekha | last post by:
Hi Folks, SQL Server 2000 SP3 on Windows 2000. I have a database on which I ran the command : dbcc dbreindex ('tablename') go for all tables in the database. Then I compared the dbcc...
8
by: rcamarda | last post by:
I thought I would delve into index fragmentation and I found some great sql from many posters (thanks Erland!). My question is how bad is bad? I know this is very subjective. Some scripts I found...
1
by: Shameer | last post by:
I monitor the index fragmentation through dbcc showcontig command , i get result as Pages Scanned Extents Scanned Extent Switches Avg. Pages per Extent Scan Density Logical Scan Fragmentation...
0
by: Shameer | last post by:
Hi, I monitor the index fragmentation through dbcc showcontig command , i get result as Pages Scanned Extents Scanned Extent Switches Avg. Pages per Extent Scan Density Logical Scan...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
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,...
1
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...
0
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...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.