Plan of 10gr 2 don't reproduce at 11 GR 2 - try to understand why
Just did an upgrade to 10.2.0.4 to 11.2.0.4 (AIX) to our EBS environment. Especially things were going pretty well, but have a boring SQL degradation which didn't fall not by our SPA tests. Tried to create a base to Plan the gr 10, 2 SQL tuning together we created beforehand, but the tuning advisor says that's not a reproducible (plan 3341830380 below).
I compared each table / index used in the query and have confirmed that there is no change TABLE/INDEX (slight possibility since there are quite a few patches interop EBS that had to be applied for the upgrade). Consultant recommended setting a profile, but that did not help. I have a gr 10, 2 env prevail, so I used to generate an outline stored and then copied the outline to the system 11 GR 2. We confirmed he used the outline, but the plan was always different and suboptimal (> 100 s). Then migrated the outline of a basic SQL, but always different/suboptimal plan. Then tried to extract the section SKETCH of the plan 10 gr 2 use it to create a manual SQL profile with the IMPORT_SQL_PROFILE procedure, but also, which did not help (he used the profile, but still suboptimal plan). Also tried to set optimizer_features_enabled = 10.2.0.4 but still no effect. The SQL is quite complex with a view embedded (this is EBS) 10053 trace is huge and beyond my ability to analyze. I know there must be something in the environment/params/structure that has changed so that the original plan cannot be used, but I was not able to understand.
Any help would be appreciated.
Here's the plan and 10.2.0.4 stats
SQL_ID, 20qss2003zzyn, number of children 0
-------------------------------------
SELECT THE VALUE A.ORGANIZATION_ID, A.ORGANIZATION_CODE, A.ORGANIZATION_NAME DESCRIPTION, ("N", 'N') NVL NVL (TO_NUMBER (NULL),-1), NULL, NVL ('Y', 'Y'), NVL (TO_CHAR (TO_DATE (NULL), 'J'), 0),
NVL (TO_CHAR (TO_DATE (NULL), 'J'), 0) OF ORG_ORGANIZATION_DEFINITIONS A WHERE ((EXISTE (SÉLECTIONNEZ 1 DE ORG_ACCESS_V OAV, FU FND_USER, FND_USER_RESP_GROUPS_DIRECT FUR OÙ FU.) CLAUSE)) USER_ID = FUR. USER_ID AND
OAV.ORGANIZATION_ID = A.ORGANIZATION_ID AND FU. USER_ID = FND_PROFILE. VALUE('USER_ID') AND FUR. RESPONSIBILITY_ID = FVO. (RESPONSIBILITY_ID)) AND A.ORGANIZATION_CODE NOT IN ('IMO', ' 001 ', ' 002')) AND 'Y' = 'Y '.
AND TO_DATE (: A00, ' ' YYYY/MM/DD HH24:MI:SS) BETWEEN NVL (TRUNC (TO_DATE (NULL)), TO_DATE (: A01, ' ' YYYY/MM/DD HH24:MI:SS)) AND NVL (TRUNC (TO_DATE (NULL)), TO_DATE (: A02, ' ' YYYY/MM/DD HH24:MI:SS)) ORDER BY))))
A.ORGANIZATION_CODE
Hash value of plan: 3220009238
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
| ID | Operation | Name | Begins | E - lines. E - bytes | Cost (% CPU). E Time | Pstart. Pstop | A - lines. A - time | Pads | OMem | 1Mem | Used Mem.
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|* 1 | FILTER | | 1. | | | | | | 323. 00:00:04.48 | 857K | | | |
| 2. SORT ORDER BY | | 1. 1. 99. 119 (2). 00:00:02 | | | 323. 00:00:04.48 | 857K | 36864 | 36864 | 32768 (0) |
| 3. THE CARTESIAN MERGE JOIN. | 1. 1. 99. 17 (0) | 00:00:01 | | | 323. 00:00:04.47 | 857K | | | |
| 4. NESTED LOOPS | | 1. 1. 99. 12 (0) | 00:00:01 | | | 323. 00:00:04.47 | 857K | | | |
| 5. NESTED LOOPS | | 1. 1. 95. 11 (0) | 00:00:01 | | | 323. 00:00:04.47 | 857K | | | |
| 6. NESTED LOOPS | | 1. 1. 72. 9 (0) | 00:00:01 | | | 323. 00:00:04.47 | 856K | | | |
| 7. NESTED LOOPS | | 1. 1. 64. 8 (0) | 00:00:01 | | | 325. 00:00:04.46 | 856K | | | |
| 8. NESTED LOOPS | | 1. 1. 32. 7 (0) | 00:00:01 | | | 325. 00:00:04.46 | 856K | | | |
|* 9 | TABLE ACCESS BY INDEX ROWID | HR_ORGANIZATION_INFORMATION | 1. 1. 26. 6 (0). 00:00:01 | | | 328. 00:00:00.01 | 31. | | |
| * 10 | INDEX RANGE SCAN | HR_ORGANIZATION_INFORMATIO_IX1 | 1. 44. | 1 (0) | 00:00:01 | | | 336. 00:00:00.01 | 3. | | |
| * 11 | TABLE ACCESS BY INDEX ROWID | HR_ALL_ORGANIZATION_UNITS | 328. 1. 6. 1 (0) | 00:00:01 | | | 325. 00:00:04.46 | 856K | | | |
| * 12 | INDEX UNIQUE SCAN | HR_ORGANIZATION_UNITS_PK | 328. 1. | 0 (0) | | | | 325. 00:00:04.44 | 855K | | | |
| 13. NESTED LOOPS | | 328. 1. 160. 101 (1) | 00:00:02 | | | 325. 00:00:04.43 | 855K | | | |
| * 14 | HASH JOIN | | 328. 1. 147. 101 (1) | 00:00:02 | | | 325. 00:00:04.43 | 855K | 1396K | 1396K | 1330K (0) |
| 15. NESTED LOOPS | | 328. 1. 137. 62 (0) | 00:00:01 | | | 7117 | 00:00:04.34 | 853K | | | |
| 16. NESTED LOOPS | | 328. 1. 130. 62 (0) | 00:00:01 | | | 7117 | 00:00:04.31 | 853K | | | |
| 17. NESTED LOOPS | | 328. 1. 126. 62 (0) | 00:00:01 | | | 7117 | 00:00:04.30 | 852K | | | |
| 18. NESTED LOOPS | | 328. 1. 108. 34 (0) | 00:00:01 | | | 7117 | 00:00:03.87 | 703K | | | |
| 19. NESTED LOOPS | | 328. 1. 51. 5 (0) | 00:00:01 | | | 29873 | 00:00:00.09 | 9054 | | | |
| 20. NESTED LOOPS | | 328. 1. 37. 3 (0) | 00:00:01 | | | 327. 00:00:00.03 | 2949 | | | |
| 21. NESTED LOOPS | | 328. 1. 22. 2 (0) | 00:00:01 | | | 327. 00:00:00.03 | 1968 | | | |
| 22. NESTED LOOPS | | 328. 1. 18. 2 (0) | 00:00:01 | | | 328. 00:00:00.03 | 1640 | | | |
| 23. NESTED LOOPS | | 328. 1. 12. 1 (0) | 00:00:01 | | | 328. 00:00:00.01 | 984 | | | |
| * 24. INDEX UNIQUE SCAN | FND_USER_U1 | 328. 1. 5. 1 (0) | 00:00:01 | | | 328. 00:00:00.01 | 656. | | |
| * 25. INDEX UNIQUE SCAN | HR_ALL_ORGANIZATION_UNTS_TL_PK | 328. 1. 7. 0 (0) | | | | 328. 00:00:00.01 | 328. | | |
| * 26. TABLE ACCESS BY INDEX ROWID | HR_ALL_ORGANIZATION_UNITS | 328. 1. 6. 1 (0) | 00:00:01 | | | 328. 00:00:00.02 | 656. | | |
| * 27. INDEX UNIQUE SCAN | HR_ORGANIZATION_UNITS_PK | 328. 1. | 0 (0) | | | | 328. 00:00:00.01 | 328. | | |
| * 28. INDEX UNIQUE SCAN | MTL_PARAMETERS_U1 | 328. 1. 4. 0 (0) | | | | 327. 00:00:00.01 | 328. | | |
| 29. TABLE ACCESS BY INDEX ROWID | FND_USER | 327. 1. 15. 1 (0) | 00:00:01 | | | 327. 00:00:00.01 | 981. | | |
| * 30 | INDEX UNIQUE SCAN | FND_USER_U1 | 327. 1. | 0 (0) | | | | 327. 00:00:00.01 | 654 | | | |
| 31. TABLE ACCESS BY INDEX ROWID | ORG_ACCESS | 327. 1. 14. 2 (0) | 00:00:01 | | | 29873 | 00:00:00.03 | 6105 | | | |
| * 32 | INDEX RANGE SCAN | ORG_ACCESS_N1 | 327. 1. | 1 (0) | 00:00:01 | | | 29873 | 00:00:00.01 | 737. | | |
| 33. RANGE OF PARTITION ALL THE | | 29873 | 1. 57. 29 (0) | 00:00:01 | 1. 14. 7117 | 00:00:03.76 | 694K | | | |
| * 34 | TABLE ACCESS BY LOCAL INDEX ROWID | WF_LOCAL_USER_ROLES | 418K | 1. 57. 29 (0) | 00:00:01 | 1. 14. 7117 | 00:00:03.36 | 694K | | | |
| * 35 | INDEX RANGE SCAN | WF_LOCAL_USER_ROLES_U1 | 418K | 1. | 28 (0) | 00:00:01 | 1. 14. 7117 | 00:00:02.49 | 687K | | | |
| 36. RANGE OF PARTITION ALL THE | | 7117 | 1. 18. 28 (0) | 00:00:01 | 1. 14. 7117 | 00:00:00.42 | 149K | | | |
| * 37 | INDEX RANGE SCAN | WF_LOCAL_ROLES_U1 | 99638 | 1. 18. 28 (0) | 00:00:01 | 1. 14. 7117 | 00:00:00.33 | 149K | | | |
| * 38 | INDEX UNIQUE SCAN | FND_APPLICATION_U1 | 7117 | 1. 4. 0 (0) | | | | 7117 | 00:00:00.01 | 326. | | |
| * 39 | INDEX UNIQUE SCAN | FND_APPLICATION_TL_U1 | 7117 | 1. 7. 0 (0) | | | | 7117 | 00:00:00.01 | 326. | | |
| 40. TABLE ACCESS FULL | FND_RESPONSIBILITY | 325. 8972. 89720 | 38 (0) | 00:00:01 | | | 42266 | 00:00:00.01 | 1782. | | |
| * 41. INDEX UNIQUE SCAN | FND_RESPONSIBILITY_TL_U1 | 325. 1. 13. 0 (0) | | | | 325. 00:00:00.01 | 650 | | | |
| 42. TABLE ACCESS BY INDEX ROWID | HR_ALL_ORGANIZATION_UNITS_TL | 325. 1. 32. 1 (0) | 00:00:01 | | | 325. 00:00:00.01 | 327. | | |
| * 43. INDEX UNIQUE SCAN | HR_ALL_ORGANIZATION_UNTS_TL_PK | 325. 1. | 0 (0) | | | | 325. 00:00:00.01 | 2. | | |
| * 44 | TABLE ACCESS BY INDEX ROWID | MTL_PARAMETERS | 325. 1. 8. 1 (0) | 00:00:01 | | | 323. 00:00:00.01 | 327. | | |
| * 45 | INDEX UNIQUE SCAN | MTL_PARAMETERS_U1 | 325. 1. | 0 (0) | | | | 325. 00:00:00.01 | 2. | | |
| 46. TABLE ACCESS BY INDEX ROWID | HR_ORGANIZATION_INFORMATION | 323. 1. 23. 2 (0) | 00:00:01 | | | 323. 00:00:00.01 | 653. | | |
| * 47 | INDEX RANGE SCAN | HR_ORGANIZATION_INFORMATIO_FK2 | 323. 1. | 1 (0) | 00:00:01 | | | 323. 00:00:00.01 | 330. | | |
| * 48 | INDEX SCAN FULL | GL_SETS_OF_BOOKS_U2 | 323. 1. 4. 1 (0) | 00:00:01 | | | 323. 00:00:00.01 | 2. | | |
| 49. KIND OF BUFFER. | 323. 1. | 17 (6) | 00:00:01 | | | 323. 00:00:00.01 | 15. 2048 | 2048 | 2048 (0) |
| 50. TABLE ACCESS FULL | FND_PRODUCT_GROUPS | 1. 1. | 5 (0) | 00:00:01 | | | 1. 00:00:00.01 | 15. | | |
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Name of the query block / Alias object (identified by the operation identity card):
-------------------------------------------------------------
1 SALT 5 $160134
9 SALT$ 5 160134 / HOI1@SEL$2
10 SALT$ 5 160134 / HOI1@SEL$2
11 SALT$ 5 160134 / HAO@SEL$3
12 SALT$ 5 160134 / HAO@SEL$3
13 SALT$ 4F965A88
24 SALT$ 4F965A88 / FU@SEL$4
25 SALT$ 4F965A88 / HAOTL@SEL$6
26 SALT$ 4F965A88 / HAO@SEL$6
27 SALT$ 4F965A88 / HAO@SEL$6
28 SALT$ 4F965A88 / MP@SEL$5
29 SALT$ 4F965A88 / U@SEL$9
30 SALT$ 4F965A88 / U@SEL$9
31 SALT$ 4F965A88 / OA@SEL$5
32 SALT$ 4F965A88 / OA@SEL$5
34 SALT$ 4F965A88 / WF_LOCAL_USER_ROLES@SEL$10
35 SALT$ 4F965A88 / WF_LOCAL_USER_ROLES@SEL$10
37 SALT$ 4F965A88 / WLR@SEL$9
38 SALT$ 4F965A88 / B@SEL$8
39 SALT$ 4F965A88 / T@SEL$8
40 SALT$ 4F965A88 / B@SEL$7
41 SALT$ 4F965A88 / T@SEL$7
42 SALT$ 5 160134 / HAOTL@SEL$3
43 SALT$ 5 160134 / HAOTL@SEL$3
44 SALT$ 5 160134 / MP@SEL$2
45 SALT$ 5 160134 / MP@SEL$2
46 SALT$ 5 160134 / HOI2@SEL$2
47 SALT$ 5 160134 / HOI2@SEL$2
48 SALT$ 5 160134 / GSOB@SEL$2
50 SALT$ 5 160134 / FPG@SEL$2
Vector data
-------------
/*+
BEGIN_OUTLINE_DATA
IGNORE_OPTIM_EMBEDDED_HINTS
OPTIMIZER_FEATURES_ENABLE ('10.2.0.4')
OPT_PARAM ('_b_tree_bitmap_plans' 'false')
OPT_PARAM ('_fast_full_scan_enabled' 'false')
OPT_PARAM ('_index_join_enabled' 'false')
ALL_ROWS
OUTLINE_LEAF(@"SEL$4F965A88")
MERGE(@"SEL$0EE6DB63")
MERGE(@"SEL$443FD15E")
OUTLINE_LEAF(@"SEL$5C160134")
MERGE(@"SEL$335DD26A")
OUTLINE(@"SEL$4")
OUTLINE(@"SEL$0EE6DB63")
MERGE(@"SEL$10")
OUTLINE(@"SEL$443FD15E")
MERGE(@"SEL$6")
MERGE(@"SEL$7")
MERGE(@"SEL$8")
OUTLINE(@"SEL$1")
OUTLINE(@"SEL$335DD26A")
MERGE(@"SEL$3")
OUTLINE(@"SEL$9")
OUTLINE(@"SEL$10")
OUTLINE(@"SEL$5")
OUTLINE(@"SEL$6")
OUTLINE(@"SEL$7")
OUTLINE(@"SEL$8")
OUTLINE(@"SEL$2")
OUTLINE(@"SEL$3")
INDEX_RS_ASC (@"SALT 5 $160134" "HOI1"@"SEL$2" ("HR_ORGANIZATION_INFORMATION".) "ORG_INFORMATION1")) "
INDEX_RS_ASC (@"SALT 5 $160134" "HAO"@"SEL$3" ("HR_ALL_ORGANIZATION_UNITS".) "ORGANIZATION_ID")) "
INDEX_RS_ASC (@"SALT 5 $160134" "HAOTL"@"SEL$3" ("HR_ALL_ORGANIZATION_UNITS_TL".) "ORGANIZATION_ID" "HR_ALL_ORGANIZATION_UNITS_TL" "." " LANGUAGE'))
INDEX_RS_ASC (@"SALT 5 $160134" "MP"@"SEL$2" ("MTL_PARAMETERS".) "ORGANIZATION_ID")) "
INDEX_RS_ASC (@"SALT 5 $160134" "HOI2"@"SEL$2" ("HR_ORGANIZATION_INFORMATION".) "ORGANIZATION_ID" "HR_ORGANIZATION_INFORMATION" "." " ORG_INFORMATION_CONTEXT'))
INDEX (@"SALT 5 $160134" "GSOB"@"SEL$2" ("GL_SETS_OF_BOOKS".) "SET_OF_BOOKS_ID")) "
FULL (@"SALT 5 $160134" "FPG"@"SEL$2")
LEADING (@"SALT 5 $160134" "HOI1"@"SEL$2" "HAO"@"SEL$3" "HAOTL"@"SEL$3" "MP"@"SEL$2" "HOI2"@"SEL$2" "GSOB"@"SEL$2" "FPG"@"SEL$2")
USE_NL (@"SALT 5 $160134" "HAO"@"SEL$3")
USE_NL (@"SALT 5 $160134" "HAOTL"@"SEL$3")
USE_NL (@"SALT 5 $160134" "MP"@"SEL$2")
USE_NL (@"SALT 5 $160134" "HOI2"@"SEL$2")
USE_NL (@"SALT 5 $160134" "GSOB"@"SEL$2")
USE_MERGE_CARTESIAN (@"SALT 5 $160134" "FPG"@"SEL$2")
INDEX (@"SALT$ 4F965A88" "FU"@"SEL$4" ("FND_USER".) "USER_ID")) "
INDEX (@"SALT$ 4F965A88" "HAOTL"@"SEL$6" ("HR_ALL_ORGANIZATION_UNITS_TL".) "ORGANIZATION_ID" "HR_ALL_ORGANIZATION_UNITS_TL" "." " LANGUAGE'))
INDEX_RS_ASC (@"SALT$ 4F965A88" "HAO"@"SEL$6" ("HR_ALL_ORGANIZATION_UNITS".) "ORGANIZATION_ID")) "
INDEX (@"SALT$ 4F965A88" "MP"@"SEL$5" ("MTL_PARAMETERS".) "ORGANIZATION_ID")) "
INDEX_RS_ASC (@"SALT$ 4F965A88" "U"@"SEL$9" ("FND_USER".) "USER_ID")) "
INDEX_RS_ASC (@"SALT$ 4F965A88" "OA"@"SEL$5" ("ORG_ACCESS".) "ORGANIZATION_ID")) "
INDEX_RS_ASC (@"SALT$ 4F965A88" "WF_LOCAL_USER_ROLES"@"SEL$10" ("WF_LOCAL_USER_ROLES".) "USER_NAME" 'WF_LOCAL_USER_ROLES' "." " ROLE NAME""WF_LOCAL_USER_ROLES. " "" USER_ORIG_SYSTEM ".
'WF_LOCAL_USER_ROLES '. ' ' USER_ORIG_SYSTEM_ID ' 'WF_LOCAL_USER_ROLES '. ' ' ROLE_ORIG_SYSTEM ' 'WF_LOCAL_USER_ROLES '. ' ' ROLE_ORIG_SYSTEM_ID ' 'WF_LOCAL_USER_ROLES '. (("" ID_PARTITION "))
INDEX (@"SALT$ 4F965A88" "WLR"@"SEL$9" ("WF_LOCAL_ROLES".) "NAME" "WF_LOCAL_ROLES" "." " ORIG_SYSTEM' 'WF_LOCAL_ROLES '. ' ' ORIG_SYSTEM_ID ' 'WF_LOCAL_ROLES '. (("" ID_PARTITION "))
INDEX (@"SALT$ 4F965A88" "B"@"SEL$8" ("FND_APPLICATION".) "APPLICATION_ID'))"
INDEX (@"SALT$ 4F965A88" "T"@"SEL$8" ("FND_APPLICATION_TL".) "APPLICATION_ID" "FND_APPLICATION_TL" "." " LANGUAGE'))
FULL (@"SALT$ 4F965A88" "B"@"SEL$7")
INDEX (@"SALT$ 4F965A88" "T"@"SEL$7" ("FND_RESPONSIBILITY_TL".) "APPLICATION_ID" "FND_RESPONSIBILITY_TL" "." " RESPONSIBILITY_ID' 'FND_RESPONSIBILITY_TL '. ((' ' LANGUAGE '))
LEADING (@"SALT$ 4F965A88" "FU"@"SEL$4" "HAOTL"@"SEL$6" "HAO"@"SEL$6" "MP"@"SEL$5" "U"@"SEL$9" "OA"@"SEL$5" "WF_LOCAL_USER_ROLES"@"SEL$10" "WLR"@"SEL$9" "B"@"SEL$8" "T"@"SEL$8" "B"@"SEL$7" "T"@"SEL$7")
USE_NL (@"SALT$ 4F965A88" "HAOTL"@"SEL$6")
USE_NL (@"SALT$ 4F965A88" "HAO"@"SEL$6")
USE_NL (@"SALT$ 4F965A88" "MP"@"SEL$5")
USE_NL (@"SALT$ 4F965A88" "U"@"SEL$9")
USE_NL (@"SALT$ 4F965A88" "OA"@"SEL$5")
USE_NL (@"SALT$ 4F965A88" "WF_LOCAL_USER_ROLES"@"SEL$10")
USE_NL (@"SALT$ 4F965A88" "WLR"@"SEL$9")
USE_NL (@"SALT$ 4F965A88" "B"@"SEL$8")
USE_NL (@"SALT$ 4F965A88" "T"@"SEL$8")
USE_HASH (@"SALT$ 4F965A88" "B"@"SEL$7")
USE_NL (@"SALT$ 4F965A88" "T"@"SEL$7")
END_OUTLINE_DATA
*/
Information of predicates (identified by the operation identity card):
---------------------------------------------------
1. ((TO_DATE (: A00,'' AAAA/MM/JJ HH24:MI:SS) filter < = NVL (TRUNC (NULL), TO_DATE (: A02, "YYYY/MM/DD HH24:MI:SS)) AND TO_DATE (: A00, ' YYYY/MM/DD HH24:MI:SS') > = NVL (TRUNC (NULL), TO_DATE (: A01,' YYYY/MM/DD HH24:MI:SS')))))))))
9 filter (("HOI1". "ORG_INFORMATION2" = 'Y' AND 'HOI1'. "" ORG_INFORMATION_CONTEXT "|" = 'CLASS'))
10 - access("HOI1".") ORG_INFORMATION1 "=" INV")
11 - filter("HAO".") BUSINESS_GROUP_ID "= DECODE ("HR_GENERAL"". ")" "GET_XBG_PROFILE"(), 'Y', 'HAO'." BUSINESS_GROUP_ID', 'HR_GENERAL '. "GET_BUSINESS_GROUP_ID" (())) "
12 - access("HAO".") ORGANIZATION_ID "= 'HOI1'." ORGANIZATION_ID')
filter (IS NOT NULL)
14 - access("B".") RESPONSIBILITY_ID "=" OA ". ("' RESPONSIBILITY_ID")
24 - access("FU".") USER_ID «= TO_NUMBER ("FND_PROFILE".» VALUE "('USER_ID')))"
25 - access("HAOTL".") ORGANIZATION_ID ' =: B1 AND 'HAOTL'. '. LANGUAGE "= USERENV ('LANG'))"
filter (DECODE ("HR_SECURITY". "VIEW_ALL"(), "Y", "TRUE" ", HR_SECURITY" "." " SHOW_RECORD "("HR_ALL_ORGANIZATION_UNITS","HAOTL". ((("" ORGANIZATION_ID ")) = 'TRUE')
26 - filter("HAO".") BUSINESS_GROUP_ID "= DECODE ("HR_GENERAL"". ")" "GET_XBG_PROFILE"(), 'Y', 'HAO'." BUSINESS_GROUP_ID', 'HR_GENERAL '. "GET_BUSINESS_GROUP_ID" (())) "
27 - access("HAO".") ORGANIZATION_ID "(=:B1)"
filter ("HAO". "ORGANIZATION_ID"="HAOTL" "." " ORGANIZATION_ID')
28 - access("MP".") ORGANIZATION_ID "(=:B1)"
filter ("MP". "ORGANIZATION_ID"="HAO" "." " ORGANIZATION_ID')
30 - access("FU".") USER_ID '=' U '. (' ' USER_ID ')
32 - access("HAO".") ORGANIZATION_ID "=" OA ". ("' ORGANIZATION_ID")
filter ("OA". "ORGANIZATION_ID"(=:B1) "
34. (("ASSIGNMENT_TYPE" = "B" OU "ASSIGNMENT_TYPE" = serait ') filter)
35 - access("U".") USER_NAME "=" USERNAME"AND"ROLE_ORIG_SYSTEM"="FND_RESP"AND"ROLE_ORIG_SYSTEM_ID "=" OA ". ("' RESPONSIBILITY_ID")
filter (("ROLE_ORIG_SYSTEM" = "FND_RESP" ET "Nom_rôle» PAS COMME ' FND_RESP |)) % | ANY "AND"ROLE_ORIG_SYSTEM_ID "=" OA"". "" RESPONSIBILITY_ID'))
37 - access ("ROLE_NAME"= "WLR"." NAME")
38 - access("B".") APPLICATION_ID '="OA". ("' RESP_APPLICATION_ID")
39 - access("B".") APPLICATION_ID '=' T '. "' APPLICATION_ID ' AND 'T '. "LANGUAGE" = USERENV ('LANG')) "
41 - access("B".") APPLICATION_ID '=' T '. "' APPLICATION_ID ' AND 'B '. "" RESPONSIBILITY_ID "=" T ". "" RESPONSIBILITY_ID "AND"T ". "LANGUAGE" = USERENV ('LANG')) "
43 - access("HAO".") ORGANIZATION_ID "=" HAOTL. " "" ORGANIZATION_ID "AND"HAOTL ". "LANGUAGE" = USERENV ('LANG')) "
filter (DECODE ("HR_SECURITY". "VIEW_ALL"(), "Y", "TRUE" ", HR_SECURITY" "." " SHOW_RECORD "("HR_ALL_ORGANIZATION_UNITS","HAOTL". ((("" ORGANIZATION_ID ")) = 'TRUE')
44 filter (("MP". "ORGANIZATION_CODE"<>'OMI' AND 'MP'." ORGANIZATION_CODE' <>'001' AND 'MP '. (("' ORGANIZATION_CODE" <>' 002'))
45 - access("HAO".") ORGANIZATION_ID "=" MP ". ("' ORGANIZATION_ID")
47 - access("HAO".") ORGANIZATION_ID "= 'HOI2'." ORGANIZATION_ID')
filter ("HOI2". "ORG_INFORMATION_CONTEXT" | "="Accounting information")"
48 - filter("HOI2".") ORG_INFORMATION1 «= TO_CHAR ("GSOB".» SET_OF_BOOKS_ID'))
And here is one of 11.2.0.4 plans
SQL_ID, 20qss2003zzyn, number of children 0
-------------------------------------
SELECT THE VALUE A.ORGANIZATION_ID, A.ORGANIZATION_CODE, A.ORGANIZATION_NAME
DESCRIPTION, NVL ("N", 'N'), (TO_NUMBER (NULL),-1), NULL, NVL NVL ('Y',
'Y'), NVL (TO_CHAR (TO_DATE (NULL), 'J'), 0), NVL (TO_CHAR (TO_DATE (NULL),
"J"), 0) OF ORG_ORGANIZATION_DEFINITIONS A ((EXISTS (SELECT 1 WHERE CLAUSE
ORG_ACCESS_V FVO, FU FND_USER, FND_USER_RESP_GROUPS_DIRECT FUR
WHERE FU. USER_ID = FUR. USER_ID AND OAV.ORGANIZATION_ID =
A.ORGANIZATION_ID AND FU. USER_ID = FND_PROFILE. VALUE ('USER_ID') AND
FUR. RESPONSIBILITY_ID = FVO. RESPONSIBILITY_ID)) AND A.ORGANIZATION_CODE
NO ('IMO', ' 001 ', ' 002')) AND 'Y' = 'Y' AND TO_DATE(:A00,)
"YYYY/MM/DD HH24:MI:SS") BETWEEN NVL (TRUNC (TO_DATE (NULL)),
TO_DATE (: A01, ' YYYY/MM/DD HH24:MI:SS')) AND NVL (TRUNC (TO_DATE (NULL)),)
TO_DATE(:A02, 'YYYY/MM/DD HH24:MI:SS')) ORDER BY A.ORGANIZATION_CODE)
Hash value of plan: 3669628009
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
| ID | Operation | Name | Begins | E - lines. E - bytes | Cost (% CPU). E Time | Pstart. Pstop | A - lines. A - time | Pads | Bed | OMem | 1Mem | Used Mem.
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
| 0 | SELECT STATEMENT | | 1. | | 145 (100) | | | | 323. 00:02:27.60 | 38 M | 2. | | |
| 1. SORT ORDER BY | | 1. 1. 97. 145 (1) | 00:00:02 | | | 323. 00:02:27.60 | 38 M | 2. 33792 | 33792 | 30720 (0) |
|* 2 | FILTER | | 1. | | | | | | 323. 00:02:27.60 | 38 M | 2. | | |
| 3. THE CARTESIAN MERGE JOIN. | 1. 1. 97. 16 (0) | 00:00:01 | | | 323. 00:02:27.60 | 38 M | 2. | | |
| 4. NESTED LOOPS | | 1. 1. 97. 11 (0) | 00:00:01 | | | 323. 00:02:27.60 | 38 M | 2. | | |
| 5. NESTED LOOPS | | 1. 1. 93. 10 (0) | 00:00:01 | | | 323. 00:02:27.59 | 38 M | 2. | | |
| 6. NESTED LOOPS | | 1. 1. 71. 9 (0) | 00:00:01 | | | 323. 00:02:27.59 | 38 M | 2. | | |
| 7. NESTED LOOPS | | 1. 1. 46. 7 (0) | 00:00:01 | | | 331. 00:02:27.58 | 38 M | 2. | | |
| 8. NESTED LOOPS | | 1. 1. 38. 6 (0). 00:00:01 | | | 333. 00:02:27.58 | 38 M | 2. | | |
| 9. TABLE ACCESS BY INDEX ROWID | HR_ALL_ORGANIZATION_UNITS_TL | 1. 4. 128. 2 (0) | 00:00:01 | | | 360 | 00:00:00.10 | 288. 2. | | |
| * 10 | INDEX SKIP SCAN | HR_ALL_ORGANIZATION_UNTS_TL_PK | 1. 1. | 1 (0) | 00:00:01 | | | 360 | 00:00:00.10 | 144. 2. | | |
| * 11 | TABLE ACCESS BY INDEX ROWID | HR_ALL_ORGANIZATION_UNITS | 360 | 1. 6. 1 (0) | 00:00:01 | | | 333. 00:02:27.47 | 38 M | 0 | | | |
| * 12 | INDEX UNIQUE SCAN | HR_ORGANIZATION_UNITS_PK | 360 | 1. | 0 (0) | | | | 333. 00:02:27.42 | 38 M | 0 | | | |
| 13. NESTED LOOPS | | 360 | 1. 178. 128 (0) | 00:00:02 | | | 333. 00:02:27.41 | 38 M | 0 | | | |
| * 14 | HASH JOIN | | 360 | 1. 165. 128 (0) | 00:00:02 | | | 333. 00:02:27.40 | 38 M | 0 | 789K | 789K | 1581K (0) |
| 15. NESTED LOOPS | | 360 | 1. 155. 90 (0) | 00:00:02 | | | 7152 | 00:02:27.08 | 38 M | 0 | | | |
| 16. NESTED LOOPS | | 360 | 2. 224. 34 (0) | 00:00:01 | | | 1733K | 00:00:15.19 | 1946K | 0 | | | |
| 17. NESTED LOOPS | | 360 | 1. 57. 5 (0) | 00:00:01 | | | 30311. 00:00:00.46 | 9318. 0 | | | |
| 18. NESTED LOOPS | | 360 | 1. 50. 5 (0) | 00:00:01 | | | 30311. 00:00:00.35 | 8981 | 0 | | | |
| 19. NESTED LOOPS | | 360 | 1. 46. 5 (0) | 00:00:01 | | | 30311. 00:00:00.23 | 8644. 0 | | | |
| 20. NESTED LOOPS | | 360 | 1. 32. 3 (0) | 00:00:01 | | | 335. 00:00:00.08 | 2221 | 0 | | | |
| 21. NESTED LOOPS | | 360 | 1. 28. 3 (0) | 00:00:01 | | | 360 | 00:00:00.07 | 1861. 0 | | | |
| 22. NESTED LOOPS | | 360 | 1. 22. 2 (0) | 00:00:01 | | | 360 | 00:00:00.03 | 1085 | 0 | | | |
| 23. TABLE ACCESS BY INDEX ROWID | FND_USER | 360 | 1. 15. 2 (0) | 00:00:01 | | | 360 | 00:00:00.02 | 725 | 0 | | | |
| * 24. INDEX UNIQUE SCAN | FND_USER_U1 | 360 | 1. | 1 (0) | 00:00:01 | | | 360 | 00:00:00.02 | 365. 0 | | | |
| * 25. INDEX UNIQUE SCAN | HR_ALL_ORGANIZATION_UNTS_TL_PK | 360 | 1. 7. 0 (0) | | | | 360 | 00:00:00.01 | 360 | 0 | | | |
| * 26. TABLE ACCESS BY INDEX ROWID | HR_ALL_ORGANIZATION_UNITS | 360 | 1. 6. 1 (0) | 00:00:01 | | | 360 | 00:00:00.04 | 776. 0 | | | |
| * 27. INDEX UNIQUE SCAN | HR_ORGANIZATION_UNITS_PK | 360 | 1. | 0 (0) | | | | 360 | 00:00:00.01 | 360 | 0 | | | |
| * 28. INDEX UNIQUE SCAN | MTL_PARAMETERS_U1 | 360 | 1. 4. 0 (0) | | | | 335. 00:00:00.01 | 360 | 0 | | | |
| 29. TABLE ACCESS BY INDEX ROWID | ORG_ACCESS | 335. 1. 14. 2 (0) | 00:00:01 | | | 30311. 00:00:00.14 | 6423 | 0 | | | |
| * 30 | INDEX RANGE SCAN | ORG_ACCESS_N1 | 335. 1. | 1 (0) | 00:00:01 | | | 30311. 00:00:00.05 | 752. 0 | | | |
| * 31. INDEX UNIQUE SCAN | FND_APPLICATION_U1 | 30311. 1. 4. 0 (0) | | | | 30311. 00:00:00.07 | 337. 0 | | | |
| * 32 | INDEX UNIQUE SCAN | FND_APPLICATION_TL_U1 | 30311. 1. 7. 0 (0) | | | | 30311. 00:00:00.08 | 337. 0 | | | |
| 33. RANGE OF PARTITION ALL THE | | 30311. 1. 55. 29 (0) | 00:00:01 | 1. 14. 1733K | 00:00:14.01 | K 1937 | 0 | | | |
| 34. TABLE ACCESS BY LOCAL INDEX ROWID | WF_LOCAL_USER_ROLES | 424K | 1. 55. 29 (0) | 00:00:01 | 1. 14. 1733K | 00:00:13.04 | K 1937 | 0 | | | |
| * 35 | INDEX RANGE SCAN | WF_LOCAL_USER_ROLES_N7 | 424K | 1. | 28 (0) | 00:00:01 | 1. 14. 1733K | 00:00:03.56 | 615K | 0 | | | |
| 36. RANGE OF PARTITION ALL THE | | 1733K | 1. 43. 28 (0) | 00:00:01 | 1. 14. 7152 | 00:02:10.72 | 36 M | 0 | | | |
| * 37 | INDEX RANGE SCAN | WF_USER_ROLE_ASSIGNMENTS_N1 | 24 M | 1. 43. 28 (0) | 00:00:01 | 1. 14. 7152 | 00:01:56.00 | 36 M | 0 | | | |
| 38. TABLE ACCESS FULL | FND_RESPONSIBILITY | 333. 9041. 90410 | 38 (0) | 00:00:01 | | | 49837 | 00:00:00.03 | 1573. 0 | | | |
| * 39 | INDEX UNIQUE SCAN | FND_RESPONSIBILITY_TL_U1 | 333. 1. 13. 0 (0) | | | | 333. 00:00:00.01 | 536. 0 | | | |
| * 40 | TABLE ACCESS BY INDEX ROWID | MTL_PARAMETERS | 333. 1. 8. 1 (0) | 00:00:01 | | | 331. 00:00:00.01 | 337. 0 | | | |
| * 41. INDEX UNIQUE SCAN | MTL_PARAMETERS_U1 | 333. 1. | 0 (0) | | | | 333. 00:00:00.01 | 4. 0 | | | |
| * 42 | TABLE ACCESS BY INDEX ROWID | HR_ORGANIZATION_INFORMATION | 331. 1. 25. 2 (0) | 00:00:01 | | | 323. 00:00:00.01 | 161. 0 | | | |
| * 43. INDEX RANGE SCAN | HR_ORGANIZATION_INFORMATIO_FK2 | 331. 2. | 1 (0) | 00:00:01 | | | 662. 00:00:00.01 | 43. 0 | | | |
| 44. TABLE ACCESS BY INDEX ROWID | HR_ORGANIZATION_INFORMATION | 323. 1. 22. 1 (0) | 00:00:01 | | | 323. 00:00:00.01 | 164. 0 | | | |
| * 45 | INDEX RANGE SCAN | HR_ORGANIZATION_INFORMATIO_FK2 | 323. 1. | 1 (0) | 00:00:01 | | | 323. 00:00:00.01 | 43. 0 | | | |
| * 46 | INDEX SCAN FULL | GL_SETS_OF_BOOKS_U2 | 323. 1. 4. 1 (0) | 00:00:01 | | | 323. 00:00:00.01 | 3. 0 | | | |
| 47. KIND OF BUFFER. | 323. 1. | 16 (7) | 00:00:01 | | | 323. 00:00:00.01 | 14. 0 | 2048 | 2048 | 2048 (0) |
| 48. TABLE ACCESS FULL | FND_PRODUCT_GROUPS | 1. 1. | 5 (0) | 00:00:01 | | | 1. 00:00:00.01 | 14. 0 | | | |
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Name of the query block / Alias object (identified by the operation identity card):
-------------------------------------------------------------
1 SALT 5 $160134
9 SALT$ 5 160134 / HAOTL@SEL$3
10 SALT$ 5 160134 / HAOTL@SEL$3
11 SALT$ 5 160134 / HAO@SEL$3
12 SALT$ 5 160134 / HAO@SEL$3
13 SALT$ F6C42A04
23 SALT$ F6C42A04 / FU@SEL$4
24 SALT$ F6C42A04 / FU@SEL$4
25 SALT$ F6C42A04 / HAOTL@SEL$6
26 SALT$ F6C42A04 / HAO@SEL$6
27 SALT$ F6C42A04 / HAO@SEL$6
28 SALT$ F6C42A04 / MP@SEL$5
29 SALT$ F6C42A04 / OA@SEL$5
30 SALT$ F6C42A04 / OA@SEL$5
31 SALT$ F6C42A04 / B@SEL$8
32 SALT$ F6C42A04 / T@SEL$8
34 SALT$ F6C42A04 / WF_LOCAL_USER_ROLES@SEL$12
35 SALT$ F6C42A04 / WF_LOCAL_USER_ROLES@SEL$12
37 SALT$ F6C42A04 / WURA@SEL$9
38 SALT$ F6C42A04 / B@SEL$7
39 SALT$ F6C42A04 / T@SEL$7
40 SALT$ 5 160134 / MP@SEL$2
41 SALT$ 5 160134 / MP@SEL$2
42 SALT$ 5 160134 / HOI1@SEL$2
43 SALT$ 5 160134 / HOI1@SEL$2
44 SALT$ 5 160134 / HOI2@SEL$2
45 SALT$ 5 160134 / HOI2@SEL$2
46 SALT$ 5 160134 / GSOB@SEL$2
48 SALT$ 5 160134 / FPG@SEL$2
Vector data
-------------
/*+
BEGIN_OUTLINE_DATA
IGNORE_OPTIM_EMBEDDED_HINTS
OPTIMIZER_FEATURES_ENABLE ('11.2.0.4')
DB_VERSION ('11.2.0.4')
OPT_PARAM ('_b_tree_bitmap_plans' 'false')
OPT_PARAM ('_fast_full_scan_enabled' 'false')
ALL_ROWS
OUTLINE_LEAF(@"SEL$F6C42A04")
ELIMINATE_JOIN (@"SALT$ AE42E34E" "U"@"SEL$9")
OUTLINE_LEAF(@"SEL$5C160134")
MERGE(@"SEL$335DD26A")
OUTLINE(@"SEL$AE42E34E")
MERGE(@"SEL$443FD15E")
MERGE(@"SEL$C05AD324")
OUTLINE(@"SEL$1")
OUTLINE(@"SEL$335DD26A")
MERGE(@"SEL$3")
OUTLINE(@"SEL$4")
OUTLINE(@"SEL$443FD15E")
MERGE(@"SEL$6")
MERGE(@"SEL$7")
MERGE(@"SEL$8")
OUTLINE(@"SEL$C05AD324")
MERGE(@"SEL$12")
OUTLINE(@"SEL$2")
OUTLINE(@"SEL$3")
OUTLINE(@"SEL$5")
OUTLINE(@"SEL$6")
OUTLINE(@"SEL$7")
OUTLINE(@"SEL$8")
OUTLINE(@"SEL$9")
OUTLINE(@"SEL$12")
INDEX_SS (@"SALT 5 $160134" "HAOTL"@"SEL$3" ("HR_ALL_ORGANIZATION_UNITS_TL".) "ORGANIZATION_ID" "HR_ALL_ORGANIZATION_UNITS_TL" "." " LANGUAGE'))
INDEX_RS_ASC (@"SALT 5 $160134" "HAO"@"SEL$3" ("HR_ALL_ORGANIZATION_UNITS".) "ORGANIZATION_ID")) "
INDEX_RS_ASC (@"SALT 5 $160134" "MP"@"SEL$2" ("MTL_PARAMETERS".) "ORGANIZATION_ID")) "
INDEX_RS_ASC (@"SALT 5 $160134" "HOI1"@"SEL$2" ("HR_ORGANIZATION_INFORMATION".) "ORGANIZATION_ID" "HR_ORGANIZATION_INFORMATION" "." " ORG_INFORMATION_CONTEXT'))
INDEX_RS_ASC (@"SALT 5 $160134" "HOI2"@"SEL$2" ("HR_ORGANIZATION_INFORMATION".) "ORGANIZATION_ID" "HR_ORGANIZATION_INFORMATION" "." " ORG_INFORMATION_CONTEXT'))
INDEX (@"SALT 5 $160134" "GSOB"@"SEL$2" ("GL_SETS_OF_BOOKS".) "SET_OF_BOOKS_ID")) "
FULL (@"SALT 5 $160134" "FPG"@"SEL$2")
LEADING (@"SALT 5 $160134" "HAOTL"@"SEL$3" "HAO"@"SEL$3" "MP"@"SEL$2" "HOI1"@"SEL$2" "HOI2"@"SEL$2" "GSOB"@"SEL$2" "FPG"@"SEL$2")
USE_NL (@"SALT 5 $160134" "HAO"@"SEL$3")
USE_NL (@"SALT 5 $160134" "MP"@"SEL$2")
USE_NL (@"SALT 5 $160134" "HOI1"@"SEL$2")
USE_NL (@"SALT 5 $160134" "HOI2"@"SEL$2")
USE_NL (@"SALT 5 $160134" "GSOB"@"SEL$2")
USE_MERGE_CARTESIAN (@"SALT 5 $160134" "FPG"@"SEL$2")
PUSH_SUBQ(@"SEL$F6C42A04")
INDEX_RS_ASC (@"SALT$ F6C42A04" "FU"@"SEL$4" ("FND_USER".) "USER_ID")) "
INDEX (@"SALT$ F6C42A04" "HAOTL"@"SEL$6" ("HR_ALL_ORGANIZATION_UNITS_TL".) "ORGANIZATION_ID" "HR_ALL_ORGANIZATION_UNITS_TL" "." " LANGUAGE'))
INDEX_RS_ASC (@"SALT$ F6C42A04" "HAO"@"SEL$6" ("HR_ALL_ORGANIZATION_UNITS".) "ORGANIZATION_ID")) "
INDEX (@"SALT$ F6C42A04" "MP"@"SEL$5" ("MTL_PARAMETERS".) "ORGANIZATION_ID")) "
INDEX_RS_ASC (@"SALT$ F6C42A04" "OA"@"SEL$5" ("ORG_ACCESS".) "ORGANIZATION_ID")) "
INDEX (@"SALT$ F6C42A04" "B"@"SEL$8" ("FND_APPLICATION".) "APPLICATION_ID'))"
INDEX (@"SALT$ F6C42A04" "T"@"SEL$8" ("FND_APPLICATION_TL".) "APPLICATION_ID" "FND_APPLICATION_TL" "." " LANGUAGE'))
INDEX_RS_ASC (@"SALT$ F6C42A04" "WF_LOCAL_USER_ROLES"@"SEL$12" ("WF_LOCAL_USER_ROLES".) "ROLE_ORIG_SYSTEM_ID" "WF_LOCAL_USER_ROLES" "." " ROLE_ORIG_SYSTEM'))
INDEX (@"SALT$ F6C42A04" "WURA"@"SEL$9" ("WF_USER_ROLE_ASSIGNMENTS".) "RELATIONSHIP_ID" "WF_USER_ROLE_ASSIGNMENTS" "." " USER_NAME' 'WF_USER_ROLE_ASSIGNMENTS '. "" ROLE NAME ""WF_USER_ROLE_ASSIGNMENTS. " "" START_DATE ".
'WF_USER_ROLE_ASSIGNMENTS '. (("" END_DATE "))
FULL (@"SALT$ F6C42A04" "B"@"SEL$7")
INDEX (@"SALT$ F6C42A04" "T"@"SEL$7" ("FND_RESPONSIBILITY_TL".) "APPLICATION_ID" "FND_RESPONSIBILITY_TL" "." " RESPONSIBILITY_ID' 'FND_RESPONSIBILITY_TL '. ((' ' LANGUAGE '))
LEADING (@"SALT$ F6C42A04" "FU"@"SEL$4" "HAOTL"@"SEL$6" "HAO"@"SEL$6" "MP"@"SEL$5" "OA"@"SEL$5" "B"@"SEL$8" "T"@"SEL$8" "WF_LOCAL_USER_ROLES"@"SEL$12" "WURA"@"SEL$9" "B"@"SEL$7" "T"@"SEL$7")
USE_NL (@"SALT$ F6C42A04" "HAOTL"@"SEL$6")
USE_NL (@"SALT$ F6C42A04" "HAO"@"SEL$6")
USE_NL (@"SALT$ F6C42A04" "MP"@"SEL$5")
USE_NL (@"SALT$ F6C42A04" "OA"@"SEL$5")
USE_NL (@"SALT$ F6C42A04" "B"@"SEL$8")
USE_NL (@"SALT$ F6C42A04" "T"@"SEL$8")
USE_NL (@"SALT$ F6C42A04" "WF_LOCAL_USER_ROLES"@"SEL$12")
USE_NL (@"SALT$ F6C42A04" "WURA"@"SEL$9")
USE_HASH (@"SALT$ F6C42A04" "B"@"SEL$7")
USE_NL (@"SALT$ F6C42A04" "T"@"SEL$7")
END_OUTLINE_DATA
*/
Information of predicates (identified by the operation identity card):
---------------------------------------------------
2. ((TO_DATE (: A00,'' AAAA/MM/JJ HH24:MI:SS) filter < = NVL (TRUNC (TO_DATE (NULL)), TO_DATE (: A02, "YYYY/MM/DD HH24:MI:SS)) AND TO_DATE (: A00, ' YYYY/MM/DD HH24:MI:SS') > = NVL (TRUNC (TO_DATE (NULL)), TO_DATE (: A01,' YYYY/MM/DD))))))
HH24:MI:SS')))
10 - access("HAOTL".") LANGUAGE "= USERENV ('LANG'))"
filter ((DECODE ("HR_SECURITY". "VIEW_ALL"(), "Y", "TRUE" ", HR_SECURITY" "." " SHOW_RECORD "("HR_ALL_ORGANIZATION_UNITS","HAOTL". (("" ORGANIZATION_ID ")) = 'TRUE' AND 'HAOTL '. "LANGUAGE" = USERENV ('LANG'))) "
11 - filter("HAO".") BUSINESS_GROUP_ID "= DECODE ("HR_GENERAL"". ")" "GET_XBG_PROFILE"(), 'Y', 'HAO'." BUSINESS_GROUP_ID', 'HR_GENERAL '. "GET_BUSINESS_GROUP_ID" (())) "
12 - access("HAO".") ORGANIZATION_ID "=" HAOTL. " ("' ORGANIZATION_ID")
filter (IS NOT NULL)
14 - access("B".") RESPONSIBILITY_ID "=" OA ". ("' RESPONSIBILITY_ID")
24 - access("FU".") USER_ID «= TO_NUMBER ("FND_PROFILE".» VALUE "('USER_ID')))"
25 - access("HAOTL".") ORGANIZATION_ID ' =: B1 AND 'HAOTL'. '. LANGUAGE "= USERENV ('LANG'))"
filter (DECODE ("HR_SECURITY". "VIEW_ALL"(), "Y", "TRUE" ", HR_SECURITY" "." " SHOW_RECORD "("HR_ALL_ORGANIZATION_UNITS","HAOTL". ((("" ORGANIZATION_ID ")) = 'TRUE')
26 - filter("HAO".") BUSINESS_GROUP_ID "= DECODE ("HR_GENERAL"". ")" "GET_XBG_PROFILE"(), 'Y', 'HAO'." BUSINESS_GROUP_ID', 'HR_GENERAL '. "GET_BUSINESS_GROUP_ID" (())) "
27 - access("HAO".") ORGANIZATION_ID "(=:B1)"
filter ("HAO". "ORGANIZATION_ID"="HAOTL" "." " ORGANIZATION_ID')
28 - access("MP".") ORGANIZATION_ID "(=:B1)"
filter ("MP". "ORGANIZATION_ID"="HAO" "." " ORGANIZATION_ID')
30 - access("HAO".") ORGANIZATION_ID "=" OA ". ("' ORGANIZATION_ID")
filter ("OA". "ORGANIZATION_ID"(=:B1) "
31 - access("B".") APPLICATION_ID '="OA". ("' RESP_APPLICATION_ID")
32 - access("B".") APPLICATION_ID '=' T '. "' APPLICATION_ID ' AND 'T '. "LANGUAGE" = USERENV ('LANG')) "
35 - access ("ROLE_ORIG_SYSTEM_ID"= "OA"." RESPONSIBILITY_ID"AND"ROLE_ORIG_SYSTEM"="FND_RESP")
37 - access("WURA".") RELATIONSHIP_ID "=(-1) AND"WURA". "' USER_NAME '=' USERNAME ' AND 'WURA. ("" ROLE NAME "=" ROLE_NAME ")
filter (("WURA". "" ROLE NAME "DON'T LIKE NOT ' FND_RESP | % | ANY"AND"USER_NAME "=" WURA ". (("" USER_NAME "))
39 - access("B".") APPLICATION_ID '=' T '. "' APPLICATION_ID ' AND 'B '. "" RESPONSIBILITY_ID "=" T ". "" RESPONSIBILITY_ID "AND"T ". "LANGUAGE" = USERENV ('LANG')) "
40 filter (("MP". "ORGANIZATION_CODE"<>'OMI' AND 'MP'." ORGANIZATION_CODE' <>'001' AND 'MP '. (("' ORGANIZATION_CODE" <>' 002'))
41 - access("HAO".") ORGANIZATION_ID "=" MP ". ("' ORGANIZATION_ID")
42 filter (("HOI1". "ORG_INFORMATION1"= 'INV' AND 'HOI1'." ORG_INFORMATION2 ' = 'Y')).
43 - access("HAO".") ORGANIZATION_ID "= 'HOI1'." ORGANIZATION_ID')
filter ("HOI1". "ORG_INFORMATION_CONTEXT" | "="CLASS")"
45 - access("HAO".") ORGANIZATION_ID "= 'HOI2'." ORGANIZATION_ID')
filter ("HOI2". "ORG_INFORMATION_CONTEXT" | "="Accounting information")"
46 - filter("HOI2".") ORG_INFORMATION1 «= TO_CHAR ("GSOB".» SET_OF_BOOKS_ID'))
Thank you!
Wayne
So, I was in the middle of writing an answer both of your responses when I found my problem. I was writing how I tried to manually create a SQL profile that had the suspicion on the 10.2.0.4 WF_LOCAL_USER_ROLES contour (since this is where the suboptimal plan 11.2 spends it's time (it's using a different index)), when I noticed as the 11.2.0.4 plan accesses the WF_USER_ROLE_ASSIGNMENTS table (or index it is anyway) and the 10.2.0.4 plan does not work (it accesses WF_LOCAL_ROLES). First thought that maybe 11.2 a get rid of a useless, but then realized join the simplest answer. A view has changed. When I compared the schema objects, I only looked at tables and index, I forgot to watch the views (DOH!). It turns out that one patch interop EBS has changed the definition of one of the FND views to refer to different tables. Then, of course, 11 2 GR system cannot reproduce the plan of 10.2.
So, now I just have to treat it as a more conventional cannot change the tuning exercise code (hopefully that won't have another post here for that...)
Thanks for the reboot to my thoughts on this guy!
Wayne
Tags: Database
Similar Questions
-
I looked at all the sites help - remade several times links:
Here is the link to the page that does not work and it's links down in the order your copy now in red section. The links are all in place... Please explain what is happening - looking code in Dreamweaver is a bit of a chore too. This site needs to go live in two weeks, so your help is urgent. Thank you! KJA
www.kjakreations.com/TCS/Books.html
Are you referring to three links in this block? They seem to work correctly? If this isn't what you want to say can you provide more details?
On a side note: usually when users have a problem with the links not being is not active it is because there is an invisible element or overlapping on the page on the link.
-
No I don't reproduce el cd no puedo grabar, como is you can did esto?
No me don't reproduce el cd no puedo grabar, me el message appears that screwed disco UN, lo hago pero no me lo reconoce como esto delivery could? MUCHAS gracias.
Hello
This forum is English only.
Please select your language from the drop-down menu, at the top of this page to post your question in the language of your choice.
If you can't find your language above, support for additional international sites options are by following the link below:
http://support.Microsoft.com/common/international.aspx
Concerning
-
Help! I tried to connect to my account of Cloud to work in after effects to another computer to adobe. My payment plan appears as the "free plan" so I can't use one of the applications now. I give the whole pack every month, so I don't understand why this is happening. I really need to work now and I can't. Great work Adobe Cloud. Any suggestions on what can I do? Thank you
Check that your current account (and only the adobe, used in the next step id is good) by logging in here and check the status of your subscription, https://www.adobe.com/account.html
then, if it's current, disconnect and then back to your client application using the adobe with the link above in cc id: http://helpx.adobe.com/creative-cloud/kb/sign-in-out-creative-cloud-desktop-app.html
-
I don't understand why I can't login my account using mozilla but with googlechrome fb, I am able to do... Mozilla can load the fb site but cannot access my fb account... I'm uncomfortable with the use of mozilla as my browser... pls help thanks
- "Clear the Cache": Tools > Options > advanced > network > storage (Cache) offline: 'clear now '.
- 'Delete Cookies' of sites that cause problems: Tools > Options > privacy > Cookies: "show the Cookies".
Start Firefox in Firefox to solve the issues in Safe Mode to check if one of the Add-ons is the cause of the problem (switch to the DEFAULT theme: Tools > Modules > themes).
- Makes no changes on the start safe mode window.
See:
-
Don't understand why can't listen to videos on the web sites ie HULU and ads. Using Vista + Adobe Flash player
Hello
1. what happens when you try to play videos on the mentioned website?
2. you use Internet Explorer browser to play videos on the mentioned website? If so, which version?
3. are you able to play videos on other websites like YouTube, etc?
See the following article: If you use the Internet Explorer browser.
The video problems when you use Internet Explorer:
-
I don't understand why suddenly software won't let me export the movie.
She tells me, on all projects, there is an unknown problem and won't let me export
This is now happening to me also. I've been editing happily nonstop for two months without this problem. The same project even made without problem a few days ago. Then update WME was released - he says something about fixing bugs? Now the first fails to encode using the encoder, Cuda mercury as in the photo of the op. No other changes to the system. Sometimes the first blocks also. Also noticed before makes oblivion on reload.
Have tried - new driver nvidia, new projects, new sequences, removal of caches, different drives, uninstall and reinstall WME and first, reset the preferences.
Very easy 9 min chronology of rendering fine just 4 days ago. Only lumetri, masks, stabilizing warp, moment 4 k - S.redgiant
780GTX 32GB PC with several SSD and 7200 drives, i7 6 GB, Win 8.1 64
--
Update: has been working through some things with care. Really useful. Looks like it's specific project. Can be exported in single CPU mode. Put up-to-date I've run some additional tests. Older project exports ok.
--
Update: as I am with nvidia I downloaded the driver, custom installation selected, checked the box for a clean install. (according to the Adobe support chat)
Do not click on the "maximum make quality" for the resizing option.
Currently works for export in 1080. Will try 4 k later but at this point, it seems that the clean install video card driver that he fixed. It's all about a k 4 timeline.
--
Update: the custom clean install of nvidia driver finally solved the problem. Now, I can export the same project with all settings and sizes. A big thank you to the customer supports the person (MS) to tide me over.
-
I bought a new computer, I had a subscription on the old computer. So I put on my new computer. It worked fine but since yesterday to publish this message "Login Required" mandate the evaluation software. I don't understand why, what can I do?
Hello
Please refer to activation of Adobe Creative commune Solve cloud (login) and questions (disconnect) disabling or error messages
-
I had the creative cloud now for 4 months, but it says I don't have a subscription when you try to use PS, but I connect to Adobe and I do?
I have download it again and he takes me to a page where it wants a serial number, I'm something wrong or missing something?
Your subscription to cloud shows correctly on your account page?
If you have more than one email, you will be sure that you use the right Adobe ID?
https://www.adobe.com/account.html for subscriptions on your page from Adobe
.
If Yes
Some general information for a subscription of cloud
Cloud programs don't use serial... numbers you, connect you to your cloud account paying to download & install & activate... you may need to sign out of the cloud and restart your computer and log into the cloud for things to work
Sign out of your account of cloud... Restart your computer... Connect to your paid account of cloud
-Connect using http://helpx.adobe.com/x-productkb/policy-pricing/account-password-sign-faq.html
-http://helpx.adobe.com/creative-cloud/kb/sign-in-out-creative-cloud-desktop-app.html
-http://helpx.adobe.com/x-productkb/policy-pricing/activation-network-issues.html
-http://helpx.adobe.com/creative-suite/kb/trial--1-launch.html
-ID help https://helpx.adobe.com/contact.html?step=ZNA_id-signing_stillNeedHelp
-http://helpx.adobe.com/creative-cloud/kb/license-this-software.html
.
If no
This is an open forum, Adobe support... you need Adobe personnel to help
Adobe contact information - http://helpx.adobe.com/contact.html
Chat/phone: Mon - Fri 05:00-19:00 (US Pacific Time)<=== note="" days="" and="">===>
-Select your product and what you need help with
-Click on the blue box "still need help? Contact us. "
-
On Monday, March 22, I clicked the x by one of the gadgets, and instead close gadgets, it reproduces a calendar that wasn't on the desk 5 times. I tried to close it and it did not close. It makes a beep and then froze the computer. I can run my computer now as long as I don't have to do anything to the sidebar, but I'd like to solve this problem.
Restore point:
http://www.howtogeek.com/HOWTO/Windows-Vista/using-Windows-Vista-system-restore/
Do Safe Mode system restore, if it is impossible to do in Normal Mode.
Try typing F8 at startup and in the list of Boot selections, select Mode safe using ARROW top to go there > and then press ENTER.
Try a restore of the system once, to choose a Restore Point prior to your problem...
Click Start > programs > Accessories > system tools > system restore > choose another time > next > etc.
See you soon.
Mick Murphy - Microsoft partner
-
I tried to change my security questions that I forgot my answers, but I don't see any option to reset security issues?
Need help please, I'm stuck with this?
Will be appreciated if helped.
Thank you
SKLB
Look at this article. In my view, that information can help you. If you forgot your Apple ID - Apple Support security questions answered
-
Firefox hangs and I don't understand why.
I uninstalled and I cannot reinstall it. I don't understand what's with my Internet connection.
https://support.Mozilla.com/en-us/KB/Firefox%20crashes#w_get-help-fixing-this-crash
-
Don't not reconizing disc of windows 7 that is why the CD Player cannot reformat the computer
Good so Hi all I have to get to the bottom of this problem
my cd driver is not reading all discs so I can't reformat my pc for windows 7
ive tried reinstalling rollbacking and update
Honestly I don't know whats wrong
Unfortanitly I can not inside the computer so if internal sound I don't know (pray it is not)
But anyway it will not load the windows 7 cd so I can't reformat the computer
Ive tried this thing were if you restart the computer by pressing f9 or f10 or something in the figurative sense but never do anything outside
It should work just as it is a legit cd just bought!
UH I'm not that good with computers but I try
It shows its installed and working properly and it looks like it loads a bit at the beginning and trys but fails. green light turns off several times, but I click on the d: / it will not show the windows 7 cd!
the computer is MS windows xp professional sp3
Intel pentium 4 cpu 3.00 ghz 1.0 GB ram intel 82915 g/910gl express chipset family
more info needed ask thank you
Hi Scott1991,
· What happens when you try to start the computer?
· You receive an error message or error code?
· What changes did you do on the computer before the show?
· The computer there the CD or DVD ROM?
· How you try to install Windows 7?
· You are able to use another CD/DVD on the computer?
You can check the link below:
System requirements for Windows 7
http://Windows.Microsoft.com/en-us/Windows7/products/system-requirements
http://www.Microsoft.com/Windows/Windows-7/get/system-requirements.aspx
With regard to:
Samhrutha G S - Microsoft technical support.
Visit our Microsoft answers feedback Forum and let us know what you think.
-
If there is any advice you can give me would be much appreciated. Thank you!!!
1. turn on the cable/dsl modem and router (if you have a router).
a. disconnect the modem.
b. unplug the router.
c. wait 30 seconds.
d. reconnect the modem - wait until all the lights came and how they should be.
e. connect the router.Test now. If still slow, test with another computer if possible. If the other computer is too slow, call your Internet service provider. If the other computer is fast, but your computer is slow, you know that the problem is on your local computer.
At this time start with the basics:
2. the first Question of troubleshooting: If the problem is new, what has changed between the time things worked and the time they do not have?
The second issue of Windows troubleshooting: what is the status of virus/malware of the machine? If you think it's clean, what programs (and versions) allows you to determine this?
Make sure that the computer is clean:
http://www.elephantboycomputers.com/page2.html#Removing_Malware
MS - MVP - Elephant Boy computers - don't panic! -
It is a legitimate Windows 7 PRO 32-bit installation disk with a single certificate. It is activated when I installed so nothing wrong with that.
I did a clean install and all updates from end to end so that the disc remained in the disk... so I don't think about her. After it has been completely updated and I did I pulled out the disc so that it wouldn't get damaged or stuck when I moved the tower. When I brought the computer to my friend, it wouldn't start. The PC said something to the effect of the DISKETTE of STARTING NO. REPLACE AND STRIKE ANY KEY TO CONTINUE. (This is not verbatim).
After playing with him for a few minutes, I had a thought... I put in the installation CD and allowed him to go beyond the option 'PRESS ANY KEY to BOOT FROM CD or DVD... "and it booted right up!
I've tested this with multiple configurations of BIOS - and even going up to strip the PC down to a hard drive, CD drive and any connected external - and this IS the reason why it does not start.
Why do I need the disc in the boot drive to a VALID and INSTALLED Windows 7 version?
See this thread
Maybe you are looking for
-
Portege Z30-C-PT263E - unable to image machines
We have received a number of these new laptops model that have been sent instead of the Z30 - A, we ordered and we are really struggling to get these imagery with our standard company Windows 7 install. I worked on this for 3 days now and I am about
-
Satellite U400-128 does not start after hibernation
Hello I currently have problems with my Toshiba laptop. I use it for internet, games, multimedia, programming... Yesterday, when I went to bed, I close the lid that does the same thing as usual--went to hibernation. But today when I tried to start th
-
You do not have a sound device installed on your computer error ID = 0xC00D11BA, Condition ID = 0x00000000
-
I have a RVS4000 put in place as my internet router/gateway to a client of 75 MS Server 2003 network. All network devices receive a static IP address. I used Port Forwarding and Port Range Forwarding on the RVS4000 to allow remote desktop connection
-
Boot failure after update BIOS on T110ii
I've just updated my BIOS on my T110ii (from 1.1.1 2.8.0) (because I've been doing a few crashes which must be fixed by firmware updates intel). However, after the update, it does not start and displays the seeing '3' with no output vga or ipmi diagn