大文件导出方法
来源:互联网 发布:centos下安装图形界面 编辑:程序博客网 时间:2024/06/02 03:43
1.
$ exp scott/tiger buffer=4096000 file=/(full1.dmp,full2.dmp,full3.dmp,full4.dmp/) filesize=10k
$ imp scott/tiger buffer=4096000 file=(full1.dmp,full2.dmp) --exp 无%U参数,必须指定文件
2.
导出:
$ mknod /tmp/exp_pipe p
$ compress < /tmp/exp_pipe > export.dmp.z &
$ nohup exp file=/tmp/exp_pipe userid=scott/tiger &
导入:
$ mknod /tmp/exp_pipe p
$ uncompress < export.dmp.z > /tmp/exp_pipe &
$ nohup imp file=/tmp/exp_pipe userid=scott/tiger &
3.
导出:
$ mknod /tmp/exp_pipe p
$ split -b 10k < /tmp/exp_pipe &
$ nohup exp file=/tmp/exp_pipe userid=scott/tiger &
导入:
$ mknod /tmp/exp_pipe p
$ cat xaa xab > /tmp/exp_pipe & --xaa xab 为导出时生成的文件
$ nohup imp file=/tmp/exp_pipe userid=scott/tiger &
或者:
mknod /oradata/backup/exp_pipe p
nohup exp PCRPT/PCRPT@ETLIDS file=/oradata/backup/exp_pipe owner=PCRPT direct=y &
nohup imp PCRPT/PCRPT file=/oradata/backup/exp_pipe full=y &
--比较吃内存,确认空闲内存在10G 以上,dmp文件在
4. 拆分文件导出:
exp cpiclh/0312#lh log=./log/P_AUTO_FLOAT_$(date '+%Y%m%d').log /
file=/(P_AUTO_FLOAT_$(date '+%Y%m%d')_01.dmp,/
P_AUTO_FLOAT_$(date '+%Y%m%d')_02.dmp,/
P_AUTO_FLOAT_$(date '+%Y%m%d')_03.dmp, /
P_AUTO_FLOAT_$(date '+%Y%m%d')_04.dmp/) /
filesize=2000m tables=P_AUTO_FLOAT direct=y
- 大文件导出方法
- java导出dbf文件大数据量的处理方法
- java导出dbf文件大数据量的处理方法(转载)
- MySQL 大文件导入导出
- 大数据导出Excel方法
- asp导出文件方法
- 导出pdm文件方法
- 上传大文件方法
- 导出excel文件的方法
- springMVC方法,导出/下载文件。
- 导出时候文件乱码方法
- 导入phpmyadmin导出的大文件
- SXSSFWorkbook导出大数据量Excel文件
- 大数据量导出到Excel方法总结
- .大数据量导出Excel的方案 java 大excel文件
- 大数据量导出Excel的方案 java 大excel文件
- 大文件上传的方法
- 大文件的读写方法
- log4j问题解决
- impdp
- sqlload 介绍
- NxOgre缓冲摄像机(及摄像机抖动解决办法)
- Qt二题:QString的输出和QDialog的退出
- 大文件导出方法
- ftp传输数据文件脚本
- 舞出我人生
- Silverlight 4 + RIA Services之商业应用系列----1 使用RIA Services
- 链表
- 什么是多态?
- 哈夫曼编码
- 第一部分 第五章 启动关机,在线求助,执行命令的方式
- NxOgre经验总结(持续更新)