cancel
Showing results for 
Search instead for 
Did you mean: 

How to make AUTOEXTEND for a Tablespace OFF

Former Member
0 Kudos

Hi,

In one of my Quality system in all the tablespaces(except SYSTEM,PSAPTEMP) AUTOEXTEND is ON.

But I want this to be OFF.

SO can anyone tell me exact steps to do the same?

Do I need to make each and every datafile's AUTOEXTEND OFF???

SAP 4.6C

Windows server 2003.

Oracle 9i.

Regds,

Mofizur

Accepted Solutions (1)

Accepted Solutions (1)

stefan_koehler
Active Contributor
0 Kudos

Hello,

>> Do I need to make each and every datafile's AUTOEXTEND OFF???

Yes, you have to...

You can use this script - all datafiles are changed to "autoextend off".

>spool run.sql

>select 'alter database datafile '||file_name||' '||' autoextend off;' from dba_data_files;

>@run

Regards

Stefan

Former Member
0 Kudos

Hello Stefan,

Thanks a lot.

It worked.

Regds,

Mofizur

Answers (1)

Answers (1)

Former Member
0 Kudos

>

>>>> But I want this to be OFF.

but why?

do you really have too much time, that you can spend it in extending datafiles manually?

Peter

Former Member
0 Kudos

Hello Peter,

Actually there is some space issue in that server.

Thanks a lot for your valuable input.

Regds,

Mofizur