校园春色亚洲色图_亚洲视频分类_中文字幕精品一区二区精品_麻豆一区区三区四区产品精品蜜桃

主頁 > 知識庫 > oracle表空間的創(chuàng)建及dmp 文件的導(dǎo)入(推薦)

oracle表空間的創(chuàng)建及dmp 文件的導(dǎo)入(推薦)

熱門標(biāo)簽:地圖標(biāo)注的坐標(biāo)點 上海網(wǎng)絡(luò)外呼系統(tǒng) 外呼系統(tǒng)好點子 電話機器人那種好 百度地圖標(biāo)注飯店位置怎么 區(qū)域地圖標(biāo)注怎么設(shè)置 理財產(chǎn)品電銷機器人 南通電銷外呼系統(tǒng)哪家強 百度地圖標(biāo)注注解

--用oracle系統(tǒng)權(quán)限的賬號 登陸

-- 1.創(chuàng)建用戶
create user u_name identified by "u_password";
--2.賦予權(quán)限
grant dba, resource, connect to u_name; 
grant create session to u_name;
grant create table to u_name;
grant create view to u_name;
grant create tablespace to u_name;
grant unlimited tablespace to u_name;
grant select any table to u_name;
grant select any dictionary to u_name;
--3.創(chuàng)建目錄 dictionary
create directory directory_name as 'D:\oracleEnv\Oracle\product\11.2.0\db\backup'; --路徑可以自己指定
--4.賦予目錄權(quán)限
GRANT read,write ON DIRECTORY directory_name TO u_name;
--5.創(chuàng)建表空間
create tablespace table_space_name
datafile 'D:\oracleEnv\Oracle\product\11.2.0\dbhome_1\oradata\table_space_name.DBF'
size 2500M
autoextend on next 500M maxsize 12000M; 
--6.修改表空間配置
ALTER USER table_space_name DEFAULT TABLESPACE u_name;
--8.查看表空間
select tablespace_name , file_id,bytes from dba_data_files where tablespace_name='my_table_space_name';
-- 9.導(dǎo)入數(shù)據(jù)
-簡單版 
impdp u_name/u_password@ORCL dumpfile=file_path full=y table_exists_action=replace
--常用版
impdp u_name/u_password@ip_address/space_name directory=my_director full=y dumpfile=my_dmp_file.DMP logfile=my_dmp_file.log table_exists_action=replace;
--高級版
impdp u_name/u_password@ip_address/space_name directory=my_director full=y dumpfile=my_dmp_file.DMP logfile=my_dmp_file.log
[remap_schema=user_1:user_2] [remap_tablespace =table_space_1:table_space_2] [table_exists_action=replace]

總結(jié)

以上所述是小編給大家介紹的oracle表空間的創(chuàng)建及dmp 文件的導(dǎo)入,希望對大家有所幫助,如果大家有任何疑問請給我留言,小編會及時回復(fù)大家的。在此也非常感謝大家對腳本之家網(wǎng)站的支持!

您可能感興趣的文章:
  • Linux下Oracle如何導(dǎo)入導(dǎo)出dmp文件詳解
  • oracle創(chuàng)建表空間、授權(quán)、創(chuàng)建用戶、導(dǎo)入dmp文件
  • 利用PL/SQL從Oracle數(shù)據(jù)庫導(dǎo)出和導(dǎo)入數(shù)據(jù)
  • oracle數(shù)據(jù)庫導(dǎo)入TXT文件方法介紹

標(biāo)簽:昭通 百色 遼源 紹興 中衛(wèi) 寧波 自貢 海東

巨人網(wǎng)絡(luò)通訊聲明:本文標(biāo)題《oracle表空間的創(chuàng)建及dmp 文件的導(dǎo)入(推薦)》,本文關(guān)鍵詞  oracle,表空,間的,創(chuàng)建,及,;如發(fā)現(xiàn)本文內(nèi)容存在版權(quán)問題,煩請?zhí)峁┫嚓P(guān)信息告之我們,我們將及時溝通與處理。本站內(nèi)容系統(tǒng)采集于網(wǎng)絡(luò),涉及言論、版權(quán)與本站無關(guān)。
  • 相關(guān)文章
  • 下面列出與本文章《oracle表空間的創(chuàng)建及dmp 文件的導(dǎo)入(推薦)》相關(guān)的同類信息!
  • 本頁收集關(guān)于oracle表空間的創(chuàng)建及dmp 文件的導(dǎo)入(推薦)的相關(guān)信息資訊供網(wǎng)民參考!
  • 推薦文章
    主站蜘蛛池模板: 固镇县| 上蔡县| 吉木乃县| 阿合奇县| 巫山县| 博客| 大关县| 景洪市| 连山| 仪征市| 大英县| 革吉县| 铜川市| 海门市| 镇远县| 新和县| 定南县| 新民市| 澄江县| 华安县| 江门市| 广西| 都江堰市| 合山市| 新田县| 易门县| 台北市| 鄄城县| 娱乐| 芮城县| 正镶白旗| 郎溪县| 新巴尔虎左旗| 历史| 宜阳县| 仁怀市| 沽源县| 博白县| 疏勒县| 策勒县| 巴林左旗|