上一页 1 ··· 40 41 42 43 44 45 46 47 48 ··· 76 下一页
摘要: SQL> edWrote file afiedt.buf 1 create table ext_emp2 2 ( 3 employee_id, 4 last_name, 5 salary, 6 department_id 7 ) 8 organization external 9 ( 10 type oracle_datapump 11 default directory test_dir 12 location ('emp1.dat') 13 ) 14 as 15* select employee_id,... 阅读全文
posted @ 2013-06-07 16:55 ArcerZhang 阅读(174) 评论(0) 推荐(0) 编辑
摘要: [oracle@arcerzhang data_pump]$ sqlplus test/testSQL*Plus: Release 11.2.0.1.0 Production on Fri Jun 7 16:24:06 2013Copyright (c) 1982, 2009, Oracle. All rights reserved.Connected to:Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit ProductionWith the Partitioning, OLAP, Data Mining a. 阅读全文
posted @ 2013-06-07 16:29 ArcerZhang 阅读(260) 评论(0) 推荐(0) 编辑
摘要: SQL> spool /RealData/oracle/backup/emp1.txtSQL>SQL> !lsdata_pump emp1.txt FGPS_BACKUPSQL> select employee_id||','||last_name||','||salary||','||department_id from emp1;EMPLOYEE_ID||','||LAST_NAME||','||SALARY||','||DEPARTMENT_ID------------ 阅读全文
posted @ 2013-06-07 16:05 ArcerZhang 阅读(361) 评论(0) 推荐(0) 编辑
摘要: Oracle 数据引擎ORACLE_LOADER 用户只能从外部读取表数据,但是不能将数据库中的数据卸载到操作系统文件中.ORACLE_DATAPUMP 用户不仅可以从外部表中读取数据,同时可以将数据库中复杂的数据查询后卸载到操作系统文件中.External TablesExternal tables are read-only tables stored as files on the operating outside of the Oracle database.External Table BenefitsData can be used directly from the exter 阅读全文
posted @ 2013-06-07 16:02 ArcerZhang 阅读(359) 评论(0) 推荐(0) 编辑
摘要: set heading on|offSQL> set heading offSQL> select * from dba_directories;SYS TEST_DIR /RealData/oracle/backup/data_pumpSYS SUBDIR /RealData/oracle/demo/schema/order_entry//2002/SepSYS ... 阅读全文
posted @ 2013-06-07 15:55 ArcerZhang 阅读(141) 评论(0) 推荐(0) 编辑
摘要: 使用SQL*Loader可以替换已有的数据.在SQL*Loader中replace这种命令就可以.truncate与sql loader中的replace有什么区别,truncate要比replace快,使用replace 进行数据替换之前,首先得先删除原有的数据,然后再添加新的数据,replace的删除,会触发删除对应的触发器,而truncate则不会.sql loader可以过滤掉无效的数据,将不符合条件的数据排除在数据库之外.使用sql loader可以从多个数据源中加载,加载到数据库中的时候可以插入到多个数据库表中.执行sql loader的时候,需要将操作系统上的执行批量作业的功能打 阅读全文
posted @ 2013-06-07 14:27 ArcerZhang 阅读(276) 评论(0) 推荐(0) 编辑
摘要: 本集视频与上集视频为一个整体,具体内容参照上片文章. 阅读全文
posted @ 2013-06-07 13:37 ArcerZhang 阅读(95) 评论(0) 推荐(0) 编辑
摘要: 参考博文:http://www.cnblogs.com/arcer/archive/2013/06/07/3123602.htmlexpdp ARCER/ARCER dumpfile=fgps_20130711.dmp directory=dmp_dir logfile=fgps_20130711.logView Code 阅读全文
posted @ 2013-06-07 13:35 ArcerZhang 阅读(243) 评论(0) 推荐(0) 编辑
摘要: /*实验目的:使用impdp and expdmp实验步骤:test user ->create table -> emp1test user -> create index -> emp1create directory -> test_dir -> grantgrant create any directory to test;--授权创建目录对象create directory test_dir as '/RealData/oracle/backup/data_pump';--创建目录对象drop directory test_dir; 阅读全文
posted @ 2013-06-07 12:05 ArcerZhang 阅读(546) 评论(0) 推荐(0) 编辑
摘要: Data Pump Export using Database ControlData Pump Export Example:Basic OptionsData Pump Export Example:Advanced OptionsData Pump Export Example:FilesData Pump Export Example:ScheduleData Pump Export Example:ReviewData Pump Import Example:impdpData Pump Import:Transformations在原来的导入导出过程中,假如导出的表所在表空间为sy 阅读全文
posted @ 2013-06-06 19:40 ArcerZhang 阅读(333) 评论(0) 推荐(0) 编辑
上一页 1 ··· 40 41 42 43 44 45 46 47 48 ··· 76 下一页