Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Defrag 8i DB
Howard J. Rogers wrote:
> "Jeff McClure" <jeffrey_mcclure_at_wideopenwest.com> wrote in message
> news:32ea946a.0402200046.441bec84_at_posting.google.com...
>
>>Folks, >> >>I need to defrag my DB (as well as reorg) for performance reasons.
>>I >>have been looking through various postings and papers and one struck >>me. It is a white paper posted on URL: >>http://otn.oracle.com/deploy/availability/pdf/defrag.pdf. It suggests >>using the SAFE algorithm to eliminate defragmentation. Within the >>paper, it suggests using segment sizes of 160K, 5120K and 160M as >>required. Where did these numbers come from? Being an old school >>DBA, I learned that the most efficient disk access came from using a >>multiple of the physical buffer size (generally 512K).
There was some article explaining that as well ('Stop defragmenting and start living' or someting?!?). V7 stuff, 5 blocks minimum allocated, plus overhead, some sauce, presto: 160k.
> Someone once pointed out that they have even steps between them, but I
> always felt they were "peculiar". If you're going to take that paper's
> advice (which is generally sound -"use a few standard extent sizes") then
> use the ones which Oracle itself uses for locally managed auto-allocate
> tablespace: 64K, 1M, 8M and 64M (oh, and 256M if you really need it).
> Indeed, if you have a late-patched 8i or better, use auto-allocate LM
> tablespace and have done with it.
>
>
>>Although, >>these are in fact multiples of that buffer, they do not evenly divide >>into the standard block sizes (mine is 8K). Can someone explain to me >>how this is more efficent and why I should consider changing extent >>size throughout my DB to fit this scheme?
>>The performance of my DB is >>lack-luster, at best and as it has exceeded 30 GB, I would like to get >>it all under control.
:-)) Noticable vs measurable.
Always hard to explain to users and management.
Them: 'isn't it time to do some reorgs for performance?'
Me: 'Why - are you having problems in a particular area, then?'
>
> You didn't mention a version, but if you've got 8i or 9i, this stuff is
> really pretty ancient, and is not the thing to get worried about these days.
>
It's in the header: 8i... Patch to 8.1.7.4 (if not done), and start
using/migrating Locally Managed Tablespaces (LMT's)
>
> Regards
> HJR
-- Regards, Frank van BortelReceived on Fri Feb 20 2004 - 06:58:48 CST