SQLTXPLAIN Report: sqlt_x0319p14_oaprd1_s0001.html

Identification

Statement ID:
Input Filename:
Host Name:
CPUs:
Database Name:
Instance Name:
Platform:
Product Version:
RDBMS Version:

SQL Statement

SELECT 'Y'
FROM
TIME_ATTRIBUTES_TB WHERE ATTRIBUTE_ID IN (SELECT ATTRIBUTE_ID
FROM TIME_ATTRIBUTE_USAGES WHERE BUILDING_BLOCK_ID = :B3 AND
BUILDING_BLOCK_OVN = :B2 ) AND ATTRIBUTE_CATEGORY = 'REASON' AND
ATTRIBUTE7 = DECODE (:B1 , NULL, ATTRIBUTE7, :B1 )

Explain Plan

IdExec
Order
Explain Plan Operation
0: 7 SELECT STATEMENT
1: 6  NESTED LOOPS
2: 3   SORT UNIQUE
3: 2    TABLE ACCESS BY INDEX ROWID TIME_ATTRIBUTE_USAGES
4: 1     INDEX RANGE SCAN TIME_ATTRIBUTE_USAGES_FK2
5: 5   TABLE ACCESS BY INDEX ROWID TIME_ATTRIBUTES_TB
6: 4    INDEX UNIQUE SCAN TIME_ATTRIBUTES_TB_PK

IdObject
Type
Parent
Id
PosObj
Inst
Search
Cols
Estim
Card
Estim
Bytes
CostCPU
Cost
IO
Cost
TimeTemp
Space
Remarks
0: 13 1 40 13 7136529 12 1
1: 0 1 1 40 13 7136529 12 1 10.2.0.22963004813
2: 1 1 1 17 9 70453 9 1
3: TABLE 2 1 2 1 17 9 70453 9 1
4: INDEX 3 1 2 12 4 30886 4 1
5: TABLE 1 2 1 1 23 3 23652 3 1
6: INDEX (UNIQUE) 5 1 1 1 2 16143 2 1

IdColumn NameColumn Value
1: Projection (#keys=0)
2: Projection (#keys=1) "ATTRIBUTE_ID"[NUMBER,22]
3: Projection "ATTRIBUTE_ID"[NUMBER,22]
4: Access Predicates "BUILDING_BLOCK_ID"=TO_NUMBER(:B3) AND "BUILDING_BLOCK_OVN"=TO_NUMBER(:B2)
4: Projection "TIME_ATTRIBUTE_USAGES".ROWID[ROWID,10]
5: Filter Predicates "ATTRIBUTE_CATEGORY"='REASON' AND "ATTRIBUTE7"=DECODE(:B1,NULL,"ATTRIBUTE7",:B1)
6: Access Predicates "ATTRIBUTE_ID"="ATTRIBUTE_ID"
6: Projection "TIME_ATTRIBUTES_TB".ROWID[ROWID,10]

Object Depencency

hide
TypeObject
Owner.Name
Script
Version
Hash
Value
AddressMetadata
TABLETIME_ATTRIBUTES_TB13043899380000000439BBFAA8
TABLETIME_ATTRIBUTE_USAGES17461938270000000439BE0E80
SYNONYMTIME_ATTRIBUTES_TB3918164333000000045C8ADA30 Metadata
SYNONYMTIME_ATTRIBUTE_USAGES441867442000000045C8AD1C0 Metadata

Tables

hide
Owner.Table NameCurrent
COUNT
Num*
Rows
Sample*
Size
Last*
Analyzed
Avg*
Row
Len
Chain*
Cnt
Blocks* Empty*
Blocks
Avg*
Space
Global*
Stats
ColumnsMetadata
TIME_ATTRIBUTES_TB7492171437060535203530267629-SEP-07 05:20:495607164508 00YES Columns
TIME_ATTRIBUTE_USAGES7544053847109324603554662329-SEP-07 05:16:34400 486495000YES Columns
(*) Columns marked with an asterisk are refreshed only when collecting CBO statistics

Owner.Table NameTemporaryPartitionedLoggingDegreeCacheIOT
Type
Ini
Trans
Max
Trans
Freelist
Groups
Freelists
TIME_ATTRIBUTES_TBNNOYES 1 N1025544
TIME_ATTRIBUTE_USAGESNNOYES 1 N1025544

Indexes

hide
Table Owner.Table NameIndex Owner.Index NameUsedIndex
Type
UniquenessIndexed ColumnsColumnsMetadata
TIME_ATTRIBUTES_TBTIME_ATTRIBUTES_TB_F2FUNCTION-BASED NORMALNONUNIQUESYS_NC00037$ Columns
TIME_ATTRIBUTES_TBTIME_ATTRIBUTES_TB_FK1NORMALNONUNIQUEBLD_BLK_INFO_TYPE_ID Columns
TIME_ATTRIBUTES_TBTIME_ATTRIBUTES_TB_FK2NORMALNONUNIQUEATTRIBUTE_CATEGORY Columns
TIME_ATTRIBUTES_TBTIME_ATTRIBUTES_TB_FK3NORMALNONUNIQUEATTRIBUTE1 Columns
TIME_ATTRIBUTES_TBTIME_ATTRIBUTES_TB_FK4NORMALNONUNIQUEATTRIBUTE2 Columns
TIME_ATTRIBUTES_TBTIME_ATTRIBUTES_TB_FK5NORMALNONUNIQUEATTRIBUTE3 Columns
TIME_ATTRIBUTES_TBTIME_ATTRIBUTES_TB_N1NORMALNONUNIQUEDATA_SET_ID Columns
TIME_ATTRIBUTES_TBTIME_ATTRIBUTES_TB_PK6NORMALUNIQUEATTRIBUTE_ID Columns
TIME_ATTRIBUTES_TBNOHR.TIME_ATTRIBUTES_TB_N001NORMALNONUNIQUEATTRIBUTE15 Columns
TIME_ATTRIBUTE_USAGESTIME_ATTRIBUTE_USAGES_FK1NORMALNONUNIQUEATTRIBUTE_ID Columns
TIME_ATTRIBUTE_USAGESTIME_ATTRIBUTE_USAGES_FK24NORMALNONUNIQUE BUILDING_BLOCK_ID BUILDING_BLOCK_OVN Columns
TIME_ATTRIBUTE_USAGESTIME_ATTRIBUTE_USAGES_N1NORMALNONUNIQUEDATA_SET_ID Columns
TIME_ATTRIBUTE_USAGESTIME_ATTRIBUTE_USAGES_PKNORMALUNIQUETIME_ATTRIBUTE_USAGE_ID Columns

Table Owner.Table NameIndex Owner.Index NameNum*
Rows
Sample*
Size
Last*
Analyzed
Distinct*
Keys
Blevel*Leaf*
Blocks
Avg*
Leaf
Blocks
per
Key
Avg*
Data
Blocks
per
Key
Clustering*
Factor
Global*
Stats
TIME_ATTRIBUTES_TBTIME_ATTRIBUTES_TB_F27103252403551626229-SEP-07 05:30:1913 2091280209128083615608361560YES
TIME_ATTRIBUTES_TBTIME_ATTRIBUTES_TB_FK17064138003532069029-SEP-07 05:26:4463 3939860656643518702631122160YES
TIME_ATTRIBUTES_TBTIME_ATTRIBUTES_TB_FK27100599003550299529-SEP-07 05:29:15113 5602980509361299642132960640YES
TIME_ATTRIBUTES_TBTIME_ATTRIBUTES_TB_FK35580668202790334129-SEP-07 05:22:23183 3336500185361157414328334580YES
TIME_ATTRIBUTES_TBTIME_ATTRIBUTES_TB_FK44296761402148380729-SEP-07 05:24:482283 23594201034822346250949420YES
TIME_ATTRIBUTES_TBTIME_ATTRIBUTES_TB_FK51599006079950329-SEP-07 05:24:523662 10812029530901131280YES
TIME_ATTRIBUTES_TBTIME_ATTRIBUTES_TB_N10029-SEP-07 05:20:50000 000YES
TIME_ATTRIBUTES_TBTIME_ATTRIBUTES_TB_PK7082394803541197429-SEP-07 05:23:247082394803 21106201178157640YES
TIME_ATTRIBUTES_TBNOHR.TIME_ATTRIBUTES_TB_N001130819060654095329-SEP-07 05:23:4137073 8351802251131541946720YES
TIME_ATTRIBUTE_USAGESTIME_ATTRIBUTE_USAGES_FK17160673203580336629-SEP-07 05:21:07710681160 333472801185764140YES
TIME_ATTRIBUTE_USAGESTIME_ATTRIBUTE_USAGES_FK27156349003578174529-SEP-07 05:18:4060135854 33091760115265197800YES
TIME_ATTRIBUTE_USAGESTIME_ATTRIBUTE_USAGES_N10029-SEP-07 05:16:3400 0000YES
TIME_ATTRIBUTE_USAGESTIME_ATTRIBUTE_USAGES_PK7177564603588782329-SEP-07 05:22:13717756460 323219201175501020YES
(*) Columns marked with an asterisk are refreshed only when collecting CBO statistics

Table Owner.Table NameIndex Owner.Index NameTemporaryPartitionedLoggingDegreeIni
Trans
Max
Trans
Freelist
Groups
FreelistsStatusDomidx
Status
Funcidx
Status
TIME_ATTRIBUTES_TBTIME_ATTRIBUTES_TB_F2NNOYES11125544 VALIDENABLED
TIME_ATTRIBUTES_TBTIME_ATTRIBUTES_TB_FK1NNOYES11125044 VALID
TIME_ATTRIBUTES_TBTIME_ATTRIBUTES_TB_FK2NNOYES11125044 VALID
TIME_ATTRIBUTES_TBTIME_ATTRIBUTES_TB_FK3NNOYES11125044 VALID
TIME_ATTRIBUTES_TBTIME_ATTRIBUTES_TB_FK4NNOYES11125044 VALID
TIME_ATTRIBUTES_TBTIME_ATTRIBUTES_TB_FK5NNOYES11125044 VALID
TIME_ATTRIBUTES_TBTIME_ATTRIBUTES_TB_N1NNOYES11125044 VALID
TIME_ATTRIBUTES_TBTIME_ATTRIBUTES_TB_PKNNOYES11125044 VALID
TIME_ATTRIBUTES_TBNOHR.TIME_ATTRIBUTES_TB_N001NNOYES130255415 VALID
TIME_ATTRIBUTE_USAGESTIME_ATTRIBUTE_USAGES_FK1NNOYES11125044 VALID
TIME_ATTRIBUTE_USAGESTIME_ATTRIBUTE_USAGES_FK2NNOYES11125044 VALID
TIME_ATTRIBUTE_USAGESTIME_ATTRIBUTE_USAGES_N1NNOYES11125044 VALID
TIME_ATTRIBUTE_USAGESTIME_ATTRIBUTE_USAGES_PKNNOYES11125044 VALID

Table Columns

Table: TIME_ATTRIBUTE_USAGES

hide
Column
ID
Column NameData TypeData
Type
Mod
Data
Type
Owner
Data
Length
Data
Precision
Data
Scale
NullableCharacter
Set Name
Char
Length
Char
Used
1TIME_ATTRIBUTE_USAGE_IDNUMBER22150N 0
2ATTRIBUTE_IDNUMBER22150Y
3BUILDING_BLOCK_IDNUMBER22150Y
4CREATED_BYVARCHAR215YCHAR_CS 15B
5CREATION_DATEDATE7Y
6LAST_UPDATED_BYVARCHAR215YCHAR_CS 15B
7LAST_UPDATE_DATEDATE7Y
8LAST_UPDATE_LOGINVARCHAR215YCHAR_CS 15B
9OBJECT_VERSION_NUMBERNUMBER22Y
10BUILDING_BLOCK_OVNNUMBER2290Y
11DATA_SET_IDNUMBER22150Y 0


hide
Column
ID
Column NameNum*
Rows
Sample*
Size
Last*
Analyzed
Global*
Stats
User*
Stats
Num*
Nulls
Num*
Distinct
Density*Avg*
Col
Len
1TIME_ATTRIBUTE_USAGE_ID7109324603554662329-SEP-07 05:16:34YESNO0710932460 1.4066e-097
2ATTRIBUTE_ID7109324603554662329-SEP-07 05:16:34YESNO0710681160 1.4071e-097
3BUILDING_BLOCK_ID7109324603554661129-SEP-07 05:16:34YESNO24060135854 1.6629e-087
4CREATED_BY71093246029-SEP-07 05:16:34YESNO7109324600 0.0000e+000
5CREATION_DATE7109324603551068029-SEP-07 05:16:34YESNO71886013624096 7.3399e-088
6LAST_UPDATED_BY71093246029-SEP-07 05:16:34YESNO7109324600 0.0000e+000
7LAST_UPDATE_DATE7109324603551068029-SEP-07 05:16:34YESNO71886013624096 7.3399e-088
8LAST_UPDATE_LOGIN71093246029-SEP-07 05:16:34YESNO7109324600 0.0000e+000
9OBJECT_VERSION_NUMBER7109324603594329-SEP-07 05:16:34YESNO7102136001 1.0000e+002
10BUILDING_BLOCK_OVN7109324603554512029-SEP-07 05:16:34YESNO3006056 1.7857e-023
11DATA_SET_ID71093246029-SEP-07 05:16:34YESNO7109324600 0.0000e+000
(*) Columns marked with an asterisk are refreshed only when collecting CBO statistics


hide
Column
ID
Column NameLow Value*High Value* Histogram* Num*
Buckets
Buckets
1TIME_ATTRIBUTE_USAGE_ID5714839025 NONE 1
2ATTRIBUTE_ID5709912023 NONE 1
3BUILDING_BLOCK_ID0306935448 NONE 1
4CREATED_BY NONE 0
5CREATION_DATE2004-05-23 00:41:412007-09-29 03:11:11 NONE 1
6LAST_UPDATED_BY NONE 0
7LAST_UPDATE_DATE2004-05-23 00:41:412007-09-29 03:11:11 NONE 1
8LAST_UPDATE_LOGIN NONE 0
9OBJECT_VERSION_NUMBER11 NONE 1
10BUILDING_BLOCK_OVN156 NONE 1
11DATA_SET_ID NONE 0
(*) Columns marked with an asterisk are refreshed only when collecting CBO statistics

Table: TIME_ATTRIBUTES_TB

hide
Column
ID
Column NameData TypeData
Type
Mod
Data
Type
Owner
Data
Length
Data
Precision
Data
Scale
NullableCharacter
Set Name
Char
Length
Char
Used
1ATTRIBUTE_IDNUMBER22150N 0
2ATTRIBUTE_CATEGORYVARCHAR230YCHAR_CS 30B
3ATTRIBUTE1VARCHAR2150YCHAR_CS 150B
4ATTRIBUTE2VARCHAR2150YCHAR_CS 150B
5ATTRIBUTE3VARCHAR2150YCHAR_CS 150B
6ATTRIBUTE4VARCHAR2150YCHAR_CS 150B
7ATTRIBUTE5VARCHAR2150YCHAR_CS 150B
8ATTRIBUTE6VARCHAR2150YCHAR_CS 150B
9ATTRIBUTE7VARCHAR2150YCHAR_CS 150B
10ATTRIBUTE8VARCHAR2150YCHAR_CS 150B
11ATTRIBUTE9VARCHAR2150YCHAR_CS 150B
12ATTRIBUTE10VARCHAR2150YCHAR_CS 150B
13ATTRIBUTE11VARCHAR2150YCHAR_CS 150B
14ATTRIBUTE12VARCHAR2150YCHAR_CS 150B
15ATTRIBUTE13VARCHAR2150YCHAR_CS 150B
16ATTRIBUTE14VARCHAR2150YCHAR_CS 150B
17ATTRIBUTE15VARCHAR2150YCHAR_CS 150B
18ATTRIBUTE16VARCHAR2150YCHAR_CS 150B
19ATTRIBUTE17VARCHAR2150YCHAR_CS 150B
20ATTRIBUTE18VARCHAR2150YCHAR_CS 150B
21ATTRIBUTE19VARCHAR2150YCHAR_CS 150B
22ATTRIBUTE20VARCHAR2150YCHAR_CS 150B
23ATTRIBUTE21VARCHAR2150YCHAR_CS 150B
24ATTRIBUTE22VARCHAR2150YCHAR_CS 150B
25ATTRIBUTE23VARCHAR2150YCHAR_CS 150B
26ATTRIBUTE24VARCHAR2150YCHAR_CS 150B
27ATTRIBUTE25VARCHAR2150YCHAR_CS 150B
28ATTRIBUTE26VARCHAR2150YCHAR_CS 150B
29ATTRIBUTE27VARCHAR2150YCHAR_CS 150B
30ATTRIBUTE28VARCHAR2150YCHAR_CS 150B
31ATTRIBUTE29VARCHAR2150YCHAR_CS 150B
32ATTRIBUTE30VARCHAR2150YCHAR_CS 150B
33BLD_BLK_INFO_TYPE_IDNUMBER22300N
34OBJECT_VERSION_NUMBERNUMBER2290Y
35CONSOLIDATED_FLAGVARCHAR21YCHAR_CS 1B
36DATA_SET_IDNUMBER22150Y 0


hide
Column
ID
Column NameNum*
Rows
Sample*
Size
Last*
Analyzed
Global*
Stats
User*
Stats
Num*
Nulls
Num*
Distinct
Density*Avg*
Col
Len
1ATTRIBUTE_ID7060535203530267629-SEP-07 05:20:49YESNO0706053520 1.4163e-097
2ATTRIBUTE_CATEGORY7060535203530229229-SEP-07 05:20:49YESNO768011 9.0909e-0214
3ATTRIBUTE17060535202795378529-SEP-07 05:20:49YESNO14697782018 5.5556e-024
4ATTRIBUTE27060535202163618929-SEP-07 05:20:49YESNO273329740228 4.3860e-033
5ATTRIBUTE370605352080418629-SEP-07 05:20:49YESNO689969800366 2.7322e-032
6ATTRIBUTE4706053520722909129-SEP-07 05:20:49YESNO561471700775 1.2903e-033
7ATTRIBUTE570605352078727329-SEP-07 05:20:49YESNO6903080602 5.0000e-012
8ATTRIBUTE6706053520173447629-SEP-07 05:20:49YESNO671364000218 4.5872e-032
9ATTRIBUTE7706053520668856929-SEP-07 05:20:49YESNO572282140226 4.4248e-032
10ATTRIBUTE8706053520780788529-SEP-07 05:20:49YESNO5498958201973 5.0684e-043
11ATTRIBUTE9706053520672882829-SEP-07 05:20:49YESNO571476960948 1.0549e-032
12ATTRIBUTE1070605352044129829-SEP-07 05:20:49YESNO6972275601 1.0000e+002
13ATTRIBUTE1170605352019025229-SEP-07 05:20:49YESNO7022484802 5.0000e-012
14ATTRIBUTE127060535201267029-SEP-07 05:20:49YESNO7058001201414 7.0721e-042
15ATTRIBUTE1370605352029-SEP-07 05:20:49YESNO7060535200 0.0000e+000
16ATTRIBUTE14706053520656024029-SEP-07 05:20:49YESNO574848720190 5.2632e-032
17ATTRIBUTE15706053520656025329-SEP-07 05:20:49YESNO5748484603707 2.6976e-043
18ATTRIBUTE16706053520200616629-SEP-07 05:20:49YESNO6659302004 2.5000e-012
19ATTRIBUTE1770605352021713129-SEP-07 05:20:49YESNO7017109004 2.5000e-012
20ATTRIBUTE1870605352033124629-SEP-07 05:20:49YESNO6994286003 3.3333e-012
21ATTRIBUTE19706053520169936229-SEP-07 05:20:49YESNO672066280195640 5.1114e-062
22ATTRIBUTE2070605352029-SEP-07 05:20:49YESNO7060535200 0.0000e+000
23ATTRIBUTE2170605352029-SEP-07 05:20:49YESNO7060535200 0.0000e+000
24ATTRIBUTE2270605352029-SEP-07 05:20:49YESNO7060535200 0.0000e+000
25ATTRIBUTE2370605352029-SEP-07 05:20:49YESNO7060535200 0.0000e+000
26ATTRIBUTE2470605352029-SEP-07 05:20:49YESNO7060535200 0.0000e+000
27ATTRIBUTE2570605352029-SEP-07 05:20:49YESNO7060535200 0.0000e+000
28ATTRIBUTE2670605352029-SEP-07 05:20:49YESNO7060535200 0.0000e+000
29ATTRIBUTE2770605352029-SEP-07 05:20:49YESNO7060535200 0.0000e+000
30ATTRIBUTE2870605352029-SEP-07 05:20:49YESNO7060535200 0.0000e+000
31ATTRIBUTE2970605352029-SEP-07 05:20:49YESNO7060535200 0.0000e+000
32ATTRIBUTE3070605352029-SEP-07 05:20:49YESNO7060535200 0.0000e+000
33BLD_BLK_INFO_TYPE_ID7060535203530267629-SEP-07 05:20:49YESNO06 1.6667e-013
34OBJECT_VERSION_NUMBER7060535203530267629-SEP-07 05:20:49YESNO01 1.0000e+003
35CONSOLIDATED_FLAG70605352029-SEP-07 05:20:49YESNO7060535200 0.0000e+000
36DATA_SET_ID70605352029-SEP-07 05:20:49YESNO7060535200 0.0000e+000
(*) Columns marked with an asterisk are refreshed only when collecting CBO statistics


hide
Column
ID
Column NameLow Value*High Value* Histogram* Num*
Buckets
Buckets
1ATTRIBUTE_ID62709911995 NONE 1
2ATTRIBUTE_CATEGORYCost ApprovalSECURITY NONE 1
3ATTRIBUTE1155812 NONE 1
4ATTRIBUTE205410 NONE 1
5ATTRIBUTE3103529839 NONE 1
6ATTRIBUTE43398775605 NONE 1
7ATTRIBUTE520003800 NONE 1
8ATTRIBUTE60Woodfield Rack NONE 1
9ATTRIBUTE70000N NONE 1
10ATTRIBUTE80000via C NONE 1
11ATTRIBUTE910009732 NONE 1
12ATTRIBUTE10YY NONE 1
13ATTRIBUTE115581355814 NONE 1
14ATTRIBUTE12 11.5097.81 NONE 1
15ATTRIBUTE13 NONE 0
16ATTRIBUTE1400000950 NONE 1
17ATTRIBUTE1501-APR-20079TZR NONE 1
18ATTRIBUTE16TZATZD NONE 1
19ATTRIBUTE17IMOM NONE 1
20ATTRIBUTE18EY NONE 1
21ATTRIBUTE19.zvp4_ras.zvp4_ras NONE 1
22ATTRIBUTE20 NONE 0
23ATTRIBUTE21 NONE 0
24ATTRIBUTE22 NONE 0
25ATTRIBUTE23 NONE 0
26ATTRIBUTE24 NONE 0
27ATTRIBUTE25 NONE 0
28ATTRIBUTE26 NONE 0
29ATTRIBUTE27 NONE 0
30ATTRIBUTE28 NONE 0
31ATTRIBUTE29 NONE 0
32ATTRIBUTE30 NONE 0
33BLD_BLK_INFO_TYPE_ID161 NONE 1
34OBJECT_VERSION_NUMBER11 NONE 1
35CONSOLIDATED_FLAG NONE 0
36DATA_SET_ID NONE 0
(*) Columns marked with an asterisk are refreshed only when collecting CBO statistics

Index Columns

Index: TIME_ATTRIBUTES_TB_FK4 on TIME_ATTRIBUTES_TB

hide
Column
Pos
Column NameDescendData TypeData
Type
Mod
Data
Type
Owner
Data
Length
Data
Precision
Data
Scale
NullableCharacter
Set Name
Char
Length
Char
Used
1ATTRIBUTE2ASCVARCHAR2150Y CHAR_CS150B


hide
Column
Pos
Column NameNum*
Rows
Sample*
Size
Last*
Analyzed
Global*
Stats
User*
Stats
Num*
Nulls
Num*
Distinct
Density*Avg*
Col
Len
1ATTRIBUTE27060535202163618929-SEP-07 05:20:49YESNO273329740228 4.3860e-033
(*) Columns marked with an asterisk are refreshed only when collecting CBO statistics


hide
Column
Pos
Column NameLow Value*High Value* Histogram* Num*
Buckets
Buckets
1ATTRIBUTE205410 NONE 1
(*) Columns marked with an asterisk are refreshed only when collecting CBO statistics

Index: TIME_ATTRIBUTES_TB_FK5 on TIME_ATTRIBUTES_TB

hide
Column
Pos
Column NameDescendData TypeData
Type
Mod
Data
Type
Owner
Data
Length
Data
Precision
Data
Scale
NullableCharacter
Set Name
Char
Length
Char
Used
1ATTRIBUTE3ASCVARCHAR2150Y CHAR_CS150B


hide
Column
Pos
Column NameNum*
Rows
Sample*
Size
Last*
Analyzed
Global*
Stats
User*
Stats
Num*
Nulls
Num*
Distinct
Density*Avg*
Col
Len
1ATTRIBUTE370605352080418629-SEP-07 05:20:49YESNO689969800366 2.7322e-032
(*) Columns marked with an asterisk are refreshed only when collecting CBO statistics


hide
Column
Pos
Column NameLow Value*High Value* Histogram* Num*
Buckets
Buckets
1ATTRIBUTE3103529839 NONE 1
(*) Columns marked with an asterisk are refreshed only when collecting CBO statistics

Index: TIME_ATTRIBUTE_USAGES_FK2 on TIME_ATTRIBUTE_USAGES

hide
Column
Pos
Column NameDescendData TypeData
Type
Mod
Data
Type
Owner
Data
Length
Data
Precision
Data
Scale
NullableCharacter
Set Name
Char
Length
Char
Used
1BUILDING_BLOCK_IDASCNUMBER22150Y
2BUILDING_BLOCK_OVNASCNUMBER2290Y


hide
Column
Pos
Column NameNum*
Rows
Sample*
Size
Last*
Analyzed
Global*
Stats
User*
Stats
Num*
Nulls
Num*
Distinct
Density*Avg*
Col
Len
1BUILDING_BLOCK_ID7109324603554661129-SEP-07 05:16:34YESNO24060135854 1.6629e-087
2BUILDING_BLOCK_OVN7109324603554512029-SEP-07 05:16:34YESNO3006056 1.7857e-023
(*) Columns marked with an asterisk are refreshed only when collecting CBO statistics


hide
Column
Pos
Column NameLow Value*High Value* Histogram* Num*
Buckets
Buckets
1BUILDING_BLOCK_ID0306935448 NONE 1
2BUILDING_BLOCK_OVN156 NONE 1
(*) Columns marked with an asterisk are refreshed only when collecting CBO statistics

Index: TIME_ATTRIBUTES_TB_FK1 on TIME_ATTRIBUTES_TB

hide
Column
Pos
Column NameDescendData TypeData
Type
Mod
Data
Type
Owner
Data
Length
Data
Precision
Data
Scale
NullableCharacter
Set Name
Char
Length
Char
Used
1BLD_BLK_INFO_TYPE_IDASCNUMBER22300N


hide
Column
Pos
Column NameNum*
Rows
Sample*
Size
Last*
Analyzed
Global*
Stats
User*
Stats
Num*
Nulls
Num*
Distinct
Density*Avg*
Col
Len
1BLD_BLK_INFO_TYPE_ID7060535203530267629-SEP-07 05:20:49YESNO06 1.6667e-013
(*) Columns marked with an asterisk are refreshed only when collecting CBO statistics


hide
Column
Pos
Column NameLow Value*High Value* Histogram* Num*
Buckets
Buckets
1BLD_BLK_INFO_TYPE_ID161 NONE 1
(*) Columns marked with an asterisk are refreshed only when collecting CBO statistics

Index: TIME_ATTRIBUTES_TB_FK2 on TIME_ATTRIBUTES_TB

hide
Column
Pos
Column NameDescendData TypeData
Type
Mod
Data
Type
Owner
Data
Length
Data
Precision
Data
Scale
NullableCharacter
Set Name
Char
Length
Char
Used
1ATTRIBUTE_CATEGORYASCVARCHAR230Y CHAR_CS30B


hide
Column
Pos
Column NameNum*
Rows
Sample*
Size
Last*
Analyzed
Global*
Stats
User*
Stats
Num*
Nulls
Num*
Distinct
Density*Avg*
Col
Len
1ATTRIBUTE_CATEGORY7060535203530229229-SEP-07 05:20:49YESNO768011 9.0909e-0214
(*) Columns marked with an asterisk are refreshed only when collecting CBO statistics


hide
Column
Pos
Column NameLow Value*High Value* Histogram* Num*
Buckets
Buckets
1ATTRIBUTE_CATEGORYCost ApprovalSECURITY NONE 1
(*) Columns marked with an asterisk are refreshed only when collecting CBO statistics

Index: TIME_ATTRIBUTES_TB_FK3 on TIME_ATTRIBUTES_TB

hide
Column
Pos
Column NameDescendData TypeData
Type
Mod
Data
Type
Owner
Data
Length
Data
Precision
Data
Scale
NullableCharacter
Set Name
Char
Length
Char
Used
1ATTRIBUTE1ASCVARCHAR2150Y CHAR_CS150B


hide
Column
Pos
Column NameNum*
Rows
Sample*
Size
Last*
Analyzed
Global*
Stats
User*
Stats
Num*
Nulls
Num*
Distinct
Density*Avg*
Col
Len
1ATTRIBUTE17060535202795378529-SEP-07 05:20:49YESNO14697782018 5.5556e-024
(*) Columns marked with an asterisk are refreshed only when collecting CBO statistics


hide
Column
Pos
Column NameLow Value*High Value* Histogram* Num*
Buckets
Buckets
1ATTRIBUTE1155812 NONE 1
(*) Columns marked with an asterisk are refreshed only when collecting CBO statistics

Index: NOHR.TIME_ATTRIBUTES_TB_N001 on TIME_ATTRIBUTES_TB

hide
Column
Pos
Column NameDescendData TypeData
Type
Mod
Data
Type
Owner
Data
Length
Data
Precision
Data
Scale
NullableCharacter
Set Name
Char
Length
Char
Used
1ATTRIBUTE15ASCVARCHAR2150Y CHAR_CS150B


hide
Column
Pos
Column NameNum*
Rows
Sample*
Size
Last*
Analyzed
Global*
Stats
User*
Stats
Num*
Nulls
Num*
Distinct
Density*Avg*
Col
Len
1ATTRIBUTE15706053520656025329-SEP-07 05:20:49YESNO5748484603707 2.6976e-043
(*) Columns marked with an asterisk are refreshed only when collecting CBO statistics


hide
Column
Pos
Column NameLow Value*High Value* Histogram* Num*
Buckets
Buckets
1ATTRIBUTE1501-APR-20079TZR NONE 1
(*) Columns marked with an asterisk are refreshed only when collecting CBO statistics

Index: TIME_ATTRIBUTE_USAGES_PK on TIME_ATTRIBUTE_USAGES

hide
Column
Pos
Column NameDescendData TypeData
Type
Mod
Data
Type
Owner
Data
Length
Data
Precision
Data
Scale
NullableCharacter
Set Name
Char
Length
Char
Used
1TIME_ATTRIBUTE_USAGE_IDASCNUMBER22150N 0


hide
Column
Pos
Column NameNum*
Rows
Sample*
Size
Last*
Analyzed
Global*
Stats
User*
Stats
Num*
Nulls
Num*
Distinct
Density*Avg*
Col
Len
1TIME_ATTRIBUTE_USAGE_ID7109324603554662329-SEP-07 05:16:34YESNO0710932460 1.4066e-097
(*) Columns marked with an asterisk are refreshed only when collecting CBO statistics


hide
Column
Pos
Column NameLow Value*High Value* Histogram* Num*
Buckets
Buckets
1TIME_ATTRIBUTE_USAGE_ID5714839025 NONE 1
(*) Columns marked with an asterisk are refreshed only when collecting CBO statistics

Index: TIME_ATTRIBUTES_TB_N1 on TIME_ATTRIBUTES_TB

hide
Column
Pos
Column NameDescendData TypeData
Type
Mod
Data
Type
Owner
Data
Length
Data
Precision
Data
Scale
NullableCharacter
Set Name
Char
Length
Char
Used
1DATA_SET_IDASCNUMBER22150Y 0


hide
Column
Pos
Column NameNum*
Rows
Sample*
Size
Last*
Analyzed
Global*
Stats
User*
Stats
Num*
Nulls
Num*
Distinct
Density*Avg*
Col
Len
1DATA_SET_ID70605352029-SEP-07 05:20:49YESNO7060535200 0.0000e+000
(*) Columns marked with an asterisk are refreshed only when collecting CBO statistics


hide
Column
Pos
Column NameLow Value*High Value* Histogram* Num*
Buckets
Buckets
1DATA_SET_ID NONE 0
(*) Columns marked with an asterisk are refreshed only when collecting CBO statistics

Index: TIME_ATTRIBUTES_TB_PK on TIME_ATTRIBUTES_TB

hide
Column
Pos
Column NameDescendData TypeData
Type
Mod
Data
Type
Owner
Data
Length
Data
Precision
Data
Scale
NullableCharacter
Set Name
Char
Length
Char
Used
1ATTRIBUTE_IDASCNUMBER22150N 0


hide
Column
Pos
Column NameNum*
Rows
Sample*
Size
Last*
Analyzed
Global*
Stats
User*
Stats
Num*
Nulls
Num*
Distinct
Density*Avg*
Col
Len
1ATTRIBUTE_ID7060535203530267629-SEP-07 05:20:49YESNO0706053520 1.4163e-097
(*) Columns marked with an asterisk are refreshed only when collecting CBO statistics


hide
Column
Pos
Column NameLow Value*High Value* Histogram* Num*
Buckets
Buckets
1ATTRIBUTE_ID62709911995 NONE 1
(*) Columns marked with an asterisk are refreshed only when collecting CBO statistics

Index: TIME_ATTRIBUTES_TB_F2 on TIME_ATTRIBUTES_TB

hide
Column
Pos
Column NameDescendData TypeData
Type
Mod
Data
Type
Owner
Data
Length
Data
Precision
Data
Scale
NullableCharacter
Set Name
Char
Length
Char
Used


hide
Column
Pos
Column NameNum*
Rows
Sample*
Size
Last*
Analyzed
Global*
Stats
User*
Stats
Num*
Nulls
Num*
Distinct
Density*Avg*
Col
Len
(*) Columns marked with an asterisk are refreshed only when collecting CBO statistics


hide
Column
Pos
Column NameLow Value*High Value* Histogram* Num*
Buckets
Buckets
(*) Columns marked with an asterisk are refreshed only when collecting CBO statistics

Index: TIME_ATTRIBUTE_USAGES_FK1 on TIME_ATTRIBUTE_USAGES

hide
Column
Pos
Column NameDescendData TypeData
Type
Mod
Data
Type
Owner
Data
Length
Data
Precision
Data
Scale
NullableCharacter
Set Name
Char
Length
Char
Used
1ATTRIBUTE_IDASCNUMBER22150Y


hide
Column
Pos
Column NameNum*
Rows
Sample*
Size
Last*
Analyzed
Global*
Stats
User*
Stats
Num*
Nulls
Num*
Distinct
Density*Avg*
Col
Len
1ATTRIBUTE_ID7109324603554662329-SEP-07 05:16:34YESNO0710681160 1.4071e-097
(*) Columns marked with an asterisk are refreshed only when collecting CBO statistics


hide
Column
Pos
Column NameLow Value*High Value* Histogram* Num*
Buckets
Buckets
1ATTRIBUTE_ID5709912023 NONE 1
(*) Columns marked with an asterisk are refreshed only when collecting CBO statistics

Index: TIME_ATTRIBUTE_USAGES_N1 on TIME_ATTRIBUTE_USAGES

hide
Column
Pos
Column NameDescendData TypeData
Type
Mod
Data
Type
Owner
Data
Length
Data
Precision
Data
Scale
NullableCharacter
Set Name
Char
Length
Char
Used
1DATA_SET_IDASCNUMBER22150Y 0


hide
Column
Pos
Column NameNum*
Rows
Sample*
Size
Last*
Analyzed
Global*
Stats
User*
Stats
Num*
Nulls
Num*
Distinct
Density*Avg*
Col
Len
1DATA_SET_ID71093246029-SEP-07 05:16:34YESNO7109324600 0.0000e+000
(*) Columns marked with an asterisk are refreshed only when collecting CBO statistics


hide
Column
Pos
Column NameLow Value*High Value* Histogram* Num*
Buckets
Buckets
1DATA_SET_ID NONE 0
(*) Columns marked with an asterisk are refreshed only when collecting CBO statistics

Metadata

Synonym: TIME_ATTRIBUTES_TB

hide

     1
     2    CREATE OR REPLACE SYNONYM "TIME_ATTRIBUTES_TB" FOR ."TIME_ATTRIBUTES_TB"
     3

Synonym: TIME_ATTRIBUTE_USAGES

hide
     1
     2    CREATE OR REPLACE SYNONYM "TIME_ATTRIBUTE_USAGES" FOR ."TIME_ATTRIBUTE_USAGES"
     3

Optimizer Trace (EVENT 10053)

hide
/u01/app/oracle/admin/OAPRD1/udump/oaprd1_ora_22674.trc
Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - 64bit Production
With the Partitioning, OLAP and Data Mining options
ORACLE_HOME = /u01/app/oracle/product/10.2.0
System name:	SunOS
Node name:	x0319p14
Release:	5.9
Version:	Generic_118558-19
Machine:	sun4u
Instance name: OAPRD1
Redo thread mounted by this instance: 1
Oracle process number: 1760
Unix process pid: 22674, image: oracle@x0319p14 (TNS V1-V3)
*** ACTION NAME:() 2007-12-17 09:51:56.304
*** MODULE NAME:(SQL*Plus) 2007-12-17 09:51:56.304
*** SERVICE NAME:(SYS$USERS) 2007-12-17 09:51:56.304
*** SESSION ID:(295.30626) 2007-12-17 09:51:56.304
Registered qb: SEL$1 0x125c7d38 (PARSER)
  signature (): qb_name=SEL$1 nbfros=1 flg=0
    fro(0): flg=4 objn=216996 hint_alias="TIME_ATTRIBUTES_TB"@"SEL$1"
Registered qb: SEL$2 0x357ad9c0 (PARSER)
  signature (): qb_name=SEL$2 nbfros=1 flg=0
    fro(0): flg=4 objn=217367 hint_alias="TIME_ATTRIBUTE_USAGES"@"SEL$2"
**************************
Predicate Move-Around (PM)
**************************
PM: Considering predicate move-around in SEL$1 (#0).
PM:   Checking validity of predicate move-around in SEL$1 (#0).
CBQT: Validity checks passed for 9q70ydnbyryjn.
apadrv-start: call(in-use=888, alloc=16344), compile(in-use=39408, alloc=40552)
******************************************
Current SQL statement for this session:
EXPLAIN PLAN SET statement_id = '1' INTO sqlt$_plan_table FOR
SELECT 'Y'
FROM
TIME_ATTRIBUTES_TB WHERE ATTRIBUTE_ID IN (SELECT ATTRIBUTE_ID
FROM TIME_ATTRIBUTE_USAGES WHERE BUILDING_BLOCK_ID = :B3 AND
BUILDING_BLOCK_OVN = :B2 ) AND ATTRIBUTE_CATEGORY = 'REASON' AND
ATTRIBUTE7 = DECODE (:B1 , NULL, ATTRIBUTE7, :B1 )
*******************************************
Legend
The following abbreviations are used by optimizer trace.
CBQT - cost-based query transformation
JPPD - join predicate push-down
FPD - filter push-down
PM - predicate move-around
CVM - complex view merging
SPJ - select-project-join
SJC - set join conversion
SU - subquery unnesting
OBYE - order by elimination
ST - star transformation
qb - query block
LB - leaf blocks
DK - distinct keys
LB/K - average number of leaf blocks per key
DB/K - average number of data blocks per key
CLUF - clustering factor
NDV - number of distinct values
Resp - response cost
Card - cardinality
Resc - resource cost
NL - nested loops (join)
SM - sort merge (join)
HA - hash (join)
CPUCSPEED - CPU Speed
IOTFRSPEED - I/O transfer speed
IOSEEKTIM - I/O seek time
SREADTIM - average single block read time
MREADTIM - average multiblock read time
MBRC - average multiblock read count
MAXTHR - maximum I/O system throughput
SLAVETHR - average slave I/O throughput
dmeth - distribution method
  1: no partitioning required
  2: value partitioned
  4: right is random (round-robin)
  512: left is random (round-robin)
  8: broadcast right and partition left
  16: broadcast left and partition right
  32: partition left using partitioning of right
  64: partition right using partitioning of left
  128: use hash partitioning dimension
  256: use range partitioning dimension
  2048: use list partitioning dimension
  1024: run the join in serial
  0: invalid distribution method
sel - selectivity
ptn - partition
*******************************************
Peeked values of the binds in SQL statement
*******************************************
kkscoacd
 Bind#0
  oacdty=01 mxl=32(00) mxlc=00 mal=00 scl=00 pre=00
  oacflg=00 fl2=1010000 frm=01 csi=01 siz=128 off=0
  kxsbbbfp=ffffffff7a7fee20  bln=32  avl=00  flg=05
 Bind#1
  oacdty=01 mxl=32(00) mxlc=00 mal=00 scl=00 pre=00
  oacflg=00 fl2=1010000 frm=01 csi=01 siz=0 off=32
  kxsbbbfp=ffffffff7a7fee40  bln=32  avl=00  flg=01
 Bind#2
  oacdty=01 mxl=32(00) mxlc=00 mal=00 scl=00 pre=00
  oacflg=00 fl2=1010000 frm=01 csi=01 siz=0 off=64
  kxsbbbfp=ffffffff7a7fee60  bln=32  avl=00  flg=01
 Bind#3
  oacdty=01 mxl=32(00) mxlc=00 mal=00 scl=00 pre=00
  oacflg=00 fl2=1010000 frm=01 csi=01 siz=0 off=96
  kxsbbbfp=ffffffff7a7fee80  bln=32  avl=00  flg=01
***************************************
PARAMETERS USED BY THE OPTIMIZER
********************************
  *************************************
  PARAMETERS WITH ALTERED VALUES
  ******************************
  _sort_elimination_cost_ratio        = 5
  _pga_max_size                       = 2097152 KB
  _b_tree_bitmap_plans                = false
  _fast_full_scan_enabled             = false
  _like_with_bind_as_equality         = true
  optimizer_secure_view_merging       = false
  *********************************
  Bug Fix Control Environment
  ***************************
  fix  4611850 = enabled
  fix  4663804 = enabled
  fix  4663698 = enabled
  fix  4545833 = enabled
  fix  3499674 = disabled
  fix  4584065 = enabled
  fix  4602374 = enabled
  fix  4569940 = enabled
  fix  4631959 = enabled
  fix  4519340 = enabled
  fix  4550003 = enabled
  fix  4488689 = enabled
  fix  3118776 = enabled
  fix  4519016 = enabled
  fix  4487253 = enabled
  fix  4556762 = 15
  fix  4728348 = enabled
  fix  4723244 = enabled
  fix  4554846 = enabled
  fix  2492766 = enabled
  fix  4175830 = enabled
  fix  4722900 = enabled
  fix  4711525 = enabled
  fix  4273361 = enabled
  fix  4483240 = enabled
  fix  4904838 = enabled
  fix  5084239 = enabled
  fix  5838613 = enabled
  fix  5385629 = enabled
  fix  5449488 = enabled
  fix  5483301 = enabled
  fix  5680702 = enabled
  fix  5694984 = enabled
  fix  5705257 = enabled
  fix  5741121 = enabled
  fix  5762598 = enabled
  fix  5884780 = enabled
  fix  5949981 = enabled
  fix  5976822 = enabled
  fix  6122894 = enabled
  *************************************
  PARAMETERS WITH DEFAULT VALUES
  ******************************
  optimizer_mode_hinted               = false
  optimizer_features_hinted           = 0.0.0
  parallel_execution_enabled          = true
  parallel_query_forced_dop           = 0
  parallel_dml_forced_dop             = 0
  parallel_ddl_forced_degree          = 0
  parallel_ddl_forced_instances       = 0
  _query_rewrite_fudge                = 90
  optimizer_features_enable           = 10.2.0.2
  _optimizer_search_limit             = 5
  cpu_count                           = 28
  active_instance_count               = 1
  parallel_threads_per_cpu            = 2
  hash_area_size                      = 131072
  bitmap_merge_area_size              = 1048576
  sort_area_size                      = 65536
  sort_area_retained_size             = 0
  _optimizer_block_size               = 8192
  _sort_multiblock_read_count         = 2
  _hash_multiblock_io_count           = 0
  _db_file_optimizer_read_count       = 8
  _optimizer_max_permutations         = 2000
  pga_aggregate_target                = 20971520 KB
  _query_rewrite_maxdisjunct          = 257
  _smm_auto_min_io_size               = 56 KB
  _smm_auto_max_io_size               = 248 KB
  _smm_min_size                       = 1024 KB
  _smm_max_size                       = 1048576 KB
  _smm_px_max_size                    = 10485760 KB
  _cpu_to_io                          = 0
  _optimizer_undo_cost_change         = 10.2.0.2
  parallel_query_mode                 = enabled
  parallel_dml_mode                   = disabled
  parallel_ddl_mode                   = enabled
  optimizer_mode                      = all_rows
  sqlstat_enabled                     = false
  _optimizer_percent_parallel         = 101
  _always_anti_join                   = choose
  _always_semi_join                   = choose
  _optimizer_mode_force               = true
  _partition_view_enabled             = true
  _always_star_transformation         = false
  _query_rewrite_or_error             = false
  _hash_join_enabled                  = true
  cursor_sharing                      = exact
  star_transformation_enabled         = false
  _optimizer_cost_model               = choose
  _new_sort_cost_estimate             = true
  _complex_view_merging               = true
  _unnest_subquery                    = true
  _eliminate_common_subexpr           = true
  _pred_move_around                   = true
  _convert_set_to_join                = false
  _push_join_predicate                = true
  _push_join_union_view               = true
  _optim_enhance_nnull_detection      = true
  _parallel_broadcast_enabled         = true
  _px_broadcast_fudge_factor          = 100
  _ordered_nested_loop                = true
  _no_or_expansion                    = false
  optimizer_index_cost_adj            = 100
  optimizer_index_caching             = 0
  _system_index_caching               = 0
  _disable_datalayer_sampling         = false
  query_rewrite_enabled               = true
  query_rewrite_integrity             = enforced
  _query_cost_rewrite                 = true
  _query_rewrite_2                    = true
  _query_rewrite_1                    = true
  _query_rewrite_expression           = true
  _query_rewrite_jgmigrate            = true
  _query_rewrite_fpc                  = true
  _query_rewrite_drj                  = true
  _full_pwise_join_enabled            = true
  _partial_pwise_join_enabled         = true
  _left_nested_loops_random           = true
  _improved_row_length_enabled        = true
  _index_join_enabled                 = true
  _enable_type_dep_selectivity        = true
  _improved_outerjoin_card            = true
  _optimizer_adjust_for_nulls         = true
  _optimizer_degree                   = 0
  _use_column_stats_for_function      = true
  _subquery_pruning_enabled           = true
  _subquery_pruning_mv_enabled        = false
  _or_expand_nvl_predicate            = true
  _table_scan_cost_plus_one           = true
  _cost_equality_semi_join            = true
  _default_non_equality_sel_check     = true
  _new_initial_join_orders            = true
  _oneside_colstat_for_equijoins      = true
  _optim_peek_user_binds              = true
  _minimal_stats_aggregation          = true
  _force_temptables_for_gsets         = false
  workarea_size_policy                = auto
  _smm_auto_cost_enabled              = true
  _gs_anti_semi_join_allowed          = true
  _optim_new_default_join_sel         = true
  optimizer_dynamic_sampling          = 2
  _pre_rewrite_push_pred              = true
  _optimizer_new_join_card_computation = true
  _union_rewrite_for_gs               = yes_gset_mvs
  _generalized_pruning_enabled        = true
  _optim_adjust_for_part_skews        = true
  _force_datefold_trunc               = false
  statistics_level                    = typical
  _optimizer_system_stats_usage       = true
  skip_unusable_indexes               = true
  _remove_aggr_subquery               = true
  _optimizer_push_down_distinct       = 0
  _dml_monitoring_enabled             = true
  _optimizer_undo_changes             = false
  _predicate_elimination_enabled      = true
  _nested_loop_fudge                  = 100
  _project_view_columns               = true
  _local_communication_costing_enabled = true
  _local_communication_ratio          = 50
  _query_rewrite_vop_cleanup          = true
  _slave_mapping_enabled              = true
  _optimizer_cost_based_transformation = linear
  _optimizer_mjc_enabled              = true
  _right_outer_hash_enable            = true
  _spr_push_pred_refspr               = true
  _optimizer_cache_stats              = false
  _optimizer_cbqt_factor              = 50
  _optimizer_squ_bottomup             = true
  _fic_area_size                      = 131072
  _optimizer_skip_scan_enabled        = true
  _optimizer_cost_filter_pred         = false
  _optimizer_sortmerge_join_enabled   = true
  _optimizer_join_sel_sanity_check    = true
  _mmv_query_rewrite_enabled          = true
  _bt_mmv_query_rewrite_enabled       = true
  _add_stale_mv_to_dependency_list    = true
  _distinct_view_unnesting            = false
  _optimizer_dim_subq_join_sel        = true
  _optimizer_disable_strans_sanity_checks = 0
  _optimizer_compute_index_stats      = true
  _push_join_union_view2              = true
  _optimizer_ignore_hints             = false
  _optimizer_random_plan              = 0
  _query_rewrite_setopgrw_enable      = true
  _optimizer_correct_sq_selectivity   = true
  _disable_function_based_index       = false
  _optimizer_join_order_control       = 3
  _optimizer_cartesian_enabled        = true
  _optimizer_starplan_enabled         = true
  _extended_pruning_enabled           = true
  _optimizer_push_pred_cost_based     = true
  _sql_model_unfold_forloops          = run_time
  _enable_dml_lock_escalation         = false
  _bloom_filter_enabled               = true
  _update_bji_ipdml_enabled           = 0
  _optimizer_extended_cursor_sharing  = udo
  _dm_max_shared_pool_pct             = 1
  _optimizer_cost_hjsmj_multimatch    = true
  _optimizer_transitivity_retain      = true
  _px_pwg_enabled                     = true
  _optimizer_join_elimination_enabled = true
  flashback_table_rpi                 = non_fbt
  _optimizer_cbqt_no_size_restriction = true
  _optimizer_enhanced_filter_push     = true
  _optimizer_filter_pred_pullup       = true
  _rowsrc_trace_level                 = 0
  _simple_view_merging                = true
  _optimizer_rownum_pred_based_fkr    = true
  _optimizer_better_inlist_costing    = all
  _optimizer_self_induced_cache_cost  = false
  _optimizer_min_cache_blocks         = 10
  _optimizer_or_expansion             = depth
  _optimizer_order_by_elimination_enabled = true
  _optimizer_outer_to_anti_enabled    = true
  _selfjoin_mv_duplicates             = true
  _dimension_skip_null                = true
  _force_rewrite_enable               = false
  _optimizer_star_tran_in_with_clause = true
  _optimizer_complex_pred_selectivity = true
  _optimizer_connect_by_cost_based    = true
  _gby_hash_aggregation_enabled       = true
  _globalindex_pnum_filter_enabled    = true
  _fix_control_key                    = 0
  _optimizer_skip_scan_guess          = false
  _enable_row_shipping                = false
  *********************************
  Bug Fix Control Environment
  ***************************
  fix  4611850 = enabled
  fix  4663804 = enabled
  fix  4663698 = enabled
  fix  4545833 = enabled
  fix  3499674 = disabled
  fix  4584065 = enabled
  fix  4602374 = enabled
  fix  4569940 = enabled
  fix  4631959 = enabled
  fix  4519340 = enabled
  fix  4550003 = enabled
  fix  4488689 = enabled
  fix  3118776 = enabled
  fix  4519016 = enabled
  fix  4487253 = enabled
  fix  4556762 = 15
  fix  4728348 = enabled
  fix  4723244 = enabled
  fix  4554846 = enabled
  fix  2492766 = enabled
  fix  4175830 = enabled
  fix  4722900 = enabled
  fix  4711525 = enabled
  fix  4273361 = enabled
  fix  4483240 = enabled
  fix  4904838 = enabled
  fix  5084239 = enabled
  fix  5838613 = enabled
  fix  5385629 = enabled
  fix  5449488 = enabled
  fix  5483301 = enabled
  fix  5680702 = enabled
  fix  5694984 = enabled
  fix  5705257 = enabled
  fix  5741121 = enabled
  fix  5762598 = enabled
  fix  5884780 = enabled
  fix  5949981 = enabled
  fix  5976822 = enabled
  fix  6122894 = enabled
  ***************************************
  PARAMETERS IN OPT_PARAM HINT
  ****************************
***************************************
Column Usage Monitoring is ON: tracking level = 1
***************************************
********************************
COST-BASED QUERY TRANSFORMATIONS
********************************
FPD: Considering simple filter push (pre rewrite) in SEL$1 (#0)
FPD:   Current where clause predicates in SEL$1 (#0) :

"TIME_ATTRIBUTES_TB"."ATTRIBUTE_ID"=ANY (SELECT "TIME_ATTRIBUTE_USAGES"."ATTRIBUTE_ID" FROM ."TIME_ATTRIBUTE_USAGES" "TIME_ATTRIBUTE_USAGES")
 AND "TIME_ATTRIBUTES_TB"."ATTRIBUTE_CATEGORY"='REASON' AND "TIME_ATTRIBUTES_TB"."ATTRIBUTE7"=DECODE(:B1,NULL,"TIME_ATTRIBUTES_TB"."ATTRIBUTE7",:B2)
Registered qb: SEL$1 0x2167a878 (COPY SEL$1)
  signature(): NULL
Registered qb: SEL$2 0xdcd96658 (COPY SEL$2)
  signature(): NULL
*****************************
Cost-Based Subquery Unnesting
*****************************
SU: No subqueries to consider in query block SEL$2 (#2).
SU: Considering subquery unnesting in query block SEL$1 (#1)
SU: Performing unnesting that does not require costing.
SU: Considering subquery unnest on SEL$1 (#1).
SU:   Checking validity of unnesting subquery SEL$2 (#2)
SU:   Passed validity checks.
SU:   Transforming ANY subquery to a join.
Registered qb: SEL$5DA710D3 0x2167a878 (SUBQUERY UNNEST SEL$1; SEL$2)
  signature (): qb_name=SEL$5DA710D3 nbfros=2 flg=0
    fro(0): flg=0 objn=216996 hint_alias="TIME_ATTRIBUTES_TB"@"SEL$1"
    fro(1): flg=0 objn=217367 hint_alias="TIME_ATTRIBUTE_USAGES"@"SEL$2"
*******************************
Cost-Based Complex View Merging
*******************************
CVM: Finding query blocks in SEL$5DA710D3 (#1) that are valid to merge.
Query block (42167a878) before join elimination:
SQL:
Query block (42167a878) unchanged
SU:   Transforming ANY subquery to a join.
*************************
Set-Join Conversion (SJC)
*************************
SJC: Considering set-join conversion in SEL$5DA710D3 (#1).
Query block (4125c7d38) before join elimination:
SQL:******* UNPARSED QUERY IS *******
SELECT 'Y' "'Y'" FROM ."TIME_ATTRIBUTE_USAGES" "TIME_ATTRIBUTE_USAGES",."TIME_ATTRIBUTES_TB" "TIME_ATTRIBUTES_TB" WHERE "TIME_ATTRIBUTES_TB"."ATTRIBUTE_CATEGORY"='REASON' AND "TIME_ATTRIBUTES_TB"."ATTRIBUTE7"=DECODE(:B1,NULL,
"TIME_ATTRIBUTES_TB"."ATTRIBUTE7",:B2)
 AND "TIME_ATTRIBUTES_TB"."ATTRIBUTE_ID"="TIME_ATTRIBUTE_USAGES"."ATTRIBUTE_ID" AND "TIME_ATTRIBUTE_USAGES"."BUILDING_BLOCK_ID"=:B3 AND
"TIME_ATTRIBUTE_USAGES"."BUILDING_BLOCK_OVN"=:B4
Query block (4125c7d38) unchanged
**************************
Predicate Move-Around (PM)
**************************
PM: Considering predicate move-around in SEL$5DA710D3 (#1).
PM:   Checking validity of predicate move-around in SEL$5DA710D3 (#1).
PM:     PM bypassed: Outer query contains no views.
Registered qb: SEL$5DA710D3 0xaef098d8 (COPY SEL$5DA710D3)
  signature(): NULL
***********************************
Cost-Based Filter Predicate Pull-Up
***********************************
***********************************
Cost-Based Join Predicate Push-down
***********************************
JPPD: Checking validity of push-down in query block SEL$5DA710D3 (#1)
JPPD:   No view found to push predicate into.
JPPD: Applying transformation directives
JPPD: Checking validity of push-down in query block SEL$5DA710D3 (#1)
JPPD:   No view found to push predicate into.
FPD: Considering simple filter push in SEL$5DA710D3 (#1)
FPD:   Current where clause predicates in SEL$5DA710D3 (#1) :

"TIME_ATTRIBUTES_TB"."ATTRIBUTE_CATEGORY"='REASON' AND "TIME_ATTRIBUTES_TB"."ATTRIBUTE7"=DECODE(:B1,NULL,"TIME_ATTRIBUTES_TB"."ATTRIBUTE7",:B2)
 AND "TIME_ATTRIBUTES_TB"."ATTRIBUTE_ID"="TIME_ATTRIBUTE_USAGES"."ATTRIBUTE_ID" AND "TIME_ATTRIBUTE_USAGES"."BUILDING_BLOCK_ID"=TO_NUMBER(:B3) AND "TIME_ATTRIBUTE_USAGES"."BUILDING_BLOCK_OVN"=TO_NUMBER(:B4)
kkogcp: try to generate transitive predicate from check constraints for SEL$5DA710D3 (#1)
predicates with check contraints:
"TIME_ATTRIBUTES_TB"."ATTRIBUTE_CATEGORY"='REASON' AND "TIME_ATTRIBUTES_TB"."ATTRIBUTE7"=DECODE(:B1,NULL,"TIME_ATTRIBUTES_TB"."ATTRIBUTE7",:B2)
 AND "TIME_ATTRIBUTES_TB"."ATTRIBUTE_ID"="TIME_ATTRIBUTE_USAGES"."ATTRIBUTE_ID" AND "TIME_ATTRIBUTE_USAGES"."BUILDING_BLOCK_ID"=TO_NUMBER(:B3) AND "TIME_ATTRIBUTE_USAGES"."BUILDING_BLOCK_OVN"=TO_NUMBER(:B4)
after transitive predicate generation:
"TIME_ATTRIBUTES_TB"."ATTRIBUTE_CATEGORY"='REASON' AND "TIME_ATTRIBUTES_TB"."ATTRIBUTE7"=DECODE(:B1,NULL,"TIME_ATTRIBUTES_TB"."ATTRIBUTE7",:B2)
 AND "TIME_ATTRIBUTES_TB"."ATTRIBUTE_ID"="TIME_ATTRIBUTE_USAGES"."ATTRIBUTE_ID" AND "TIME_ATTRIBUTE_USAGES"."BUILDING_BLOCK_ID"=TO_NUMBER(:B3) AND "TIME_ATTRIBUTE_USAGES"."BUILDING_BLOCK_OVN"=TO_NUMBER(:B4)
finally:
"TIME_ATTRIBUTES_TB"."ATTRIBUTE_CATEGORY"='REASON' AND "TIME_ATTRIBUTES_TB"."ATTRIBUTE7"=DECODE(:B1,NULL,"TIME_ATTRIBUTES_TB"."ATTRIBUTE7",:B2)
 AND "TIME_ATTRIBUTES_TB"."ATTRIBUTE_ID"="TIME_ATTRIBUTE_USAGES"."ATTRIBUTE_ID" AND "TIME_ATTRIBUTE_USAGES"."BUILDING_BLOCK_ID"=TO_NUMBER(:B3) AND "TIME_ATTRIBUTE_USAGES"."BUILDING_BLOCK_OVN"=TO_NUMBER(:B4)
kkoqbc-start
            : call(in-use=2048, alloc=16344), compile(in-use=95624, alloc=147008)
****************
QUERY BLOCK TEXT
****************
SELECT 'Y'
FROM
TIME_ATTRIBUTES_TB WHERE ATTRIBUTE_ID IN (SELECT ATTRIBUTE_ID
FROM TIME_ATTRIBUTE_USAGES WHERE BUILDING_BLOCK_ID = :B3 AND
BUILDING_BLOCK_OVN = :B2 ) AND ATTRIBUTE_CATEGORY = 'REASON' AND
ATTRIBUTE7 = DECODE (:B1 , NULL, ATTRIBUTE7, :B1 )
*********************
QUERY BLOCK SIGNATURE
*********************
qb name was generated
signature (optimizer): qb_name=SEL$5DA710D3 nbfros=2 flg=0
  fro(0): flg=0 objn=216996 hint_alias="TIME_ATTRIBUTES_TB"@"SEL$1"
  fro(1): flg=0 objn=217367 hint_alias="TIME_ATTRIBUTE_USAGES"@"SEL$2"
*****************************
SYSTEM STATISTICS INFORMATION
*****************************
  Using NOWORKLOAD Stats
  CPUSPEED: 587 millions instruction/sec
  IOTFRSPEED: 4096 bytes per millisecond (default is 4096)
  IOSEEKTIM: 10 milliseconds (default is 10)
***************************************
BASE STATISTICAL INFORMATION
***********************
Table Stats::
  Table: TIME_ATTRIBUTES_TB  Alias: TIME_ATTRIBUTES_TB
    #Rows: 706053520  #Blks:  7164508  AvgRowLen:  56.00
  Column (#1): ATTRIBUTE_ID(NUMBER)
    AvgLen: 7.00 NDV: 706053520 Nulls: 0 Density: 1.4163e-09 Min: 62 Max: 709911995
Index Stats::
  Index: TIME_ATTRIBUTES_TB_F2  Col#: 37
    LVLS: 3  #LB: 2091280  #DK: 1  LB/K: 2091280.00  DB/K: 8361560.00  CLUF: 8361560.00
  Index: TIME_ATTRIBUTES_TB_FK1  Col#: 33
    LVLS: 3  #LB: 3939860  #DK: 6  LB/K: 656643.00  DB/K: 5187026.00  CLUF: 31122160.00
  Index: TIME_ATTRIBUTES_TB_FK2  Col#: 2
    LVLS: 3  #LB: 5602980  #DK: 11  LB/K: 509361.00  DB/K: 2996421.00  CLUF: 32960640.00
  Index: TIME_ATTRIBUTES_TB_FK3  Col#: 3
    LVLS: 3  #LB: 3336500  #DK: 18  LB/K: 185361.00  DB/K: 1574143.00  CLUF: 28334580.00
  Index: TIME_ATTRIBUTES_TB_FK4  Col#: 4
    LVLS: 3  #LB: 2359420  #DK: 228  LB/K: 10348.00  DB/K: 223462.00  CLUF: 50949420.00
  Index: TIME_ATTRIBUTES_TB_FK5  Col#: 5
    LVLS: 2  #LB: 108120  #DK: 366  LB/K: 295.00  DB/K: 3090.00  CLUF: 1131280.00
  Index: TIME_ATTRIBUTES_TB_N001  Col#: 17
    LVLS: 3  #LB: 835180  #DK: 3707  LB/K: 225.00  DB/K: 11315.00  CLUF: 41946720.00
  Index: TIME_ATTRIBUTES_TB_N1  Col#: 36
    LVLS: 0  #LB: 0  #DK: 0  LB/K: 0.00  DB/K: 0.00  CLUF: 0.00
  Index: TIME_ATTRIBUTES_TB_PK  Col#: 1
    LVLS: 3  #LB: 2110620  #DK: 708239480  LB/K: 1.00  DB/K: 1.00  CLUF: 78157640.00
***********************
Table Stats::
  Table: TIME_ATTRIBUTE_USAGES  Alias: TIME_ATTRIBUTE_USAGES
    #Rows: 710932460  #Blks:  4864950  AvgRowLen:  40.00
  Column (#2): ATTRIBUTE_ID(NUMBER)
    AvgLen: 7.00 NDV: 710681160 Nulls: 0 Density: 1.4071e-09 Min: 5 Max: 709912023
Index Stats::
  Index: TIME_ATTRIBUTE_USAGES_FK1  Col#: 2
    LVLS: 3  #LB: 3347280  #DK: 710681160  LB/K: 1.00  DB/K: 1.00  CLUF: 85764140.00
  Index: TIME_ATTRIBUTE_USAGES_FK2  Col#: 3 10
    LVLS: 3  #LB: 3091760  #DK: 60135854  LB/K: 1.00  DB/K: 15.00  CLUF: 265197800.00
  Index: TIME_ATTRIBUTE_USAGES_N1  Col#: 11
    LVLS: 0  #LB: 0  #DK: 0  LB/K: 0.00  DB/K: 0.00  CLUF: 0.00
  Index: TIME_ATTRIBUTE_USAGES_PK  Col#: 1
    LVLS: 3  #LB: 2321920  #DK: 717756460  LB/K: 1.00  DB/K: 1.00  CLUF: 75501020.00
***************************************
SINGLE TABLE ACCESS PATH
  Column (#3): BUILDING_BLOCK_ID(NUMBER)
    AvgLen: 7.00 NDV: 60135854 Nulls: 240 Density: 1.6629e-08 Min: 0 Max: 306935448
  Column (#10): BUILDING_BLOCK_OVN(NUMBER)
    AvgLen: 3.00 NDV: 56 Nulls: 30060 Density: 0.017857 Min: 1 Max: 56
  Table: TIME_ATTRIBUTE_USAGES  Alias: TIME_ATTRIBUTE_USAGES
    Card: Original: 710932460  Rounded: 1  Computed: 0.21  Non Adjusted: 0.21
  Access Path: TableScan
    Cost:  1370967.52  Resp: 1370967.52  Degree: 0
      Cost_io: 1317592.00  Cost_cpu: 375893032101
      Resp_io: 1317592.00  Resp_cpu: 375893032101
  Access Path: index (AllEqRange)
    Index: TIME_ATTRIBUTE_USAGES_FK2
    resc_io: 9.00  resc_cpu: 70453
    ix_sel: 1.6628e-08  ix_sel_with_filters: 1.6628e-08
    Cost: 9.01  Resp: 9.01  Degree: 1
******** Begin index join costing ********
  ****** trying bitmap/domain indexes ******
  Access Path: index (AllEqRange)
    Index: TIME_ATTRIBUTE_USAGES_FK2
    resc_io: 4.00  resc_cpu: 30886
    ix_sel: 1.6628e-08  ix_sel_with_filters: 1.6628e-08
    Cost: 4.00  Resp: 4.00  Degree: 0
******** End index join costing ********
  Best:: AccessPath: IndexRange  Index: TIME_ATTRIBUTE_USAGES_FK2
         Cost: 9.01  Degree: 1  Resp: 9.01  Card: 0.21  Bytes: 0
***************************************
SINGLE TABLE ACCESS PATH
  Column (#2): ATTRIBUTE_CATEGORY(VARCHAR2)
    AvgLen: 14.00 NDV: 11 Nulls: 7680 Density: 0.090909
  Column (#9): ATTRIBUTE7(VARCHAR2)
    AvgLen: 2.00 NDV: 226 Nulls: 572282140 Density: 0.0044248
  Table: TIME_ATTRIBUTES_TB  Alias: TIME_ATTRIBUTES_TB
    Card: Original: 706053520  Rounded: 284009  Computed: 284008.79  Non Adjusted: 284008.79
  Access Path: TableScan
    Cost:  1986460.76  Resp: 1986460.76  Degree: 0
      Cost_io: 1940389.00  Cost_cpu: 324456886142
      Resp_io: 1940389.00  Resp_cpu: 324456886142
  Access Path: index (AllEqRange)
    Index: TIME_ATTRIBUTES_TB_FK2
    resc_io: 3505750.00  resc_cpu: 77251648617
    ix_sel: 0.090908  ix_sel_with_filters: 0.090908
    Cost: 3516719.47  Resp: 3516719.47  Degree: 1
  Best:: AccessPath: TableScan
         Cost: 1986460.76  Degree: 1  Resp: 1986460.76  Card: 284008.79  Bytes: 0
***************************************
OPTIMIZER STATISTICS AND COMPUTATIONS
***************************************
GENERAL PLANS
***************************************
Considering cardinality-based initial join order.
Permutations for Starting Table :0
***********************
Join order[1]:  TIME_ATTRIBUTES_TB[TIME_ATTRIBUTES_TB]#0  TIME_ATTRIBUTE_USAGES[TIME_ATTRIBUTE_USAGES]#1
***************
Now joining: TIME_ATTRIBUTE_USAGES[TIME_ATTRIBUTE_USAGES]#1
***************
NL Join
  Outer table: Card: 284008.79  Cost: 1986460.76  Resp: 1986460.76  Degree: 1  Bytes: 23
  Inner table: TIME_ATTRIBUTE_USAGES  Alias: TIME_ATTRIBUTE_USAGES
  Access Path: TableScan
    NL Join:  Cost: 389368709373.65  Resp: 389368709373.65  Degree: 1
      Cost_io: 374209536206.00  Cost_cpu: 106757328610948784
      Resp_io: 374209536206.00  Resp_cpu: 106757328610948784
  Access Path: index (AllEqJoinGuess)
    Index: TIME_ATTRIBUTE_USAGES_FK1
    resc_io: 4.00  resc_cpu: 30547
    ix_sel: 1.4071e-09  ix_sel_with_filters: 1.4071e-09
    NL Join: Cost: 3123728.67  Resp: 3123728.67  Degree: 1
      Cost_io: 3076425.00  Cost_cpu: 333132479765
      Resp_io: 3076425.00  Resp_cpu: 333132479765
  Access Path: index (AllEqJoin)
    Index: TIME_ATTRIBUTE_USAGES_FK2
    resc_io: 8.00  resc_cpu: 64182
    ix_sel: 1.6628e-08  ix_sel_with_filters: 1.6628e-08
    NL Join: Cost: 4261121.09  Resp: 4261121.09  Degree: 1
      Cost_io: 4212461.00  Cost_cpu: 342685015456
      Resp_io: 4212461.00  Resp_cpu: 342685015456
  Best NL cost: 3123728.67
          resc: 3123728.67 resc_io: 3076425.00 resc_cpu: 333132479765
          resp: 3123728.67 resp_io: 3076425.00 resp_cpu: 333132479765
Semi Join Card:  1.00 = outer (284008.79) * sel (3.5210e-06)
Join Card - Rounded: 1 Computed: 1.00
SM Join
  Outer table:
    resc: 1986460.76  card 284008.79  bytes: 23  deg: 1  resp: 1986460.76
  Inner table: TIME_ATTRIBUTE_USAGES  Alias: TIME_ATTRIBUTE_USAGES
    resc: 9.01  card: 0.21  bytes: 17  deg: 1  resp: 9.01
    using dmeth: 2  #groups: 1
    SORT resource      Sort statistics
      Sort width:        6142 Area size:     1048576 Max Area size:  1073741824
      Degree:               1
      Blocks to Sort:    1252 Row size:           36 Total Rows:         284009
      Initial runs:         2 Merge passes:        1 IO Cost / pass:        680
      Total IO sort cost: 1932      Total CPU sort cost: 269679334
      Total Temp space used: 20603000
    SORT resource      Sort statistics
      Sort width:        6142 Area size:     1048576 Max Area size:  1073741824
      Degree:               1
      Blocks to Sort:       1 Row size:           29 Total Rows:              1
      Initial runs:         1 Merge passes:        0 IO Cost / pass:          0
      Total IO sort cost: 0      Total CPU sort cost: 7042424
      Total Temp space used: 0
  SM join: Resc: 1988441.06  Resp: 1988441.06  [multiMatchCost=0.00]
  SM cost: 1988441.06
     resc: 1988441.06 resc_io: 1942330.00 resc_cpu: 324733678353
     resp: 1988441.06 resp_io: 1942330.00 resp_cpu: 324733678353
SM Join (with index on outer)
  Access Path: index (FullScan)
    Index: TIME_ATTRIBUTES_TB_PK
    resc_io: 80268263.00  resc_cpu: 987555349841
    ix_sel: 1  ix_sel_with_filters: 1
    Cost: 80408492.46  Resp: 80408492.46  Degree: 1
  Outer table:
    resc: 80408492.46  card 284008.79  bytes: 23  deg: 1  resp: 80408492.46
  Inner table: TIME_ATTRIBUTE_USAGES  Alias: TIME_ATTRIBUTE_USAGES
    resc: 9.01  card: 0.21  bytes: 17  deg: 1  resp: 9.01
    using dmeth: 2  #groups: 1
    SORT resource      Sort statistics
      Sort width:        6142 Area size:     1048576 Max Area size:  1073741824
      Degree:               1
      Blocks to Sort:       1 Row size:           29 Total Rows:              1
      Initial runs:         1 Merge passes:        0 IO Cost / pass:          0
      Total IO sort cost: 0      Total CPU sort cost: 7042424
      Total Temp space used: 0
  SM join: Resc: 80408502.47  Resp: 80408502.47  [multiMatchCost=0.00]
HA Join
  Outer table:
    resc: 1986460.76  card 284008.79  bytes: 23  deg: 1  resp: 1986460.76
  Inner table: TIME_ATTRIBUTE_USAGES  Alias: TIME_ATTRIBUTE_USAGES
    resc: 9.01  card: 0.21  bytes: 17  deg: 1  resp: 9.01
    using dmeth: 2  #groups: 1
    Cost per ptn: 478.26  #ptns: 1
    hash_area: 0 (max=256)   Hash join: Resc: 1986948.03  Resp: 1986948.03  [multiMatchCost=0.00]
HA Join (swap)
  Outer table:
    resc: 9.01  card 0.21  bytes: 17  deg: 1  resp: 9.01
  Inner table: TIME_ATTRIBUTES_TB  Alias: TIME_ATTRIBUTES_TB
    resc: 1986460.76  card: 284008.79  bytes: 23  deg: 1  resp: 1986460.76
    using dmeth: 2  #groups: 1
    Cost per ptn: 4.53  #ptns: 1
    hash_area: 0 (max=256)   Hash join: Resc: 1986474.30  Resp: 1986474.30  [multiMatchCost=0.00]
  HA cost: 1986474.30
     resc: 1986474.30 resc_io: 1940398.00 resc_cpu: 324488878858
     resp: 1986474.30 resp_io: 1940398.00 resp_cpu: 324488878858
Best:: JoinMethod: HashSemi
       Cost: 1986474.30  Degree: 1  Resp: 1986474.30  Card: 1.00  Bytes: 40
***********************
Best so far: Table#: 0  cost: 1986460.7609  card: 284008.7852  bytes: 6532207
             Table#: 1  cost: 1986474.3038  card: 1.0000  bytes: 40
***********************
Join order[2]:  TIME_ATTRIBUTE_USAGES[TIME_ATTRIBUTE_USAGES]#1  TIME_ATTRIBUTES_TB[TIME_ATTRIBUTES_TB]#0
    SORT resource      Sort statistics
      Sort width:        6142 Area size:     1048576 Max Area size:  1073741824
      Degree:               1
      Blocks to Sort:       1 Row size:           29 Total Rows:              1
      Initial runs:         1 Merge passes:        0 IO Cost / pass:          0
      Total IO sort cost: 0      Total CPU sort cost: 7042424
      Total Temp space used: 0
***************
Now joining: TIME_ATTRIBUTES_TB[TIME_ATTRIBUTES_TB]#0
***************
NL Join
  Outer table: Card: 0.21  Cost: 10.01  Resp: 10.01  Degree: 1  Bytes: 17
  Inner table: TIME_ATTRIBUTES_TB  Alias: TIME_ATTRIBUTES_TB
  Access Path: TableScan
    NL Join:  Cost: 1986470.77  Resp: 1986470.77  Degree: 1
      Cost_io: 1940398.00  Cost_cpu: 324463999020
      Resp_io: 1940398.00  Resp_cpu: 324463999020
  Access Path: index (UniqueScan)
    Index: TIME_ATTRIBUTES_TB_PK
    resc_io: 3.00  resc_cpu: 23652
    ix_sel: 1.4163e-09  ix_sel_with_filters: 1.4163e-09
    NL Join: Cost: 13.01  Resp: 13.01  Degree: 1
      Cost_io: 12.00  Cost_cpu: 7136529
      Resp_io: 12.00  Resp_cpu: 7136529
  Access Path: index (AllEqJoin)
    Index: TIME_ATTRIBUTES_TB_FK2
    resc_io: 3505749.00  resc_cpu: 77251642346
    ix_sel: 0.090908  ix_sel_with_filters: 0.090908
    NL Join: Cost: 3516728.48  Resp: 3516728.48  Degree: 1
      Cost_io: 3505758.00  Cost_cpu: 77258755223
      Resp_io: 3505758.00  Resp_cpu: 77258755223
  Access Path: index (AllEqUnique)
    Index: TIME_ATTRIBUTES_TB_PK
    resc_io: 3.00  resc_cpu: 23652
    ix_sel: 1.4163e-09  ix_sel_with_filters: 1.4163e-09
    NL Join: Cost: 13.01  Resp: 13.01  Degree: 1
      Cost_io: 12.00  Cost_cpu: 7136529
      Resp_io: 12.00  Resp_cpu: 7136529
  Best NL cost: 13.01
          resc: 13.01 resc_io: 12.00 resc_cpu: 7136529
          resp: 13.01 resp_io: 12.00 resp_cpu: 7136529
Join Card:  0.21 = outer (0.21) * inner (284008.79) * sel (3.5210e-06)
Join Card - Rounded: 1 Computed: 0.21
SM Join
  Outer table:
    resc: 10.01  card 0.21  bytes: 17  deg: 1  resp: 10.01
  Inner table: TIME_ATTRIBUTES_TB  Alias: TIME_ATTRIBUTES_TB
    resc: 1986460.76  card: 284008.79  bytes: 23  deg: 1  resp: 1986460.76
    using dmeth: 2  #groups: 1
    SORT resource      Sort statistics
      Sort width:        6142 Area size:     1048576 Max Area size:  1073741824
      Degree:               1
      Blocks to Sort:       1 Row size:           29 Total Rows:              1
      Initial runs:         1 Merge passes:        0 IO Cost / pass:          0
      Total IO sort cost: 0      Total CPU sort cost: 7042424
      Total Temp space used: 0
    SORT resource      Sort statistics
      Sort width:        6142 Area size:     1048576 Max Area size:  1073741824
      Degree:               1
      Blocks to Sort:    1252 Row size:           36 Total Rows:         284009
      Initial runs:         2 Merge passes:        1 IO Cost / pass:        680
      Total IO sort cost: 1932      Total CPU sort cost: 269679334
      Total Temp space used: 20603000
  SM join: Resc: 1988442.06  Resp: 1988442.06  [multiMatchCost=0.00]
  SM cost: 1988442.06
     resc: 1988442.06 resc_io: 1942330.00 resc_cpu: 324740720778
     resp: 1988442.06 resp_io: 1942330.00 resp_cpu: 324740720778
HA Join
  Outer table:
    resc: 10.01  card 0.21  bytes: 17  deg: 1  resp: 10.01
  Inner table: TIME_ATTRIBUTES_TB  Alias: TIME_ATTRIBUTES_TB
    resc: 1986460.76  card: 284008.79  bytes: 23  deg: 1  resp: 1986460.76
    using dmeth: 2  #groups: 1
    Cost per ptn: 4.53  #ptns: 1
    hash_area: 0 (max=256)   Hash join: Resc: 1986475.30  Resp: 1986475.30  [multiMatchCost=0.00]
  HA cost: 1986475.30
     resc: 1986475.30 resc_io: 1940398.00 resc_cpu: 324495921282
     resp: 1986475.30 resp_io: 1940398.00 resp_cpu: 324495921282
Plan cardinality mismatch: best card= 0.99999924368   curr card= 0.21109988440
Best:: JoinMethod: NestedLoop
       Cost: 13.01  Degree: 1  Resp: 13.01  Card: 0.21  Bytes: 40
***********************
Best so far: Table#: 1  cost: 10.0100  card: 0.2111  bytes: 17
             Table#: 0  cost: 13.0134  card: 0.2111  bytes: 40
(newjo-stop-1) k:0, spcnt:0, perm:2, maxperm:2000
*********************************
Number of join permutations tried: 2
*********************************
    SORT resource      Sort statistics
      Sort width:        6142 Area size:     1048576 Max Area size:  1073741824
      Degree:               1
      Blocks to Sort:       1 Row size:           29 Total Rows:              1
      Initial runs:         1 Merge passes:        0 IO Cost / pass:          0
      Total IO sort cost: 0      Total CPU sort cost: 7042424
      Total Temp space used: 0
(newjo-save)    [1 0 ]
Final - All Rows Plan:  Best join order: 2
  Cost: 13.0134  Degree: 1  Card: 1.0000  Bytes: 40
  Resc: 13.0134  Resc_io: 12.0000  Resc_cpu: 7136529
  Resp: 13.0134  Resp_io: 12.0000  Resc_cpu: 7136529
kkoipt: Query block SEL$5DA710D3 (#1)
******* UNPARSED QUERY IS *******
SELECT 'Y' "'Y'" FROM ."TIME_ATTRIBUTE_USAGES" "TIME_ATTRIBUTE_USAGES",."TIME_ATTRIBUTES_TB" "TIME_ATTRIBUTES_TB" WHERE "TIME_ATTRIBUTE_USAGES"."BUILDING_BLOCK_OVN"=TO_NUMBER(:B1)
 AND "TIME_ATTRIBUTE_USAGES"."BUILDING_BLOCK_ID"=TO_NUMBER(:B2)
 AND "TIME_ATTRIBUTES_TB"."ATTRIBUTE_ID"="TIME_ATTRIBUTE_USAGES"."ATTRIBUTE_ID" AND "TIME_ATTRIBUTES_TB"."ATTRIBUTE_CATEGORY"='REASON' AND "TIME_ATTRIBUTES_TB"."ATTRIBUTE7"=DECODE(:B3,NULL,"TIME_ATTRIBUTES_TB"."ATTRIBUTE7",:B4)
kkoqbc-end
          : call(in-use=63712, alloc=81816), compile(in-use=102784, alloc=147008)
apadrv-end: call(in-use=63712, alloc=81816), compile(in-use=103640, alloc=147008)

sql_id=9q70ydnbyryjn.
Current SQL statement for this session:
EXPLAIN PLAN SET statement_id = '1' INTO sqlt$_plan_table FOR
SELECT 'Y'
FROM
TIME_ATTRIBUTES_TB WHERE ATTRIBUTE_ID IN (SELECT ATTRIBUTE_ID
FROM TIME_ATTRIBUTE_USAGES WHERE BUILDING_BLOCK_ID = :B3 AND
BUILDING_BLOCK_OVN = :B2 ) AND ATTRIBUTE_CATEGORY = 'REASON' AND
ATTRIBUTE7 = DECODE (:B1 , NULL, ATTRIBUTE7, :B1 )

============
Plan Table
============
----------------------------------------------------------------------+-----------------------------------+
| Id  | Operation                      | Name                         | Rows  | Bytes | Cost  | Time      |
----------------------------------------------------------------------+-----------------------------------+
| 0   | SELECT STATEMENT               |                              |       |       |    13 |           |
| 1   |  NESTED LOOPS                  |                              |     1 |    40 |    13 |  00:00:01 |
| 2   |   SORT UNIQUE                  |                              |     1 |    17 |     9 |  00:00:01 |
| 3   |    TABLE ACCESS BY INDEX ROWID | TIME_ATTRIBUTE_USAGES    |     1 |    17 |     9 |  00:00:01 |
| 4   |     INDEX RANGE SCAN           | TIME_ATTRIBUTE_USAGES_FK2|    12 |       |     4 |  00:00:01 |
| 5   |   TABLE ACCESS BY INDEX ROWID  | TIME_ATTRIBUTES_TB          |     1 |    23 |     3 |  00:00:01 |
| 6   |    INDEX UNIQUE SCAN           | TIME_ATTRIBUTES_TB_PK       |     1 |       |     2 |  00:00:01 |
----------------------------------------------------------------------+-----------------------------------+
Predicate Information:
----------------------
4 - access("BUILDING_BLOCK_ID"=TO_NUMBER(:B3) AND "BUILDING_BLOCK_OVN"=TO_NUMBER(:B2))
5 - filter(("ATTRIBUTE_CATEGORY"='REASON' AND "ATTRIBUTE7"=DECODE(:B1,NULL,"ATTRIBUTE7",:B1)))
6 - access("ATTRIBUTE_ID"="ATTRIBUTE_ID")

Content of other_xml column
===========================
  db_version     : 10.2.0.2

  plan_hash      : 2963004813
  Outline Data:
  /*+
    BEGIN_OUTLINE_DATA
      IGNORE_OPTIM_EMBEDDED_HINTS
      OPTIMIZER_FEATURES_ENABLE('10.2.0.2')
      OPT_PARAM('_b_tree_bitmap_plans' 'false')
      OPT_PARAM('_fast_full_scan_enabled' 'false')
      ALL_ROWS
      OUTLINE_LEAF(@"SEL$5DA710D3")
      UNNEST(@"SEL$2")
      OUTLINE(@"SEL$1")
      OUTLINE(@"SEL$2")
      INDEX(@"SEL$5DA710D3" "TIME_ATTRIBUTE_USAGES"@"SEL$2" ("TIME_ATTRIBUTE_USAGES"."BUILDING_BLOCK_ID" "TIME_ATTRIBUTE_USAGES"."BUILDING_BLOCK_OVN"))
      INDEX(@"SEL$5DA710D3" "TIME_ATTRIBUTES_TB"@"SEL$1" ("TIME_ATTRIBUTES_TB"."ATTRIBUTE_ID"))
      LEADING(@"SEL$5DA710D3" "TIME_ATTRIBUTE_USAGES"@"SEL$2" "TIME_ATTRIBUTES_TB"@"SEL$1")
      USE_NL(@"SEL$5DA710D3" "TIME_ATTRIBUTES_TB"@"SEL$1")
    END_OUTLINE_DATA
  */

Optimizer environment:
  optimizer_mode_hinted               = false
  optimizer_features_hinted           = 0.0.0
  parallel_execution_enabled          = true
  parallel_query_forced_dop           = 0
  parallel_dml_forced_dop             = 0
  parallel_ddl_forced_degree          = 0
  parallel_ddl_forced_instances       = 0
  _query_rewrite_fudge                = 90
  optimizer_features_enable           = 10.2.0.2
  _optimizer_search_limit             = 5
  cpu_count                           = 28
  active_instance_count               = 1
  parallel_threads_per_cpu            = 2
  hash_area_size                      = 131072
  bitmap_merge_area_size              = 1048576
  sort_area_size                      = 65536
  sort_area_retained_size             = 0
  _sort_elimination_cost_ratio        = 5
  _optimizer_block_size               = 8192
  _sort_multiblock_read_count         = 2
  _hash_multiblock_io_count           = 0
  _db_file_optimizer_read_count       = 8
  _optimizer_max_permutations         = 2000
  pga_aggregate_target                = 20971520 KB
  _pga_max_size                       = 2097152 KB
  _query_rewrite_maxdisjunct          = 257
  _smm_auto_min_io_size               = 56 KB
  _smm_auto_max_io_size               = 248 KB
  _smm_min_size                       = 1024 KB
  _smm_max_size                       = 1048576 KB
  _smm_px_max_size                    = 10485760 KB
  _cpu_to_io                          = 0
  _optimizer_undo_cost_change         = 10.2.0.2
  parallel_query_mode                 = enabled
  parallel_dml_mode                   = disabled
  parallel_ddl_mode                   = enabled
  optimizer_mode                      = all_rows
  sqlstat_enabled                     = false
  _optimizer_percent_parallel         = 101
  _always_anti_join                   = choose
  _always_semi_join                   = choose
  _optimizer_mode_force               = true
  _partition_view_enabled             = true
  _always_star_transformation         = false
  _query_rewrite_or_error             = false
  _hash_join_enabled                  = true
  cursor_sharing                      = exact
  _b_tree_bitmap_plans                = false
  star_transformation_enabled         = false
  _optimizer_cost_model               = choose
  _new_sort_cost_estimate             = true
  _complex_view_merging               = true
  _unnest_subquery                    = true
  _eliminate_common_subexpr           = true
  _pred_move_around                   = true
  _convert_set_to_join                = false
  _push_join_predicate                = true
  _push_join_union_view               = true
  _fast_full_scan_enabled             = false
  _optim_enhance_nnull_detection      = true
  _parallel_broadcast_enabled         = true
  _px_broadcast_fudge_factor          = 100
  _ordered_nested_loop                = true
  _no_or_expansion                    = false
  optimizer_index_cost_adj            = 100
  optimizer_index_caching             = 0
  _system_index_caching               = 0
  _disable_datalayer_sampling         = false
  query_rewrite_enabled               = true
  query_rewrite_integrity             = enforced
  _query_cost_rewrite                 = true
  _query_rewrite_2                    = true
  _query_rewrite_1                    = true
  _query_rewrite_expression           = true
  _query_rewrite_jgmigrate            = true
  _query_rewrite_fpc                  = true
  _query_rewrite_drj                  = true
  _full_pwise_join_enabled            = true
  _partial_pwise_join_enabled         = true
  _left_nested_loops_random           = true
  _improved_row_length_enabled        = true
  _index_join_enabled                 = true
  _enable_type_dep_selectivity        = true
  _improved_outerjoin_card            = true
  _optimizer_adjust_for_nulls         = true
  _optimizer_degree                   = 0
  _use_column_stats_for_function      = true
  _subquery_pruning_enabled           = true
  _subquery_pruning_mv_enabled        = false
  _or_expand_nvl_predicate            = true
  _like_with_bind_as_equality         = true
  _table_scan_cost_plus_one           = true
  _cost_equality_semi_join            = true
  _default_non_equality_sel_check     = true
  _new_initial_join_orders            = true
  _oneside_colstat_for_equijoins      = true
  _optim_peek_user_binds              = true
  _minimal_stats_aggregation          = true
  _force_temptables_for_gsets         = false
  workarea_size_policy                = auto
  _smm_auto_cost_enabled              = true
  _gs_anti_semi_join_allowed          = true
  _optim_new_default_join_sel         = true
  optimizer_dynamic_sampling          = 2
  _pre_rewrite_push_pred              = true
  _optimizer_new_join_card_computation = true
  _union_rewrite_for_gs               = yes_gset_mvs
  _generalized_pruning_enabled        = true
  _optim_adjust_for_part_skews        = true
  _force_datefold_trunc               = false
  statistics_level                    = typical
  _optimizer_system_stats_usage       = true
  skip_unusable_indexes               = true
  _remove_aggr_subquery               = true
  _optimizer_push_down_distinct       = 0
  _dml_monitoring_enabled             = true
  _optimizer_undo_changes             = false
  _predicate_elimination_enabled      = true
  _nested_loop_fudge                  = 100
  _project_view_columns               = true
  _local_communication_costing_enabled = true
  _local_communication_ratio          = 50
  _query_rewrite_vop_cleanup          = true
  _slave_mapping_enabled              = true
  _optimizer_cost_based_transformation = linear
  _optimizer_mjc_enabled              = true
  _right_outer_hash_enable            = true
  _spr_push_pred_refspr               = true
  _optimizer_cache_stats              = false
  _optimizer_cbqt_factor              = 50
  _optimizer_squ_bottomup             = true
  _fic_area_size                      = 131072
  _optimizer_skip_scan_enabled        = true
  _optimizer_cost_filter_pred         = false
  _optimizer_sortmerge_join_enabled   = true
  _optimizer_join_sel_sanity_check    = true
  _mmv_query_rewrite_enabled          = true
  _bt_mmv_query_rewrite_enabled       = true
  _add_stale_mv_to_dependency_list    = true
  _distinct_view_unnesting            = false
  _optimizer_dim_subq_join_sel        = true
  _optimizer_disable_strans_sanity_checks = 0
  _optimizer_compute_index_stats      = true
  _push_join_union_view2              = true
  _optimizer_ignore_hints             = false
  _optimizer_random_plan              = 0
  _query_rewrite_setopgrw_enable      = true
  _optimizer_correct_sq_selectivity   = true
  _disable_function_based_index       = false
  _optimizer_join_order_control       = 3
  _optimizer_cartesian_enabled        = true
  _optimizer_starplan_enabled         = true
  _extended_pruning_enabled           = true
  _optimizer_push_pred_cost_based     = true
  _sql_model_unfold_forloops          = run_time
  _enable_dml_lock_escalation         = false
  _bloom_filter_enabled               = true
  _update_bji_ipdml_enabled           = 0
  _optimizer_extended_cursor_sharing  = udo
  _dm_max_shared_pool_pct             = 1
  _optimizer_cost_hjsmj_multimatch    = true
  _optimizer_transitivity_retain      = true
  _px_pwg_enabled                     = true
  optimizer_secure_view_merging       = false
  _optimizer_join_elimination_enabled = true
  flashback_table_rpi                 = non_fbt
  _optimizer_cbqt_no_size_restriction = true
  _optimizer_enhanced_filter_push     = true
  _optimizer_filter_pred_pullup       = true
  _rowsrc_trace_level                 = 0
  _simple_view_merging                = true
  _optimizer_rownum_pred_based_fkr    = true
  _optimizer_better_inlist_costing    = all
  _optimizer_self_induced_cache_cost  = false
  _optimizer_min_cache_blocks         = 10
  _optimizer_or_expansion             = depth
  _optimizer_order_by_elimination_enabled = true
  _optimizer_outer_to_anti_enabled    = true
  _selfjoin_mv_duplicates             = true
  _dimension_skip_null                = true
  _force_rewrite_enable               = false
  _optimizer_star_tran_in_with_clause = true
  _optimizer_complex_pred_selectivity = true
  _optimizer_connect_by_cost_based    = true
  _gby_hash_aggregation_enabled       = true
  _globalindex_pnum_filter_enabled    = true
  _fix_control_key                    = 0
  _optimizer_skip_scan_guess          = false
  _enable_row_shipping                = false
  *********************************
  Bug Fix Control Environment
  ***************************
  fix  4611850 = enabled
  fix  4663804 = enabled
  fix  4663698 = enabled
  fix  4545833 = enabled
  fix  3499674 = disabled
  fix  4584065 = enabled
  fix  4602374 = enabled
  fix  4569940 = enabled
  fix  4631959 = enabled
  fix  4519340 = enabled
  fix  4550003 = enabled
  fix  4488689 = enabled
  fix  3118776 = enabled
  fix  4519016 = enabled
  fix  4487253 = enabled
  fix  4556762 = 15
  fix  4728348 = enabled
  fix  4723244 = enabled
  fix  4554846 = enabled
  fix  2492766 = enabled
  fix  4175830 = enabled
  fix  4722900 = enabled
  fix  4711525 = enabled
  fix  4273361 = enabled
  fix  4483240 = enabled
  fix  4904838 = enabled
  fix  5084239 = enabled
  fix  5838613 = enabled
  fix  5385629 = enabled
  fix  5449488 = enabled
  fix  5483301 = enabled
  fix  5680702 = enabled
  fix  5694984 = enabled
  fix  5705257 = enabled
  fix  5741121 = enabled
  fix  5762598 = enabled
  fix  5884780 = enabled
  fix  5949981 = enabled
  fix  5976822 = enabled
  fix  6122894 = enabled
Query Block Registry:
*********************
SEL$2 0x357ad9c0 (PARSER)
  SEL$5DA710D3 0x125c7d38 (SUBQUERY UNNEST SEL$1; SEL$2) [FINAL]
SEL$1 0x125c7d38 (PARSER)
  SEL$5DA710D3 0x125c7d38 (SUBQUERY UNNEST SEL$1; SEL$2) [FINAL]
Optimizer State Dump: call(in-use=73416, alloc=98184), compile(in-use=144656, alloc=192728)
Registered qb: MISC$1 0x7ac19910 (PARSER)
  signature(): NULL
**************************
Predicate Move-Around (PM)
**************************
PM: Considering predicate move-around in MISC$1 (#0).
PM:   Checking validity of predicate move-around in MISC$1 (#0).
CBQT: Validity checks failed for 3jxypd2xqf4r9.
CVM: Considering view merge in query block MISC$1 (#0)
CBQT: Validity checks failed for 3jxypd2xqf4r9.
***************
Subquery Unnest
***************
SU: Considering subquery unnesting in query block MISC$1 (#0)
*************************
Set-Join Conversion (SJC)
*************************
SJC: Considering set-join conversion in MISC$1 (#0).
**************************
Predicate Move-Around (PM)
**************************
PM: Considering predicate move-around in MISC$1 (#0).
PM:   Checking validity of predicate move-around in MISC$1 (#0).
PM:     PM bypassed: Outer query contains no views.
FPD: Considering simple filter push in MISC$1 (#0)
FPD:   Current where clause predicates in MISC$1 (#0) :
         apadrv-start: call(in-use=34704, alloc=35592), compile(in-use=33200, alloc=33840)

sql_id=3jxypd2xqf4r9.
Current SQL statement for this session:
ALTER SESSION SET EVENTS '10053 TRACE NAME CONTEXT OFF'

============
Plan Table
============
---------------------------------+-----------------------------------+
| Id  | Operation      | Name    | Rows  | Bytes | Cost  | Time      |
---------------------------------+-----------------------------------+
| 0   | DDL STATEMENT  |         |       |       |     0 |           |
---------------------------------+-----------------------------------+
Predicate Information:
----------------------

Optimizer environment:
  optimizer_mode_hinted               = false
  optimizer_features_hinted           = 0.0.0
  parallel_execution_enabled          = true
  parallel_query_forced_dop           = 0
  parallel_dml_forced_dop             = 0
  parallel_ddl_forced_degree          = 0
  parallel_ddl_forced_instances       = 0
  _query_rewrite_fudge                = 90
  optimizer_features_enable           = 10.2.0.2
  _optimizer_search_limit             = 5
  cpu_count                           = 28
  active_instance_count               = 1
  parallel_threads_per_cpu            = 2
  hash_area_size                      = 131072
  bitmap_merge_area_size              = 1048576
  sort_area_size                      = 65536
  sort_area_retained_size             = 0
  _sort_elimination_cost_ratio        = 5
  _optimizer_block_size               = 8192
  _sort_multiblock_read_count         = 2
  _hash_multiblock_io_count           = 0
  _db_file_optimizer_read_count       = 8
  _optimizer_max_permutations         = 2000
  pga_aggregate_target                = 20971520 KB
  _pga_max_size                       = 2097152 KB
  _query_rewrite_maxdisjunct          = 257
  _smm_auto_min_io_size               = 56 KB
  _smm_auto_max_io_size               = 248 KB
  _smm_min_size                       = 1024 KB
  _smm_max_size                       = 1048576 KB
  _smm_px_max_size                    = 10485760 KB
  _cpu_to_io                          = 0
  _optimizer_undo_cost_change         = 10.2.0.2
  parallel_query_mode                 = enabled
  parallel_dml_mode                   = disabled
  parallel_ddl_mode                   = enabled
  optimizer_mode                      = all_rows
  sqlstat_enabled                     = false
  _optimizer_percent_parallel         = 101
  _always_anti_join                   = choose
  _always_semi_join                   = choose
  _optimizer_mode_force               = true
  _partition_view_enabled             = true
  _always_star_transformation         = false
  _query_rewrite_or_error             = false
  _hash_join_enabled                  = true
  cursor_sharing                      = exact
  _b_tree_bitmap_plans                = false
  star_transformation_enabled         = false
  _optimizer_cost_model               = choose
  _new_sort_cost_estimate             = true
  _complex_view_merging               = true
  _unnest_subquery                    = true
  _eliminate_common_subexpr           = true
  _pred_move_around                   = true
  _convert_set_to_join                = false
  _push_join_predicate                = true
  _push_join_union_view               = true
  _fast_full_scan_enabled             = false
  _optim_enhance_nnull_detection      = true
  _parallel_broadcast_enabled         = true
  _px_broadcast_fudge_factor          = 100
  _ordered_nested_loop                = true
  _no_or_expansion                    = false
  optimizer_index_cost_adj            = 100
  optimizer_index_caching             = 0
  _system_index_caching               = 0
  _disable_datalayer_sampling         = false
  query_rewrite_enabled               = true
  query_rewrite_integrity             = enforced
  _query_cost_rewrite                 = true
  _query_rewrite_2                    = true
  _query_rewrite_1                    = true
  _query_rewrite_expression           = true
  _query_rewrite_jgmigrate            = true
  _query_rewrite_fpc                  = true
  _query_rewrite_drj                  = true
  _full_pwise_join_enabled            = true
  _partial_pwise_join_enabled         = true
  _left_nested_loops_random           = true
  _improved_row_length_enabled        = true
  _index_join_enabled                 = true
  _enable_type_dep_selectivity        = true
  _improved_outerjoin_card            = true
  _optimizer_adjust_for_nulls         = true
  _optimizer_degree                   = 0
  _use_column_stats_for_function      = true
  _subquery_pruning_enabled           = true
  _subquery_pruning_mv_enabled        = false
  _or_expand_nvl_predicate            = true
  _like_with_bind_as_equality         = true
  _table_scan_cost_plus_one           = true
  _cost_equality_semi_join            = true
  _default_non_equality_sel_check     = true
  _new_initial_join_orders            = true
  _oneside_colstat_for_equijoins      = true
  _optim_peek_user_binds              = true
  _minimal_stats_aggregation          = true
  _force_temptables_for_gsets         = false
  workarea_size_policy                = auto
  _smm_auto_cost_enabled              = true
  _gs_anti_semi_join_allowed          = true
  _optim_new_default_join_sel         = true
  optimizer_dynamic_sampling          = 2
  _pre_rewrite_push_pred              = true
  _optimizer_new_join_card_computation = true
  _union_rewrite_for_gs               = yes_gset_mvs
  _generalized_pruning_enabled        = true
  _optim_adjust_for_part_skews        = true
  _force_datefold_trunc               = false
  statistics_level                    = typical
  _optimizer_system_stats_usage       = true
  skip_unusable_indexes               = true
  _remove_aggr_subquery               = true
  _optimizer_push_down_distinct       = 0
  _dml_monitoring_enabled             = true
  _optimizer_undo_changes             = false
  _predicate_elimination_enabled      = true
  _nested_loop_fudge                  = 100
  _project_view_columns               = true
  _local_communication_costing_enabled = true
  _local_communication_ratio          = 50
  _query_rewrite_vop_cleanup          = true
  _slave_mapping_enabled              = true
  _optimizer_cost_based_transformation = linear
  _optimizer_mjc_enabled              = true
  _right_outer_hash_enable            = true
  _spr_push_pred_refspr               = true
  _optimizer_cache_stats              = false
  _optimizer_cbqt_factor              = 50
  _optimizer_squ_bottomup             = true
  _fic_area_size                      = 131072
  _optimizer_skip_scan_enabled        = true
  _optimizer_cost_filter_pred         = false
  _optimizer_sortmerge_join_enabled   = true
  _optimizer_join_sel_sanity_check    = true
  _mmv_query_rewrite_enabled          = true
  _bt_mmv_query_rewrite_enabled       = true
  _add_stale_mv_to_dependency_list    = true
  _distinct_view_unnesting            = false
  _optimizer_dim_subq_join_sel        = true
  _optimizer_disable_strans_sanity_checks = 0
  _optimizer_compute_index_stats      = true
  _push_join_union_view2              = true
  _optimizer_ignore_hints             = false
  _optimizer_random_plan              = 0
  _query_rewrite_setopgrw_enable      = true
  _optimizer_correct_sq_selectivity   = true
  _disable_function_based_index       = false
  _optimizer_join_order_control       = 3
  _optimizer_cartesian_enabled        = true
  _optimizer_starplan_enabled         = true
  _extended_pruning_enabled           = true
  _optimizer_push_pred_cost_based     = true
  _sql_model_unfold_forloops          = run_time
  _enable_dml_lock_escalation         = false
  _bloom_filter_enabled               = true
  _update_bji_ipdml_enabled           = 0
  _optimizer_extended_cursor_sharing  = udo
  _dm_max_shared_pool_pct             = 1
  _optimizer_cost_hjsmj_multimatch    = true
  _optimizer_transitivity_retain      = true
  _px_pwg_enabled                     = true
  optimizer_secure_view_merging       = false
  _optimizer_join_elimination_enabled = true
  flashback_table_rpi                 = non_fbt
  _optimizer_cbqt_no_size_restriction = true
  _optimizer_enhanced_filter_push     = true
  _optimizer_filter_pred_pullup       = true
  _rowsrc_trace_level                 = 0
  _simple_view_merging                = true
  _optimizer_rownum_pred_based_fkr    = true
  _optimizer_better_inlist_costing    = all
  _optimizer_self_induced_cache_cost  = false
  _optimizer_min_cache_blocks         = 10
  _optimizer_or_expansion             = depth
  _optimizer_order_by_elimination_enabled = true
  _optimizer_outer_to_anti_enabled    = true
  _selfjoin_mv_duplicates             = true
  _dimension_skip_null                = true
  _force_rewrite_enable               = false
  _optimizer_star_tran_in_with_clause = true
  _optimizer_complex_pred_selectivity = true
  _optimizer_connect_by_cost_based    = true
  _gby_hash_aggregation_enabled       = true
  _globalindex_pnum_filter_enabled    = true
  _fix_control_key                    = 0
  _optimizer_skip_scan_guess          = false
  _enable_row_shipping                = false
  *********************************
  Bug Fix Control Environment
  ***************************
  fix  4611850 = enabled
  fix  4663804 = enabled
  fix  4663698 = enabled
  fix  4545833 = enabled
  fix  3499674 = disabled
  fix  4584065 = enabled
  fix  4602374 = enabled
  fix  4569940 = enabled
  fix  4631959 = enabled
  fix  4519340 = enabled
  fix  4550003 = enabled
  fix  4488689 = enabled
  fix  3118776 = enabled
  fix  4519016 = enabled
  fix  4487253 = enabled
  fix  4556762 = 15
  fix  4728348 = enabled
  fix  4723244 = enabled
  fix  4554846 = enabled
  fix  2492766 = enabled
  fix  4175830 = enabled
  fix  4722900 = enabled
  fix  4711525 = enabled
  fix  4273361 = enabled
  fix  4483240 = enabled
  fix  4904838 = enabled
  fix  5084239 = enabled
  fix  5838613 = enabled
  fix  5385629 = enabled
  fix  5449488 = enabled
  fix  5483301 = enabled
  fix  5680702 = enabled
  fix  5694984 = enabled
  fix  5705257 = enabled
  fix  5741121 = enabled
  fix  5762598 = enabled
  fix  5884780 = enabled
  fix  5949981 = enabled
  fix  5976822 = enabled
  fix  6122894 = enabled
Query Block Registry:
*********************
MISC$1 0x7ac19910 (PARSER) [FINAL]
Optimizer State Dump: call(in-use=97816, alloc=97816), compile(in-use=43208, alloc=94112)

SQLTXPLAIN 2.0.2 secs:18902.000 17-DEC-07 15:06:58