Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: limit space usage in temporary tablespace
Jeff,
Just put a maxsize on the tempfile when you create it, or alter it:
alter database tempfile '/temp01.dbf' autoextend on maxsize 1024m;
that lets it grow to 1gb an no more.
-----Original Message-----
From: Jeffrey Beckstrom [mailto:JBECKSTROM_at_gcrta.org]=20
Sent: Friday, May 07, 2004 12:18 PM
To: oracle-l_at_freelists.org; ORACLE-L_at_IC.SUNYSB.EDU;
oracledba_at_lazydba.com; oracle-databases_at_yahoogroups.com;
oracle-rdbms_at_yahoogroups.com
Subject: limit space usage in temporary tablespace
With 8.1.7 and dictionary managed permanent temporary tablespace, we
have maxextents set to 505. Therefore, if someone starts to utilize all
of our temp space they will hit maxextents long before taking all the
space. This guards against the "bad" one time query.=20
With 9.2, we will switch to locally managed temporary tablespaces. As
such, there is no maxextents value. Is it possible to limit how much
space a given connection uses with these types of tablespaces or will a
user just "grab it all".
=20
Jeffrey Beckstrom
Database Administrator
Greater Cleveland Regional Transit Authority
1240 W. 6th Street
Cleveland, Ohio 44113
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.htmlput 'unsubscribe' in the subject line.
-----------------------------------------------------------------
----------------------------------------------------------------
Please see the official ORACLE-L FAQ: http://www.orafaq.com
----------------------------------------------------------------
To unsubscribe send email to: oracle-l-request_at_freelists.org
![]() |
![]() |