Skip to Main Content

Breadcrumb

Question and Answer

Connor McDonald

Thanks for the question, Rajeshwaran.

Asked: September 02, 2015 - 12:06 am UTC

Last updated: October 26, 2021 - 2:23 am UTC

Version: 12.1.0.2

Viewed 10K+ times! This question is

You Asked

Tom,

what does this "HYBRID TSM/HWMB" in the below plan indicates? I see this in 12.1.0.2

rajesh@PDB1> explain plan for
  2     insert /*+ enable_parallel_dml parallel(t1) */ into t1
  3     select /*+ parallel(t) */ * from t ;

Explained.

rajesh@PDB1>
rajesh@PDB1> select * from table(dbms_xplan.display)    ;

PLAN_TABLE_OUTPUT
----------------------------------------------------------------------------------------------
Plan hash value: 550883001

--------------------------------------------------------------------------------------------
| Id  | Operation                          | Name     | Rows  |    TQ  |IN-OUT| PQ Distrib |
--------------------------------------------------------------------------------------------
|   0 | INSERT STATEMENT                   |          |    39 |        |      |            |
|   1 |  PX COORDINATOR                    |          |       |        |      |            |
|   2 |   PX SEND QC (RANDOM)              | :TQ10000 |    39 |  Q1,00 | P->S | QC (RAND)  |
|   3 |    LOAD AS SELECT (HYBRID TSM/HWMB)| T1       |       |  Q1,00 | PCWP |            |
|   4 |     OPTIMIZER STATISTICS GATHERING |          |    39 |  Q1,00 | PCWP |            |
|   5 |      PX BLOCK ITERATOR             |          |    39 |  Q1,00 | PCWC |            |
|   6 |       TABLE ACCESS FULL            | T        |    39 |  Q1,00 | PCWP |            |
--------------------------------------------------------------------------------------------

Note
-----
   - Degree of Parallelism is 8 because of table property

17 rows selected.

rajesh@PDB1>

and Connor said...

Its part of the new mechanisms for space management for direct load in 12c.

The optimizer team have blogged extensively about it here:

https://blogs.oracle.com/optimizer/entry/space_management_and_oracle_direct

Rating

  (1 rating)

Is this answer out of date? If it is, please let us know via a Comment

Comments

The link is broken

A reader, October 21, 2021 - 4:44 pm UTC


Connor McDonald
October 26, 2021 - 2:23 am UTC

I asked internally and it appears that content was not migrated to a new platform :-(

All I can do is apologize - broken links are an ongoing problem

More to Explore

Performance

Get all the information about database performance in the Database Performance guide.