recyclebin$里表太多引发的问题

检查表空间的时候,执行检查表空间的语句发现特别慢,于是做了一个执行计划看看。

执行计划如下:

----------------------------------------------------------------------------------------------------------
| Id  | Operation                             | Name             | Rows  | Bytes | Cost (%CPU)| Time     |
----------------------------------------------------------------------------------------------------------
|   0 | SELECT STATEMENT                      |                  |     6 |   540 |   386K(100)| 01:17:24 |
|   1 |  SORT ORDER BY                        |                  |     6 |   540 |   386K(100)| 01:17:24 |
|*  2 |   HASH JOIN                           |                  |     6 |   540 |   386K(100)| 01:17:24 |
|   3 |    VIEW                               |                  |     2 |    60 |     5  (20)| 00:00:01 |
|   4 |     HASH GROUP BY                     |                  |     2 |   294 |     5  (20)| 00:00:01 |
|   5 |      VIEW                             | DBA_DATA_FILES   |     2 |   294 |     4   (0)| 00:00:01 |
|   6 |       UNION-ALL                       |                  |       |       |            |          |
|   7 |        NESTED LOOPS                   |                  |     1 |   222 |     2   (0)| 00:00:01 |
|   8 |         NESTED LOOPS                  |                  |     1 |   209 |     1   (0)| 00:00:01 |
|   9 |          NESTED LOOPS                 |                  |     1 |   196 |     1   (0)| 00:00:01 |
|* 10 |           FIXED TABLE FULL            | X$KCCFN          |     1 |   182 |     0   (0)| 00:00:01 |
|* 11 |           TABLE ACCESS BY INDEX ROWID | FILE$            |     1 |    14 |     1   (0)| 00:00:01 |
|* 12 |            INDEX UNIQUE SCAN          | I_FILE1          |     1 |       |     0   (0)| 00:00:01 |
|* 13 |          FIXED TABLE FIXED INDEX      | X$KCCFE (ind:1)  |     1 |    13 |     0   (0)| 00:00:01 |
|  14 |         TABLE ACCESS CLUSTER          | TS$              |     1 |    13 |     1   (0)| 00:00:01 |
|* 15 |          INDEX UNIQUE SCAN            | I_TS#            |     1 |       |     0   (0)| 00:00:01 |
|  16 |        NESTED LOOPS                   |                  |     1 |   245 |     2   (0)| 00:00:01 |
|  17 |         NESTED LOOPS                  |                  |     1 |   232 |     1   (0)| 00:00:01 |
|  18 |          NESTED LOOPS                 |                  |     1 |   219 |     1   (0)| 00:00:01 |
|  19 |           NESTED LOOPS                |                  |     1 |   208 |     0   (0)| 00:00:01 |
|* 20 |            FIXED TABLE FULL           | X$KCCFN          |     1 |   182 |     0   (0)| 00:00:01 |
|* 21 |            FIXED TABLE FIXED INDEX    | X$KTFBHC (ind:1) |     1 |    26 |     0   (0)| 00:00:01 |
|* 22 |           TABLE ACCESS BY INDEX ROWID | FILE$            |     1 |    11 |     1   (0)| 00:00:01 |
|* 23 |            INDEX UNIQUE SCAN          | I_FILE1          |     1 |       |     0   (0)| 00:00:01 |
|* 24 |          FIXED TABLE FIXED INDEX      | X$KCCFE (ind:1)  |     1 |    13 |     0   (0)| 00:00:01 |
|  25 |         TABLE ACCESS CLUSTER          | TS$              |     1 |    13 |     1   (0)| 00:00:01 |
|* 26 |          INDEX UNIQUE SCAN            | I_TS#            |     1 |       |     0   (0)| 00:00:01 |
|* 27 |    HASH JOIN                          |                  |   307 | 18420 |   386K(100)| 01:17:24 |
|  28 |     VIEW                              |                  |     2 |    60 |     5  (20)| 00:00:01 |
|  29 |      HASH GROUP BY                    |                  |     2 |    60 |     5  (20)| 00:00:01 |
|  30 |       VIEW                            | DBA_DATA_FILES   |     2 |    60 |     4   (0)| 00:00:01 |
|  31 |        UNION-ALL                      |                  |       |       |            |          |
|  32 |         NESTED LOOPS                  |                  |     1 |   232 |     2   (0)| 00:00:01 |
|  33 |          NESTED LOOPS                 |                  |     1 |   215 |     1   (0)| 00:00:01 |
|  34 |           NESTED LOOPS                |                  |     1 |   202 |     1   (0)| 00:00:01 |
|* 35 |            FIXED TABLE FULL           | X$KCCFN          |     1 |   182 |     0   (0)| 00:00:01 |
|* 36 |            TABLE ACCESS BY INDEX ROWID| FILE$            |     1 |    20 |     1   (0)| 00:00:01 |
|* 37 |             INDEX UNIQUE SCAN         | I_FILE1          |     1 |       |     0   (0)| 00:00:01 |
|* 38 |           FIXED TABLE FIXED INDEX     | X$KCCFE (ind:1)  |     1 |    13 |     0   (0)| 00:00:01 |
|  39 |          TABLE ACCESS CLUSTER         | TS$              |     1 |    17 |     1   (0)| 00:00:01 |
|* 40 |           INDEX UNIQUE SCAN           | I_TS#            |     1 |       |     0   (0)| 00:00:01 |
|  41 |         NESTED LOOPS                  |                  |     1 |   275 |     2   (0)| 00:00:01 |
|  42 |          NESTED LOOPS                 |                  |     1 |   258 |     1   (0)| 00:00:01 |
|  43 |           NESTED LOOPS                |                  |     1 |   245 |     1   (0)| 00:00:01 |
|  44 |            NESTED LOOPS               |                  |     1 |   234 |     0   (0)| 00:00:01 |
|* 45 |             FIXED TABLE FULL          | X$KCCFN          |     1 |   182 |     0   (0)| 00:00:01 |
|* 46 |             FIXED TABLE FIXED INDEX   | X$KTFBHC (ind:1) |     1 |    52 |     0   (0)| 00:00:01 |
|* 47 |            TABLE ACCESS BY INDEX ROWID| FILE$            |     1 |    11 |     1   (0)| 00:00:01 |
|* 48 |             INDEX UNIQUE SCAN         | I_FILE1          |     1 |       |     0   (0)| 00:00:01 |
|* 49 |           FIXED TABLE FIXED INDEX     | X$KCCFE (ind:1)  |     1 |    13 |     0   (0)| 00:00:01 |
|  50 |          TABLE ACCESS CLUSTER         | TS$              |     1 |    17 |     1   (0)| 00:00:01 |
|* 51 |           INDEX UNIQUE SCAN           | I_TS#            |     1 |       |     0   (0)| 00:00:01 |
|  52 |     VIEW                              |                  | 15338 |   449K|   386K(100)| 01:17:24 |
|  53 |      HASH GROUP BY                    |                  | 15338 |   449K|   386K(100)| 01:17:24 |
|  54 |       VIEW                            | DBA_FREE_SPACE   | 15338 |   449K|   386K(100)| 01:17:24 |
|  55 |        UNION-ALL                      |                  |       |       |            |          |
|  56 |         NESTED LOOPS                  |                  |     1 |    67 |     4   (0)| 00:00:01 |
|  57 |          NESTED LOOPS                 |                  |     1 |    46 |     3   (0)| 00:00:01 |
|  58 |           TABLE ACCESS FULL           | FET$             |     1 |    39 |     3   (0)| 00:00:01 |
|* 59 |           INDEX UNIQUE SCAN           | I_FILE2          |     1 |     7 |     0   (0)| 00:00:01 |
|* 60 |          TABLE ACCESS CLUSTER         | TS$              |     1 |    21 |     1   (0)| 00:00:01 |
|  61 |         NESTED LOOPS                  |                  |    71 |  5183 |     5   (0)| 00:00:01 |
|  62 |          NESTED LOOPS                 |                  |    71 |  4686 |     5   (0)| 00:00:01 |
|* 63 |           TABLE ACCESS FULL           | TS$              |    10 |   270 |     5   (0)| 00:00:01 |
|* 64 |           FIXED TABLE FIXED INDEX     | X$KTFBFE (ind:1) |     7 |   273 |     0   (0)| 00:00:01 |
|* 65 |          INDEX UNIQUE SCAN            | I_FILE2          |     1 |     7 |     0   (0)| 00:00:01 |
|  66 |         NESTED LOOPS                  |                  | 15265 |  1654K|   386K(100)| 01:17:24 |
|  67 |          NESTED LOOPS                 |                  | 95349 |  9683K|   386K(100)| 01:17:24 |
|* 68 |           HASH JOIN                   |                  | 49103 |  1870K|   159   (2)| 00:00:02 |
|  69 |            TABLE ACCESS FULL          | RECYCLEBIN$      | 51498 |   603K|   153   (1)| 00:00:02 |
|* 70 |            TABLE ACCESS FULL          | TS$              |    10 |   270 |     5   (0)| 00:00:01 |
|* 71 |           FIXED TABLE FIXED INDEX     | X$KTFBUE (ind:1) |     2 |   130 |     8 (100)| 00:00:01 |
|* 72 |          INDEX UNIQUE SCAN            | I_FILE2          |     1 |     7 |     0   (0)| 00:00:01 |
|  73 |         NESTED LOOPS                  |                  |     1 |    92 |    16   (0)| 00:00:01 |
|  74 |          NESTED LOOPS                 |                  |     1 |    71 |    15   (0)| 00:00:01 |
|  75 |           NESTED LOOPS                |                  |     1 |    59 |    14   (0)| 00:00:01 |
|  76 |            TABLE ACCESS FULL          | UET$             |     1 |    52 |    14   (0)| 00:00:01 |
|* 77 |            INDEX UNIQUE SCAN          | I_FILE2          |     1 |     7 |     0   (0)| 00:00:01 |
|* 78 |           TABLE ACCESS BY INDEX ROWID | RECYCLEBIN$      |     1 |    12 |     1   (0)| 00:00:01 |
|* 79 |            INDEX RANGE SCAN           | RECYCLEBIN$_TS   | 12874 |       |     1   (0)| 00:00:01 |
|* 80 |          TABLE ACCESS CLUSTER         | TS$              |     1 |    21 |     1   (0)| 00:00:01 |
|* 81 |           INDEX UNIQUE SCAN           | I_TS#            |     1 |       |     0   (0)| 00:00:01 |
----------------------------------------------------------------------------------------------------------

Predicate Information (identified by operation id):
---------------------------------------------------

   2 - access("B"."TABLESPACE_NAME"="C"."TABLESPACE_NAME")
  10 - filter("FNNAM" IS NOT NULL AND "FNTYP"=4 AND "INST_ID"=USERENV('INSTANCE') AND
              BITAND("FNFLG",4)<>4)
  11 - filter("F"."SPARE1" IS NULL)
  12 - access("FNFNO"="F"."FILE#")
  13 - filter("FE"."FENUM"="F"."FILE#")
  15 - access("F"."TS#"="TS"."TS#")
  20 - filter("FNNAM" IS NOT NULL AND "FNTYP"=4 AND "INST_ID"=USERENV('INSTANCE') AND
              BITAND("FNFLG",4)<>4)
  21 - filter("FNFNO"="HC"."KTFBHCAFNO")
  22 - filter("F"."SPARE1" IS NOT NULL)
  23 - access("FNFNO"="F"."FILE#")
  24 - filter("FE"."FENUM"="F"."FILE#")
  26 - access("HC"."KTFBHCTSN"="TS"."TS#")
  27 - access("A"."TABLESPACE_NAME"="B"."TABLESPACE_NAME")
  35 - filter("FNNAM" IS NOT NULL AND "FNTYP"=4 AND "INST_ID"=USERENV('INSTANCE') AND
              BITAND("FNFLG",4)<>4)
  36 - filter("F"."SPARE1" IS NULL)
  37 - access("FNFNO"="F"."FILE#")
  38 - filter("FE"."FENUM"="F"."FILE#")
  40 - access("F"."TS#"="TS"."TS#")
  45 - filter("FNNAM" IS NOT NULL AND "FNTYP"=4 AND "INST_ID"=USERENV('INSTANCE') AND
              BITAND("FNFLG",4)<>4)
  46 - filter("FNFNO"="HC"."KTFBHCAFNO")
  47 - filter("F"."SPARE1" IS NOT NULL)
  48 - access("FNFNO"="F"."FILE#")
  49 - filter("FE"."FENUM"="F"."FILE#")
  51 - access("HC"."KTFBHCTSN"="TS"."TS#")
  59 - access("F"."TS#"="FI"."TS#" AND "F"."FILE#"="FI"."RELFILE#")
  60 - filter("TS"."BITMAPPED"=0 AND "TS"."TS#"="F"."TS#")
  63 - filter("TS"."CONTENTS$"=0 AND "TS"."BITMAPPED"<>0 AND ("TS"."ONLINE$"=1 OR
              "TS"."ONLINE$"=4))
  64 - filter("TS"."TS#"="F"."KTFBFETSN")
  65 - access("F"."KTFBFETSN"="FI"."TS#" AND "F"."KTFBFEFNO"="FI"."RELFILE#")
  68 - access("TS"."TS#"="RB"."TS#")
  70 - filter("TS"."CONTENTS$"=0 AND "TS"."BITMAPPED"<>0 AND ("TS"."ONLINE$"=1 OR
              "TS"."ONLINE$"=4))
  71 - filter("U"."KTFBUESEGTSN"="RB"."TS#" AND "U"."KTFBUESEGFNO"="RB"."FILE#" AND
              "U"."KTFBUESEGBNO"="RB"."BLOCK#")
  72 - access("RB"."TS#"="FI"."TS#" AND "U"."KTFBUEFNO"="FI"."RELFILE#")
  77 - access("U"."TS#"="FI"."TS#" AND "U"."SEGFILE#"="FI"."RELFILE#")
  78 - filter("U"."SEGFILE#"="RB"."FILE#" AND "U"."SEGBLOCK#"="RB"."BLOCK#")
  79 - access("U"."TS#"="RB"."TS#")
  80 - filter("TS"."BITMAPPED"=0)
  81 - access("TS"."TS#"="U"."TS#")

137 rows selected.


发现RECYCLEBIN$里记录太多,在做NESTED LOOPS的时候,耗费太大,RECYCLEBIN$记录多,是由于drop的表过多引起,于是用PURGE DBA_RECYCLEBIN清空回收站后,解决此问题,然后做执行计划如下

----------------------------------------------------------------------------------------------------------
| Id  | Operation                             | Name             | Rows  | Bytes | Cost (%CPU)| Time     |
----------------------------------------------------------------------------------------------------------
|   0 | SELECT STATEMENT                      |                  |     1 |    90 |    53  (27)| 00:00:01 |
|   1 |  SORT ORDER BY                        |                  |     1 |    90 |    53  (27)| 00:00:01 |
|*  2 |   HASH JOIN                           |                  |     1 |    90 |    52  (25)| 00:00:01 |
|*  3 |    HASH JOIN                          |                  |     1 |    60 |    46  (24)| 00:00:01 |
|   4 |     VIEW                              |                  |     2 |    60 |     5  (20)| 00:00:01 |
|   5 |      HASH GROUP BY                    |                  |     2 |    60 |     5  (20)| 00:00:01 |
|   6 |       VIEW                            | DBA_DATA_FILES   |     2 |    60 |     4   (0)| 00:00:01 |
|   7 |        UNION-ALL                      |                  |       |       |            |          |
|   8 |         NESTED LOOPS                  |                  |     1 |   232 |     2   (0)| 00:00:01 |
|   9 |          NESTED LOOPS                 |                  |     1 |   215 |     1   (0)| 00:00:01 |
|  10 |           NESTED LOOPS                |                  |     1 |   202 |     1   (0)| 00:00:01 |
|* 11 |            FIXED TABLE FULL           | X$KCCFN          |     1 |   182 |     0   (0)| 00:00:01 |
|* 12 |            TABLE ACCESS BY INDEX ROWID| FILE$            |     1 |    20 |     1   (0)| 00:00:01 |
|* 13 |             INDEX UNIQUE SCAN         | I_FILE1          |     1 |       |     0   (0)| 00:00:01 |
|* 14 |           FIXED TABLE FIXED INDEX     | X$KCCFE (ind:1)  |     1 |    13 |     0   (0)| 00:00:01 |
|  15 |          TABLE ACCESS CLUSTER         | TS$              |     1 |    17 |     1   (0)| 00:00:01 |
|* 16 |           INDEX UNIQUE SCAN           | I_TS#            |     1 |       |     0   (0)| 00:00:01 |
|  17 |         NESTED LOOPS                  |                  |     1 |   275 |     2   (0)| 00:00:01 |
|  18 |          NESTED LOOPS                 |                  |     1 |   258 |     1   (0)| 00:00:01 |
|  19 |           NESTED LOOPS                |                  |     1 |   245 |     1   (0)| 00:00:01 |
|  20 |            NESTED LOOPS               |                  |     1 |   234 |     0   (0)| 00:00:01 |
|* 21 |             FIXED TABLE FULL          | X$KCCFN          |     1 |   182 |     0   (0)| 00:00:01 |
|* 22 |             FIXED TABLE FIXED INDEX   | X$KTFBHC (ind:1) |     1 |    52 |     0   (0)| 00:00:01 |
|* 23 |            TABLE ACCESS BY INDEX ROWID| FILE$            |     1 |    11 |     1   (0)| 00:00:01 |
|* 24 |             INDEX UNIQUE SCAN         | I_FILE1          |     1 |       |     0   (0)| 00:00:01 |
|* 25 |           FIXED TABLE FIXED INDEX     | X$KCCFE (ind:1)  |     1 |    13 |     0   (0)| 00:00:01 |
|  26 |          TABLE ACCESS CLUSTER         | TS$              |     1 |    17 |     1   (0)| 00:00:01 |
|* 27 |           INDEX UNIQUE SCAN           | I_TS#            |     1 |       |     0   (0)| 00:00:01 |
|  28 |     VIEW                              |                  |    74 |  2220 |    41  (25)| 00:00:01 |
|  29 |      HASH GROUP BY                    |                  |    74 |  2220 |    41  (25)| 00:00:01 |
|  30 |       VIEW                            | DBA_FREE_SPACE   |    74 |  2220 |    40  (23)| 00:00:01 |
|  31 |        UNION-ALL                      |                  |       |       |            |          |
|  32 |         NESTED LOOPS                  |                  |     1 |    67 |     4   (0)| 00:00:01 |
|  33 |          NESTED LOOPS                 |                  |     1 |    46 |     3   (0)| 00:00:01 |
|  34 |           TABLE ACCESS FULL           | FET$             |     1 |    39 |     3   (0)| 00:00:01 |
|* 35 |           INDEX UNIQUE SCAN           | I_FILE2          |     1 |     7 |     0   (0)| 00:00:01 |
|* 36 |          TABLE ACCESS CLUSTER         | TS$              |     1 |    21 |     1   (0)| 00:00:01 |
|  37 |         NESTED LOOPS                  |                  |    71 |  5183 |     5   (0)| 00:00:01 |
|  38 |          NESTED LOOPS                 |                  |    71 |  4686 |     5   (0)| 00:00:01 |
|* 39 |           TABLE ACCESS FULL           | TS$              |    10 |   270 |     5   (0)| 00:00:01 |
|* 40 |           FIXED TABLE FIXED INDEX     | X$KTFBFE (ind:1) |     7 |   273 |     0   (0)| 00:00:01 |
|* 41 |          INDEX UNIQUE SCAN            | I_FILE2          |     1 |     7 |     0   (0)| 00:00:01 |
|  42 |         NESTED LOOPS                  |                  |     1 |   138 |    15  (60)| 00:00:01 |
|  43 |          NESTED LOOPS                 |                  |     1 |   131 |    15  (60)| 00:00:01 |
|  44 |           MERGE JOIN                  |                  |     1 |    66 |     7  (15)| 00:00:01 |
|  45 |            TABLE ACCESS BY INDEX ROWID| RECYCLEBIN$      |     1 |    39 |     1   (0)| 00:00:01 |
|  46 |             INDEX FULL SCAN           | RECYCLEBIN$_TS   |     1 |       |     1   (0)| 00:00:01 |
|* 47 |            SORT JOIN                  |                  |    10 |   270 |     6  (17)| 00:00:01 |
|* 48 |             TABLE ACCESS FULL         | TS$              |    10 |   270 |     5   (0)| 00:00:01 |
|* 49 |           FIXED TABLE FIXED INDEX     | X$KTFBUE (ind:1) |  3277 |   208K|     8 (100)| 00:00:01 |
|* 50 |          INDEX UNIQUE SCAN            | I_FILE2          |     1 |     7 |     0   (0)| 00:00:01 |
|  51 |         NESTED LOOPS                  |                  |     1 |   119 |    16   (0)| 00:00:01 |
|  52 |          NESTED LOOPS                 |                  |     1 |    98 |    15   (0)| 00:00:01 |
|  53 |           NESTED LOOPS                |                  |     1 |    59 |    14   (0)| 00:00:01 |
|  54 |            TABLE ACCESS FULL          | UET$             |     1 |    52 |    14   (0)| 00:00:01 |
|* 55 |            INDEX UNIQUE SCAN          | I_FILE2          |     1 |     7 |     0   (0)| 00:00:01 |
|* 56 |           TABLE ACCESS BY INDEX ROWID | RECYCLEBIN$      |     1 |    39 |     1   (0)| 00:00:01 |
|* 57 |            INDEX RANGE SCAN           | RECYCLEBIN$_TS   |     1 |       |     1   (0)| 00:00:01 |
|* 58 |          TABLE ACCESS CLUSTER         | TS$              |     1 |    21 |     1   (0)| 00:00:01 |
|* 59 |           INDEX UNIQUE SCAN           | I_TS#            |     1 |       |     0   (0)| 00:00:01 |
|  60 |    VIEW                               |                  |     2 |    60 |     5  (20)| 00:00:01 |
|  61 |     HASH GROUP BY                     |                  |     2 |   294 |     5  (20)| 00:00:01 |
|  62 |      VIEW                             | DBA_DATA_FILES   |     2 |   294 |     4   (0)| 00:00:01 |
|  63 |       UNION-ALL                       |                  |       |       |            |          |
|  64 |        NESTED LOOPS                   |                  |     1 |   222 |     2   (0)| 00:00:01 |
|  65 |         NESTED LOOPS                  |                  |     1 |   209 |     1   (0)| 00:00:01 |
|  66 |          NESTED LOOPS                 |                  |     1 |   196 |     1   (0)| 00:00:01 |
|* 67 |           FIXED TABLE FULL            | X$KCCFN          |     1 |   182 |     0   (0)| 00:00:01 |
|* 68 |           TABLE ACCESS BY INDEX ROWID | FILE$            |     1 |    14 |     1   (0)| 00:00:01 |
|* 69 |            INDEX UNIQUE SCAN          | I_FILE1          |     1 |       |     0   (0)| 00:00:01 |
|* 70 |          FIXED TABLE FIXED INDEX      | X$KCCFE (ind:1)  |     1 |    13 |     0   (0)| 00:00:01 |
|  71 |         TABLE ACCESS CLUSTER          | TS$              |     1 |    13 |     1   (0)| 00:00:01 |
|* 72 |          INDEX UNIQUE SCAN            | I_TS#            |     1 |       |     0   (0)| 00:00:01 |
|  73 |        NESTED LOOPS                   |                  |     1 |   245 |     2   (0)| 00:00:01 |
|  74 |         NESTED LOOPS                  |                  |     1 |   232 |     1   (0)| 00:00:01 |
|  75 |          NESTED LOOPS                 |                  |     1 |   219 |     1   (0)| 00:00:01 |
|  76 |           NESTED LOOPS                |                  |     1 |   208 |     0   (0)| 00:00:01 |
|* 77 |            FIXED TABLE FULL           | X$KCCFN          |     1 |   182 |     0   (0)| 00:00:01 |
|* 78 |            FIXED TABLE FIXED INDEX    | X$KTFBHC (ind:1) |     1 |    26 |     0   (0)| 00:00:01 |
|* 79 |           TABLE ACCESS BY INDEX ROWID | FILE$            |     1 |    11 |     1   (0)| 00:00:01 |
|* 80 |            INDEX UNIQUE SCAN          | I_FILE1          |     1 |       |     0   (0)| 00:00:01 |
|* 81 |          FIXED TABLE FIXED INDEX      | X$KCCFE (ind:1)  |     1 |    13 |     0   (0)| 00:00:01 |
|  82 |         TABLE ACCESS CLUSTER          | TS$              |     1 |    13 |     1   (0)| 00:00:01 |
|* 83 |          INDEX UNIQUE SCAN            | I_TS#            |     1 |       |     0   (0)| 00:00:01 |
----------------------------------------------------------------------------------------------------------

Predicate Information (identified by operation id):
---------------------------------------------------

   2 - access("B"."TABLESPACE_NAME"="C"."TABLESPACE_NAME")
   3 - access("A"."TABLESPACE_NAME"="B"."TABLESPACE_NAME")
  11 - filter("FNNAM" IS NOT NULL AND "FNTYP"=4 AND "INST_ID"=USERENV('INSTANCE') AND
              BITAND("FNFLG",4)<>4)
  12 - filter("F"."SPARE1" IS NULL)
  13 - access("FNFNO"="F"."FILE#")
  14 - filter("FE"."FENUM"="F"."FILE#")
  16 - access("F"."TS#"="TS"."TS#")
  21 - filter("FNNAM" IS NOT NULL AND "FNTYP"=4 AND "INST_ID"=USERENV('INSTANCE') AND
              BITAND("FNFLG",4)<>4)
  22 - filter("FNFNO"="HC"."KTFBHCAFNO")
  23 - filter("F"."SPARE1" IS NOT NULL)
  24 - access("FNFNO"="F"."FILE#")
  25 - filter("FE"."FENUM"="F"."FILE#")
  27 - access("HC"."KTFBHCTSN"="TS"."TS#")
  35 - access("F"."TS#"="FI"."TS#" AND "F"."FILE#"="FI"."RELFILE#")
  36 - filter("TS"."BITMAPPED"=0 AND "TS"."TS#"="F"."TS#")
  39 - filter("TS"."CONTENTS$"=0 AND "TS"."BITMAPPED"<>0 AND ("TS"."ONLINE$"=1 OR
              "TS"."ONLINE$"=4))
  40 - filter("TS"."TS#"="F"."KTFBFETSN")
  41 - access("F"."KTFBFETSN"="FI"."TS#" AND "F"."KTFBFEFNO"="FI"."RELFILE#")
  47 - access("TS"."TS#"="RB"."TS#")
       filter("TS"."TS#"="RB"."TS#")
  48 - filter("TS"."CONTENTS$"=0 AND "TS"."BITMAPPED"<>0 AND ("TS"."ONLINE$"=1 OR
              "TS"."ONLINE$"=4))
  49 - filter("U"."KTFBUESEGTSN"="RB"."TS#" AND "U"."KTFBUESEGFNO"="RB"."FILE#" AND
              "U"."KTFBUESEGBNO"="RB"."BLOCK#")
  50 - access("RB"."TS#"="FI"."TS#" AND "U"."KTFBUEFNO"="FI"."RELFILE#")
  55 - access("U"."TS#"="FI"."TS#" AND "U"."SEGFILE#"="FI"."RELFILE#")
  56 - filter("U"."SEGFILE#"="RB"."FILE#" AND "U"."SEGBLOCK#"="RB"."BLOCK#")
  57 - access("U"."TS#"="RB"."TS#")
  58 - filter("TS"."BITMAPPED"=0)
  59 - access("TS"."TS#"="U"."TS#")
  67 - filter("FNNAM" IS NOT NULL AND "FNTYP"=4 AND "INST_ID"=USERENV('INSTANCE') AND
              BITAND("FNFLG",4)<>4)
  68 - filter("F"."SPARE1" IS NULL)
  69 - access("FNFNO"="F"."FILE#")
  70 - filter("FE"."FENUM"="F"."FILE#")
  72 - access("F"."TS#"="TS"."TS#")
  77 - filter("FNNAM" IS NOT NULL AND "FNTYP"=4 AND "INST_ID"=USERENV('INSTANCE') AND
              BITAND("FNFLG",4)<>4)
  78 - filter("FNFNO"="HC"."KTFBHCAFNO")
  79 - filter("F"."SPARE1" IS NOT NULL)
  80 - access("FNFNO"="F"."FILE#")
  81 - filter("FE"."FENUM"="F"."FILE#")
  83 - access("HC"."KTFBHCTSN"="TS"."TS#")

140 rows selected.


 

你可能感兴趣的:(Oracle,故障排除)