[20130325]KEEP_MASTER and METRICS in EXPDPIMDP.txt
[20130325]KEEP_MASTER and METRICS in EXPDPIMDP.txt
"KEEP_MASTER" and "METRICS"是兩個未文件的引數。
METRICS提供處理物件的計時,KEEP_MASTER用來保留Data Pump Master table,不刪除它。
1.沒有兩個引數的情況:
2.使用metrics引數:
3.使用KEEP_MASTER引數:
如果在執行一次,就產生"SCOTT"."SYS_EXPORT_TABLE_02" 表。
以SCOTT使用者登入,能發現這些表SYS_EXPORT_TABLE_01。
"KEEP_MASTER" and "METRICS"是兩個未文件的引數。
METRICS提供處理物件的計時,KEEP_MASTER用來保留Data Pump Master table,不刪除它。
1.沒有兩個引數的情況:
$ expdp scott/btbtms directory=DATA_PUMP_DIR dumpfile=test1.dmp logfile=test1.log tables=dept,emp
Export: Release 11.2.0.3.0 - Production on Mon Mar 25 15:54:52 2013
Copyright (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, OLAP, Data Mining and Real Application Testing options
Starting "SCOTT"."SYS_EXPORT_TABLE_01": scott/******** directory=DATA_PUMP_DIR dumpfile=test1.dmp logfile=time1.log */
tables=dept,emp
Estimate in progress using BLOCKS method...
Processing object type TABLE_EXPORT/TABLE/TABLE_DATA
Total estimation using BLOCKS method: 128 KB
Processing object type TABLE_EXPORT/TABLE/TABLE
Processing object type TABLE_EXPORT/TABLE/GRANT/OWNER_GRANT/OBJECT_GRANT
Processing object type TABLE_EXPORT/TABLE/AUDIT_OBJ
Processing object type TABLE_EXPORT/TABLE/INDEX/INDEX
Processing object type TABLE_EXPORT/TABLE/CONSTRAINT/CONSTRAINT
Processing object type TABLE_EXPORT/TABLE/INDEX/STATISTICS/INDEX_STATISTICS
Processing object type TABLE_EXPORT/TABLE/CONSTRAINT/REF_CONSTRAINT
Processing object type TABLE_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS
Processing object type TABLE_EXPORT/TABLE/STATISTICS/USER_PREF_STATISTICS
. . exported "SCOTT"."DEPT" 5.968 KB 6 rows
. . exported "SCOTT"."EMP" 8.601 KB 15 rows
Master table "SCOTT"."SYS_EXPORT_TABLE_01" successfully loaded/unloaded
******************************************************************************
Dump file set for SCOTT.SYS_EXPORT_TABLE_01 is:
/u01/app/oracle11g/admin/test/dpdump/test1.dmp
Job "SCOTT"."SYS_EXPORT_TABLE_01" successfully completed at 15:55:06
2.使用metrics引數:
$ expdp scott/xxxx directory=DATA_PUMP_DIR dumpfile=test1.dmp logfile=test1.log tables=dept,emp metrics=y
$ expdp scott/btbtms directory=DATA_PUMP_DIR dumpfile=test1.dmp logfile=test1.log tables=dept,emp metrics=y
Export: Release 11.2.0.3.0 - Production on Mon Mar 25 15:56:46 2013
Copyright (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, OLAP, Data Mining and Real Application Testing options
Starting "SCOTT"."SYS_EXPORT_TABLE_01": scott/******** directory=DATA_PUMP_DIR dumpfile=test1.dmp logfile=test1.log */
tables=dept,emp metrics=y
Estimate in progress using BLOCKS method...
Processing object type TABLE_EXPORT/TABLE/TABLE_DATA
Total estimation using BLOCKS method: 128 KB
Processing object type TABLE_EXPORT/TABLE/TABLE
Completed 2 TABLE objects in 2 seconds
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Processing object type TABLE_EXPORT/TABLE/GRANT/OWNER_GRANT/OBJECT_GRANT
Completed 1 OBJECT_GRANT objects in 2 seconds
Processing object type TABLE_EXPORT/TABLE/AUDIT_OBJ
Completed 1 AUDIT_OBJ objects in 0 seconds
Processing object type TABLE_EXPORT/TABLE/INDEX/INDEX
Completed 5 INDEX objects in 2 seconds
Processing object type TABLE_EXPORT/TABLE/CONSTRAINT/CONSTRAINT
Completed 2 CONSTRAINT objects in 0 seconds
Processing object type TABLE_EXPORT/TABLE/INDEX/STATISTICS/INDEX_STATISTICS
Completed 5 INDEX_STATISTICS objects in 0 seconds
Processing object type TABLE_EXPORT/TABLE/CONSTRAINT/REF_CONSTRAINT
Completed 1 REF_CONSTRAINT objects in 1 seconds
Processing object type TABLE_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS
Completed 2 TABLE_STATISTICS objects in 0 seconds
Processing object type TABLE_EXPORT/TABLE/STATISTICS/USER_PREF_STATISTICS
Completed 2 USER_PREF_STATISTICS objects in 0 seconds
. . exported "SCOTT"."DEPT" 5.968 KB 6 rows
. . exported "SCOTT"."EMP" 8.601 KB 15 rows
Master table "SCOTT"."SYS_EXPORT_TABLE_01" successfully loaded/unloaded
******************************************************************************
Dump file set for SCOTT.SYS_EXPORT_TABLE_01 is:
/u01/app/oracle11g/admin/test/dpdump/test1.dmp
Job "SCOTT"."SYS_EXPORT_TABLE_01" successfully completed at 15:56:58
3.使用KEEP_MASTER引數:
$ expdp scott/btbtms directory=DATA_PUMP_DIR dumpfile=test1.dmp logfile=test1.log tables=dept,emp KEEP_MASTER=y
Export: Release 11.2.0.3.0 - Production on Mon Mar 25 15:59:43 2013
Copyright (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, OLAP, Data Mining and Real Application Testing options
Starting "SCOTT"."SYS_EXPORT_TABLE_01": scott/******** directory=DATA_PUMP_DIR dumpfile=test1.dmp logfile=test1.log */
tables=dept,emp KEEP_MASTER=y
Estimate in progress using BLOCKS method...
Processing object type TABLE_EXPORT/TABLE/TABLE_DATA
Total estimation using BLOCKS method: 128 KB
Processing object type TABLE_EXPORT/TABLE/TABLE
Processing object type TABLE_EXPORT/TABLE/GRANT/OWNER_GRANT/OBJECT_GRANT
Processing object type TABLE_EXPORT/TABLE/AUDIT_OBJ
Processing object type TABLE_EXPORT/TABLE/INDEX/INDEX
Processing object type TABLE_EXPORT/TABLE/CONSTRAINT/CONSTRAINT
Processing object type TABLE_EXPORT/TABLE/INDEX/STATISTICS/INDEX_STATISTICS
Processing object type TABLE_EXPORT/TABLE/CONSTRAINT/REF_CONSTRAINT
Processing object type TABLE_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS
Processing object type TABLE_EXPORT/TABLE/STATISTICS/USER_PREF_STATISTICS
. . exported "SCOTT"."DEPT" 5.968 KB 6 rows
. . exported "SCOTT"."EMP" 8.601 KB 15 rows
Master table "SCOTT"."SYS_EXPORT_TABLE_01" successfully loaded/unloaded
******************************************************************************
Dump file set for SCOTT.SYS_EXPORT_TABLE_01 is:
/u01/app/oracle11g/admin/test/dpdump/test1.dmp
Job "SCOTT"."SYS_EXPORT_TABLE_01" successfully completed at 15:59:54
如果在執行一次,就產生"SCOTT"."SYS_EXPORT_TABLE_02" 表。
以SCOTT使用者登入,能發現這些表SYS_EXPORT_TABLE_01。
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/267265/viewspace-757013/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Spark REST API & metricsSparkRESTAPI
- [20130325]表Initrans的數量.txt
- Spark Metrics配置詳解Spark
- Kubernetes Metrics Server元件Server元件
- 如何設定Samza的metrics
- oracle Metrics相關檢視Oracle
- Sentry Web 效能監控 - MetricsWeb
- Metrics-服務指標度量指標
- 使用golang編寫prometheus metrics exporterGolangPrometheusExport
- kubernetes部署metrics-serverServer
- K8S部署Metrics-ServerK8SServer
- [20130325]11GR2.0.3的sshUserSetup.sh檔案.txt
- mysql 5.6效能監控表innodb_metricsMySql
- kubeadm1.14.1 安裝Metrics ServerServer
- kubenetes metrics-server監控資源Server
- Kubernetes上安裝Metrics-ServerServer
- Kubernetes學習之Metrics-ServerServer
- 使用Metrics方法級遠端監控Java程式Java
- .NET 6 全新指標 System.Diagnostics.Metrics 介紹指標
- sklearn.metrics.f1_score中micro、macro、samples理解Mac
- 什麼是 Google lighthouse 中的 Time to Interactive metricsGo
- 服務監控-友好地整合Metrics到專案中
- Dubbo 可觀測性實踐之 Metrics 功能解析
- RocketMQ 5.0 可觀測能力升級:Metrics 指標分析MQ指標
- 使用json通過telegraf生成metrics(摘自telegraf github文件)JSONGithub
- 使用Metrics方法級遠端監控Java程式(優化)Java優化
- [MySQL5.6]Innodb新的監控表INNODB_METRICSMySql
- 關於ORACLE_OCM.MGMT_DB_LL_METRICS的錯誤Oracle
- 深入理解TensorFlow中的tf.metrics運算元
- minikube metrics-server HPA 自動擴縮容錯誤Server
- Oracle10g新增的檢視dba_tablespace_usage_metricsOracle
- K8S原來如此簡單(五)Metrics Server與HPAK8SServer
- The DBA_TABLESPACE_USAGE_METRICS View Needs to be Rebuilt in 10g_738101.1ViewUI
- k8s kubectl top pod報錯error Metrics API not availableK8SErrorAPIAI
- 你唯一需要的是“Wide Events”,而非“Metrics、Logs、Traces”IDE
- ambari2.8+ambari-metrics3.0+bigtop3.2編譯、打包、安裝S3編譯
- 使用metrics-server監控k8s的資源指標ServerK8S指標
- 跟誤告警說再見,Smart Metrics 幫你用演算法配告警演算法