自拍偷在线精品自拍偷,亚洲欧美中文日韩v在线观看不卡

轉(zhuǎn)移Oracle海量數(shù)據(jù)到另外的用戶流程

數(shù)據(jù)庫 Oracle
以下的文章主要是教你快速轉(zhuǎn)移Oracle海量數(shù)據(jù)的實際操作方法,如果你對此方法也有研究的好話,或許此文章會給你一些借鑒。

假如你想把Oracle中的大量數(shù)據(jù)(80MB以上)轉(zhuǎn)移Oracle海量數(shù)據(jù)到另外的相關(guān)用戶或者是另外的相關(guān)表空間里。我建議你可以使用以下的快速轉(zhuǎn)移數(shù)據(jù)的實際操作方法。望大家瀏覽完之后會有所收獲。

 

一、建新表的方式

 

  1. create table target_tablename tablespace   
  2. target_tablespace_name nologging   
  3. pctfree 10 pctused 60   
  4. storage(initial 5M next 5M minextents 1   
  5. maxextents unlimited pctincrease 0)  
  6. as select * from username.source_tablename where  

條件;

 

注意事項: 新建的表沒有原來表的索引和默認(rèn)值, 只有非空(not null)的約束素條件可以繼承過來,其它的約束條件或索引需要重新建立.

 

二、直接插入的方法

 

  1. INSERT /*+ APPEND */ INTO target_tablename   
  2. SELECT * FROM username.source_tablename where 條件;   
  3. COMMIT;   

 

 

注意事項:

 

用INSERT /*+ APPEND */ 的方法會對target_tablename產(chǎn)生級別為6的獨占鎖,如果運行此命令時還有對target_tablename的DML操作會排隊在它后面,對OLTP系統(tǒng)在用的表操作是不合適的。

說明:這兩種方法轉(zhuǎn)移Oracle海量數(shù)據(jù)數(shù)據(jù)時沒有用SGA里數(shù)據(jù)緩沖區(qū)和事物處理的回滾段, 也不寫聯(lián)機事物日志,就象數(shù)據(jù)庫裝載工具Solload一樣直接把數(shù)據(jù)寫到物理文件,速度是很快的。在Oracle8i以后的版本都可以使用。

【編輯推薦】

  1. Oracle數(shù)據(jù)插入的性能優(yōu)化的描述
  2. 獲得Oracle權(quán)限的TABLE FUNCTION實操
  3. Oracle job interval 參數(shù)設(shè)置示例
  4. Oracle NLS_LANG設(shè)置的具體操作方法
  5. Oracle NLS_LANG設(shè)置的具體操作方法

 

責(zé)任編輯:佚名 來源: 博客園
相關(guān)推薦

2010-04-22 15:34:16

Oracle海量數(shù)據(jù)

2010-04-19 10:50:01

Oracle轉(zhuǎn)移

2011-01-05 15:15:01

數(shù)據(jù)庫

2011-06-03 09:22:04

OracleOracle應(yīng)用服務(wù)器

2010-04-27 10:39:59

Oracle數(shù)據(jù)庫

2010-10-29 11:55:48

oracle用戶

2010-04-06 16:50:07

Oracle數(shù)據(jù)庫

2013-06-14 09:21:10

2010-04-02 16:03:20

Oracle數(shù)據(jù)庫

2011-05-26 15:20:46

Oracle數(shù)據(jù)庫導(dǎo)出

2025-02-05 09:46:13

OracleDBA投資

2017-02-09 11:05:11

大數(shù)據(jù)用戶畫像技術(shù)

2010-04-07 18:11:34

Oracle表列

2010-07-08 11:15:37

SQL Server數(shù)

2021-08-27 14:48:09

數(shù)據(jù)

2015-07-23 17:02:55

oracle創(chuàng)建數(shù)據(jù)庫

2012-03-14 10:43:55

算法開發(fā)

2011-04-13 09:03:58

Oracle數(shù)據(jù)庫導(dǎo)入導(dǎo)出

2010-04-07 09:54:08

Oracle數(shù)據(jù)庫

2013-03-01 10:46:50

大數(shù)據(jù)核心海量數(shù)據(jù)
點贊
收藏

51CTO技術(shù)棧公眾號