Oracle7 Server Administrator's Guide
Guidelines for Managing Datafiles
This section describes aspects of managing datafiles, and includes the following topics:
Number of Datafiles
At least one datafile is required for the SYSTEM tablespace of a database; a small system might have a single datafile. In general, keeping a few large datafiles is preferable to many small datafiles, because you can keep fewer files open at the same time.
You can add datafiles to tablespaces, subject to the following operating system-specific datafile limits:
Note: You can increase space in the database by resizing datafiles. Resizing existing datafiles is useful if you are nearing the MAXDATAFILES limit.
With the Oracle7 Parallel Server, all instances must set the instance datafile upper bound to the same value.
The use of DB_FILES and MAXDATAFILES is optional. If neither is used, the default maximum number of datafiles is the operating system-specific Oracle7 system limit.
See Also: For more information on operating system limits, see your operating system-specific Oracle documentation.
For information about Parallel Server operating system limits, see the manual.
For more information about MAXDATAFILES, see the Oracle7 Server SQL Reference.
Set the Size of Datafiles
The first datafile (in the original SYSTEM tablespace) must be at least 2M to contain the initial data dictionary and rollback segment. If you install other Oracle7 products, they may require additional space in the SYSTEM tablespace (for online help, for example); see the installation instructions for these products.
Place Datafiles Appropriately
Tablespace location is determined by the physical location of the datafiles that constitute that tablespace. Use the hardware resources of your computer appropriately.
For example, if several disk drives are available to store the database, it might be helpful to store table data in a tablespace on one disk drive, and index data in a tablespace on another disk drive. This way, when users query table information, both disk drives can work simultaneously, retrieving table and index data at the same time.
Store Datafiles Separately From Redo Log Files
Datafiles should not be stored on the same disk drive that stores the database's redo log files. If the datafiles and redo log files are stored on the same disk drive and that disk drive fails, the files cannot be used in your database recovery procedures.
If you multiplex your redo log files, then the likelihood of your losing all of your redo log files is low, so you can store datafiles on the same drive as some redo log files.