--分两种情况测试(不删除表只导入导出)
create table t as select * from dba_objects
SQL> select count(*) from t;
COUNT(*)
----------
73076
SQL> exec dbms_stats.gather_table_stats('YWBZ','T');
PL/SQL 过程已成功完成。
SQL> select num_rows,blocks from user_tables where table_name='T';
NUM_ROWS BLOCKS
---------- ----------
73076 1066
--expdp
C:\>expdp ywbz/ywbzwater dumpfile=t.dmp directory=expdp tables=T
Export: Release 11.2.0.1.0 - Production on 星期日 1月 20 22:54:12 2013
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
连接到: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Produc
tion
With the Partitioning, OLAP, Data Mining and Real Application Testing options
启动 "YWBZ"."SYS_EXPORT_TABLE_01": ywbz/******** dumpfile=t.dmp directory=expdp
tables=T
正在使用 BLOCKS 方法进行估计...
处理对象类型 TABLE_EXPORT/TABLE/TABLE_DATA
使用 BLOCKS
基础知识之expdp与impdp是否更新统计信息
最新推荐文章于 2024-03-01 16:37:32 发布