docker oracle https://hub.docker.com/r/sath89/oracle-xe-11g/ docker run -d -p 8080:8080 -p 1521:1521 -v /my/oracle/data:/u01/app/oracle sath89/oracle-xe-11g create temporary tablespace YDM_DATA_temp tempfile‘/u01/app/oracle/oradata/XE/YDM_DATA_tmp.dbf‘ size 1024m autoextend on next 100m maxsize 10240m extent management local; create tablespace YDM_DATA logging datafile‘/u01/app/oracle/oradata/XE/YDM_DATA.dbf‘ size 1024m autoextend on next 100m maxsize 10240m extent management local; create user ydm identified by myhg_2016_ydm_Z default tablespace ydm_DATA temporary tablespace YDM_DATA_temp; grant connect to ydm; create directory backup2 as ‘/u01/app/oracle/home/backup/oracle‘; grant read,write on directory backup2 to ydm; impdp system/oracle directory=backup2 dumpfile=ydm_20180502.dmp logfile=ydm_20180502.log REMAP_SCHEMA=ydm:ydmtest table_exists_action=replace remap_tablespace=ydm_data:ydm_test_data;
原文地址:https://www.cnblogs.com/sweet22353/p/9107873.html
时间: 2024-10-05 16:15:13