Disk defrag on Win2000?

Disk defrag on Win2000?

Post by Les Bonse » Tue, 08 Apr 2003 06:27:48



Can you run disk defrag on Windows 2000 without damaging the DB2 files?

I do customer support for a software company. Our product works on top of
Oracle and DB2 databases. We have customers that want to run disk
defragmentation on their servers, but I'm been reluctant to agree to let
them on the assumption that the defragmentation may corrupt the DB2 database
they are running.

I only have about 6 months experience with DB2 and have barely scratched the
surface of what there is to know, no doubt. I'm thinking that if it can be
done at all, it should be done when the database is shutdown and no
transactions are running. But the customer runs 24/7 (a *), so they
really don't have the option of taking the database down for more than a few
minutes at a time.

Any experts on this newsgroup have any thought about this issue?

Thanks in advance,

Les

 
 
 

Disk defrag on Win2000?

Post by Powe » Wed, 09 Apr 2003 02:51:21



> Can you run disk defrag on Windows 2000 without damaging the DB2 files?

> I do customer support for a software company. Our product works on top of
> Oracle and DB2 databases. We have customers that want to run disk
> defragmentation on their servers, but I'm been reluctant to agree to let
> them on the assumption that the defragmentation may corrupt the DB2 database
> they are running.

> I only have about 6 months experience with DB2 and have barely scratched the
> surface of what there is to know, no doubt. I'm thinking that if it can be
> done at all, it should be done when the database is shutdown and no
> transactions are running. But the customer runs 24/7 (a *), so they
> really don't have the option of taking the database down for more than a few
> minutes at a time.

> Any experts on this newsgroup have any thought about this issue?

> Thanks in advance,

If the tables are not that big, i would reorganize tables instead of
defrag at the disk level. In fact if you do, you may wind up with
worse performance than before.

By the way, 24/7 on WIN platform seems like a reach. Cust should
install app on a stable os like AIX.

--Powell

- Show quoted text -

Quote:

> Les


 
 
 

Disk defrag on Win2000?

Post by Les Bonse » Wed, 09 Apr 2003 10:21:30




Quote:> > Can you run disk defrag on Windows 2000 without damaging the DB2 files?

> > I do customer support for a software company. Our product works on top
of
> > Oracle and DB2 databases. We have customers that want to run disk
> > defragmentation on their servers, but I'm been reluctant to agree to let
> > them on the assumption that the defragmentation may corrupt the DB2
database
> > they are running.

> > I only have about 6 months experience with DB2 and have barely scratched
the
> > surface of what there is to know, no doubt. I'm thinking that if it can
be
> > done at all, it should be done when the database is shutdown and no
> > transactions are running. But the customer runs 24/7 (a *), so they
> > really don't have the option of taking the database down for more than a
few
> > minutes at a time.

> > Any experts on this newsgroup have any thought about this issue?

> > Thanks in advance,

> If the tables are not that big, i would reorganize tables instead of
> defrag at the disk level. In fact if you do, you may wind up with
> worse performance than before.

We're already doing that, but the customers are complaining about the disk
fragmentation. I'm not convinced it's that big of a deal, but they seem to
think so.

Quote:

> By the way, 24/7 on WIN platform seems like a reach. Cust should
> install app on a stable os like AIX.

Agreed. Not *my* choice....

- Show quoted text -

Quote:

> --Powell

> > Les

 
 
 

Disk defrag on Win2000?

Post by Ian D. Bjorhovd » Wed, 09 Apr 2003 10:44:34



>>>Oracle and DB2 databases. We have customers that want to run disk
>>>defragmentation on their servers, but I'm been reluctant to agree to let
>>>them on the assumption that the defragmentation may corrupt the DB2
>>>database they are running.

>>If the tables are not that big, i would reorganize tables instead of
>>defrag at the disk level. In fact if you do, you may wind up with
>>worse performance than before.

> We're already doing that, but the customers are complaining about the disk
> fragmentation. I'm not convinced it's that big of a deal, but they seem to
> think so.

Do they have other data on the disks where the DB2 data is allocated?  If
not, why worry about defragging?

Do they have performance problems, or are the customers just being anal?

Thanks,

-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----==  Over 80,000 Newsgroups - 16 Different Servers! =-----

 
 
 

Disk defrag on Win2000?

Post by Les Bons » Thu, 10 Apr 2003 05:16:14




> >>>Oracle and DB2 databases. We have customers that want to run disk
> >>>defragmentation on their servers, but I'm been reluctant to agree to let
> >>>them on the assumption that the defragmentation may corrupt the DB2
> >>>database they are running.

> >>If the tables are not that big, i would reorganize tables instead of
> >>defrag at the disk level. In fact if you do, you may wind up with
> >>worse performance than before.

> > We're already doing that, but the customers are complaining about the disk
> > fragmentation. I'm not convinced it's that big of a deal, but they seem to
> > think so.

> Do they have other data on the disks where the DB2 data is allocated?  If
> not, why worry about defragging?

> Do they have performance problems, or are the customers just being anal?

I think they're just being anal... But until I can get approval to
actually travel to the customer site (they're in another state) and
see for myself, I'm sort of in the dark. I think they have an IS
consultant that is telling them to do it.

Thanks,

Les

- Show quoted text -

Quote:

> Thanks,

> -----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
> http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
> -----==  Over 80,000 Newsgroups - 16 Different Servers! =-----

 
 
 

Disk defrag on Win2000?

Post by Mark Yudki » Thu, 10 Apr 2003 15:16:26


We do it regularly, whilst the database is live.

With DMS you only need to defrag ocassionally (when you change the
containers), with SMS you need to defrag more often. This is one of the
advantages of DMS.

Defrag is for the physical files. REORG is for the internal layout inside of
those files. You need to REORG. If your files are not badly fragmented,
REORG will typically bring the most.

You mention 24x7. You'll need DB2 8.1 for online reorgs.


Quote:> Can you run disk defrag on Windows 2000 without damaging the DB2 files?

> I do customer support for a software company. Our product works on top of
> Oracle and DB2 databases. We have customers that want to run disk
> defragmentation on their servers, but I'm been reluctant to agree to let
> them on the assumption that the defragmentation may corrupt the DB2
database
> they are running.

> I only have about 6 months experience with DB2 and have barely scratched
the
> surface of what there is to know, no doubt. I'm thinking that if it can be
> done at all, it should be done when the database is shutdown and no
> transactions are running. But the customer runs 24/7 (a *), so they
> really don't have the option of taking the database down for more than a
few
> minutes at a time.

> Any experts on this newsgroup have any thought about this issue?

> Thanks in advance,

> Les

 
 
 

Disk defrag on Win2000?

Post by Les Bons » Thu, 10 Apr 2003 23:54:56



> We do it regularly, whilst the database is live.

> With DMS you only need to defrag ocassionally (when you change the
> containers), with SMS you need to defrag more often. This is one of the
> advantages of DMS.

> Defrag is for the physical files. REORG is for the internal layout inside of
> those files. You need to REORG. If your files are not badly fragmented,
> REORG will typically bring the most.

> You mention 24x7. You'll need DB2 8.1 for online reorgs.

Mark,

Thanks for the info.

I'm definitely going to test this thoroughly before I have the
customer try it, but it's good to know that it can be done. Now I just
need to figure out if it's really needed. ;-)

We already do a REORG (either with DB2's commands or using
QuestCentral), so I don't think they are too bad off performance-wise.

Being a * in a very rural area, they can get away with being down
for short periods of time during the wee hours of the early morning,
so they usually do a reorg on selected tables on a regular basis.
Don't know when they can go to DB2 8.1; offically our product doesn't
work with DB2 8.1 yet.

Thanks again!

Les



> > Can you run disk defrag on Windows 2000 without damaging the DB2 files?

> > I do customer support for a software company. Our product works on top of
> > Oracle and DB2 databases. We have customers that want to run disk
> > defragmentation on their servers, but I'm been reluctant to agree to let
> > them on the assumption that the defragmentation may corrupt the DB2
>  database
> > they are running.

> > I only have about 6 months experience with DB2 and have barely scratched
>  the
> > surface of what there is to know, no doubt. I'm thinking that if it can be
> > done at all, it should be done when the database is shutdown and no
> > transactions are running. But the customer runs 24/7 (a *), so they
> > really don't have the option of taking the database down for more than a
>  few
> > minutes at a time.

> > Any experts on this newsgroup have any thought about this issue?

> > Thanks in advance,

> > Les

 
 
 

Disk defrag on Win2000?

Post by Mark Yudki » Sat, 12 Apr 2003 14:49:36


Before running the defrag, do an analyse. This will report on the amount of
fragmentation, and let you know if it's worth doing.
Also consider using DMS if disk fragmentation is a problem.


> > We do it regularly, whilst the database is live.

> > With DMS you only need to defrag ocassionally (when you change the
> > containers), with SMS you need to defrag more often. This is one of the
> > advantages of DMS.

> > Defrag is for the physical files. REORG is for the internal layout
inside of
> > those files. You need to REORG. If your files are not badly fragmented,
> > REORG will typically bring the most.

> > You mention 24x7. You'll need DB2 8.1 for online reorgs.

> Mark,

> Thanks for the info.

> I'm definitely going to test this thoroughly before I have the
> customer try it, but it's good to know that it can be done. Now I just
> need to figure out if it's really needed. ;-)

> We already do a REORG (either with DB2's commands or using
> QuestCentral), so I don't think they are too bad off performance-wise.

> Being a * in a very rural area, they can get away with being down
> for short periods of time during the wee hours of the early morning,
> so they usually do a reorg on selected tables on a regular basis.
> Don't know when they can go to DB2 8.1; offically our product doesn't
> work with DB2 8.1 yet.

> Thanks again!

> Les



> > > Can you run disk defrag on Windows 2000 without damaging the DB2
files?

> > > I do customer support for a software company. Our product works on top
of
> > > Oracle and DB2 databases. We have customers that want to run disk
> > > defragmentation on their servers, but I'm been reluctant to agree to
let
> > > them on the assumption that the defragmentation may corrupt the DB2
> >  database
> > > they are running.

> > > I only have about 6 months experience with DB2 and have barely
scratched
> >  the
> > > surface of what there is to know, no doubt. I'm thinking that if it
can be
> > > done at all, it should be done when the database is shutdown and no
> > > transactions are running. But the customer runs 24/7 (a *), so
they
> > > really don't have the option of taking the database down for more than
a
> >  few
> > > minutes at a time.

> > > Any experts on this newsgroup have any thought about this issue?

> > > Thanks in advance,

> > > Les

 
 
 

1. Help:Defrag.pl on win2000

Does defrag.pl works on win2000?
When I trying
C:>perl defrag.pl --tablespace=USER
                  --user=system
      etc

I got an error message
The getpwuid function is unimplemented at defrag.pl line 58.

When I try to install getpwuid, I got an error message
it is not available.

Could somebody help me out?

Thanks.

--
Sent by  dbadba62 from hotmail part of  com
This is a spam protected message. Please answer with reference header.
Posted via http://www.usenet-replayer.com/cgi/content/new

2. HELP! SQL 4.21 Vb 3.0 Rollback problems

3. Defrag Disk After Cube Processing ?

4. Help! Replication is slow

5. Disk Defrag for ms-sqlserver database files

6. Newbie: LOGICAL Logs -Reply

7. Defrag Clustered Array Disks?

8. DBA's /DBA's VA-DC-MD

9. Scan Disk , Defrag, maintance program not working properly.

10. EMC disks and defrag utility

11. to defrag or not to defrag

12. sp detach, remove Win2000 "instance", reinstall Win2000, etc

13. To Defrag or Not To Defrag.. That is the question?