Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: What is against autoextending datafiles? (was: autoextend = ???
"Frank van Bortel" <fbortel_at_home.nl> wrote in message
news:3ACE28AA.B6128EB0_at_home.nl...
> Connor McDonald wrote:
> >
> > Howard J. Rogers wrote:
> > >
> > > "Frank van Bortel" <fbortel_at_home.nl> wrote in message
> > > news:3ACB844F.2CC41C50_at_home.nl...
> > > >
> > > > Please elaborate as to why (proof, please!) autoextending datafiles
> > > > is a bad idea?
> > > > (In a highly tuned env, I agree - for civil servants, I tend to use
it)
> > > >
> > >
> > > When do you think the data files will want to take advantage of its
ability
> > > to autoextend?
> > >
> > > 1. When it's run out of space
> > > 2. When someone is doing a piece of DML which requires more space
> > >
> > > So the autoextension takes place precisely when you *don't* want it to
> > > happen... at exactly the moment when your User is hoping to do a quick
> > > insert and get on with something more useful to do. Instead, he has
to sit
> > > there whilst a full-blown conversation takes place in the data
dictionary
> > > along the lines of "I'd like to do an Insert please." "Can't -no free
> > > space". "Well, can you autoextend?" "Don't know -I'll just check
<pause>..
> > > yes, I can". "Well, can you do so please?" "How much by?" "Oh, I'm a
> > > 50K-extent segment, so 50K will do fine" "OK. Hang on. <pause whilst
disk is
> > > visited> OK you may proceed". "Cheers."
> > >
>
Of course not. But then, as a good DBA, this guy Howard would never have allowed such a state of affairs to arise in the first place!
> > >
> > > But if it is going to be used, it's crucial that there is a 'NEXT'
clause
> > > used, so that the thing doesn't continually try and grab tiny bits of
extra
> > > disk space. Instead it should acquire juicy great chunks each time (I
seem
> > > to recall a 'NEXT 100M' every time I went on holiday). And I'd not
abandon
> > > the entire disk to said files, so a 'MAXSIZE' clause is pretty much a
> > > requirement.
>
I think you'll find the operating system (ie, the file system) does a fair job of preventing that on it is own, with or without assistance from a maxsize clause.
> >
> > Other than that, generally I reckon autoextend is like holding a flag
> > saying "I don't know whats happening on my database"...
>
For my (really!) last post, those sound like words of wisdom that I'd buy into anytime.
Take care
HJR
>