oracle11G 存在分区的表中的数据导出


数据库版本: oracle 11.1.2
环境:centos5.8 64


数据库中存在多个表有分区的情况。所以在数据库的备份时发生了错误。
Export done in UTF8 character set and UTF8 NCHAR character set
server uses AL32UTF8 character set (possible charset conversion)
. exporting pre-schema procedural objects and actions
. exporting foreign function library names for user MAXTHONBI
. exporting PUBLIC type synonyms
. exporting private type synonyms

. exporting object type definitions for user MAXTHONBI
About to export MAXTHONBI's objects ...
. exporting database links
. exporting sequence numbers
. exporting cluster definitions
. about to export MAXTHONBI's tables via Conventional Path ...
. . exporting table                      CHECKTEST       4897 rows exported
. . exporting table     DEVICE_FACT_BROWSER_USEAGE       3458 rows exported
EXP-00006: internal inconsistency error
EXP-00000: Export terminated unsuccessfully



解决:
create directory biappdump as '/home/obiee/biappdump';

grant read,write on directory biappdump to maxthonbi;

expdp 'maxthonbi/maxthonbi@biapp' directory=biappdump dumpfile=maxthonbi20121008.dmp



[obiee@obiee ~]$ expdp 'maxthonbi/maxthonbi@biapp' directory=biappdump dumpfile=maxthonbi20121008.dmp

Export: Release 11.2.0.1.0 - Production on Mon Oct 8 15:22:25 2012

Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.

Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Starting "MAXTHONBI"."SYS_EXPORT_SCHEMA_01":  maxthonbi/********@biapp directory=biappdump dumpfile=maxthonbi20121008.dmp 
Estimate in progress using BLOCKS method...
Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA
Total estimation using BLOCKS method: 2.045 GB
Processing object type SCHEMA_EXPORT/PRE_SCHEMA/PROCACT_SCHEMA
Processing object type SCHEMA_EXPORT/SEQUENCE/SEQUENCE
Processing object type SCHEMA_EXPORT/TABLE/TABLE
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/TABLE/COMMENT
Processing object type SCHEMA_EXPORT/PROCEDURE/PROCEDURE
Processing object type SCHEMA_EXPORT/PROCEDURE/ALTER_PROCEDURE
Processing object type SCHEMA_EXPORT/TABLE/INDEX/FUNCTIONAL_AND_BITMAP/INDEX
Processing object type SCHEMA_EXPORT/TABLE/INDEX/STATISTICS/FUNCTIONAL_AND_BITMAP/INDEX_STATISTICS
Processing object type SCHEMA_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS
. . exported "MAXTHONBI"."STARTPAGE_FACT_MCLICK"         243.1 MB 8530062 rows
. . exported "MAXTHONBI"."STARTPAGE_FACT_SEARCH"         237.0 MB 2791794 rows


你可能感兴趣的:(oracle11g)