Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

cloning problem: ORA-00059: maximum number of DB_FILES exceeded

sharonkovacSep 14 2009 — edited Sep 14 2009
Hi everyone!

I'm trying to clone our data warehouse over an existing test instance, DMART01. Here's what I did:
1. on the data warehouse - alter database backup controlfile to trace;
2. edited the trace file to change the db name and path of the datafiles
3. logon to sqlplus in DMART01 and run my altered trace file.
4. Below is the error I'm getting:
SQL> @clone09142009.sql
ORACLE instance started.

Total System Global Area 1358954496 bytes
Fixed Size 2128280 bytes
Variable Size 1203668584 bytes
Database Buffers 150994944 bytes
Redo Buffers 2162688 bytes
CREATE CONTROLFILE REUSE SET DATABASE "DMART01" RESETLOGS NOARCHIVELOG
*
ERROR at line 1:
ORA-01503: CREATE CONTROLFILE failed
ORA-00059: maximum number of DB_FILES exceeded
ORA-01110: data file 211:
'/data/oracle/dmart01/d05/oracle/dmart01data/DW_PROD_MEDIUM11.dbf'

In my trace file it has
CREATE CONTROLFILE REUSE SET DATABASE "DMART01" RESETLOGS NOARCHIVELOG
MAXLOGFILES 16
MAXLOGMEMBERS 2
MAXDATAFILES 500
MAXINSTANCES 1
MAXLOGHISTORY 1816

Additional information - the data warehouse has an entire tablespace with many datafiles that I don't want in DMART01. I edited those datafile lines out of my trace file. Could some remnants of that be causing my problems? The DB_FILES parameter in the warehouse is set to 500. In DMART01 it's only 200. In the clone, I only want to bring over 61 datafiles. Besides, I thought that in the create controlfile statement would set the parameter, in this case to 500.

I'm stumped. Any suggestions?

Thanks!
Sharon

Comments

Processing
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Oct 12 2009
Added on Sep 14 2009
1 comment
858 views