My Oracle Support Banner

DataPump Export (EXPDP) Is Slow Using Default ESTIMATE=BLOCKS Due To Long Execution of Query of SYS.X$KTFBUE (Doc ID 2378391.1)

Last updated on AUGUST 04, 2018

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.3 and later
Information in this document applies to any platform.

Symptoms

          * The whole trace file is near 20 GB, and it is too large to format the whole file with tkprof, and the following is the tkprof formatted result of first 500 MB:

SQL ID: 7t96h267gfv52 Plan Hash: 923959729

SELECT SUM(:B4 *E.KTFBUEBLKS)
FROM
SYS.X$KTFBUE E WHERE E.KTFBUESEGTSN = :B3 AND E.KTFBUESEGFNO = :B2 AND
 E.KTFBUESEGBNO = :B1
  

call     count       cpu    elapsed       disk      query    current        rows
------- ------  -------- ---------- ---------- ---------- ----------  ----------
Parse        1      0.00       0.00          0          0          0           0
Execute 253388      9.47      28.96          0          0          0           0
Fetch   253387    116.53     272.67     307328     411375      58658      253387
------- ------  -------- ---------- ---------- ---------- ----------  ----------
total   506776    126.00     301.63     307328     411375      58658      253387


Rows (1st) Rows (avg) Rows (max)  Row Source Operation
---------- ---------- ----------  ---------------------------------------------------
        1          1          1  SORT AGGREGATE (cr=7 pr=2 pw=0 time=1947 us)
        1          1          1   FIXED TABLE FIXED INDEX X$KTFBUE (ind:1) (cr=7 pr=2 pw=0 time=1941 us cost=0 size=19 card=1)


Elapsed times include waiting on following events:
 Event waited on                             Times   Max. Wait  Total Waited
 ----------------------------------------   Waited  ----------  ------------
 enq: TT - contention                          212        0.00          0.02
 gc cr disk read                            231967        0.01         11.65
 cell single block physical read            307328        0.28        209.59
 ASM file metadata operation                   175        0.07          3.42
 Disk file operations I/O                      347        0.00          0.00
 gc current block 3-way                       1261        0.00          0.15
 gc current block 2-way                       2028        0.00          0.14
 gc cr block 2-way                             222        0.00          0.01
 gc cr block 3-way                              78        0.00          0.00
 buffer busy waits                             150        0.00          0.01
 latch: cache buffers lru chain                  1        0.00          0.00
 gc current block busy                           3        0.00          0.00
 latch: enqueue hash chains                      1        0.00          0.00
 latch: gc element                               3        0.00          0.00
 ASM background starting                         2        0.00          0.00
 latch free                                      1        0.00          0.00
********************************************************************************

 

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.