- 最后登录
- 2013-8-2
- 在线时间
- 10 小时
- 威望
- 3
- 金钱
- 39
- 注册时间
- 2012-6-11
- 阅读权限
- 10
- 帖子
- 4
- 精华
- 0
- 积分
- 3
- UID
- 487
|
3#
发表于 2012-6-29 15:27:24
SQL> select count(*) from M_FLOW_EDGE;
COUNT(*)
----------
0
SQL> select blocks from dba_segments where segment_name='M_FLOW_EDGE';
BLOCKS
----------
8
根据您的排查思路,之后我又做过如下的实验
SQL> create table M_TEST2 (id integer,name varchar2(100));
Table created
SQL> select blocks from dba_segments where segment_name='M_TEST2';
BLOCKS
----------
SQL> select count(*) from M_TEST2;
COUNT(*)
----------
0
导出
C:\>exp [email=dmp1/dmp1@qh_dmp]dmp1/dmp1@qh_dmp[/email] file=d:\mon5.dmp tables=(M_TEST2)
Export: Release 11.2.0.1.0 - Production on 星期五 6月 29 15:19:29 2012
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
连接到: Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Produc
tion
With the Partitioning, OLAP, Data Mining and Real Application Testing options
已导出 ZHS16GBK 字符集和 AL16UTF16 NCHAR 字符集
即将导出指定的表通过常规路径...
. . 正在导出表 M_TEST2
EXP-00003: 未找到段 (0,0) 的存储定义
导出成功终止, 但出现警告。
SQL> insert into M_TEST2 values (100,'GREEN');
1 row inserted
SQL> insert into M_TEST2 values (200,'GREEN');
1 row inserted
SQL> insert into M_TEST2 values (300,'GREEN');
1 row inserted
SQL> commit;
Commit complete
SQL> select blocks from dba_segments where segment_name='M_TEST2';
BLOCKS
----------
8
SQL> select count(*) from M_TEST2;
COUNT(*)
----------
3
导出
C:\>exp [email=dmp1/dmp1@qh_dmp]dmp1/dmp1@qh_dmp[/email] file=d:\mon5.dmp tables=(M_TEST2)
Export: Release 11.2.0.1.0 - Production on 星期五 6月 29 15:21:37 2012
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
连接到: Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Produc
tion
With the Partitioning, OLAP, Data Mining and Real Application Testing options
已导出 ZHS16GBK 字符集和 AL16UTF16 NCHAR 字符集
即将导出指定的表通过常规路径...
. . 正在导出表 M_TEST2导出了 3 行
成功终止导出, 没有出现警告。
删除表中数据
SQL> truncate table M_TEST2;
Table truncated
SQL> select count(*) from M_TEST2;
COUNT(*)
----------
0
SQL> select blocks from dba_segments where segment_name='M_TEST2';
BLOCKS
----------
8
C:\>exp [email=dmp1/dmp1@qh_dmp]dmp1/dmp1@qh_dmp[/email] file=d:\mon5.dmp tables=(M_TEST2)
Export: Release 11.2.0.1.0 - Production on 星期五 6月 29 15:24:10 2012
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
连接到: Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Produc
tion
With the Partitioning, OLAP, Data Mining and Real Application Testing options
已导出 ZHS16GBK 字符集和 AL16UTF16 NCHAR 字符集
即将导出指定的表通过常规路径...
. . 正在导出表 M_TEST2导出了 0 行
成功终止导出, 没有出现警告。
为何表M_FLOW_EDGE已经占了8个数据块还是导不出来? |
|