标签:default 根据 esc replace rac 目录 alt lte toe
本项目是疾控中心的一个oracle小数据量迁移过程分享,具体显示结果就不显示。
迁移数据分为以下几个步骤:
分为如下五个部分:
select dbid,name,to_char(created,’yyyy-mm-dd hh24:mi:ss’),log_mode from v$DATABASE;
select userenv(‘language’) from dual;
select * from dba_users;
select * from dba_roles;
select * from dba_tablespaces;
select * from dba_jobs;
select * from dba_scheduler_jobs;
比如:
SQL>CREATE SMALLFILE TABLESPACE "jkzx" DATAFILE SIZE 100G autoextend on ;
比如:
SQL>create user jsjk identified byjskjdefault tablespace jkzx ;
SQL>grant connect,resource to jkzx;
create public database link jkzx
connect to username IDENTIFIED BY password
using ‘(description=(address=(protocol=TCP)
(host=192.168.1.2)(port=1521))(connect_data=(SERVICE_NAME = jkzx)))‘;
CREATE OR REPLACE DIRECTORY jsjk_dir AS ‘/oradata/‘;
expdp <username>/<password>@<SID> directory=<dir_name> dumpfile=xxxxxx.dat logfile=xxxx.log schemas=jsjk;
物化视图
Job及scheduler
Procedure
Package等等
sga
pga
PROCESSES
SESSIONS
case_sensitive
deffer_creation_segement
open_cursor
job_queue_processes
标签:default 根据 esc replace rac 目录 alt lte toe
原文地址:http://www.cnblogs.com/zywu-king/p/7801934.html