- 最后登录
- 2023-8-16
- 在线时间
- 1686 小时
- 威望
- 2135
- 金钱
- 50532
- 注册时间
- 2011-10-12
- 阅读权限
- 200
- 帖子
- 5207
- 精华
- 39
- 积分
- 2135
- UID
- 2
|
2#
发表于 2012-4-20 21:03:33
1.
是否用 expdp attach ,观察过 工作状态?
如
[oracle@vrh8 ~]$ expdp system/oracle dumpfile=tmp:maclean.dmp schemas=maclean
Export: Release 10.2.0.1.0 - 64bit Production on Friday, 20 April, 2012 8:53:44
Copyright (c) 2003, 2005, Oracle. All rights reserved.
Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production
With the Partitioning, OLAP and Data Mining options
Starting "SYSTEM"."SYS_EXPORT_SCHEMA_01": system/******** dumpfile=tmp:maclean.dmp schemas=maclean
Estimate in progress using BLOCKS method...
Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA
Total estimation using BLOCKS method: 1.879 GB
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 "MACLEAN"."LARGE" 1.617 GB 20376576 rows
[oracle@vrh8 ~]$ expdp system/oracle attach="SYSTEM"."SYS_EXPORT_SCHEMA_01"
Export: Release 10.2.0.1.0 - 64bit Production on Friday, 20 April, 2012 8:53:52
Copyright (c) 2003, 2005, Oracle. All rights reserved.
Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production
With the Partitioning, OLAP and Data Mining options
Job: SYS_EXPORT_SCHEMA_01
Owner: SYSTEM
Operation: EXPORT
Creator Privs: FALSE
GUID: BE1CC765C6B8EC1FE040A8C0BF0156A6
Start Time: Friday, 20 April, 2012 8:53:45
Mode: SCHEMA
Instance: TESTCHAR
Max Parallelism: 1
EXPORT Job Parameters:
Parameter Name Parameter Value:
CLIENT_COMMAND system/******** dumpfile=tmp:maclean.dmp schemas=maclean
State: EXECUTING
Bytes Processed: 0
Current Parallelism: 1
Job Error Count: 0
Dump File: /tmp/maclean.dmp
bytes written: 4,096
Worker 1 Status:
State: EXECUTING
Object Schema: MACLEAN
Object Type: SCHEMA_EXPORT/PRE_SCHEMA/PROCACT_SCHEMA
Completed Objects: 1
Total Objects: 1
Worker Parallelism: 1
Export> status
Job: SYS_EXPORT_SCHEMA_01
Operation: EXPORT
Mode: SCHEMA
State: COMPLETING
Bytes Processed: 1,736,620,017
Percent Done: 100
Current Parallelism: 1
Job Error Count: 0
Dump File: /tmp/maclean.dmp
bytes written: 1,736,777,728
Worker 1 Status:
State: WORK WAITING
是否观察过 v$session_longops 中的相关记录?
2.
尝试使用非并行 方式
去掉 parallel=12
或者
尝试使用direct path ,加入
expdp system/manager@gdomain directory=my_dump_dir dumpfile=mydumpfile.dmp logfile=mydumpfile.log full=y job_name=mydumpfile_job access_method=direct_path
确认 导出作业中是否有 LOB 对象
Elapsed: 659.71 (mins)
DB Time: 934.03 (mins)
你收集的AWR 时间跨度太长 无法精确定位性能问题
gc cr block lost 1,878 1,056 562 1.9 Cluster
有少量的 gc cr block lost 等待事件 说明 private network 可能存在网络丢包 drop package
如以上措施 不足以 诊断或解决问题
建议你对 expdp 的 server process 做一个10046 level 8的TRACE 并上传 |
|