Unix Technical Forum

is it possible to change maxblocks on the datafile?

This is a discussion on is it possible to change maxblocks on the datafile? within the Oracle Database forums, part of the Database Server Software category; --> We have tablespaces each with 1 datafile. Some of them have max blocks at 4.1m and others at 2.2m. ...


Go Back   Unix Technical Forum > Database Server Software > Oracle Database

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-23-2008, 04:13 AM
Ryan Gaffuri
 
Posts: n/a
Default is it possible to change maxblocks on the datafile?

We have tablespaces each with 1 datafile. Some of them have max blocks
at 4.1m and others at 2.2m. I believe the maxblocks and maxbytes
settings only come into play with autoextend on since i can resize my
datafile to larger than maxblocks.

however, I want my datafiles to be able to extend. I cant dig up any
syntax on how to alter maxblocks on OTN or metalink. is it possible?
if nto how do you deal with this and how does oracle determine your
default maxblocks?

i tried

alter database datafile/<datafile path>/<datafile> maxblocks 4m;

Tried it with the autoextend command in there as well.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-23-2008, 04:14 AM
Howard J. Rogers
 
Posts: n/a
Default Re: is it possible to change maxblocks on the datafile?


"Ryan Gaffuri" <rgaffuri@cox.net> wrote in message
news:1efdad5b.0311061122.73fe6139@posting.google.c om...
> We have tablespaces each with 1 datafile. Some of them have max blocks
> at 4.1m and others at 2.2m. I believe the maxblocks and maxbytes
> settings only come into play with autoextend on since i can resize my
> datafile to larger than maxblocks.
>
> however, I want my datafiles to be able to extend. I cant dig up any
> syntax on how to alter maxblocks on OTN or metalink. is it possible?
> if nto how do you deal with this and how does oracle determine your
> default maxblocks?
>
> i tried
>
> alter database datafile/<datafile path>/<datafile> maxblocks 4m;
>
> Tried it with the autoextend command in there as well.



Alter database datafile X maxSIZE 4M;

Also: alter database datafile X autoexend on;

Regards
HJR


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-23-2008, 04:18 AM
Jaap W. van Dijk
 
Posts: n/a
Default Re: is it possible to change maxblocks on the datafile?

On Fri, 7 Nov 2003 06:31:22 +1100, "Howard J. Rogers"
<hjr@dizwell.com> wrote:

>
>
>Alter database datafile X maxSIZE 4M;
>
>Also: alter database datafile X autoexend on;
>
>Regards
>HJR
>

Howard,

How restrained!

Jaap.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 12:11 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com