数据泵导数据时加上系统日期
摘要:下面是示例,根据实际情况进行修改--下面的是日期时间的格式expdp ha_soar/ha_soar@orcl schemas=wyzj directory=DATA_PUMP_DIR dumpfile=wyzj%DATE:~0,4%%DATE:~5,2%%DATE:~8,2%%time:~0,2...
阅读全文
posted @
2015-04-22 09:26
相约future
阅读(489)
推荐(0)
oracle11g 导出空表
摘要:--对已存在的表 执行如下 ,要经过统计分析后 num_rows=0 才准确select 'alter table '||table_name||' allocate extent;' from user_tables where num_rows=0Oracle11g默认对空表不分配segmen...
阅读全文
posted @
2015-04-21 17:32
相约future
阅读(446)
推荐(0)
数据泵导出 备份文件以日期时间命名
摘要:expdp system/system@orcl schemas=wxcqhtba directory=DATA_PUMP_DIR dumpfile=wxcqhtba_%DATE%.dmp logfile=wxcqhtba_%DATE%.logexpdp system/system@orcl sc...
阅读全文
posted @
2015-04-10 10:50
相约future
阅读(496)
推荐(0)
数据导入时注意点,修改登录密码不区分大小写
摘要:impdp system/system@ORCL directory=DATA_PUMP_DIR dumpfile=20141218.dmp remap_schema=HA_WXZJ:ha_wxzj remap_tablespace=ha_wxzj_data:users从一个用户导入到另一个用户,如...
阅读全文
posted @
2014-12-18 15:08
相约future
阅读(297)
推荐(0)