T
Tom Ellison
I have 6 very large and horribly fragmented database files (MDB and MDF).
They range from 1.59 GB to 2.81 GB in size (SQL Express on the larger ones).
There are up to 19 thousand fragments in them. I've just learned that, even
though the HD is only 79% full, I cannot defrag these. I would have to
somehow get 2.81 GB of CONTIGUOUS free space to do the largest. Looking at
the map in defrag, I doubt there is a single contiguous area of free space
larger than a half GB.
Before going to the expense and effort of buying another HD, installing it,
and copying these files, I want to ask your opinion and experience with the
performance issues involved. Is such a horribly fragmented MDB as this,
scattered back and forth across a 40 GB drive, likely to see much
performance improvement if defragged?
I ran into a client who wanted performance. I decreased the storage of most
of the columns of data, reducing the size by 70% and more, then added an
index. I got about a 10:1 performance improvement in queries. Now I want
to ask the client to defrag what is a very large database (he's already
reused most of the 70% savings by adding more records). I had hoped to
defrag and test here, but that's being held up because I can't defrag.
Do you see much performance improvement with a defrag on a database that is
in such bad condition? Any idea how much? The index still leaves a table
scan of perhaps a million rows (rather than the total database of 10 million
rows, hence the 10:1 improvement).
I know, this is a crazy thing to do with Jet. I'm trying to get it switched
to SQL Express, but if I can illustrate an even greater improvement still
using Jet, my credibility goes up. That will then tend to help move things
toward the ultimate solution.
Tom Ellison
They range from 1.59 GB to 2.81 GB in size (SQL Express on the larger ones).
There are up to 19 thousand fragments in them. I've just learned that, even
though the HD is only 79% full, I cannot defrag these. I would have to
somehow get 2.81 GB of CONTIGUOUS free space to do the largest. Looking at
the map in defrag, I doubt there is a single contiguous area of free space
larger than a half GB.
Before going to the expense and effort of buying another HD, installing it,
and copying these files, I want to ask your opinion and experience with the
performance issues involved. Is such a horribly fragmented MDB as this,
scattered back and forth across a 40 GB drive, likely to see much
performance improvement if defragged?
I ran into a client who wanted performance. I decreased the storage of most
of the columns of data, reducing the size by 70% and more, then added an
index. I got about a 10:1 performance improvement in queries. Now I want
to ask the client to defrag what is a very large database (he's already
reused most of the 70% savings by adding more records). I had hoped to
defrag and test here, but that's being held up because I can't defrag.
Do you see much performance improvement with a defrag on a database that is
in such bad condition? Any idea how much? The index still leaves a table
scan of perhaps a million rows (rather than the total database of 10 million
rows, hence the 10:1 improvement).
I know, this is a crazy thing to do with Jet. I'm trying to get it switched
to SQL Express, but if I can illustrate an even greater improvement still
using Jet, my credibility goes up. That will then tend to help move things
toward the ultimate solution.
Tom Ellison