Home » RDBMS Server » Server Administration » Create Datafile Automatically
Create Datafile Automatically [message #371746] Fri, 01 December 2000 09:10 Go to next message
Henry
Messages: 14
Registered: November 2000
Junior Member
I am looking for a script that will query dba_free_space and will the automatically create a script that will add a datafile to a tablespace when the free space in a tablespace falls below a certain value.
Re: Create Datafile Automatically [message #372337 is a reply to message #371746] Fri, 02 February 2001 17:38 Go to previous message
Tuan Tran
Messages: 1
Registered: February 2001
Junior Member
Hi, instead of creating a script to add a new datafile each time free space is low, and wasting resources in the monitoring. I think it's easier to turn on AUTOEXTEND. Thus when more tablespace is need, the database will extend the datafile to fit more information.

ALTER DATABASE DATAFILE '\DATABASE\DATAFILE' AUTOEXTEND ON
Previous Topic: Trigger to audit..
Next Topic: About OLB and TLB
Goto Forum:
  


Current Time: Mon Dec 23 00:12:02 CST 2024