EXP-00091: Exporting questionable statistics.

本文记录了在使用Oracle 10g进行数据导出时遇到的问题及解决过程。主要问题为导出过程中出现的可疑统计数据警告,通过设置NLS_LANG环境变量解决了字符集导致的问题,成功完成了指定表格的数据导出。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

ora10glinux-> exp userid=***/***@orcl buffer=10240000 file=AA.dmp tables=(BANKRUNDATEBACKUP,IMPORT_TARGETEDLIST,TEST,TEST1,TEST10,TEST2,TEST3,TEST4,TEST5,TEST6,TEST7,TEST8,TESTDMP,BANKRUNDATE2,BANKRUNDATE,DUPLICATETAB,BANK) indexes=y rows=y consistent=y constraints=y

Export: Release 10.2.0.1.0 - Production on Thu Oct 15 11:28:29 2009

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 US7ASCII character set and AL16UTF16 NCHAR character set
server uses AL32UTF8 character set (possible charset conversion)

About to export specified tables via Conventional Path ...
. . exporting table              BANKRUNDATEBACKUP        505 rows exported
. . exporting table            IMPORT_TARGETEDLIST       4178 rows exported
. . exporting table                           TEST    2606773 rows exported
EXP-00091: Exporting questionable statistics.

...

...

...

 

解决办法:

 

ora10glinux-> echo $NLS_LANG

 

 

ora10glinux->

 

ora10glinux->

 

 

SQL> SELECT USERENV('LANGUAGE') "Language" FROM DUAL;

Language
----------------------------------------------------
AMERICAN_AMERICA.AL32UTF8

SQL> select * from props$ where name in ('NLS_LANGUAGE','NLS_TERRITORY','NLS_CHARACTERSET','NLS_NCHAR_CHARACTERSET');

NAME
------------------------------
VALUE$
--------------------------------------------------------------------------------
COMMENT$
--------------------------------------------------------------------------------
NLS_LANGUAGE
AMERICAN
Language

 

NLS_TERRITORY
AMERICA
Territory

 

NAME
------------------------------
VALUE$
--------------------------------------------------------------------------------
COMMENT$
--------------------------------------------------------------------------------

 

NLS_CHARACTERSET
AL32UTF8
Character set

 

NLS_NCHAR_CHARACTERSET
AL16UTF16

 

NAME
------------------------------
VALUE$
--------------------------------------------------------------------------------
COMMENT$
--------------------------------------------------------------------------------
NCHAR Character set


SQL>

 

 

ora10glinux->
ora10glinux-> export NLS_LANG=AMERICAN_AMERICA.AL32UTF8
ora10glinux-> exp userid=***/***@orcl buffer=10240000 file=AA.dmp tables=(BANKRUNDATEBACKUP,IMPORT_TARGETEDLIST,TEST,TEST1,TEST10,TEST2,TEST3,TEST4,TEST5,TEST6,TEST7,TEST8,TESTDMP,BANKRUNDATE2,BANKRUNDATE,DUPLICATETAB,BANK) indexes=y rows=y consistent=y constraints=y

Export: Release 10.2.0.1.0 - Production on Thu Oct 15 11:31:07 2009

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 AL32UTF8 character set and AL16UTF16 NCHAR character set

About to export specified tables via Conventional Path ...
. . exporting table              BANKRUNDATEBACKUP        505 rows exported
. . exporting table            IMPORT_TARGETEDLIST       4178 rows exported
. . exporting table                           TEST    2606773 rows exported
. . exporting table                          TEST1      65824 rows exported
. . exporting table                         TEST10    5848064 rows exported
. . exporting table                          TEST2     182752 rows exported
. . exporting table                          TEST3      65824 rows exported
. . exporting table                          TEST4      45688 rows exported
. . exporting table                          TEST5      65824 rows exported
. . exporting table                          TEST6      45688 rows exported
. . exporting table                          TEST7      65824 rows exported
. . exporting table                          TEST8    5848064 rows exported
. . exporting table                        TESTDMP         10 rows exported
. . exporting table                   BANKRUNDATE2        505 rows exported
. . exporting table                    BANKRUNDATE         29 rows exported
. . exporting table                   DUPLICATETAB          6 rows exported
. . exporting table                           BANK         29 rows exported
Export terminated successfully without warnings.
ora10glinux->

(gguf-env-video) ubuntu@ubuntu-Lenovo-Product:~/llama.cpp$ python convert_hf_to_gguf.py /home/ubuntu/.cache/modelscope/hub/models/iic/QwenLong-L1-32B-AWQ --outtype f16 --outfile qwenlong-32b.f16.gguf INFO:hf-to-gguf:Loading model: QwenLong-L1-32B-AWQ INFO:hf-to-gguf:Model architecture: Qwen2ForCausalLM INFO:gguf.gguf_writer:gguf: This GGUF file is for Little Endian only INFO:hf-to-gguf:Exporting model... INFO:hf-to-gguf:gguf: loading model weight map from 'model.safetensors.index.json' INFO:hf-to-gguf:gguf: loading model part 'model-00001-of-00004.safetensors' INFO:hf-to-gguf:token_embd.weight, torch.float16 --> F16, shape = {5120, 152064} INFO:hf-to-gguf:blk.0.attn_norm.weight, torch.float16 --> F32, shape = {5120} Traceback (most recent call last): File "/home/ubuntu/llama.cpp/convert_hf_to_gguf.py", line 6560, in <module> main() File "/home/ubuntu/llama.cpp/convert_hf_to_gguf.py", line 6554, in main model_instance.write() File "/home/ubuntu/llama.cpp/convert_hf_to_gguf.py", line 403, in write self.prepare_tensors() File "/home/ubuntu/llama.cpp/convert_hf_to_gguf.py", line 277, in prepare_tensors for new_name, data_torch in (self.modify_tensors(data_torch, name, bid)): File "/home/ubuntu/llama.cpp/convert_hf_to_gguf.py", line 2730, in modify_tensors yield from super().modify_tensors(data_torch, name, bid) File "/home/ubuntu/llama.cpp/convert_hf_to_gguf.py", line 245, in modify_tensors return [(self.map_tensor_name(name), data_torch)] File "/home/ubuntu/llama.cpp/convert_hf_to_gguf.py", line 236, in map_tensor_name raise ValueError(f"Can not map tensor {name!r}") ValueError: Can not map tensor 'model.layers.0.mlp.down_proj.qweight'
07-03
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值