EXP-00091: Exporting questionable statistics_MySQL教程
推薦:由于文件組 ‘DEFAULT’ 中的磁盤(pán)空間不足,無(wú)法為數(shù)據(jù)庫(kù) ‘TEMPDB’ 分配新頁(yè)今天接到一個(gè)朋友的問(wèn)題,sql server報(bào)由于文件組 DEFAULT 中的磁盤(pán)空間不足,無(wú)法為數(shù)據(jù)庫(kù) TEMPDB 分配新頁(yè),按照錯(cuò)誤提示應(yīng)該是tempdb空間不足,讓其查看tempdb對(duì)應(yīng)數(shù)據(jù)庫(kù)文件大小為不到4g,查看其對(duì)應(yīng)文件為自增長(zhǎng),硬盤(pán)空間還有40g多點(diǎn),那應(yīng)該沒(méi)有問(wèn)題。后來(lái)她說(shuō)
一.出現(xiàn)EXP-00091錯(cuò)誤
[oracle@localhost tmp]$ exp "'/ as sysdba'" tables=testxuchao.TAB_XN_PY_DICT \
> file=/tmp/xifenfei.dmp log=/tmp/xifenfei.log
Export: Release 9.2.0.4.0 - Production on Mon Jan 16 16:02:37 2012
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
Connected to: Oracle9i Enterprise Edition Release 9.2.0.4.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.4.0 - Production
Export done in US7ASCII character set and AL16UTF16 NCHAR character set
server uses ZHS16GBK character set (possible charset conversion)
About to export specified tables via Conventional Path ...
Current user changed to TESTXUCHAO
. . exporting table TAB_XN_PY_DICT 25433 rows exported
EXP-00091: Exporting questionable statistics.
EXP-00091: Exporting questionable statistics.
Export terminated successfully with warnings.
當(dāng)環(huán)境變量和數(shù)據(jù)庫(kù)的不一致,在導(dǎo)出統(tǒng)計(jì)信息時(shí)候,會(huì)報(bào)EXP-00091錯(cuò)誤。
二.查看NLS相關(guān)參數(shù)
[oracle@localhost tmp]$ echo $NLS_LANG
AMERICAN
SQL> col value for a30
SQL> select parameter,value from nls_database_parameters
2 where parameter like '%CHARACTERSET%';
PARAMETER VALUE
------------------------------ ------------------------------
NLS_CHARACTERSET ZHS16GBK
NLS_NCHAR_CHARACTERSET AL16UTF16
三.解決方法
1.設(shè)置NLS_LANG為NLS_CHARACTERSET
[oracle@localhost tmp]export NLS_LANG=american_america.ZHS16GBK
[oracle@localhost tmp]$ exp "'/ as sysdba'" tables=testxuchao.TAB_XN_PY_DICT \
> file=/tmp/xifenfei.dmp log=/tmp/xifenfei.log
Export: Release 9.2.0.4.0 - Production on Mon Jan 16 16:08:10 2012
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
Connected to: Oracle9i Enterprise Edition Release 9.2.0.4.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.4.0 - Production
Export done in ZHS16GBK character set and AL16UTF16 NCHAR character set
About to export specified tables via Conventional Path ...
Current user changed to TESTXUCHAO
. . exporting table TAB_XN_PY_DICT 25433 rows exported
Export terminated successfully without warnings.
2.使用statistics=none
[oracle@localhost tmp]$ exp "'/ as sysdba'" tables=testxuchao.TAB_XN_PY_DICT \
> file=/tmp/xifenfei.dmp log=/tmp/xifenfei.log statistics=none
Export: Release 9.2.0.4.0 - Production on Mon Jan 16 16:08:53 2012
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
Connected to: Oracle9i Enterprise Edition Release 9.2.0.4.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.4.0 - Production
Export done in US7ASCII character set and AL16UTF16 NCHAR character set
server uses ZHS16GBK character set (possible charset conversion)
About to export specified tables via Conventional Path ...
Current user changed to TESTXUCHAO
. . exporting table TAB_XN_PY_DICT 25433 rows exported
Export terminated successfully without warnings.
分享:sqlserver多版本查看版本號(hào)今天要查詢(xún)自己的裝的sqlserver2008 是否是R2版本,搜索了下,發(fā)現(xiàn)很多人查詢(xún)此問(wèn)題,現(xiàn)在記錄如下,通過(guò)版本命令查詢(xún) 同時(shí)也了解了哥哥sql server的對(duì)應(yīng)版本好,一看就非常清晰了,記錄下 1、查看 SQL Server 2005/2008 版本號(hào) select serverproperty('productversion'
- 由于文件組 ‘DEFAULT’ 中的磁盤(pán)空間不足,無(wú)法為數(shù)據(jù)庫(kù) ‘TEMPDB’ 分配新頁(yè)
- sqlserver多版本查看版本號(hào)
- 如何正確查看 SQL Server 2005 版本號(hào)?
- SQL查詢(xún)語(yǔ)句中的bool類(lèi)型字段值的寫(xiě)法
- SQL Server 2005建立與服務(wù)器的連接時(shí)出錯(cuò)的解決方案
- MySQL中GROUP BY的基本實(shí)現(xiàn)原理
- PHP實(shí)現(xiàn)將EXCEL文件導(dǎo)入到MYSQL
- mysql導(dǎo)入數(shù)據(jù)庫(kù)文件最大限制的修改
- Perl操作mysql數(shù)據(jù)庫(kù)的方法
- MySQL更新和刪除
- MySQL將表a中查詢(xún)的數(shù)據(jù)插入到表b中
- sql注入測(cè)試經(jīng)驗(yàn)教程
MySQL教程Rss訂閱編程教程搜索
MySQL教程推薦
猜你也喜歡看這些
- 教你快速掌握數(shù)據(jù)庫(kù)設(shè)計(jì)范式的基本概念
- 如何使用SQL Server代理運(yùn)行CmdExec命令
- sql server 中合并某個(gè)字段值的實(shí)例
- 三個(gè)SQL視圖查出所有SQL Server數(shù)據(jù)庫(kù)字典
- 解讀常規(guī)數(shù)據(jù)庫(kù)維護(hù)涉及的5項(xiàng)工作
- 如何將SQL2000數(shù)據(jù)庫(kù)升級(jí)到SQL2005
- 清理SQL Server 2008日志文件Cannot shrink log file 2 的解決方案
- 解析SQL Server 2005實(shí)現(xiàn)數(shù)據(jù)庫(kù)緩存依賴(lài)
- SQL Server大數(shù)據(jù)量統(tǒng)計(jì)系統(tǒng)的經(jīng)驗(yàn)總結(jié)
- 怎樣巧妙規(guī)劃使用Oracle數(shù)據(jù)空間
- 相關(guān)鏈接:
復(fù)制本頁(yè)鏈接| 搜索EXP-00091: Exporting questionable statistics
- 教程說(shuō)明:
MySQL教程-EXP-00091: Exporting questionable statistics
。