Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: question on limits
There is no limit on the number of datafiles belonging to a tablespace per se, but there is a limit on the number of datafiles that make up an ORACLE database. I believe that for UNIX the limit is 1022 datafiles. You can control how many datafiles your database can have with the MAXDATAFILES clause in the CREATE DATABASE.... statement (default=30) and the DB_FILES parameter in INIT.ORA file (DB_FILES<=MAXDATAFILES<=1022).
You can change DB_FILES at any time by editing the INIT.ORA, shutting down and re-starting the instance; to change the MAXDATAFILES value, you have to use the CREATE CONTROLFILE statement (be careful with this one !).
I hope this helps.
Michael Serbanescu
Senior Consultant, MIACO Corporation.
![]() |
![]() |