Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: limit space usage in temporary tablespace
Jeff,
The maxsize I posted is an attribute of the file, not the segments.
I currently use maxsize and it's fine. Give it a shot on one of your=20
test/dev instances, if it doesn't work as advertised lemme know.=20
Regards,
-----Original Message-----
From: Jeffrey Beckstrom [mailto:JBECKSTROM_at_gcrta.org]=20
Sent: Friday, May 07, 2004 12:29 PM
To: oracle-l_at_freelists.org; ORACLE-L_at_IC.SUNYSB.EDU;
oracledba_at_lazydba.com; Anthony Molinaro;
oracle-databases_at_yahoogroups.com; oracle-rdbms_at_yahoogroups.com
Subject: RE: limit space usage in temporary tablespace
What about this note:
=20
This behavior is documented. =20
MAXEXTENTS is ignored for temporary tablespaces. As stated in the =20
SQL Reference guide, only NEXT is noted for temporary tablespaces.=20
>>> amolinaro_at_wgen.net 5/7/04 12:22:37 PM >>>
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]=3D20=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=20
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.=3D20
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".
=3D20
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.html=20put 'unsubscribe' in the subject line.
-----------------------------------------------------------------
----------------------------------------------------------------
Please see the official ORACLE-L FAQ: http://www.orafaq.com=20
----------------------------------------------------------------
To unsubscribe send email to: oracle-l-request_at_freelists.org=20
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
![]() |
![]() |