我需要安装Oracle网站提供的示例模式:
http://download.oracle.com/otndocs/products/warehouse/olap/olaptrain_install.zip
我正在尝试运行以下命令:
http://www.oracle.com/technetwork/database/enterprise-edition/readme-098894.html
但我知道这个错误:
ORA-01537: cannot add file 'dm.dbf' - file already part of database以下是屏幕的副本:
SQL> ALTER SESSION SET CONTAINER = pdborcl;
Session altered.
SQL> @install_olaptrain.sql
Specify file system directory containing this installation program.
Directory: C:\Users\Ashish\Desktop\olaptrain_install
Specify a password for the OLAPTRAIN user.
Password:
Begin installation
... creating tablespaces
declare
*
ERROR at line 1:
ORA-01537: cannot add file 'dm.dbf' - file already part of database
ORA-06512: at line 31如何解决此错误?
发布于 2015-08-17 07:29:47
在“install_olaptra.sql”中更改数据文件的位置后,该问题得到了解决,并且
将'ho impdp‘语句更改为以下字符串将解决Oracle 12c中的任何登录错误:
管理器@//localhost:1521/my_pdb dumpfile=OLAPTRAIN12232009.DMP directory=OLAPTRAIN_INSTALL
然后"ORA-06512:在"SYS.UTL_FILE",第536行“出现。
发布于 2016-08-01 11:28:54
我使用install_olaptrain.sql中的脚本与表空间默认用户一起创建olaptrain用户。
然后用以下字符串导入:
impdpd dwhadmin/********@svildwh directory=expdp_dir \
dumpfile=OLAPTRAIN12232009.DMP logfile=test.log \
schemas=olaptrain remap_tablespace=DM:USERS \
remap_tablespace=DM_ARCHIVE:USERS导入可插拔数据库12c。
一切都好。
https://dba.stackexchange.com/questions/111204
复制相似问题