expdp impdp 排除统计信息 导入导出 性能对比

2024-06-09 10:38

本文主要是介绍expdp impdp 排除统计信息 导入导出 性能对比,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!

包含统计信息导出:

[oracle@hadoop01 dumpfile]$ expdp system/oracle directory=dmpdir dumpfile=shplus.dmp logfile=shplus.log schemas=sh Export: Release 11.2.0.3.0 - Production on Tue Jul 26 11:53:33 2016Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
Data Mining and Real Application Testing options
Starting "SYSTEM"."SYS_EXPORT_SCHEMA_01":  system/******** directory=dmpdir dumpfile=shplus.dmp logfile=shplus.log schemas=sh 
Estimate in progress using BLOCKS method...
Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA
Total estimation using BLOCKS method: 273.8 MB
Processing object type SCHEMA_EXPORT/USER
Processing object type SCHEMA_EXPORT/SYSTEM_GRANT
Processing object type SCHEMA_EXPORT/ROLE_GRANT
Processing object type SCHEMA_EXPORT/DEFAULT_ROLE
Processing object type SCHEMA_EXPORT/PRE_SCHEMA/PROCACT_SCHEMA
Processing object type SCHEMA_EXPORT/TABLE/TABLE
Processing object type SCHEMA_EXPORT/TABLE/GRANT/OWNER_GRANT/OBJECT_GRANT
Processing object type SCHEMA_EXPORT/TABLE/COMMENT
Processing object type SCHEMA_EXPORT/TABLE/INDEX/INDEX
Processing object type SCHEMA_EXPORT/TABLE/CONSTRAINT/CONSTRAINT
Processing object type SCHEMA_EXPORT/TABLE/INDEX/STATISTICS/INDEX_STATISTICS
Processing object type SCHEMA_EXPORT/VIEW/VIEW
Processing object type SCHEMA_EXPORT/TABLE/CONSTRAINT/REF_CONSTRAINT
Processing object type SCHEMA_EXPORT/TABLE/INDEX/BITMAP_INDEX/INDEX
Processing object type SCHEMA_EXPORT/TABLE/INDEX/STATISTICS/BITMAP_INDEX/INDEX_STATISTICS
Processing object type SCHEMA_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS
Processing object type SCHEMA_EXPORT/TABLE/INDEX/DOMAIN_INDEX/INDEX
Processing object type SCHEMA_EXPORT/MATERIALIZED_VIEW
Processing object type SCHEMA_EXPORT/DIMENSION
. . exported "SH"."CUSTOMERS"                            9.853 MB   55500 rows
. . exported "SH"."COSTS":"COSTS_Q1_1998"                139.5 KB    4411 rows
. . exported "SH"."COSTS":"COSTS_Q1_1999"                183.5 KB    5884 rows
. . exported "SH"."COSTS":"COSTS_Q1_2000"                120.6 KB    3772 rows
. . exported "SH"."COSTS":"COSTS_Q1_2001"                227.8 KB    7328 rows
. . exported "SH"."COSTS":"COSTS_Q2_1998"                79.52 KB    2397 rows
. . exported "SH"."COSTS":"COSTS_Q2_1999"                132.5 KB    4179 rows
. . exported "SH"."COSTS":"COSTS_Q2_2000"                119.0 KB    3715 rows
. . exported "SH"."COSTS":"COSTS_Q2_2001"                184.5 KB    5882 rows
. . exported "SH"."COSTS":"COSTS_Q3_1998"                131.1 KB    4129 rows
. . exported "SH"."COSTS":"COSTS_Q3_1999"                137.3 KB    4336 rows
. . exported "SH"."COSTS":"COSTS_Q3_2000"                151.4 KB    4798 rows
. . exported "SH"."COSTS":"COSTS_Q3_2001"                234.4 KB    7545 rows
. . exported "SH"."COSTS":"COSTS_Q4_1998"                144.7 KB    4577 rows
. . exported "SH"."COSTS":"COSTS_Q4_1999"                159.0 KB    5060 rows
. . exported "SH"."COSTS":"COSTS_Q4_2000"                160.2 KB    5088 rows
. . exported "SH"."COSTS":"COSTS_Q4_2001"                278.4 KB    9011 rows
. . exported "SH"."SALES":"SALES_Q1_1998"                1.412 MB   43687 rows
. . exported "SH"."SALES":"SALES_Q1_1999"                2.071 MB   64186 rows
. . exported "SH"."SALES":"SALES_Q1_2000"                2.012 MB   62197 rows
. . exported "SH"."SALES":"SALES_Q1_2001"                1.965 MB   60608 rows
. . exported "SH"."SALES":"SALES_Q2_1998"                1.160 MB   35758 rows
. . exported "SH"."SALES":"SALES_Q2_1999"                1.754 MB   54233 rows
. . exported "SH"."SALES":"SALES_Q2_2000"                1.802 MB   55515 rows
. . exported "SH"."SALES":"SALES_Q2_2001"                2.051 MB   63292 rows
. . exported "SH"."SALES":"SALES_Q3_1998"                1.633 MB   50515 rows
. . exported "SH"."SALES":"SALES_Q3_1999"                2.166 MB   67138 rows
. . exported "SH"."SALES":"SALES_Q3_2000"                1.909 MB   58950 rows
. . exported "SH"."SALES":"SALES_Q3_2001"                2.130 MB   65769 rows
. . exported "SH"."SALES":"SALES_Q4_1998"                1.581 MB   48874 rows
. . exported "SH"."SALES":"SALES_Q4_1999"                2.014 MB   62388 rows
. . exported "SH"."SALES":"SALES_Q4_2000"                1.814 MB   55984 rows
. . exported "SH"."SALES":"SALES_Q4_2001"                2.257 MB   69749 rows
. . exported "SH"."SUPPLEMENTARY_DEMOGRAPHICS"           697.3 KB    4500 rows
. . exported "SH"."FWEEK_PSCAT_SALES_MV"                 419.8 KB   11266 rows
. . exported "SH"."PROMOTIONS"                           58.89 KB     503 rows
. . exported "SH"."TIMES"                                380.8 KB    1826 rows
. . exported "SH"."CAL_MONTH_SALES_MV"                   6.312 KB      48 rows
. . exported "SH"."CHANNELS"                              7.25 KB       5 rows
. . exported "SH"."COUNTRIES"                            10.20 KB      23 rows
. . exported "SH"."PRODUCTS"                             26.17 KB      72 rows
. . exported "SH"."COSTS":"COSTS_1995"                       0 KB       0 rows
. . exported "SH"."COSTS":"COSTS_1996"                       0 KB       0 rows
. . exported "SH"."COSTS":"COSTS_H1_1997"                    0 KB       0 rows
. . exported "SH"."COSTS":"COSTS_H2_1997"                    0 KB       0 rows
. . exported "SH"."COSTS":"COSTS_Q1_2002"                    0 KB       0 rows
. . exported "SH"."COSTS":"COSTS_Q1_2003"                    0 KB       0 rows
. . exported "SH"."COSTS":"COSTS_Q2_2002"                    0 KB       0 rows
. . exported "SH"."COSTS":"COSTS_Q2_2003"                    0 KB       0 rows
. . exported "SH"."COSTS":"COSTS_Q3_2002"                    0 KB       0 rows
. . exported "SH"."COSTS":"COSTS_Q3_2003"                    0 KB       0 rows
. . exported "SH"."COSTS":"COSTS_Q4_2002"                    0 KB       0 rows
. . exported "SH"."COSTS":"COSTS_Q4_2003"                    0 KB       0 rows
. . exported "SH"."DIMENSION_EXCEPTIONS"                     0 KB       0 rows
. . exported "SH"."SALES":"SALES_1995"                       0 KB       0 rows
. . exported "SH"."SALES":"SALES_1996"                       0 KB       0 rows
. . exported "SH"."SALES":"SALES_H1_1997"                    0 KB       0 rows
. . exported "SH"."SALES":"SALES_H2_1997"                    0 KB       0 rows
. . exported "SH"."SALES":"SALES_Q1_2002"                    0 KB       0 rows
. . exported "SH"."SALES":"SALES_Q1_2003"                    0 KB       0 rows
. . exported "SH"."SALES":"SALES_Q2_2002"                    0 KB       0 rows
. . exported "SH"."SALES":"SALES_Q2_2003"                    0 KB       0 rows
. . exported "SH"."SALES":"SALES_Q3_2002"                    0 KB       0 rows
. . exported "SH"."SALES":"SALES_Q3_2003"                    0 KB       0 rows
. . exported "SH"."SALES":"SALES_Q4_2002"                    0 KB       0 rows
. . exported "SH"."SALES":"SALES_Q4_2003"                    0 KB       0 rows
Master table "SYSTEM"."SYS_EXPORT_SCHEMA_01" successfully loaded/unloaded
******************************************************************************
Dump file set for SYSTEM.SYS_EXPORT_SCHEMA_01 is:/home/oracle/dumpfile/shplus.dmp
Job "SYSTEM"."SYS_EXPORT_SCHEMA_01" successfully completed at 11:54:17

共用44秒


排除统计信息导出:

[oracle@hadoop01 dumpfile]$ expdp system/oracle directory=dmpdir dumpfile=sh.dmp logfile=sh.log schemas=sh  exclude=STATISTICSExport: Release 11.2.0.3.0 - Production on Tue Jul 26 11:52:00 2016Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
Data Mining and Real Application Testing options
Starting "SYSTEM"."SYS_EXPORT_SCHEMA_01":  system/******** directory=dmpdir dumpfile=sh.dmp logfile=sh.log schemas=sh exclude=STATISTICS 
Estimate in progress using BLOCKS method...
Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA
Total estimation using BLOCKS method: 273.8 MB
Processing object type SCHEMA_EXPORT/USER
Processing object type SCHEMA_EXPORT/SYSTEM_GRANT
Processing object type SCHEMA_EXPORT/ROLE_GRANT
Processing object type SCHEMA_EXPORT/DEFAULT_ROLE
Processing object type SCHEMA_EXPORT/PRE_SCHEMA/PROCACT_SCHEMA
Processing object type SCHEMA_EXPORT/TABLE/TABLE
Processing object type SCHEMA_EXPORT/TABLE/GRANT/OWNER_GRANT/OBJECT_GRANT
Processing object type SCHEMA_EXPORT/TABLE/COMMENT
Processing object type SCHEMA_EXPORT/TABLE/INDEX/INDEX
Processing object type SCHEMA_EXPORT/TABLE/CONSTRAINT/CONSTRAINT
Processing object type SCHEMA_EXPORT/VIEW/VIEW
Processing object type SCHEMA_EXPORT/TABLE/CONSTRAINT/REF_CONSTRAINT
Processing object type SCHEMA_EXPORT/TABLE/INDEX/BITMAP_INDEX/INDEX
Processing object type SCHEMA_EXPORT/TABLE/INDEX/DOMAIN_INDEX/INDEX
Processing object type SCHEMA_EXPORT/MATERIALIZED_VIEW
Processing object type SCHEMA_EXPORT/DIMENSION
. . exported "SH"."CUSTOMERS"                            9.853 MB   55500 rows
. . exported "SH"."COSTS":"COSTS_Q1_1998"                139.5 KB    4411 rows
. . exported "SH"."COSTS":"COSTS_Q1_1999"                183.5 KB    5884 rows
. . exported "SH"."COSTS":"COSTS_Q1_2000"                120.6 KB    3772 rows
. . exported "SH"."COSTS":"COSTS_Q1_2001"                227.8 KB    7328 rows
. . exported "SH"."COSTS":"COSTS_Q2_1998"                79.52 KB    2397 rows
. . exported "SH"."COSTS":"COSTS_Q2_1999"                132.5 KB    4179 rows
. . exported "SH"."COSTS":"COSTS_Q2_2000"                119.0 KB    3715 rows
. . exported "SH"."COSTS":"COSTS_Q2_2001"                184.5 KB    5882 rows
. . exported "SH"."COSTS":"COSTS_Q3_1998"                131.1 KB    4129 rows
. . exported "SH"."COSTS":"COSTS_Q3_1999"                137.3 KB    4336 rows
. . exported "SH"."COSTS":"COSTS_Q3_2000"                151.4 KB    4798 rows
. . exported "SH"."COSTS":"COSTS_Q3_2001"                234.4 KB    7545 rows
. . exported "SH"."COSTS":"COSTS_Q4_1998"                144.7 KB    4577 rows
. . exported "SH"."COSTS":"COSTS_Q4_1999"                159.0 KB    5060 rows
. . exported "SH"."COSTS":"COSTS_Q4_2000"                160.2 KB    5088 rows
. . exported "SH"."COSTS":"COSTS_Q4_2001"                278.4 KB    9011 rows
. . exported "SH"."SALES":"SALES_Q1_1998"                1.412 MB   43687 rows
. . exported "SH"."SALES":"SALES_Q1_1999"                2.071 MB   64186 rows
. . exported "SH"."SALES":"SALES_Q1_2000"                2.012 MB   62197 rows
. . exported "SH"."SALES":"SALES_Q1_2001"                1.965 MB   60608 rows
. . exported "SH"."SALES":"SALES_Q2_1998"                1.160 MB   35758 rows
. . exported "SH"."SALES":"SALES_Q2_1999"                1.754 MB   54233 rows
. . exported "SH"."SALES":"SALES_Q2_2000"                1.802 MB   55515 rows
. . exported "SH"."SALES":"SALES_Q2_2001"                2.051 MB   63292 rows
. . exported "SH"."SALES":"SALES_Q3_1998"                1.633 MB   50515 rows
. . exported "SH"."SALES":"SALES_Q3_1999"                2.166 MB   67138 rows
. . exported "SH"."SALES":"SALES_Q3_2000"                1.909 MB   58950 rows
. . exported "SH"."SALES":"SALES_Q3_2001"                2.130 MB   65769 rows
. . exported "SH"."SALES":"SALES_Q4_1998"                1.581 MB   48874 rows
. . exported "SH"."SALES":"SALES_Q4_1999"                2.014 MB   62388 rows
. . exported "SH"."SALES":"SALES_Q4_2000"                1.814 MB   55984 rows
. . exported "SH"."SALES":"SALES_Q4_2001"                2.257 MB   69749 rows
. . exported "SH"."SUPPLEMENTARY_DEMOGRAPHICS"           697.3 KB    4500 rows
. . exported "SH"."FWEEK_PSCAT_SALES_MV"                 419.8 KB   11266 rows
. . exported "SH"."PROMOTIONS"                           58.89 KB     503 rows
. . exported "SH"."TIMES"                                380.8 KB    1826 rows
. . exported "SH"."CAL_MONTH_SALES_MV"                   6.312 KB      48 rows
. . exported "SH"."CHANNELS"                              7.25 KB       5 rows
. . exported "SH"."COUNTRIES"                            10.20 KB      23 rows
. . exported "SH"."PRODUCTS"                             26.17 KB      72 rows
. . exported "SH"."COSTS":"COSTS_1995"                       0 KB       0 rows
. . exported "SH"."COSTS":"COSTS_1996"                       0 KB       0 rows
. . exported "SH"."COSTS":"COSTS_H1_1997"                    0 KB       0 rows
. . exported "SH"."COSTS":"COSTS_H2_1997"                    0 KB       0 rows
. . exported "SH"."COSTS":"COSTS_Q1_2002"                    0 KB       0 rows
. . exported "SH"."COSTS":"COSTS_Q1_2003"                    0 KB       0 rows
. . exported "SH"."COSTS":"COSTS_Q2_2002"                    0 KB       0 rows
. . exported "SH"."COSTS":"COSTS_Q2_2003"                    0 KB       0 rows
. . exported "SH"."COSTS":"COSTS_Q3_2002"                    0 KB       0 rows
. . exported "SH"."COSTS":"COSTS_Q3_2003"                    0 KB       0 rows
. . exported "SH"."COSTS":"COSTS_Q4_2002"                    0 KB       0 rows
. . exported "SH"."COSTS":"COSTS_Q4_2003"                    0 KB       0 rows
. . exported "SH"."DIMENSION_EXCEPTIONS"                     0 KB       0 rows
. . exported "SH"."SALES":"SALES_1995"                       0 KB       0 rows
. . exported "SH"."SALES":"SALES_1996"                       0 KB       0 rows
. . exported "SH"."SALES":"SALES_H1_1997"                    0 KB       0 rows
. . exported "SH"."SALES":"SALES_H2_1997"                    0 KB       0 rows
. . exported "SH"."SALES":"SALES_Q1_2002"                    0 KB       0 rows
. . exported "SH"."SALES":"SALES_Q1_2003"                    0 KB       0 rows
. . exported "SH"."SALES":"SALES_Q2_2002"                    0 KB       0 rows
. . exported "SH"."SALES":"SALES_Q2_2003"                    0 KB       0 rows
. . exported "SH"."SALES":"SALES_Q3_2002"                    0 KB       0 rows
. . exported "SH"."SALES":"SALES_Q3_2003"                    0 KB       0 rows
. . exported "SH"."SALES":"SALES_Q4_2002"                    0 KB       0 rows
. . exported "SH"."SALES":"SALES_Q4_2003"                    0 KB       0 rows
Master table "SYSTEM"."SYS_EXPORT_SCHEMA_01" successfully loaded/unloaded
******************************************************************************
Dump file set for SYSTEM.SYS_EXPORT_SCHEMA_01 is:/home/oracle/dumpfile/sh.dmp
Job "SYSTEM"."SYS_EXPORT_SCHEMA_01" successfully completed at 11:53:01

共用61秒。


不包含统计信息导入,然后手动手机统计信息:

[oracle@hadoop01 dumpfile]$ impdp system/oracle directory=dmpdir dumpfile=sh.dmp logfile=sh.log schemas=sh Import: Release 11.2.0.3.0 - Production on Tue Jul 26 11:57:40 2016Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
Data Mining and Real Application Testing options
Master table "SYSTEM"."SYS_IMPORT_SCHEMA_01" successfully loaded/unloaded
Starting "SYSTEM"."SYS_IMPORT_SCHEMA_01":  system/******** directory=dmpdir dumpfile=sh.dmp logfile=sh.log schemas=sh 
Processing object type SCHEMA_EXPORT/USER
Processing object type SCHEMA_EXPORT/SYSTEM_GRANT
Processing object type SCHEMA_EXPORT/ROLE_GRANT
Processing object type SCHEMA_EXPORT/DEFAULT_ROLE
Processing object type SCHEMA_EXPORT/PRE_SCHEMA/PROCACT_SCHEMA
Processing object type SCHEMA_EXPORT/TABLE/TABLE
Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA
. . imported "SH"."CUSTOMERS"                            9.853 MB   55500 rows
. . imported "SH"."COSTS":"COSTS_Q1_1998"                139.5 KB    4411 rows
. . imported "SH"."COSTS":"COSTS_Q1_1999"                183.5 KB    5884 rows
. . imported "SH"."COSTS":"COSTS_Q1_2000"                120.6 KB    3772 rows
. . imported "SH"."COSTS":"COSTS_Q1_2001"                227.8 KB    7328 rows
. . imported "SH"."COSTS":"COSTS_Q2_1998"                79.52 KB    2397 rows
. . imported "SH"."COSTS":"COSTS_Q2_1999"                132.5 KB    4179 rows
. . imported "SH"."COSTS":"COSTS_Q2_2000"                119.0 KB    3715 rows
. . imported "SH"."COSTS":"COSTS_Q2_2001"                184.5 KB    5882 rows
. . imported "SH"."COSTS":"COSTS_Q3_1998"                131.1 KB    4129 rows
. . imported "SH"."COSTS":"COSTS_Q3_1999"                137.3 KB    4336 rows
. . imported "SH"."COSTS":"COSTS_Q3_2000"                151.4 KB    4798 rows
. . imported "SH"."COSTS":"COSTS_Q3_2001"                234.4 KB    7545 rows
. . imported "SH"."COSTS":"COSTS_Q4_1998"                144.7 KB    4577 rows
. . imported "SH"."COSTS":"COSTS_Q4_1999"                159.0 KB    5060 rows
. . imported "SH"."COSTS":"COSTS_Q4_2000"                160.2 KB    5088 rows
. . imported "SH"."COSTS":"COSTS_Q4_2001"                278.4 KB    9011 rows
. . imported "SH"."SALES":"SALES_Q1_1998"                1.412 MB   43687 rows
. . imported "SH"."SALES":"SALES_Q1_1999"                2.071 MB   64186 rows
. . imported "SH"."SALES":"SALES_Q1_2000"                2.012 MB   62197 rows
. . imported "SH"."SALES":"SALES_Q1_2001"                1.965 MB   60608 rows
. . imported "SH"."SALES":"SALES_Q2_1998"                1.160 MB   35758 rows
. . imported "SH"."SALES":"SALES_Q2_1999"                1.754 MB   54233 rows
. . imported "SH"."SALES":"SALES_Q2_2000"                1.802 MB   55515 rows
. . imported "SH"."SALES":"SALES_Q2_2001"                2.051 MB   63292 rows
. . imported "SH"."SALES":"SALES_Q3_1998"                1.633 MB   50515 rows
. . imported "SH"."SALES":"SALES_Q3_1999"                2.166 MB   67138 rows
. . imported "SH"."SALES":"SALES_Q3_2000"                1.909 MB   58950 rows
. . imported "SH"."SALES":"SALES_Q3_2001"                2.130 MB   65769 rows
. . imported "SH"."SALES":"SALES_Q4_1998"                1.581 MB   48874 rows
. . imported "SH"."SALES":"SALES_Q4_1999"                2.014 MB   62388 rows
. . imported "SH"."SALES":"SALES_Q4_2000"                1.814 MB   55984 rows
. . imported "SH"."SALES":"SALES_Q4_2001"                2.257 MB   69749 rows
. . imported "SH"."SUPPLEMENTARY_DEMOGRAPHICS"           697.3 KB    4500 rows
. . imported "SH"."FWEEK_PSCAT_SALES_MV"                 419.8 KB   11266 rows
. . imported "SH"."PROMOTIONS"                           58.89 KB     503 rows
. . imported "SH"."TIMES"                                380.8 KB    1826 rows
. . imported "SH"."CAL_MONTH_SALES_MV"                   6.312 KB      48 rows
. . imported "SH"."CHANNELS"                              7.25 KB       5 rows
. . imported "SH"."COUNTRIES"                            10.20 KB      23 rows
. . imported "SH"."PRODUCTS"                             26.17 KB      72 rows
. . imported "SH"."COSTS":"COSTS_1995"                       0 KB       0 rows
. . imported "SH"."COSTS":"COSTS_1996"                       0 KB       0 rows
. . imported "SH"."COSTS":"COSTS_H1_1997"                    0 KB       0 rows
. . imported "SH"."COSTS":"COSTS_H2_1997"                    0 KB       0 rows
. . imported "SH"."COSTS":"COSTS_Q1_2002"                    0 KB       0 rows
. . imported "SH"."COSTS":"COSTS_Q1_2003"                    0 KB       0 rows
. . imported "SH"."COSTS":"COSTS_Q2_2002"                    0 KB       0 rows
. . imported "SH"."COSTS":"COSTS_Q2_2003"                    0 KB       0 rows
. . imported "SH"."COSTS":"COSTS_Q3_2002"                    0 KB       0 rows
. . imported "SH"."COSTS":"COSTS_Q3_2003"                    0 KB       0 rows
. . imported "SH"."COSTS":"COSTS_Q4_2002"                    0 KB       0 rows
. . imported "SH"."COSTS":"COSTS_Q4_2003"                    0 KB       0 rows
. . imported "SH"."DIMENSION_EXCEPTIONS"                     0 KB       0 rows
. . imported "SH"."SALES":"SALES_1995"                       0 KB       0 rows
. . imported "SH"."SALES":"SALES_1996"                       0 KB       0 rows
. . imported "SH"."SALES":"SALES_H1_1997"                    0 KB       0 rows
. . imported "SH"."SALES":"SALES_H2_1997"                    0 KB       0 rows
. . imported "SH"."SALES":"SALES_Q1_2002"                    0 KB       0 rows
. . imported "SH"."SALES":"SALES_Q1_2003"                    0 KB       0 rows
. . imported "SH"."SALES":"SALES_Q2_2002"                    0 KB       0 rows
. . imported "SH"."SALES":"SALES_Q2_2003"                    0 KB       0 rows
. . imported "SH"."SALES":"SALES_Q3_2002"                    0 KB       0 rows
. . imported "SH"."SALES":"SALES_Q3_2003"                    0 KB       0 rows
. . imported "SH"."SALES":"SALES_Q4_2002"                    0 KB       0 rows
. . imported "SH"."SALES":"SALES_Q4_2003"                    0 KB       0 rows
Processing object type SCHEMA_EXPORT/TABLE/GRANT/OWNER_GRANT/OBJECT_GRANT
Processing object type SCHEMA_EXPORT/TABLE/COMMENT
Processing object type SCHEMA_EXPORT/TABLE/INDEX/INDEX
Processing object type SCHEMA_EXPORT/TABLE/CONSTRAINT/CONSTRAINT
Processing object type SCHEMA_EXPORT/VIEW/VIEW
Processing object type SCHEMA_EXPORT/TABLE/CONSTRAINT/REF_CONSTRAINT
Processing object type SCHEMA_EXPORT/TABLE/INDEX/BITMAP_INDEX/INDEX
Processing object type SCHEMA_EXPORT/TABLE/INDEX/DOMAIN_INDEX/INDEX
Processing object type SCHEMA_EXPORT/MATERIALIZED_VIEW
Processing object type SCHEMA_EXPORT/DIMENSION
Job "SYSTEM"."SYS_IMPORT_SCHEMA_01" successfully completed at 11:58:17
共用37秒

收集统计信息9秒,一共9+37=46秒。


包含统计信息导入:

[oracle@hadoop01 dumpfile]$ impdp system/oracle directory=dmpdir dumpfile=shplus.dmp logfile=shplus.log schemas=sh Import: Release 11.2.0.3.0 - Production on Tue Jul 26 12:03:08 2016Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
Data Mining and Real Application Testing options
Master table "SYSTEM"."SYS_IMPORT_SCHEMA_01" successfully loaded/unloaded
Starting "SYSTEM"."SYS_IMPORT_SCHEMA_01":  system/******** directory=dmpdir dumpfile=shplus.dmp logfile=shplus.log schemas=sh 
Processing object type SCHEMA_EXPORT/USER
Processing object type SCHEMA_EXPORT/SYSTEM_GRANT
Processing object type SCHEMA_EXPORT/ROLE_GRANT
Processing object type SCHEMA_EXPORT/DEFAULT_ROLE
Processing object type SCHEMA_EXPORT/PRE_SCHEMA/PROCACT_SCHEMA
Processing object type SCHEMA_EXPORT/TABLE/TABLE
Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA
. . imported "SH"."CUSTOMERS"                            9.853 MB   55500 rows
. . imported "SH"."COSTS":"COSTS_Q1_1998"                139.5 KB    4411 rows
. . imported "SH"."COSTS":"COSTS_Q1_1999"                183.5 KB    5884 rows
. . imported "SH"."COSTS":"COSTS_Q1_2000"                120.6 KB    3772 rows
. . imported "SH"."COSTS":"COSTS_Q1_2001"                227.8 KB    7328 rows
. . imported "SH"."COSTS":"COSTS_Q2_1998"                79.52 KB    2397 rows
. . imported "SH"."COSTS":"COSTS_Q2_1999"                132.5 KB    4179 rows
. . imported "SH"."COSTS":"COSTS_Q2_2000"                119.0 KB    3715 rows
. . imported "SH"."COSTS":"COSTS_Q2_2001"                184.5 KB    5882 rows
. . imported "SH"."COSTS":"COSTS_Q3_1998"                131.1 KB    4129 rows
. . imported "SH"."COSTS":"COSTS_Q3_1999"                137.3 KB    4336 rows
. . imported "SH"."COSTS":"COSTS_Q3_2000"                151.4 KB    4798 rows
. . imported "SH"."COSTS":"COSTS_Q3_2001"                234.4 KB    7545 rows
. . imported "SH"."COSTS":"COSTS_Q4_1998"                144.7 KB    4577 rows
. . imported "SH"."COSTS":"COSTS_Q4_1999"                159.0 KB    5060 rows
. . imported "SH"."COSTS":"COSTS_Q4_2000"                160.2 KB    5088 rows
. . imported "SH"."COSTS":"COSTS_Q4_2001"                278.4 KB    9011 rows
. . imported "SH"."SALES":"SALES_Q1_1998"                1.412 MB   43687 rows
. . imported "SH"."SALES":"SALES_Q1_1999"                2.071 MB   64186 rows
. . imported "SH"."SALES":"SALES_Q1_2000"                2.012 MB   62197 rows
. . imported "SH"."SALES":"SALES_Q1_2001"                1.965 MB   60608 rows
. . imported "SH"."SALES":"SALES_Q2_1998"                1.160 MB   35758 rows
. . imported "SH"."SALES":"SALES_Q2_1999"                1.754 MB   54233 rows
. . imported "SH"."SALES":"SALES_Q2_2000"                1.802 MB   55515 rows
. . imported "SH"."SALES":"SALES_Q2_2001"                2.051 MB   63292 rows
. . imported "SH"."SALES":"SALES_Q3_1998"                1.633 MB   50515 rows
. . imported "SH"."SALES":"SALES_Q3_1999"                2.166 MB   67138 rows
. . imported "SH"."SALES":"SALES_Q3_2000"                1.909 MB   58950 rows
. . imported "SH"."SALES":"SALES_Q3_2001"                2.130 MB   65769 rows
. . imported "SH"."SALES":"SALES_Q4_1998"                1.581 MB   48874 rows
. . imported "SH"."SALES":"SALES_Q4_1999"                2.014 MB   62388 rows
. . imported "SH"."SALES":"SALES_Q4_2000"                1.814 MB   55984 rows
. . imported "SH"."SALES":"SALES_Q4_2001"                2.257 MB   69749 rows
. . imported "SH"."SUPPLEMENTARY_DEMOGRAPHICS"           697.3 KB    4500 rows
. . imported "SH"."FWEEK_PSCAT_SALES_MV"                 419.8 KB   11266 rows
. . imported "SH"."PROMOTIONS"                           58.89 KB     503 rows
. . imported "SH"."TIMES"                                380.8 KB    1826 rows
. . imported "SH"."CAL_MONTH_SALES_MV"                   6.312 KB      48 rows
. . imported "SH"."CHANNELS"                              7.25 KB       5 rows
. . imported "SH"."COUNTRIES"                            10.20 KB      23 rows
. . imported "SH"."PRODUCTS"                             26.17 KB      72 rows
. . imported "SH"."COSTS":"COSTS_1995"                       0 KB       0 rows
. . imported "SH"."COSTS":"COSTS_1996"                       0 KB       0 rows
. . imported "SH"."COSTS":"COSTS_H1_1997"                    0 KB       0 rows
. . imported "SH"."COSTS":"COSTS_H2_1997"                    0 KB       0 rows
. . imported "SH"."COSTS":"COSTS_Q1_2002"                    0 KB       0 rows
. . imported "SH"."COSTS":"COSTS_Q1_2003"                    0 KB       0 rows
. . imported "SH"."COSTS":"COSTS_Q2_2002"                    0 KB       0 rows
. . imported "SH"."COSTS":"COSTS_Q2_2003"                    0 KB       0 rows
. . imported "SH"."COSTS":"COSTS_Q3_2002"                    0 KB       0 rows
. . imported "SH"."COSTS":"COSTS_Q3_2003"                    0 KB       0 rows
. . imported "SH"."COSTS":"COSTS_Q4_2002"                    0 KB       0 rows
. . imported "SH"."COSTS":"COSTS_Q4_2003"                    0 KB       0 rows
. . imported "SH"."DIMENSION_EXCEPTIONS"                     0 KB       0 rows
. . imported "SH"."SALES":"SALES_1995"                       0 KB       0 rows
. . imported "SH"."SALES":"SALES_1996"                       0 KB       0 rows
. . imported "SH"."SALES":"SALES_H1_1997"                    0 KB       0 rows
. . imported "SH"."SALES":"SALES_H2_1997"                    0 KB       0 rows
. . imported "SH"."SALES":"SALES_Q1_2002"                    0 KB       0 rows
. . imported "SH"."SALES":"SALES_Q1_2003"                    0 KB       0 rows
. . imported "SH"."SALES":"SALES_Q2_2002"                    0 KB       0 rows
. . imported "SH"."SALES":"SALES_Q2_2003"                    0 KB       0 rows
. . imported "SH"."SALES":"SALES_Q3_2002"                    0 KB       0 rows
. . imported "SH"."SALES":"SALES_Q3_2003"                    0 KB       0 rows
. . imported "SH"."SALES":"SALES_Q4_2002"                    0 KB       0 rows
. . imported "SH"."SALES":"SALES_Q4_2003"                    0 KB       0 rows
Processing object type SCHEMA_EXPORT/TABLE/GRANT/OWNER_GRANT/OBJECT_GRANT
Processing object type SCHEMA_EXPORT/TABLE/COMMENT
Processing object type SCHEMA_EXPORT/TABLE/INDEX/INDEX
Processing object type SCHEMA_EXPORT/TABLE/CONSTRAINT/CONSTRAINT
Processing object type SCHEMA_EXPORT/TABLE/INDEX/STATISTICS/INDEX_STATISTICS
Processing object type SCHEMA_EXPORT/VIEW/VIEW
Processing object type SCHEMA_EXPORT/TABLE/CONSTRAINT/REF_CONSTRAINT
Processing object type SCHEMA_EXPORT/TABLE/INDEX/BITMAP_INDEX/INDEX
Processing object type SCHEMA_EXPORT/TABLE/INDEX/STATISTICS/BITMAP_INDEX/INDEX_STATISTICS
Processing object type SCHEMA_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS
Processing object type SCHEMA_EXPORT/TABLE/INDEX/DOMAIN_INDEX/INDEX
Processing object type SCHEMA_EXPORT/MATERIALIZED_VIEW
Processing object type SCHEMA_EXPORT/DIMENSION
Job "SYSTEM"."SYS_IMPORT_SCHEMA_01" successfully completed at 12:03:52
共44秒。

可见oracle11.2.0.4版本中导入dump数据包含统计信息并不会对性能造成很大影响。

这篇关于expdp impdp 排除统计信息 导入导出 性能对比的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!



http://www.chinasem.cn/article/1044952

相关文章

详解Vue如何使用xlsx库导出Excel文件

《详解Vue如何使用xlsx库导出Excel文件》第三方库xlsx提供了强大的功能来处理Excel文件,它可以简化导出Excel文件这个过程,本文将为大家详细介绍一下它的具体使用,需要的小伙伴可以了解... 目录1. 安装依赖2. 创建vue组件3. 解释代码在Vue.js项目中导出Excel文件,使用第三

在C#中获取端口号与系统信息的高效实践

《在C#中获取端口号与系统信息的高效实践》在现代软件开发中,尤其是系统管理、运维、监控和性能优化等场景中,了解计算机硬件和网络的状态至关重要,C#作为一种广泛应用的编程语言,提供了丰富的API来帮助开... 目录引言1. 获取端口号信息1.1 获取活动的 TCP 和 UDP 连接说明:应用场景:2. 获取硬

SpringBoot使用Apache Tika检测敏感信息

《SpringBoot使用ApacheTika检测敏感信息》ApacheTika是一个功能强大的内容分析工具,它能够从多种文件格式中提取文本、元数据以及其他结构化信息,下面我们来看看如何使用Ap... 目录Tika 主要特性1. 多格式支持2. 自动文件类型检测3. 文本和元数据提取4. 支持 OCR(光学

C#使用yield关键字实现提升迭代性能与效率

《C#使用yield关键字实现提升迭代性能与效率》yield关键字在C#中简化了数据迭代的方式,实现了按需生成数据,自动维护迭代状态,本文主要来聊聊如何使用yield关键字实现提升迭代性能与效率,感兴... 目录前言传统迭代和yield迭代方式对比yield延迟加载按需获取数据yield break显式示迭

C#实现获取电脑中的端口号和硬件信息

《C#实现获取电脑中的端口号和硬件信息》这篇文章主要为大家详细介绍了C#实现获取电脑中的端口号和硬件信息的相关方法,文中的示例代码讲解详细,有需要的小伙伴可以参考一下... 我们经常在使用一个串口软件的时候,发现软件中的端口号并不是普通的COM1,而是带有硬件信息的。那么如果我们使用C#编写软件时候,如

Python实现将实体类列表数据导出到Excel文件

《Python实现将实体类列表数据导出到Excel文件》在数据处理和报告生成中,将实体类的列表数据导出到Excel文件是一项常见任务,Python提供了多种库来实现这一目标,下面就来跟随小编一起学习一... 目录一、环境准备二、定义实体类三、创建实体类列表四、将实体类列表转换为DataFrame五、导出Da

通过C#获取PDF中指定文本或所有文本的字体信息

《通过C#获取PDF中指定文本或所有文本的字体信息》在设计和出版行业中,字体的选择和使用对最终作品的质量有着重要影响,然而,有时我们可能会遇到包含未知字体的PDF文件,这使得我们无法准确地复制或修改文... 目录引言C# 获取PDF中指定文本的字体信息C# 获取PDF文档中用到的所有字体信息引言在设计和出

Python数据处理之导入导出Excel数据方式

《Python数据处理之导入导出Excel数据方式》Python是Excel数据处理的绝佳工具,通过Pandas和Openpyxl等库可以实现数据的导入、导出和自动化处理,从基础的数据读取和清洗到复杂... 目录python导入导出Excel数据开启数据之旅:为什么Python是Excel数据处理的最佳拍档

Java实现任务管理器性能网络监控数据的方法详解

《Java实现任务管理器性能网络监控数据的方法详解》在现代操作系统中,任务管理器是一个非常重要的工具,用于监控和管理计算机的运行状态,包括CPU使用率、内存占用等,对于开发者和系统管理员来说,了解这些... 目录引言一、背景知识二、准备工作1. Maven依赖2. Gradle依赖三、代码实现四、代码详解五

C#读取本地网络配置信息全攻略分享

《C#读取本地网络配置信息全攻略分享》在当今数字化时代,网络已深度融入我们生活与工作的方方面面,对于软件开发而言,掌握本地计算机的网络配置信息显得尤为关键,而在C#编程的世界里,我们又该如何巧妙地读取... 目录一、引言二、C# 读取本地网络配置信息的基础准备2.1 引入关键命名空间2.2 理解核心类与方法