Oracle expdp过滤部分表数据

Oracle expdp过滤部分表数据

复制代码
expdp \"/ as sysdba\" SCHEMAS=TESTU DUMPFILE=TESTU.dmp LOGFILE=TESTU.LOG EXCLUDE="TABLE:LIKE'DBCI_LOG%%'",STATISTICS

C:\Users\zhou>expdp \"/ as sysdba\" SCHEMAS=TESTU DUMPFILE=TESTU.dmp LOGFILE=TESTU.LOG EXCLUDE="TABLE:LIKE'DBCI_LOG%%'",STATISTICS

Export: Release 11.2.0.4.0 - Production on Mon Jun 2 15:43:47 2025

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

Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Starting "SYS"."SYS_EXPORT_SCHEMA_01":  "/******** AS SYSDBA" SCHEMAS=TESTU DUMPFILE=TESTU.dmp LOGFILE=TESTU.LOG EXCLUDE=TABLE:LIKE'DBCI_LOG%%',STATISTICS
Estimate in progress using BLOCKS method...
Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA
Total estimation using BLOCKS method: 128 KB
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
. . exported "TESTU"."DBCI"                              5.429 KB       2 rows
. . exported "TESTU"."TAB1"                              5.429 KB       2 rows
Master table "SYS"."SYS_EXPORT_SCHEMA_01" successfully loaded/unloaded
******************************************************************************
Dump file set for SYS.SYS_EXPORT_SCHEMA_01 is:
  D:\APP\ZHOU\ADMIN\SCIMDB\DPDUMP\TESTU.DMP
Job "SYS"."SYS_EXPORT_SCHEMA_01" successfully completed at Mon Jun 2 15:44:12 2025 elapsed 0 00:00:17
相关推荐
多弗朗皮卡丘2 小时前
MySQL表的约束
数据库·mysql
Flynn Liang6 小时前
AI Agent Redis 生产踩坑实录:13 类故障的根因、复现与调优
数据库·人工智能·redis·缓存·ai agent·故障分析
SelectDB7 小时前
开源日志平台怎么选?ELK、Loki、ClickHouse、Apache Doris 四大方案对比与选型指南
数据库
SelectDB7 小时前
ELK 磁盘空间不足怎么办?Elasticsearch 存储膨胀原因、排查步骤与 3 种降本方案
数据库
满小满7 小时前
为什么我先 ANALYZE,而不是先加索引
数据库·dba
SelectDB8 小时前
日志分析用什么数据库好?Elasticsearch、ClickHouse、Doris 选型对比与 3 个企业案例
数据库
inferno10 小时前
十三、存储过程(PROCEDURE)
数据库·sql·mysql
数据库急诊室_阿哲10 小时前
一周慢查询日志审计:1200 条里有多少真问题
运维·数据库·dba
zhangjw3411 小时前
2-4 集合运算 union /union all /intersect/except
数据库·postgresql
Decay__11 小时前
PostgreSQL DBA 日常运维手册 —— 会话、锁阻塞、慢查询、膨胀与每日巡检
运维·数据库·sql·postgresql