IMP/EXP数据迁移(二)

php中文网
发布: 2016-06-07 17:30:13
原创
1218人浏览过

之前发表过一篇关于IMP/EXP的文章,有兴趣可以先了解下:EXP/IMP数据迁移 http://www.linuxidc.com/Linux/2013-05/83810.htm exp

之前发表过一篇关于imp/exp的文章,有兴趣可以先了解下:exp/imp数据迁移
 
exp:根据谓词短语,,导出表中的一部分数据,可以指定分区:
 
[lubinsu@localhost orcl]$ exp lubinsu/lubinsu file=serv_msg.dmp tables=serv_msg:p_nj query=\" where latn_id = 250 \" log=serv_msg.log compress=y
 export: release 10.2.0.1.0 - production on wed jun 26 22:46:02 2013
 copyright (c) 1982, 2005, oracle.  all rights reserved.
 connected to: oracle database 10g enterprise edition release 10.2.0.1.0 - production
 with the partitioning, olap and data mining options
 export done in zhs16gbk character set and al16utf16 nchar character set
 about to export specified tables via conventional path ...
 . . exporting table                      serv_msg
 . . exporting partition                          p_nj      10008 rows exported
 exp-00091: exporting questionable statistics.
 export terminated successfully with warnings.
 [lubinsu@localhost orcl]$ ll
 total 2536
 -rw-rw-r-- 1 lubinsu lubinsu 2580480 jun 26 22:46 serv_msg.dmp
 -rw-rw-r-- 1 lubinsu lubinsu    493 jun 26 22:46 serv_msg.log

以上导出的同时会导出相关的统计信息。
 
但是在导出过程中可能会提示:
 
EXP-00091 Exporting questionable statistics
 
因为如果在导出时,添加了谓词短语,则可能导致统计信息对于导出的数据并不准确,所以提示导出的统计信息不可用,这是合理的
 
如果不想看到这些统计信息,则可以,添加statistics=none,则不会导出相关的统计信息:
 
[lubinsu@localhost orcl]$ exp lubinsu/lubinsu file=serv_msg.dmp tables=serv_msg:p_nj query=\" where latn_id = 250 \" log=serv_msg.log compress=y statistics=none
 Export: Release 10.2.0.1.0 - Production on Wed Jun 26 22:47:54 2013
 Copyright (c) 1982, 2005, Oracle.  All rights reserved.
 Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
 With the Partitioning, OLAP and Data Mining options
 Export done in ZHS16GBK character set and AL16UTF16 NCHAR character set
 About to export specified tables via Conventional Path ...
 . . exporting table                      SERV_MSG
 . . exporting partition                          P_NJ      10008 rows exported
 Export terminated successfully without warnings.
 

官方文档是这么说的:
 
The Oracle docs note this on the EXP-00091 error:
 EXP-00091 Exporting questionable statistics
 
--原因
 Cause: Export was able to export statistics, but the statistics may not be useable. The statistics are questionable because one or more of the following happened during export:
 - A row error occurred, client character set or NCHARSET does not match with the server, a query clause was specified on export,
 - Only certain partitions or subpartitions were exported, or a fatal error occurred while processing a table.
 
--解决方法
 Action: To export non-questionable statistics, change the client character set or NCHARSET to match the server, export with no query clause, or export complete tables.
 If desired, import parameters can be supplied so that only non-questionable statistics will be imported, and all questionable statistics will be recalculated.

AUGMVC权限管理微信开发源码
AUGMVC权限管理微信开发源码

一、源码特点1、UI:界面美观 ;漂亮 ;大方;实用。 二、功能介绍这是一款集MVC+权限管理+微信开发的源码,功能比较丰富。三、菜单功能1、微信管理:微信菜单管理、微信调用管理、微信关注用户、微信文章管理。2、基础资料:实体类生成、数据迁移、字典管理3、系统设置:组织管理、权限管理、角色管理、用户管理、用户组管理。4、系统菜单:登入系统、用户密码修改、登入日志查询。四、注意事项1、管理员用

AUGMVC权限管理微信开发源码 0
查看详情 AUGMVC权限管理微信开发源码

linux

最佳 Windows 性能的顶级免费优化软件
最佳 Windows 性能的顶级免费优化软件

每个人都需要一台速度更快、更稳定的 PC。随着时间的推移,垃圾文件、旧注册表数据和不必要的后台进程会占用资源并降低性能。幸运的是,许多工具可以让 Windows 保持平稳运行。

下载
来源:php中文网
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn
最新问题
开源免费商场系统广告
热门教程
更多>
最新下载
更多>
网站特效
网站源码
网站素材
前端模板
关于我们 免责申明 举报中心 意见反馈 讲师合作 广告合作 最新更新 English
php中文网:公益在线php培训,帮助PHP学习者快速成长!
关注服务号 技术交流群
PHP中文网订阅号
每天精选资源文章推送
PHP中文网APP
随时随地碎片化学习

Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号