分享更有价值
被信任是一种快乐

exp日常操作有哪些

文章页正文上

小编给大家分享一下exp日常操作有哪些,相信大部分人都还不怎么了解,因此分享这篇文章给大家参考一下,希望大家阅读完这篇文章后大有收获,下面让我们一起去了解一下吧!1、跟踪exp导出操作strace -o sexp.txt exp user/password file=exptable.dmp buffer=4096000orps -ef |grep expstrace -c -p exp_pideg:[oracle@orcl ~]$ strace -c -p 3859Process 3859 attached – interrupt to quitProcess 3859 detached% time seconds usecs/call calls errors syscall—— ———– ———– ——— ——— —————-87.38 0.004672 2336 2 brk 6.62 0.000354 0 2045 write 6.00 0.000321 0 1882 read 0.00 0.000000 0 5 close 0.00 0.000000 0 18 lseek 0.00 0.000000 0 4 munmap 0.00 0.000000 0 1 rt_sigaction 0.00 0.000000 0 2 rt_sigprocmask—— ———– ———– ——— ——— —————-100.00 0.005347 3959 total2、EXP-00091: Exporting questionable statistics[oracle@orcl ~]$ exp lineqi/lineqi file=/home/oracle/aaa.dmp tables=aaa query=” where id=2 “
Export: Release 11.2.0.4.0 – Production on Sat Oct 21 13:22:12 2017……………………About to export specified tables via Conventional Path …. . exporting table AAA 1 rows exportedEXP-00091: Exporting questionable statistics导出部分表中数据,提示统计信息有问题,这里可以加上statistics=none参数
exp lineqi免费主机域名/lineqi file=/home/oracle/aaa.dmp tables=aaa query=” where id=2 ” statistics=noneAbout to export specified tables via Conventional Path …. . exporting table AAA 1 rows exportedExport terminated successfully without warnings.出现EXP-00091还有可能是数据库字符集与客户字符集(NLS_LANG)不一致,select * from v$nls_parameters where parameter like ‘NLS_CHARACTERSET%’;NLS_CHARACTERSET AL32UTF8[oracle@orcl ~]$ echo $NLS_LANGAMERICAN_AMERICA.ZHS16GBK[oracle@orcl ~]$ exp lineqi/lineqi@satdb file=/home/oracle/aaa04.dmp tables=aaa Export: Release 11.2.0.4.0 – Production on Sat Oct 21 13:36:18 2017
About to export specified tables via Conventional Path …
. . exporting table AAA 14 rows exportedEXP-00091: Exporting questionable statistics.Export terminated successfully with warnings.3、获取exp导出dump文件中表信息strings test02.dmp |grep “CREATE TABLE”|awk ‘{print $3}’|sed ‘s/”//g’AAABFW_TESTCBC_TESTEMP1PAGEstrings test02.dmp |grep “CREATE TABLE”|awk ‘{print $3}’|sed ‘s/”//g’|awk ‘{if(FNR==1) print “table=”$1;else print “,”$1}’tabl免费主机域名e=AAA,BFW_TEST,CBC_TEST,EMP1,PAGE以上是“exp日常操作有哪些”这篇文章的所有内容,感谢各位的阅读!相信大家都有了一定的了解,希望分享的内容对大家有所帮助,如果还想学习更多知识,欢迎关注云技术行业资讯频道!

相关推荐: 怎么使用mysql的socket文件

本篇内容介绍了“怎么使用mysql的socket文件”的有关知识,在实际案例的操作过程中,不少人都会遇到这样的困境,接下来就让小编带领大家学习一下如何处理这些情况吧!希望大家仔免费主机域名细阅读,能够学有所成! Unix系统下本地连接mysql可以采用Unix…

文章页内容下
赞(0) 打赏
版权声明:本站采用知识共享、学习交流,不允许用于商业用途;文章由发布者自行承担一切责任,与本站无关。
文章页正文下
文章页评论上

云服务器、web空间可免费试用

宝塔面板主机、支持php,mysql等,SSL部署;安全高速企业专供99.999%稳定,另有高防主机、不限制内容等类型,具体可咨询QQ:360163164,Tel同微信:18905205712

主机选购导航云服务器试用

登录

找回密码

注册