Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

AUTOEXTEND: tempfiles

2 views
Skip to first unread message

wage...@yahoo.com

unread,
Dec 7, 2004, 9:37:17 PM12/7/04
to
Created a temporary tablespace (tempfiles) WITHOUT the AUTOEXTEND
CLAUSE.

How can add the AUTOEXTEND CLAUSE to an existing temporary tablespace
with tempfiles?

I don't want to create another temp tablespace and drop the existing
tbs....

The error is not reported for regular datafiles.

SQL> alter database datafile '/oracle/admin/TEST/oradata/TESTTEMP02'
autoextend on next 10m maxsize 50m;
alter database datafile '/oracle/admin/TEST/oradata/TESTTEMP02'
autoextend on next 10m maxsize 50m
*
ERROR at line 1:
ORA-01516: nonexistent log file, datafile, or tempfile
"/oracle/admin/TEST/oradata/TESTTEMP02"

Thanks much.
wagen

wage...@yahoo.com

unread,
Dec 7, 2004, 9:37:36 PM12/7/04
to

wage...@yahoo.com

unread,
Dec 7, 2004, 9:38:22 PM12/7/04
to

Vicchu

unread,
Dec 7, 2004, 10:08:23 PM12/7/04
to
Try this syntax :

alter database tempfile '/oracle/admin/TEST/oradata/TESTTEMP02' autoextend on next 10m maxsize 50m;

Vishwa

SW

unread,
Dec 7, 2004, 11:05:38 PM12/7/04
to

wage...@yahoo.com wrote:
>
> SQL> alter database datafile '/oracle/admin/TEST/oradata/TESTTEMP02'
> autoextend on next 10m maxsize 50m;
> alter database datafile '/oracle/admin/TEST/oradata/TESTTEMP02'
> autoextend on next 10m maxsize 50m
> *
> ERROR at line 1:
> ORA-01516: nonexistent log file, datafile, or tempfile
> "/oracle/admin/TEST/oradata/TESTTEMP02"
>
> Thanks much.
> wagen

Since the database files assocaited with a temporary TBS are temp
files, you can't use 'datafile' clause to change the file parameters.
Try 'tempfile' instead.

Christopher Jung

unread,
Dec 8, 2004, 8:25:30 AM12/8/04
to
Autoextending temp sounds dangerous. Someone accidentally cartesian joins
some large tables together, temp tablepsace files filesystem, then finally
query errors out.

<wage...@yahoo.com> wrote in message
news:1102473437....@z14g2000cwz.googlegroups.com...

0 new messages