By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,851 Members | 1,746 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,851 IT Pros & Developers. It's quick & easy.

Defragmentation of Oracle 91 files on W2000 server

P: n/a
RAK
A client is testing a system on Oracle 9i and Win 2000 (why not 10g and
2003 etc? dont ask, long story).

Performance was poor. Among other issues, we discovered that the Oracle
datafiles are badly fragmented. This is fragmentation in the Windows sense
of the physical file being all over the disk, not the Oracles internal file
fragmentation.
Each Oracle DB file is typically in several thousand fragments (I have no
idea how it got that bad and finding out would take too long). The defrag
program reports 112 files, 260GB total disk space, and an impressive 234,000
file fragments.

The problem: so far they cannot defragment the Oracle data & index files.

They have just tried to defragment the disk which works for other files not
for the Oracle files (*.ora). They tried using Diskeeper and PerfectDisk
with the same result.
They tried the defragment-at-boot-time options with these programs, i.e. to
do the defrag before oracle starts up and perhaps prevents the ora files
being moved. Still no good.

There is plenty of spare space (36%) on the disks which are NTFS RAID5.

Seems a silly problem, there must be an easy answer....?
I am not an Oracle DBA by the way, but a general consultant looking at this
along with some other issues.

Jul 19 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a

"RAK" <ra****@NOSPAMattglobal.net> wrote in message
news:1b******************************@news.teranew s.com...
A client is testing a system on Oracle 9i and Win 2000 (why not 10g and
2003 etc? dont ask, long story).

Performance was poor. Among other issues, we discovered that the Oracle
datafiles are badly fragmented. This is fragmentation in the Windows sense
of the physical file being all over the disk, not the Oracles internal file fragmentation.
Each Oracle DB file is typically in several thousand fragments (I have no
idea how it got that bad and finding out would take too long). The defrag
program reports 112 files, 260GB total disk space, and an impressive 234,000 file fragments.

The problem: so far they cannot defragment the Oracle data & index files.

They have just tried to defragment the disk which works for other files not for the Oracle files (*.ora). They tried using Diskeeper and PerfectDisk
with the same result.
They tried the defragment-at-boot-time options with these programs, i.e. to do the defrag before oracle starts up and perhaps prevents the ora files
being moved. Still no good.

There is plenty of spare space (36%) on the disks which are NTFS RAID5.

Seems a silly problem, there must be an easy answer....?
I am not an Oracle DBA by the way, but a general consultant looking at this along with some other issues.

1. Shutdown the database normally.
2. Backup all the files on the disk.
3. format the drive(s).
4. restore the files to the disk.
5. Startup the database.

I had a similar experience and no amount of defrag stuff would help. I
finally had to format the drive and that wiped out hte fragmented master
boot record and I could have a defragged disk.
Jim
Jul 19 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.