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
相关推荐
小白勇闯网安圈12 小时前
Django 响应对象、文件上传与类视图
数据库·django·sqlite
努力的小雨12 小时前
同一份 SQL 跑多套环境:Ksql 变量怎么用才安全
数据库
科技绘图13 小时前
快鲸GEO vs 传统AI搜索优化:全链路自动化与高效内容生产在转化闭环上的对比
数据库·人工智能·自动化
ltl13 小时前
数据库作为 LLM 记忆体:语义缓存、RAG 与一致性
数据库
ltl13 小时前
WAL 与崩溃恢复:ARIES 协议怎么跑通
数据库
ltl13 小时前
TEE 数据库:EnclaveDB、Oblivious 原语与机密 SQL
数据库
麻瓜code14 小时前
【Mysql】重新学一遍 SQL 执行顺序
数据库·sql
这个DBA有点耶15 小时前
数据库一体机架构演进:从硬件堆叠到软硬深度耦合
服务器·网络·数据库·硬件架构·运维开发·database·数据库架构
一只fish15 小时前
优化器架构对比:Oracle vs PostgreSQL vs MySQL
mysql·postgresql·oracle
安_16 小时前
RAG的向量数据库:为LLM提供语义搜索能力
数据库