Extended statistics issue
Hello!
I have a problem with extended statistics on 11.2.0.3
Here is the script I run
drop table col_stats;
create table col_stats as
select 1 a, 2 b,
from dual
connect by level<=100000;
insert into col_stats (
select 2, 1,
from dual
connect by level<=100000);
-- check the a,b distribution
A
B
COUNT(1)
2
1
100000
1
2
100000
-- extended stats DEFINITION
select dbms_stats.create_extended_stats('A','COL_STATS','(A,B)') name
from dual;
-- set estimate_percent to 100%
EXEC dbms_stats.SET_TABLE_prefs ('A','COL_STATS','ESTIMATE_PERCENT',100);
-- check the changes
select dbms_stats.get_prefs ('ESTIMATE_PERCENT','A','COL_STATS')
from dual;
-- NOW GATHER COLUMN STATS
BEGIN
DBMS_STATS.GATHER_TABLE_STATS (
OWNNAME => 'A',
TABNAME => 'COL_STATS',
METHOD_OPT => 'FOR ALL COLUMNS' );
END;
set autotrace traceonly explain
select * from col_stats where a=1 and b=1;
SQL> select * from col_stats where a=1 and b=1;
Execution Plan
Plan hash value: 1829175627
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
| 0 | SELECT STATEMENT | | 50000 | 683K| 177 (2)| 00:00:03 |
|* 1 | TABLE ACCESS FULL| COL_STATS | 50000 | 683K| 177 (2)| 00:00:03 |
Predicate Information (identified by operation id):
1 - filter("A"=1 AND "B"=1)
How come the optimizer expects 50000 rows?
Thanks in advance.
Rob
RobK wrote:
SQL> select * from col_stats where a=1 and b=1;
Execution Plan
Plan hash value: 1829175627
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
| 0 | SELECT STATEMENT | | 50000 | 683K| 177 (2)| 00:00:03 |
|* 1 | TABLE ACCESS FULL| COL_STATS | 50000 | 683K| 177 (2)| 00:00:03 |
Predicate Information (identified by operation id):
1 - filter("A"=1 AND "B"=1)
How come the optimizer expects 50000 rows?
Thanks in advance.
Rob
This is an expected behavior.
When you create extended statistics then it creates histogram for column groups(and it is virtual column).
The query predicate "where a=1 and b=1" is actually out-of-range predicate for that virtual column. In such cases optimizer should be estimate
selectivity as 0 (so cardinality 1) but in such cases optimizer uses density(in our case actually used Newdensity) of column(or your virtual columns).
Let see following information(this is exact your case)
NUM_ROWS
200000
COLUMN_NAME NUM_DISTINCT DENSITY HISTOGRAM
A 2 .00000250 FREQUENCY
B 2 .00000250 FREQUENCY
SYS_STUNA$6DVXJXTP05EH56DTIR0X 2 .00000250 FREQUENCY
COLUMN_NAME ENDPOINT_NUMBER ENDPOINT_VALUE
A 100000 1
A 200000 2
B 100000 1
B 200000 2
SYS_STUNA$6DVXJXTP05EH56DTIR0X 100000 1977102303
SYS_STUNA$6DVXJXTP05EH56DTIR0X 200000 7894566276
Your predicate is "where a=1 and b=1" and it is equivalent with "where SYS_STUNA$6DVXJXTP05EH56DTIR0X = sys_op_combined_hash (1, 1)"
As you know with frequency histogram selectivity for equ(=) predicate is (E_endpoint-B_Endpoint)/num_rows. Here predicate value has located
between E_endpoint and B_Endpoint histogram buckets(endpoint numbers). But sys_op_combined_hash (1, 1) = 7026129190895635777. So then how can
i compare this value and according histogram endpoint values?. Answer is when creating histogram oracle do not use exact sys_op_combined_hash(x,y)
but it also apply MOD function, so you have to compare MOD (sys_op_combined_hash (1, 1), 9999999999)(which is equal 1598248696) with endpoint values
. So 1598248696 this is not locate between any endpoint number. Due to optimizer use NewDensity as density(in this case can not endpoint inf)
In below trace file you clearly can see that
BASE STATISTICAL INFORMATION
Table Stats::
Table: COL_STATS Alias: COL_STATS
#Rows: 200000 #Blks: 382 AvgRowLen: 18.00
Access path analysis for COL_STATS
SINGLE TABLE ACCESS PATH
Single Table Cardinality Estimation for COL_STATS[COL_STATS]
Column (#1):
NewDensity:0.250000, OldDensity:0.000003 BktCnt:200000, PopBktCnt:200000, PopValCnt:2, NDV:2
Column (#2):
NewDensity:0.250000, OldDensity:0.000003 BktCnt:200000, PopBktCnt:200000, PopValCnt:2, NDV:2
Column (#3):
NewDensity:0.250000, OldDensity:0.000003 BktCnt:200000, PopBktCnt:200000, PopValCnt:2, NDV:2
ColGroup (#1, VC) SYS_STUNA$6DVXJXTP05EH56DTIR0X
Col#: 1 2 CorStregth: 2.00
ColGroup Usage:: PredCnt: 2 Matches Full: #1 Partial: Sel: 0.2500
Table: COL_STATS Alias: COL_STATS
Card: Original: 200000.000000 Rounded: 50000 Computed: 50000.00 Non Adjusted: 50000.00
Access Path: TableScan
Cost: 107.56 Resp: 107.56 Degree: 0
Cost_io: 105.00 Cost_cpu: 51720390
Resp_io: 105.00 Resp_cpu: 51720390
Best:: AccessPath: TableScan
Cost: 107.56 Degree: 1 Resp: 107.56 Card: 50000.00 Bytes: 0
Note that NewDensity calculated as 1/(2*num_distinct)= 1/4=0.25 for frequency histogram!.
CBO used column groups statistic and estimated cardinality was 200000*0.25=50000.
Remember that they are permanent statistics and RDBMS gathered they by analyzing actual table data(Even correlation columns data).
But dynamic sampling can be good in your above situation, due to it is calculate selectivity in run time using sampling method together real predicate.
For other situation you can see extends statistics is great help for estimation like where a=2 and b=1 because this is actual data and according information(stats/histograms) stored in dictionary.
SQL> select * from col_stats where a=2 and b=1;
Execution Plan
Plan hash value: 1829175627
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
| 0 | SELECT STATEMENT | | 100K| 585K| 108 (3)| 00:00:02 |
|* 1 | TABLE ACCESS FULL| COL_STATS | 100K| 585K| 108 (3)| 00:00:02 |
Predicate Information (identified by operation id):
1 - filter("A"=2 AND "B"=1)
and from trace file
Table Stats::
Table: COL_STATS Alias: COL_STATS
#Rows: 200000 #Blks: 382 AvgRowLen: 18.00
Access path analysis for COL_STATS
SINGLE TABLE ACCESS PATH
Single Table Cardinality Estimation for COL_STATS[COL_STATS]
Column (#1):
NewDensity:0.250000, OldDensity:0.000003 BktCnt:200000, PopBktCnt:200000, PopValCnt:2, NDV:2
Column (#2):
NewDensity:0.250000, OldDensity:0.000003 BktCnt:200000, PopBktCnt:200000, PopValCnt:2, NDV:2
Column (#3):
NewDensity:0.250000, OldDensity:0.000003 BktCnt:200000, PopBktCnt:200000, PopValCnt:2, NDV:2
ColGroup (#1, VC) SYS_STUNA$6DVXJXTP05EH56DTIR0X
Col#: 1 2 CorStregth: 2.00
ColGroup Usage:: PredCnt: 2 Matches Full: #1 Partial: Sel: 0.5000
Table: COL_STATS Alias: COL_STATS
Card: Original: 200000.000000 Rounded: 100000 Computed: 100000.00 Non Adjusted: 100000.00
Access Path: TableScan
Cost: 107.56 Resp: 107.56 Degree: 0
Cost_io: 105.00 Cost_cpu: 51720365
Resp_io: 105.00 Resp_cpu: 51720365
Best:: AccessPath: TableScan
Cost: 107.56 Degree: 1 Resp: 107.56 Card: 100000.00 Bytes: 0
Lets calculate:
MOD (sys_op_combined_hash (2, 1), 9999999999)=1977102303 and for it (e_endpoint-b_enpoint)/num_rows=(200000-100000)/200000=0.5
and result card=sel*num_rows(or just e_endpoint-b_enpoint)=100000.
Similar Messages
-
Problem dropping extended statistics
I created some extended statistics on a table, but now I can't delete them. I want to delete the statistics/virtual column represented by SYS_STUDDJ802H#C$E$W27NW$#B7DO.
SQL> SELECT *
2 FROM dba_stat_extensions
3 WHERE table_name = 'T_E2_TRANS_INFO'
OWNER TABLE_NAME EXTENSION_NAME EXTENSION CREATO DRO
INTERFACE T_E2_TRANS_INFO SYS_NC00063$ (TRUNC("TRANSACTION_DATE")) SYSTEM NO
INTERFACE T_E2_TRANS_INFO SYS_STUDDJ802H#C$E$W27NW$#B7DO ("PARTITION_ID",TRUNC("TRANSACTION_DATE")) USER YES
SQL> exec dbms_stats.drop_extended_stats('INTERFACE','T_E2_TRANS_INFO','(partition_id, trunc(transaction_date))');
BEGIN dbms_stats.drop_extended_stats('INTERFACE','T_E2_TRANS_INFO','(partition_id, trunc(transaction_date))'); END;
ERROR at line 1:
ORA-20000: extension "(partition_id, trunc(transaction_date))" does not exist
ORA-06512: at "SYS.DBMS_STATS", line 8478
ORA-06512: at "SYS.DBMS_STATS", line 31747
ORA-06512: at line 1
SQL> exec dbms_stats.drop_extended_stats('INTERFACE','T_E2_TRANS_INFO','(PARTITION_ID, trunc(TRANSACTION_DATE))');
BEGIN dbms_stats.drop_extended_stats('INTERFACE','T_E2_TRANS_INFO','(PARTITION_ID, trunc(TRANSACTION_DATE))'); END;
ERROR at line 1:
ORA-20000: extension "(PARTITION_ID, trunc(TRANSACTION_DATE))" does not exist
ORA-06512: at "SYS.DBMS_STATS", line 8478
ORA-06512: at "SYS.DBMS_STATS", line 31747
ORA-06512: at line 1
SQL> exec dbms_stats.drop_extended_stats('INTERFACE','T_E2_TRANS_INFO','(PARTITION_ID, TRUNC(TRANSACTION_DATE))');
BEGIN dbms_stats.drop_extended_stats('INTERFACE','T_E2_TRANS_INFO','(PARTITION_ID, TRUNC(TRANSACTION_DATE))'); END;
ERROR at line 1:
ORA-20000: extension "(PARTITION_ID, TRUNC(TRANSACTION_DATE))" does not exist
ORA-06512: at "SYS.DBMS_STATS", line 8478
ORA-06512: at "SYS.DBMS_STATS", line 31747
ORA-06512: at line 1
SQL> exec dbms_stats.drop_extended_stats('INTERFACE','T_E2_TRANS_INFO','("PARTITION_ID", TRUNC("TRANSACTION_DATE"))');
BEGIN dbms_stats.drop_extended_stats('INTERFACE','T_E2_TRANS_INFO','("PARTITION_ID", TRUNC("TRANSACTION_DATE"))'); END;
ERROR at line 1:
ORA-20000: extension "("PARTITION_ID", TRUNC("TRANSACTION_DATE"))" does not exist
ORA-06512: at "SYS.DBMS_STATS", line 8478
ORA-06512: at "SYS.DBMS_STATS", line 31747
ORA-06512: at line 1Anybody run into this?
Thanks!I tried to get such a situation with no luck. How did you get the ("PARTITION_ID",TRUNC("TRANSACTION_DATE"))?
I tried on a partition table but I never get a "PARTITION_ID" into the function.
drop table ex_stats_test purge;
create table ex_stats_test
(mnr number,
mvol number)
PARTITION BY range (mnr)
(PARTITION PARTITION_000000 VALUES LESS THAN (MAXVALUE));
insert into EX_STATS_TEST values (1,2);
commit;
SELECT DBMS_STATS.CREATE_EXTENDED_STATS('ANDY','EX_STATS_TEST','(TRUNC("MVOL"))') FROM DUAL;
select * from dba_stat_extensions where owner='ANDY';
exec DBMS_STATS.DROP_EXTENDED_STATS ('ANDY','EX_STATS_TEST','(TRUNC("MVOL"))'); -
Acrobat 9 Pro Extended Forms Issue
Hello, I'm having an issue with two simple forms that I have created in Acrobat 9 Pro Extended. I am using Windows XP SP2. The forms have a submit button that is supposed to send to a specified e-mail address. Everything tests fine until the link is posted on our Intranet. Once the user clicks Submit after filling out the form, they are presented with a box with two buttons: Send Link and Send Copy. Does anyone know how to stop this box from popping up? What is happening is they do not read the box and click Send Link, which only sends a blank form back to us and they lose what they have filled out. Any help would be much appreciated, and thank you in advance.
I finally got our webmaster to put the link to the form online so that I could test the form. It is not sending to the address specified. I have setup the Submit button as follows: in the window under Enter a URL for this link: the URL was input as MailTo: [email protected] (there is a space between MailTo: and the e-mail address). After submitting Outlook 2k3 sends back an undeliverable message. Is the space in the URL causing the issue or is it something I need to run by our security people due to the way the form is being submitted?
Many thanks,
Mike -
BI Statistics issue...
Hi,
We recently upgraded to BI 7.0 few months ago.
I know that new stats tables are introduced in BI 7.0 and their view is RSDDSTAT_DM and RSDDSTAT_OLAP.
Yesterday I have come across an issue that these tables are retaining entries, which are only two weeks old. It is deleting entries older than 2 weeks. It appears that it does it everyday.
The only programs I know which can be used to delete BI Stats are RSDDK_STA_DEL_DATA and RSDDSTAT_DATA_DELETE. I have verified that none of them is scheduled. I have checked the RSDDSTAT transaction as well and it uses the same program to delete.
Earlier I thought that somebody might have triggered accidentally to delete them. But it becomes evident that it is deleting them regularly everyday. I do not know how?
Does anybody have any idea, where I can find if this is scheduled?
I am not able to find it.
Your help will be appreciated.
Surinder.Statistics data should generally be deleted when data is loaded to the InfoCubes of the technical content. If the technical content is not activated, or if the data is to be deleted from the statistics table for some other reason, you can also do this manually in the maintenance for the statistics properties.
When you choose Delete Statistical Data
(Tcode- RSDDSTAT), the dialog box for restricting the areas in which the statistics data is to be deleted appears. You can select multiple areas.
1) <b>Query Statistics Tables:</b> The system deletes the data for the BI query runtime statistics.
2) <b>Aggregates/BIA Index Processes:</b> See Statistics for the Maintenance Processes of a BI Accelerator Indexs.
3) <b>InfoCube Statistics (Delete, Compress):</b> The system deletes the data of the InfoCube statistics that results when data is deleted from an InfoCube or when data requests of an InfoCube are compressed.
Using the Up to Day (Incl.) field, you can enter a date up until which the system is to delete the statistics data. If you do not enter a date, all data is deleted. Since this can be executed with a command (TRUNCATE TABLE), (and not using selective deletion in the database), this version is considerably faster.
By restricting to one day, packages of 1000 records only are always deleted from the tables; this is followed by a database Commit. This makes it possible to restart after a termination (resulting from a TIMEOUT, for example), without a need to redo previous work.
Hope it Helps
Chetan
@CP.. -
MacBook Extended Desktop Issue (ViewSonic vx2235)
MacBook as far as i know only supports mini-DVI to "_" adapters. I'm using the midi-DVI to DVI adapter. i find myself clicking detect display multiple times before the mac initialize the external monitor. ...and when it does it sometimes doesn't recognize the name of the monitor and labels it display, or it starts up at a 90 degree angle. could it be a driver issue thats causes this?
In addition, I use some audio editing software in windows. It shows that the computer supports extended desktop, but no action is on the monitor. Could it just be a hardware problem?Go to System Preferences -> Displays -> Arrangement
and check/adjust the positions. -
Gather Schema Statistics issue?
Hi
Actually, we have a custom schema in our EBS R12.0.6 instance database. But i have observed that, 'Gather Schema Statistics' program is not picking-up this schema. why? May be something wrong with database schema registration but since 1 & half year the interface associated with this schema is running fine. I do not know,how to resolve this issue?
I can manually run 'Gather Table Statistics' program against all tables.
RegardsHi;
Actually, we have a custom schema in our EBS R12.0.6 instance database. But i have observed that, 'Gather Schema Statistics' program is not picking-up this schema. why? May be something wrong with database schema registration but since 1 & half year the interface associated with this schema is running fine. I do not know,how to resolve this issue?For can run hather stat for custom schema please check
gather schema stats for EBS 11.5.10
gather schema stats for EBS 11.5.10
I can manually run 'Gather Table Statistics' program against all tables. Please see:
How To Gather Statistics On Oracle Applications 11.5.10(and above) - Concurrent Process,Temp Tables, Manually [ID 419728.1]
Also see:
How to work Gather stat
Gather Schema Statistics
http://oracle-apps-dba.blogspot.com/2007/07/gather-statistics-for-oracle.html
Regard
Helios -
Photoshop cs5 extended 3d issue
Hi,
i made a selection then i made it into a 3d layer with reproussé and then turn it into a 3d object , this part works all fine
but as soon as i accept the changes i make, and start to use the 3d rotation tool and start rotate it. my background goes transparent while dragging/rotating my object . this is very enoying coz i cannot see my background while doing this.. anyone has the same problem and or a solution to it?
i checked photoshop preferences ( CTRL + K ... performance) and played with the settings. nothing usefull. also i updated my system to the latest video drivers. everything runs smooth even photoshop.
my hardware specs are pretty decent im sure it isnt that, although i could enable or check something somewhere , who can help me about this issue...
my specs :
software :
windows 7 x64 bit
adobe photoshop cs5 extended x64 bit
Mainboard: Mainboard Model MS-7380 ( msi p7n platinum silent )
memory : 4gb dual channel
cpu : q9450 quadcore 12mb cache
video :
NVIDIA GeForce 9800 GTX/9800 GTX+
Revision A2
Codename G92
Technology 65 nm
Memory size 512 MB
Memory type GDDR3
Memory bus width 256 bits
PCI device bus 3 (0x3), device 0 (0x0), function 0 (0x0)
Vendor ID 0x10DE (0x1682)
Model ID 0x0612 (0x2371)
Performance Level 3D Applications
Core clock 740.0 MHz
Shader clock 1850.0 MHz
Memory clock 1140.0 MHzGenerally good advice is to check with nVidia on their web site and see if they have released any recent video drivers that fix the problem you're seeing.
http://www.nvidia.com/Download/index.aspx?lang=en-us
Many people are finding that new video drivers solve problems they're seeing with Photoshop.
-Noel -
Once I select the oject I want to extend and switch the button from move to extend it will not let me extend the object. It stays on move no matter what. Can you please help me resolve this issue?
What operating system are you using?
Have you tried resetting the Content Aware Move Tool?
Or resetting the pse 12 editor preferences by going to Photoshop elements Editor (Edit)>Preferences>General, clicking on Reset Preferences on next launch and then restarting pse 12 -
Using X3500 as a Wireless Extender DHCP issue iPhone 6
Hi
Hopefully a simple question with a simple answer.
Background:
I've transitioned away from my ADSL ISP to a cable provider (VirginMedia). My new ISP comes with a cable modem (SuperHub 2 ac) and I've connected the two devices together to extend my home wireless network. The cable modem is The two routers are physically remote from each other - connected via just their Ethernet ports - via power-line technology (Devolo dLAN 1200+). The two routers have the same broadcast SSID albeit on separate channels.
Issue:
All devices in my house, laptops tablets, phones roam between the two wi-fi zones seamlessly *except* the iPhone 6 (iOS8.1), this works on the cable modem wi-fi - but not on the X3500 wi-fi. I also have an iPad Mini 2 (also iOS8.1) which also works - so rightly / wrongly I've ruled out iO8.1 as the issue. Oddly the iPhone 6 connects to the x3500 but doesn't obtain an IP address (the cable modem is the DHCP server). Even setting a static IP address doesn't help.
Observation(s):
If the X3500 is setup as a DHCP server, the iPhoen connects (and gets an IP address), but then the default gateway is incorrect (gatway is the IP address of the X3500 not the remote cable modem). I can't find anywhere to specify a default gateway in the setup.
Question
I'm beginning to think this is an issue with the iPhone 6 (knowing all other devices work correctly), but I just want to make sure I'm configuring the X3500 correctly. I'm specifically interested in the whether I'm using the right "Mode"ADSL / Ethernet. I've tried "Bridged Mode Only" (ADSL) and "Automatic DCHP Only" (Ethernet) but neither seem to resolve the issue that the iPhone 6 is having.
any suggestions on how to resolve / troubleshoot would be most welcomed.
Thanks!
Solved!
Go to Solution.Yes, there's a way for you to override the IP Address. It is on Router Address under Network Setup on the Basic Setup tab. If I'm not mistaken, one end of the Ethernet cable should be connected to the regular Ethernet port of the cable modem and the other end to the cable port of the X3500.
But if it's just the iPhone that won't connect to the X3500, it might be okay to retain the current configuration of the router, but try adjusting the wireless security mode or set the wireless channel to 11 and observe what happens. -
Photoshop CS4 Extended serial issue
hi their
i am a computer techie trying to help out a customer who has adobe PS Extended CS4
i installed the program on a sony vaio VGN-FW25G with no issue(it accepted the serial during install)
now when i start the program, it comes up with a software setup window where i can get a trial or enter the key
when i enter the key i comes up as invaild or a red X i have run the clean up script but with no luck
i try on another machine & it all goes through fine(i deactivated the key before i uninstalled it off the other unit)
i have done servral restores but still does the same thing
what would cause this issue?You can try running the licensing repair tool.
http://www.adobe.com/support/contact/licensing.html
You installed the software on C drive correct? -
Hi Experts,
We are facing an issue with extending tablespaces using BRTOOLS.
As you can see in [this|http://tinypic.com/r/2hx5ydc/4] screen shot, the previous BASIS guy tried to extend the tablespace which caused these errors. Can you please guide me how to remove these errors and extend the tablespace successfully?
Regards.If the datafile are added ok to the database, it would be better to alter storage settings on the datafile.
Check in database with "select * from dba_data_files where tablespace_name like 'PSAPSR3700';"
Do not delete the datafile. If you really need to get rid of the file, you have to drop the whole tablespace, recreate it and restore the data. Normally you would not like to do it. Another solution for the file is to move/rename the datafile both on os and in the database.
Regards
Audun -
Hi ,
I have extended AM and deployed the AM thru Substitutions and bounced apache too.
BUt i face an Error ,ie
oracle.apps.fnd.framework.OAException: The Application Module found by the usage name HzPuiAddressAM has a definition name &AM_DEFINITION_NAME different than &DEFINITION_NAME specified for the region.
at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(OAPageErrorHandler.java:1223)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1960)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:497)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:418)
at oa_html._OA._jspService(_OA.java:88)
at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
at oracle.jsp.JspServlet.service(JspServlet.java:156)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
at oracle.jsp.provider.Jsp20RequestDispatcher.forward(Jsp20RequestDispatcher.java:162)
at oracle.jsp.runtime.OraclePageContext.forward(OraclePageContext.java:187)
at oa_html._OA._jspService(_OA.java:98)
at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
at oracle.jsp.JspServlet.service(JspServlet.java:156)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
at org.apache.jserv.JServConnection.run(JServConnection.java:294)
at java.lang.Thread.run(Thread.java:570)
## Detail 0 ##
oracle.apps.fnd.framework.OAException: The Application Module found by the usage name HzPuiAddressAM has a definition name &AM_DEFINITION_NAME different than &DEFINITION_NAME specified for the region.
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.createApplicationModule(OAWebBeanContainerHelper.java(Compiled Code))
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.getApplicationModule(OAWebBeanHelper.java(Compiled Code))
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.getDataObjectName(OAWebBeanHelper.java(Compiled Code))
at oracle.apps.fnd.framework.webui.beans.form.OAFormValueBean.getDataObjectName(OAFormValueBean.java:370)
at oracle.apps.fnd.framework.webui.OAPageBean.createAndAddHiddenPKFields(OAPageBean.java(Compiled Code))
at oracle.apps.fnd.framework.webui.OAPageBean.addHiddenPKFields(OAPageBean.java(Compiled Code))
at oracle.apps.fnd.framework.webui.OAPageBean.addHiddenPKFields(OAPageBean.java(Compiled Code))
at oracle.apps.fnd.framework.webui.OAPageBean.addHiddenPKFields(OAPageBean.java(Compiled Code))
at oracle.apps.fnd.framework.webui.OAPageBean.addHiddenPKFields(OAPageBean.java(Compiled Code))
at oracle.apps.fnd.framework.webui.OAPageBean.addHiddenPKFields(OAPageBean.java(Compiled Code))
at oracle.apps.fnd.framework.webui.OAPageBean.addHiddenPKFields(OAPageBean.java(Compiled Code))
at oracle.apps.fnd.framework.webui.OAPageBean.addHiddenPKFields(OAPageBean.java(Compiled Code))
at oracle.apps.fnd.framework.webui.OAPageBean.addHiddenPKFields(OAPageBean.java(Compiled Code))
at oracle.apps.fnd.framework.webui.OAPageBean.addHiddenPKFields(OAPageBean.java(Compiled Code))
at oracle.apps.fnd.framework.webui.OAPageBean.addHiddenPKFields(OAPageBean.java(Compiled Code))
at oracle.apps.fnd.framework.webui.OAPageBean.addHiddenPKFields(OAPageBean.java(Compiled Code))
at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2377)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1711)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:497)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:418)
at oa_html._OA._jspService(_OA.java:88)
at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
at oracle.jsp.JspServlet.service(JspServlet.java:156)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
at oracle.jsp.provider.Jsp20RequestDispatcher.forward(Jsp20RequestDispatcher.java:162)
at oracle.jsp.runtime.OraclePageContext.forward(OraclePageContext.java:187)
at oa_html._OA._jspService(_OA.java:98)
at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
at oracle.jsp.JspServlet.service(JspServlet.java:156)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
at org.apache.jserv.JServConnection.run(JServConnection.java:294)
at java.lang.Thread.run(Thread.java:570)
oracle.apps.fnd.framework.OAException: The Application Module found by the usage name HzPuiAddressAM has a definition name &AM_DEFINITION_NAME different than &DEFINITION_NAME specified for the region.
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.createApplicationModule(OAWebBeanContainerHelper.java(Compiled Code))
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.getApplicationModule(OAWebBeanHelper.java(Compiled Code))
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.getDataObjectName(OAWebBeanHelper.java(Compiled Code))
at oracle.apps.fnd.framework.webui.beans.form.OAFormValueBean.getDataObjectName(OAFormValueBean.java:370)
at oracle.apps.fnd.framework.webui.OAPageBean.createAndAddHiddenPKFields(OAPageBean.java(Compiled Code))
at oracle.apps.fnd.framework.webui.OAPageBean.addHiddenPKFields(OAPageBean.java(Compiled Code))
at oracle.apps.fnd.framework.webui.OAPageBean.addHiddenPKFields(OAPageBean.java(Compiled Code))
at oracle.apps.fnd.framework.webui.OAPageBean.addHiddenPKFields(OAPageBean.java(Compiled Code))
at oracle.apps.fnd.framework.webui.OAPageBean.addHiddenPKFields(OAPageBean.java(Compiled Code))
at oracle.apps.fnd.framework.webui.OAPageBean.addHiddenPKFields(OAPageBean.java(Compiled Code))
at oracle.apps.fnd.framework.webui.OAPageBean.addHiddenPKFields(OAPageBean.java(Compiled Code))
at oracle.apps.fnd.framework.webui.OAPageBean.addHiddenPKFields(OAPageBean.java(Compiled Code))
at oracle.apps.fnd.framework.webui.OAPageBean.addHiddenPKFields(OAPageBean.java(Compiled Code))
at oracle.apps.fnd.framework.webui.OAPageBean.addHiddenPKFields(OAPageBean.java(Compiled Code))
at oracle.apps.fnd.framework.webui.OAPageBean.addHiddenPKFields(OAPageBean.java(Compiled Code))
at oracle.apps.fnd.framework.webui.OAPageBean.addHiddenPKFields(OAPageBean.java(Compiled Code))
at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2377)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1711)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:497)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:418)
at oa_html._OA._jspService(_OA.java:88)
at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
at oracle.jsp.JspServlet.service(JspServlet.java:156)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
at oracle.jsp.provider.Jsp20RequestDispatcher.forward(Jsp20RequestDispatcher.java:162)
at oracle.jsp.runtime.OraclePageContext.forward(OraclePageContext.java:187)
at oa_html._OA._jspService(_OA.java:98)
at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
at oracle.jsp.JspServlet.service(JspServlet.java:156)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
at org.apache.jserv.JServConnection.run(JServConnection.java:294)
at java.lang.Thread.run(Thread.java:570)
What might be the issue...Any steps i missed here.rbojja ,
Please go through Dev guide, there is a bug in OAF, that root AM cannot be subsituted ! Check if your AM is a root AM , if yes, then you would either have to extend your controller, or add a nested AM.
--Mukul -
Hi Guys,
Tearing my hair out at this.
Since I got my Macbook Pro (2 years ago now) I've always used it with an external monitor to have an extended desktop and had no problems. I've used a VGA cable with an Mini Display Port adaptor.
However, 2 weeks ago I took my Macbook to a company to do a presentation and they connected it up to a huge monitor, it worked fine for the first 20 mins and then seemed to stop working (the extended desktop).
Now at home and at the office when i connect the laptop to any external monitors (the same monitors I have been using for the last 2 years) they sometimes come on and then when I move something (e.g. Safari) to the monitor it flickers and then goes off!
I've replaced VGA cables, change monitors, changed Display Port Adaptor but still no luck. I've done some research and followed instructions to reset the NVRAM but still no good.
I'm not sure what to do now and how to fix the issue. My Macbook Pro (Mac OS X Lion 10.7.5) Processor 2.4 GHz Intel Core i5 Late 2011.
Any suggestions would be appreciated.
Thanks,
Dfollowed instructions to reset the NVRAM but still no good.
Did you reset NVRAM with the external monitor connected and powered on? I would try it both ways, viz. with the external active, and without the external connected. -
SPEL in Extended VO - Issue with Multiple Rows
Hi,
I have extended a seeded VO by adding a new attribute *'Course_Flag'* with attribute type 'Boolean' and Query Column type 'VARCHAR2' and i wa successfully able to personalize and view the data of the new attribute *'Course_Flag'* in the page as ('true' / 'false') aacording to the query where clause.
Now after adding a new image with SPEL property as *${oa.LearnerCatalogCoursesVO.Course_Flag}* it will have an issue with multiple items.
I mean the SPEL will take the first row value 'true' / 'false' and will be corrected rendered according to the value of the first row and ignore other rows values.
Example: if the *'Course_Flag'* value of the first row is 'true' then all the images will be rendered and if the *'Course_Flag'* value of the first row is 'false' then all the images will be NOT rendered.
Please advise if I've missed any step.
Thanks in advance to all.
Regards....AshrafDear Kali,
I have added a new function to the seeded VO SQL +('XXARMS_TRG_EVALUATION_PKG.XX_COURSE_GOT_EVAL')+,
SQL Statment :-
select av.activity_version_id, avtl.version_name, av.language_id, av.start_date,
av.end_date, av.version_code, i.category_usage_id, upper(avtl.version_name) AS SORTVERSIONNAME,
XXARMS_TRG_EVALUATION_PKG.XX_COURSE_GOT_EVAL(i.category_usage_id, av.activity_version_id) Course_Flag from
ota_act_cat_inclusions i, ota_activity_versions av, ota_activity_versions_tl avtl
where i.category_usage_id = :1 and i.activity_version_id = av.activity_version_id and
nvl(av.end_date, sysdate + 1) >= trunc(sysdate) and
av.business_group_id = ota_general.get_business_group_id and av.activity_version_id = avtl.activity_version_id and
avtl.language = userenv('LANG') and
ota_learner_access_util.learner_has_access_to_course(:2,:3,avtl.activity_version_id) = 'Y'
And it is retriving the correct data for each row and i did not write any code in the RowImpl.
Thanks for your help in advance.
Regards...Ashraf -
Extend Statistics: ThroughputInbound, ThroughputOutbound
Hi,
We have a cluster that has 2 Extend proxies with 8 storage-enabled nodes that write-though to an RDBMS. Cache data is MACHINE-SAFE. The cluster is running on 1Gb LAN; I believe the DB is also. Extend clients may run on either 1Gb or 100Mb. I see the following Statistics for the ExtendTcpProxyService MBean and I am unsure just how to interpret the values.
Presumably the throughput numbers I'm seeing are some kind of averages over time rather than peak throughput? I'm concerned that the throughput numbers seem low and therefore might indicate a problem.
Throughput inbound/outbound measured relative to what? The proxy node relative to both Extend clients plus the storage-enabled cluster, or the proxy node relative to Extend clients only?
How large is a message? Is a message a "piece of string" depending upon the size of a cache entry, or are messages of fixed size?
Connections=98, Cpu=214826ms (0.0%), Messages=15565844, Throughput=72457.914msg/sec, AverageActiveThreadCount=0.02479306, Tasks=14267255, AverageTaskDuration=3.5923638ms, MaximumBacklog=5, BytesReceived=29.8GB, BytesSent=268GB, ThroughputInbound=117Kbps, ThroughputOutbound=1.05Mbps
Connections=90, Cpu=194426ms (0.0%), Messages=8823167, Throughput=45380.594msg/sec, AverageActiveThreadCount=0.0100068785, Tasks=8539157, AverageTaskDuration=2.4227173ms, MaximumBacklog=5, BytesReceived=13.9GB, BytesSent=185GB, ThroughputInbound=54.6Kbps, ThroughputOutbound=750Kbps
Many Thanks,
SimonHi Vishy,
Here's a sample code snippet. I tested this with Coherence 3.7:
INamedCache cache = CacheFactory.GetCache("near-cache");
ICacheStatistics cacheStats = ((NearCache) cache).CacheStatistics;
cache.Add("foo", "bar");
System.Console.WriteLine("Total puts: " + cacheStats.TotalPuts);Hope this helps,
Patrick
Maybe you are looking for
-
C drive running out of space resolve this without formatting the C: drive.
Hi every one, i am having window xp pro sp3 running machine with 2GB of RAM, 150GB Hdd, C drive 30GB, D drive 60GB, E drive 60GB. After installing all the application its show the remaining space as 14GB but day after day the spac
-
How to add text to a pdf file?
I was sent a rental application as a pdf file which I need to fill in but I can't seem to add text to it. How does one open a pdf file and add text to it? I have acrobat professional that came with adobe cs3 on my mac. Thanks for any advice.
-
In preferences, desktop and screen saver are unresponsive.
I can not change my desktop photo or the screensaver. My prefences panel for the desk top and screensaver hang.then I have to use the force quit to get out of the preference panel. Can any one help with this?
-
G-tech drive problems not mounting etc.
G-tech Graid external drives not mounting or unmounting giving idiot notice, firewire 800 diasy chained to imac 3.1 i5, cannot depend upon for automatic backup. Started now and then with snow leoapard, has now got worse with ML and new Imac, and new
-
Remove someone who is using my phone number for teir account also
Can a rep contact me to remove an ex employee of ours who is using our Corporate phone number for their Rewards Account? I saw this the other day when I entered my Account number, his name came up under mine.