Oracle Analyzer or Some thing else ?(for performance & tunning)
Hi
Any body have idea about the tool Oracle Analyzer for performanace & tuning,i heard about this but i couldn't find any sort of documentation on this tool any where.Did this change
from Oracle Analyzer to Some thing else?.
Please help in this regard
Thanks
Sreeni
dear sreenivasa kanneganti,
this is the script to analyze the table and compute statistics
cheers
ANALYZE TABLE USER_NAME.TABLE_NAME COMPUTE STATISTICS
from what I know statistics are used by the Oracle Optimizer
(if it is set in CHOOSE mode, it is written in the init.ora)
which stores these statistics in a dictionary of data
If you want to check the integrity of data you have to use the clause VALIDATE_STRUCTURE
Of course you have to have the grant to ANALIZE_ANY
Remember to run the ANALYZE and COMPUTE STATISTICS at the end of
the day, this because it takes a long time to run... ;-)
If you want to ANALIZE a complete schema you should use the
procedure DBMS_UTILITY.ANALIZE_SCHEMA
cheers
rjh
Similar Messages
-
My iphone4 suddenly shut down.I pluged into a charger it started vibration and got heat up in off mood. I also checked it to genius he said that its battery is ok but problem is some thing else. It is still in off mod. what i have to do?
I am having a similar odd issue. First of all this summer i took my iphone 4 to apple because my screen had quit. I could hear calls and texts coming thru but screen was unresponsive. I was a month out of warranty so the nice fella at apple gave me a 30 day warranty, then replaced my handset with a refurb. Saturday night at dinner i was on my phine and it died. I plugged it in thinking nothing of it and went to bed. When i wooe up after the charger had been on all night all i had was the black screen with the battery (red) and lightning bolt, meaning it knew it plugged in but still did nothing. So off to apple i go. They said i was out of warranty and the problem (never said what problem) would cost 170 bucks to fix. So i went and upgraded to the iphone 5 ( figured if i'm spending that anyways may as well be on a new phone). When I got home i tinkered with the old one with all the online suggestions i could find. (Cleaning ports, hard reset, putting into recovery mode, and checking indicators for water damage which there was none). Still only saw the battery symbol. I left it alone figuring i can sell off cheap and someone else can repair. Last night for kicks i plugged it in again and it came to life! It is in recovery mode (needs to be hooked to itunes to regain functionality) but showed 100% battery charge. I went to show my bf and realized an issue. If its not plugged into the wall adaptor, it wont turn on. I figured then that if i can get it plugged in and pull it up on itunes maybe it would be fine. When plugged into the computer it wont hold enough power. It thrns on shows the apple for 30 seconds, shuts off. My ending conclusion on my own is that it needs a new battery in order to be revived. Anyone think this sounds like a reasonable conclusion? Or will i be wasting money? If i can get it restored to functional, cheaply i can give to my bf (his pos lg phone is almost toast) or sell it.
-
Need help for performance tunning
Hello,
I have 16K records return by query, it takes long time to proceed for 7K it takes 7.5 sec.
Note: I used all seeded tables only.
If possible please help me to tune it.
SELECT msi.inventory_item_id,msi.segment1,msi.rimary_uom_code , msi.primary_unit_of_measure
FROM mtl_system_items_b msi, qp_list_lines qpll,qp_pricing_attributes qppr,
mtl_category_sets_tl mcs,mtl_category_sets_b mcsb,
mtl_categories_b mc, mtl_item_categories mcb
WHERE msi.enabled_flag = 'Y'
AND qpll.list_line_id = qppr.list_line_id
AND qppr.product_attr_value = TO_CHAR (msi.inventory_item_id(+))
AND qppr.product_uom_code = msi.primary_uom_code
AND mc.category_id = mcb.category_id
AND msi.inventory_item_id = mcb.inventory_item_id
AND msi.organization_id = mcb.organization_id
AND TRUNC (SYSDATE) BETWEEN NVL (qpll.start_date_active,TRUNC (SYSDATE)) AND NVL (qpll.end_date_active,TRUNC (SYSDATE))
AND mcs.category_set_name = 'LSS SALES CATEGORY'
AND mcs.language = 'US'
AND mcs.category_set_id = mcsb.category_set_id
AND mcsb.structure_id = mc.structure_id
AND msi.organization_id = :p_organization_id
AND qpll.list_header_id = :p_price_list_id
AND mcb.category_id = :p_category_id;
Thanks and regards
Akil.Thanks Helios ,
here is answers
Databse version
Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit
PL/SQL Release 11.1.0.7.0
explain plan
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)|
|
0 | SELECT STATEMENT
| |
1 | 149 | 9439
(1)|
|
1 | NESTED LOOPS | | 1 |
149 | 9439 (1)|
|*
2 | HASH JOIN OUTER | | 1 |
135 | 9437 (1)|
|*
3 | HASH JOIN | | 1 |
71 | 9432 (1)|
|
4 | NESTED LOOPS | | 2 |
76 | 53 (0)|
|*
5 | TABLE ACCESS BY INDEX
ROWID| QP_LIST_LINES | 2 |
44 | 49 (0)|
|*
6 | INDEX SKIP SCAN | QP_LIST_LINES_N2 |
702 | | 20
(0)|
|*
7 | INDEX RANGE SCAN | QP_PRICING_ATTRIBUTES_N3 | 1 |
16 | 2 (0)|
|*
8 | TABLE ACCESS BY INDEX
ROWID | MTL_SYSTEM_ITEMS_B | 46254
| 1490K|
9378 (1)|
|*
9 | INDEX RANGE SCAN | MTL_SYSTEM_ITEMS_B_N9 | 46254 | |
174 (1)|
|
10 | TABLE ACCESS FULL | XX_WEB_ITEM_IMAGE_TBL |
277 | 17728 | 5 (0)|
|* 11 | INDEX RANGE SCAN | MTL_ITEM_CATEGORIES_U1 |
1 | 14 | 2
(0)|
Predicate Information (identified
by operation id):
2 -
access("XWIIT"."IMAGE_CODE"(+)="MSI"."SEGMENT1")
3 -
access("QPPR"."PRODUCT_ATTR_VALUE"=TO_CHAR("MSI"."INVENTORY_ITEM_ID")
AND
"QPPR"."PRODUCT_UOM_CODE"="MSI"."PRIMARY_UOM_CODE")
5 - filter(NVL("QPLL"."START_DATE_ACTIVE",TRUNC(SYSDATE@!))<=TRUNC(SYSDATE@!)
AND
NVL("QPLL"."END_DATE_ACTIVE",TRUNC(SYSDATE@!))>=TRUNC(SYSDATE@!))
6 -
access("QPLL"."LIST_HEADER_ID"=TO_NUMBER(:P_PRICE_LIST_ID))
filter("QPLL"."LIST_HEADER_ID"=TO_NUMBER(:P_PRICE_LIST_ID))
7 -
access("QPLL"."LIST_LINE_ID"="QPPR"."LIST_LINE_ID")
filter("QPPR"."PRODUCT_UOM_CODE" IS NOT NULL)
8 - filter("MSI"."ENABLED_FLAG"='Y')
9 - access("MSI"."ORGANIZATION_ID"=TO_NUMBER(:P_ORGANIZATION_ID))
11 -
access("MCB"."ORGANIZATION_ID"=TO_NUMBER(:P_ORGANIZATION_ID)
AND
"MSI"."INVENTORY_ITEM_ID"="MCB"."INVENTORY_ITEM_ID"
AND
"MCB"."CATEGORY_ID"=TO_NUMBER(:P_CATEGORY_ID))
filter("MCB"."CATEGORY_ID"=TO_NUMBER(:P_CATEGORY_ID))
Note
- 'PLAN_TABLE' is old version
TKprof Plan
TKPROF: Release 11.1.0.7.0 - Production on Fri Nov 15 06:12:26 2013
Copyright (c) 1982, 2007, Oracle. All rights reserved.
Trace file: LSSD_ora_19760.trc
Sort options: default
count = number of times OCI procedure was executed
cpu = cpu time in seconds executing
elapsed = elapsed time in seconds executing
disk = number of physical reads of buffers from disk
query = number of buffers gotten for consistent read
current = number of buffers gotten in current mode (usually for update)
rows = number of rows processed by the fetch or execute call
SELECT msi.inventory_item_id,
msi.segment1,
primary_uom_code,
primary_unit_of_measure,
xwiit.image_url
FROM mtl_system_items_b msi,
qp_list_lines qpll,
qp_pricing_attributes qppr,
mtl_item_categories mcb,
xx_web_item_image_tbl xwiit
WHERE msi.enabled_flag = 'Y'
AND qpll.list_line_id = qppr.list_line_id
AND qppr.product_attr_value = TO_CHAR (msi.inventory_item_id)
AND qppr.product_uom_code = msi.primary_uom_code
AND msi.inventory_item_id = mcb.inventory_item_id
AND msi.organization_id = mcb.organization_id
AND TRUNC (SYSDATE) BETWEEN NVL (qpll.start_date_active,
TRUNC (SYSDATE))
AND NVL (qpll.end_date_active,
TRUNC (SYSDATE))
AND xwiit.image_code(+) = msi.segment1
AND msi.organization_id = :p_organization_id
AND qpll.list_header_id = :p_price_list_id
AND mcb.category_id = :p_category_id
call count cpu elapsed disk query current rows
Parse 2 0.00 0.00 0 0 0 0
Execute 2 0.00 0.00 0 0 0 0
Fetch 2 3.84 3.85 0 432560 0 1002
total 6 3.84 3.85 0 432560 0 1002
Misses in library cache during parse: 0
Optimizer mode: ALL_ROWS
Parsing user id: 173
Rows Row Source Operation
501 NESTED LOOPS (cr=216280 pr=0 pw=0 time=115 us cost=9439 size=149 card=1)
2616 HASH JOIN OUTER (cr=211012 pr=0 pw=0 time=39 us cost=9437 size=135 card=1)
78568 HASH JOIN (cr=210997 pr=0 pw=0 time=3786 us cost=9432 size=71 card=1)
78571 NESTED LOOPS (cr=29229 pr=0 pw=0 time=35533 us cost=53 size=76 card=2)
78571 TABLE ACCESS BY INDEX ROWID QP_LIST_LINES (cr=9943 pr=0 pw=0 time=27533 us cost=49 size=44 card=2)
226733 INDEX SKIP SCAN QP_LIST_LINES_N2 (cr=865 pr=0 pw=0 time=4122 us cost=20 size=0 card=702)(object id 99730)
78571 INDEX RANGE SCAN QP_PRICING_ATTRIBUTES_N3 (cr=19286 pr=0 pw=0 time=0 us cost=2 size=16 card=1)(object id 99733)
128857 TABLE ACCESS BY INDEX ROWID MTL_SYSTEM_ITEMS_B (cr=181768 pr=0 pw=0 time=9580 us cost=9378 size=1526382 card=46254)
128857 INDEX RANGE SCAN MTL_SYSTEM_ITEMS_B_N9 (cr=450 pr=0 pw=0 time=1657 us cost=174 size=0 card=46254)(object id 199728)
277 TABLE ACCESS FULL XX_WEB_ITEM_IMAGE_TBL (cr=15 pr=0 pw=0 time=22 us cost=5 size=17728 card=277)
501 INDEX RANGE SCAN MTL_ITEM_CATEGORIES_U1 (cr=5268 pr=0 pw=0 time=0 us cost=2 size=14 card=1)(object id 99557)
Note: I modified query and it gives good result, now it takes 3 to 4 sec for 16000 records.
If possible can you plz explain what we have to take care while doing performance tunning
I am a fresher so don't have that much idea.
and also Thanks Hussein for your replay -
I continue to get messages to upgrade firefox to a 7.0 version for security upgrade<, is this from firefox or a suspicious message. it does not use the firefox logo.
You can use the portable Firefox version for websites that only work with older Firefox versions.
You can find the portable Firefox 2.0.0.20 version under "Mozilla Firefox, P.E. Legacy > Mozilla Firefox":
Win: http://sourceforge.net/projects/portableapps/files/Mozilla%20Firefox,%20P.E.%20Legacy/
Are you sure that the HSBC bank site only supports such an old Firefox version?
A bank site should known better then to force visitors to use old and no longer supported browser versions.
Can you post a link to a page that you can access without authorization (log in) that gives such an error message ?
Do they have a help page that list supported browsers? -
Looking for some good documents on performance tunning
Hi,
please excuse me, as this is not a technical issue.as i am looking for some good ebooks ,can anybody suggest me some good site from where i can download free. or any metalink number.
Message was edited by:
user00726Hi,
Its great to chat with you.. !!
Really, I am impressed with the things what you have written.
We are very lucky that such type of Great Person is in ORACLE World.
As I am eagerly searching for "Practical Oracle8i(TM): Building Efficient Databases " an Hard Copy to read. But, its very hard to find it.
I had seen Amazon for $44.20, In Our Currency its too high Almost 2000/-
Can you share with us alteast an PDF Copy of that book.
It's a request. from my side. and I will be very thankful to you.
I am searching nearly from past 3 Months.
Can you write some Book on RAC. I am searching for Good one...
Thanks & Regards,
Pavan Kumar N -
Oracle Portal WSRP messing things up for Tapestry JSR-168 portlet?
I've been trying to consume a Tapestry JSR-168 portlet in Oracle Portal 10.1.4. However a very simple tapestry page is (already) failing. This page displays some boilerplate text and a form component including one text input item. Upon display the following stacktrace is shown:
06/03/03 14:42:58 webmodule: [id=3230371113264,1] EXCEPTION THROWN: Uncaught exception
org.apache.hivemind.ApplicationRuntimeException: Invalid URL "wsrp_rewrite?wsrp-urlType=blockingAction&wsrp-mode=wsrp%3Aview&wsrp-windowState=wsrp%3Anormal&wsrp-secureURL=false/wsrp_rewrite" [context:/WEB-INF/Home.page, line 5, column 59]
at org.apache.tapestry.engine.RequestCycle.renderPage(RequestCycle.java:380)
at org.apache.tapestry.portlet.PortletRendererImpl.renderPage(PortletRendererImpl.java:70)
at $PortletRenderer_109c058b59f.renderPage($PortletRenderer_109c058b59f.java)
at $PortletRenderer_109c058b59e.renderPage($PortletRenderer_109c058b59e.java)
at org.apache.tapestry.portlet.PortletHomeService.service(PortletHomeService.java:80)
at $IEngineService_109c058b58a.service($IEngineService_109c058b58a.java)
at org.apache.tapestry.services.impl.EngineServiceInnerProxy.service(EngineServiceInnerProxy.java:77)
at org.apache.tapestry.services.impl.EngineServiceOuterProxy.service(EngineServiceOuterProxy.java:66)
at org.apache.tapestry.engine.AbstractEngine.service(AbstractEngine.java:248)
at org.apache.tapestry.services.impl.InvokeEngineTerminator.service(InvokeEngineTerminator.java:60)
at $WebRequestServicer_109c058b559.service($WebRequestServicer_109c058b559.java)
at $WebRequestServicer_109c058b558.service($WebRequestServicer_109c058b558.java)
at $WebRequestServicer_109c058b557.service($WebRequestServicer_109c058b557.java)
at $WebRequestServicer_109c058b556.service($WebRequestServicer_109c058b556.java)
at org.apache.tapestry.portlet.RenderRequestServicerToWebRequestServicerBridge.service(RenderRequestServicerToWebRequestServicerBridge.java:49)
at $RenderRequestServicer_109c058b551.service($RenderRequestServicer_109c058b551.java)
at $RenderRequestServicer_109c058b550.service($RenderRequestServicer_109c058b550.java)
at $RenderRequestServicer_109c058b54b.service($RenderRequestServicer_109c058b54b.java)
at $RenderRequestServicer_109c058b54a.service($RenderRequestServicer_109c058b54a.java)
at org.apache.tapestry.portlet.ApplicationPortlet.render(ApplicationPortlet.java:161)
at oracle.webdb.wsrp.server.Server.getMarkup(Unknown Source)
at oracle.webdb.wsrp.WSRP_v1_Markup_PortType_Tie.invoke_getMarkup(WSRP_v1_Markup_PortType_Tie.java:98)
at oracle.webdb.wsrp.WSRP_v1_Markup_PortType_Tie.processingHook(WSRP_v1_Markup_PortType_Tie.java:495)
at com.sun.xml.rpc.server.StreamingHandler.handle(StreamingHandler.java:230)
at com.sun.xml.rpc.server.http.ea.JAXRPCServletDelegate.doPost(JAXRPCServletDelegate.java:153)
at com.sun.xml.rpc.server.http.JAXRPCServlet.doPost(JAXRPCServlet.java:69)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
at oracle.webdb.wsrp.server.ContextFilter.doFilter(Unknown Source)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:663)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:285)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:126)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
at java.lang.Thread.run(Thread.java:534)
Caused by: oracle.webdb.wsrp.server.ContainerIllegalArgumentException: Invalid URL "wsrp_rewrite?wsrp-urlType=blockingAction&wsrp-mode=wsrp%3Aview&wsrp-windowState=wsrp%3Anormal&wsrp-secureURL=false/wsrp_rewrite"
at oracle.webdb.wsrp.server.PortletResponseImpl.encodeURL(Unknown Source)
at oracle.webdb.wsrp.server.RenderResponseImpl.encodeURL(Unknown Source)
at org.apache.tapestry.portlet.PortletWebResponse.encodeURL(PortletWebResponse.java:60)
at $WebResponse_109c058b636.encodeURL($WebResponse_109c058b636.java)
at $WebResponse_109c058b51e.encodeURL($WebResponse_109c058b51e.java)
at org.apache.tapestry.engine.RequestCycle.encodeURL(RequestCycle.java:207)
at $IRequestCycle_109c058b63f.encodeURL($IRequestCycle_109c058b63f.java)
at $IRequestCycle_109c058b53a.encodeURL($IRequestCycle_109c058b53a.java)
at org.apache.tapestry.portlet.PortletLink.getURL(PortletLink.java:68)
at org.apache.tapestry.portlet.PortletLink.getURL(PortletLink.java:126)
at org.apache.tapestry.form.FormSupportImpl.render(FormSupportImpl.java:490)
at org.apache.tapestry.form.Form.renderComponent(Form.java:250)
at org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:617)
at org.apache.tapestry.BaseComponent.renderComponent(BaseComponent.java:92)
at org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:617)
at org.apache.tapestry.AbstractPage.renderPage(AbstractPage.java:275)
at org.apache.tapestry.engine.RequestCycle.renderPage(RequestCycle.java:366)
... 36 more
06/03/03 14:42:58 webmodule: [id=3230371113264,1] WARNING: Unable to process client request: Invalid URL "wsrp_rewrite?wsrp-urlType=blockingAction&wsrp-mode=wsrp%3Aview&wsrp-windowState=wsrp%3Anormal&wsrp-secureURL=false/wsrp_rewrite"
org.apache.hivemind.ApplicationRuntimeException: Invalid URL "wsrp_rewrite?wsrp-urlType=blockingAction&wsrp-mode=wsrp%3Aview&wsrp-windowState=wsrp%3Anormal&wsrp-secureURL=false/wsrp_rewrite" [context:/WEB-INF/Home.page, line 5, column 59]
at org.apache.tapestry.engine.RequestCycle.renderPage(RequestCycle.java:380)
at org.apache.tapestry.portlet.PortletRendererImpl.renderPage(PortletRendererImpl.java:70)
at $PortletRenderer_109c058b59f.renderPage($PortletRenderer_109c058b59f.java)
at $PortletRenderer_109c058b59e.renderPage($PortletRenderer_109c058b59e.java)
at org.apache.tapestry.portlet.PortletHomeService.service(PortletHomeService.java:80)
at $IEngineService_109c058b58a.service($IEngineService_109c058b58a.java)
at org.apache.tapestry.services.impl.EngineServiceInnerProxy.service(EngineServiceInnerProxy.java:77)
at org.apache.tapestry.services.impl.EngineServiceOuterProxy.service(EngineServiceOuterProxy.java:66)
at org.apache.tapestry.engine.AbstractEngine.service(AbstractEngine.java:248)
at org.apache.tapestry.services.impl.InvokeEngineTerminator.service(InvokeEngineTerminator.java:60)
at $WebRequestServicer_109c058b559.service($WebRequestServicer_109c058b559.java)
at $WebRequestServicer_109c058b558.service($WebRequestServicer_109c058b558.java)
at $WebRequestServicer_109c058b557.service($WebRequestServicer_109c058b557.java)
at $WebRequestServicer_109c058b556.service($WebRequestServicer_109c058b556.java)
at org.apache.tapestry.portlet.RenderRequestServicerToWebRequestServicerBridge.service(RenderRequestServicerToWebRequestServicerBridge.java:49)
at $RenderRequestServicer_109c058b551.service($RenderRequestServicer_109c058b551.java)
at $RenderRequestServicer_109c058b550.service($RenderRequestServicer_109c058b550.java)
at $RenderRequestServicer_109c058b54b.service($RenderRequestServicer_109c058b54b.java)
at $RenderRequestServicer_109c058b54a.service($RenderRequestServicer_109c058b54a.java)
at org.apache.tapestry.portlet.ApplicationPortlet.render(ApplicationPortlet.java:161)
at oracle.webdb.wsrp.server.Server.getMarkup(Unknown Source)
at oracle.webdb.wsrp.WSRP_v1_Markup_PortType_Tie.invoke_getMarkup(WSRP_v1_Markup_PortType_Tie.java:98)
at oracle.webdb.wsrp.WSRP_v1_Markup_PortType_Tie.processingHook(WSRP_v1_Markup_PortType_Tie.java:495)
at com.sun.xml.rpc.server.StreamingHandler.handle(StreamingHandler.java:230)
at com.sun.xml.rpc.server.http.ea.JAXRPCServletDelegate.doPost(JAXRPCServletDelegate.java:153)
at com.sun.xml.rpc.server.http.JAXRPCServlet.doPost(JAXRPCServlet.java:69)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
at oracle.webdb.wsrp.server.ContextFilter.doFilter(Unknown Source)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:663)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:285)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:126)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
at java.lang.Thread.run(Thread.java:534)
Caused by: oracle.webdb.wsrp.server.ContainerIllegalArgumentException: Invalid URL "wsrp_rewrite?wsrp-urlType=blockingAction&wsrp-mode=wsrp%3Aview&wsrp-windowState=wsrp%3Anormal&wsrp-secureURL=false/wsrp_rewrite"
at oracle.webdb.wsrp.server.PortletResponseImpl.encodeURL(Unknown Source)
at oracle.webdb.wsrp.server.RenderResponseImpl.encodeURL(Unknown Source)
at org.apache.tapestry.portlet.PortletWebResponse.encodeURL(PortletWebResponse.java:60)
at $WebResponse_109c058b636.encodeURL($WebResponse_109c058b636.java)
at $WebResponse_109c058b51e.encodeURL($WebResponse_109c058b51e.java)
at org.apache.tapestry.engine.RequestCycle.encodeURL(RequestCycle.java:207)
at $IRequestCycle_109c058b63f.encodeURL($IRequestCycle_109c058b63f.java)
at $IRequestCycle_109c058b53a.encodeURL($IRequestCycle_109c058b53a.java)
at org.apache.tapestry.portlet.PortletLink.getURL(PortletLink.java:68)
at org.apache.tapestry.portlet.PortletLink.getURL(PortletLink.java:126)
at org.apache.tapestry.form.FormSupportImpl.render(FormSupportImpl.java:490)
at org.apache.tapestry.form.Form.renderComponent(Form.java:250)
at org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:617)
at org.apache.tapestry.BaseComponent.renderComponent(BaseComponent.java:92)
at org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:617)
at org.apache.tapestry.AbstractPage.renderPage(AbstractPage.java:275)
at org.apache.tapestry.engine.RequestCycle.renderPage(RequestCycle.java:366)
... 36 moreAny of you got any clue whether this is an issue of Tapestry, or of Oracle Portal. I'm guessing it is Oracle Portal messing things up, as it is Oracle which gets mentioned in the stacktrace as cause.
Thanks.My mistake! The error was a result of a badly formatted portal.xml
-
Hi Gurus,
I m new to the group and SAP BW as well,so i need ur valuable inputs for a Performance related Project.
I m going to start a new project in a wks time so and i m working as a Performance Tuning Consultant on that(Load & Query Performance),but i don't have any idea about this,so i need ur valuable advice on that,plz.
Can anyone plz suggest me the possible ways of suggestions so that i can tell the client as a gud consultant to start with but these days i m going though BW Performance & Authorization(BW360) which is really helpful for me but apart from that i need ur valuable inputs as well.
Thanks in Advance.
regards
Amithi Amit,
check this.
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/afbad390-0201-0010-daa4-9ef0168d41b6
also
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/media/uuid/10b589ad-0701-0010-0299-e5c282b7aaad
regards. -
Hi,
Millions of records are there in this order table and it takes hours to run the below query
update orders
set s_last_name = decode(s_last_name, null, null, (select last_name from cust where cust_id = orders.cust_id)),
credit_card = null;
Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
UPDATE STATEMENT | | 35M| 1388M| 319K (3)| 01:03:55 |
UPDATE | ORDERS | | | | |
PARTITION RANGE ALL | | 35M| 1388M| 319K (3)| 01:03:55 |
TABLE ACCESS FULL | ORDERS | 35M| 1388M| 319K (3)| 01:03:55 |
TABLE ACCESS BY GLOBAL INDEX ROWID | CUST | 1 | 14 | 3 (0) | 00:00:01 |
INDEX RANGE SCAN | CUST_PK| 1 | | 2 (0) | 00:00:01 |
is it possible to write in a different way to improve the performance.. thanks. BcjYou're running an update with an uncorrelated subquery. These can be horrifically slow. You generally have 2 options:
1. Correlated subquery
2. Do the update inside a loop. #1 if possible will probably be faster
1. Correlated subquery looks something like
update table A
setl (column1, column2) = (select column1, column2
from table2
where table2.key = A.key
)which might be faster, if the lookup table is properly indexed on the correlated column
2. Update in loop looks something like
for record in (key, select column1, column2 from table)loop
update table2
set column1 = record.column1, column2 = record.column2
where table2.key = record.key
end loop;which may be faster than the original update (or may not). This method has the advantage of allowing periodic commits; people who say you should never do periodic commits have never blown out rollback segments. If you must use the loop method commit at least 4k rows (more rows per commit is better). -
I have some music videos on my i-pad. when I play one, the music plays but the video does not. I go under "music video" play list select and play, i get music but no video. Can someone be so kind as to help me. this problem just started today.
Thanks Johnathan for trying to assist. I purchased these music videos from i-tunes, in the past I just had to go into "Music" on the I-pad and select "music videos" then the one I wanted to play and it would just start playing with video. I don't see any "VIDEO" app. These music videos was downloaded from i-tunes and shold play through the i-pad music app. Any further suggestion?
-
I have some I-deas for I-tunes, I'd like to see on next itunes versions
It may sound silly but I would like a counter that adds up the play count.
We all know that the bottom of i-tunes will tell you how long your total music is, and it tells you this on each playlist - I want something similar but, to know say, how many times I have played ALL songs by U2, for example, or indeed in each playlist.
It is good knowing how many times you have played each song, but I want this carried over to each playlist and the total number of 'plays' on the i-pod. As well as being able to do this on each artist, genre, playlist etc.
I have tried to email apple to ask, as surely it is a simple part of programming.
My question is, how do I give them my idea?You can use the following link to send feedback.
http://www.apple.com/feedback/itunesapp.html -
Query optimizaing for performance tune
Hi guys,
The below query is taking a lot of time to execute.The main problem is with table S022.This table is going for full table scan everytime even if we give a lot of selection criteria.So is there any alternate table for S022.In selection screen the mandatory fields are Location,plant and Phase.
SELECT a~aufnr "Order number
e~arbpl "Work center
e~plnum "Plaaned order
b~objnr "Object number
a~werks "plant
c~charg "Batch
d~gamng "qty
d~gmein "UOM
d~plnbez "Material
d~aufpl "routing no
d~aprio "Order priority
d~fevor "Responsible planner group/department
f~aufpl "Routing no
f~aplzl "general counter
f~vornr "Phase
f~arbid "workcenter
f~ltxa1 "text
g~objty "Object type
g~stand " Location
INTO CORRESPONDING FIELDS OF TABLE t_afpo
FROM ( ( ( ( ( s022 AS e
INNER JOIN aufk AS a ON aaufnr = eaufnr )
INNER JOIN jest AS b ON aobjnr = bobjnr )
INNER JOIN afpo AS c ON caufnr = aaufnr
AND awerks = cdwerk )
INNER JOIN afko AS d ON daufnr = caufnr
INNER JOIN afvc AS f ON faufpl = daufpl
AND fvornr = evornr )
INNER JOIN crhd AS g ON garbpl = earbpl
AND gobjid = farbid )
WHERE a~werks IN s_werks
AND d~plnbez IN s_matnr
AND d~fevor IN s_fevor
AND e~arbpl IN s_arbpl
AND e~aufnr IN s_aufnr
AND a~auart IN r_auart
AND e~ssavd IN s_date
AND e~vornr IN s_vornr
AND g~stand IN s_stand
AND a~loekz NE 'X'
AND b~stat = c_i0002
AND b~inact = space.Hi,
i would suggest that dont put too many joins in the select statement..
if possible try to put mulitple select statements using "for all entries".
and also join the table only with key fields so that the data fetching will be more faster..
if you are not able to use the key fields try with index fields provided by SAP..
if that is also not working then create Zindex field for the table which is using more time to fetch the data.
Regards
JK -
Is there any link for Performance Tunning Learning .
sinha
Please go through this link .
it has like a book
step by step
<a href="http://www.thespot4sap.com/Articles/SAPABAPPerformanceTuning_Introduction.asp">http://www.thespot4sap.com/Articles/SAPABAPPerformanceTuning_Introduction.asp</a>
Reward points if it is usefull,...
Girish -
Oracle ILM Assistant 1.4 Installation for Oracle 11g Express Edition
Can we use Oracle ILM Assistant 1.4 with Oracle 11g Express Edition?
I installed ILM Assistant with Oracle 11g Express Edition along with default APEX in my laptop. Oracle SQLPlus connect and Application Express working fine. But facing problem is connecting ILM Assistant.
I used below commands to install ILM Assistant
sqlplus /nolog
Connect SYS as SYSDBA
Password: oracle
@ilma_install oracle ILM_ASSISTANT NONE
granted all access rights to user
@ilma_post_install
I restarted by computer once installation completes.
When I use http://localhost:8080/pls/apex/f?p=737677 address in IE to connect ILM Assistant it ask for XDB server username and password. When I provide default password IE giving 404 Not Found error.
Just wondering if I am missing something or issue is some thing else.Hermann, thanks for your support.
Answer: please use username in Capital Letters
e.g.
SQL> @grant_privs ILM_USER_TEST; -
Abap Logic for performance tuning not working when using Internal tables
Hi,
I wrote this piece of code that is working correctly that is select SUM of cost from DSO where Plant is the same for Sales Items.
LOOP AT RESULT_PACKAGE INTO rp.
SELECT SUM( /N/S_STRDCOST ) FROM /N/ADSP_DPIT00 INTO
rp-/N/S_STRDCOST
WHERE /N42/S_SALESITEM = rp-/N42/S_ITEMID AND /N42/S_PLPLANT EQ
rp-/N42/S_SOURCE.
MODIFY RESULT_PACKAGE FROM rp.
Clear rp.
ENDLOOP.
Now I try to rewrite it for performance tunning using internal table but I am getting 0 values. can't figure out whats the problem and been struggling fixing it.
TYPES : begin of ty_DSO_TABLE,
/N42/S_STRDCOST TYPE /N/ADSP_DSPC00-/N/S_STRDCOST,
/N42/S_ITEMID TYPE /N/ADSP_DSPC00-/N/S_ITEMID,
end of ty_DSO_TABLE.
DATA: it_DSO_TABLE type hashed table of ty_DSO_TABLE with unique key
/N/S_ITEMID,
wa_DSO_TABLE type ty_DSO_TABLE.
Field-symbols: <rp> TYPE tys_TG_1.
LOOP AT RESULT_PACKAGE assigning <rp>.
clear wa_DSO_TABLE.
Read table IT_DSO_TABLE into wa_DSO_TABLE with table key /N/S_ITEMID
= <rp>-/N/S_ITEMID.
if sy-subrc ne 0.
select SUM( /N/S_STRDCOST ) into CORRESPONDING
FIELDS OF wa_DSO_TABLE from
/N/ADSP_DPIT00 WHERE /N/S_SALESITEM = <rp>-/N/S_ITEMID AND
/N/S_PLPLANT EQ <rp>-/N/S_SOURCE.
if sy-subrc eq 0.
<rp>-/N/S_STRDCOST = wa_DSO_TABLE-/N/S_STRDCOST.
endif.
endif.
ENDLOOP.
Any idea whats wrong with the code
thanksHi Vaidya,
According to the code which you have written, there is no value in table IT_DSO_TABLE when you are trying to read the values.And after the read statement you have given a condition for sy-subrc. Hence the select statement is actually not even getting executed. *Also you have not assigned the final value back to the ResultPackage.*_
So Kindly correct your code as follows:
Data: wa_dso type ty_DSO_TABLE.
LOOP AT RESULT_PACKAGE assigning <rp>.
clear wa_DSO_TABLE.
select SUM( /N/S_STRDCOST ) into CORRESPONDING
FIELDS OF wa_DSO_TABLE from
/N/ADSP_DPIT00 WHERE /N/S_SALESITEM = <rp>-/N/S_ITEMID AND
/N/S_PLPLANT EQ <rp>-/N/S_SOURCE.
if sy-subrc eq 0.
<rp>-/N/S_STRDCOST = wa_DSO_TABLE-/N/S_STRDCOST.
MODIFY RESULT_PACKAGE FROM <rp>.
endif.
ENDLOOP.
Hope this helps you.
Regards,
Satyam -
Dear Experts,
I am executing a query which is build on a Multiprovider. The execution time is approx. 12 mins, again if I enable a dimension to analyze it takes another 15 mins.
The technical details of the query are:
1) The multiprovider fetches data from three different Cubes.
2) It contains three diff characteristics out of which one is having a 10 level hierarchy and one is having a 2 level hierarchy. Both the hierarchies are externally maintained.
3) It contains KPIs which calculate the sales on diff time lines such as CM MTD, LM MTD, CY YTD, LY YTD with the help of a customer exit.
4) It converts the quatities in alt unit of measures through an exit.
Kindly suggest for performance tunning. How shall i achieve min query execution time??
-KushalHI Kushal,
effective query on MP can be found
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b03b7f4c-c270-2910-a8b8-91e0f6d77096
for nw2004s
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a9ab011a-0e01-0010-02a1-d496b94c9c0f
modeling on multiprovider
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/2f5aa43f-0c01-0010-a990-9641d3d4eef7
docs on performance available in
FAQ - The Future of SAP NetWeaver Business Intelligence in the Light of the NetWeaver BI&Business Objects Roadmap
https://service.sap.com/bi
-> performance
Also,
check the parallel processing setting, your query is non cumulative ...
629541 Multiprovider: Parallel Processing
911939 Optimization hint for logical MultiProvider partitioning
907881 MultiProvider with (too) many part providers
Performance of non-cumulative queries in MultiProviders
903559 MultiProvider optimization is only partially active
942554 Perf when working with BI inp help with multiprov on Oracle
607164 MultiProvider: Sequential processing is faster than parallel
913975 Performance problems for MultiProviders with many partprov.
hope this helps
Best Regards,
VVenkat..
Maybe you are looking for
-
Unable to burn a playlist to CD: Error 4310!
I have Windows 8.1 running on a new Dell Inspiron 14R. After purchasing the computer, I downloaded and installed iTunes version 11.3.1.2. I was able to import my music and playlists into iTunes successfully. However, I am unable to burn playlists to
-
How can I tell if my Mac Mini has what it takes to support Windows XP OS?
I need some help understanding how the whole Windows OS thing works with my Mac mini. I'm totally clueless about it. The first thing I would like to know is if my Mac has enough memory & power to accommodate the additional Windows OS without compromi
-
Hard drive crash, reinstall Photoshop CS2
I recently had a serious event with my MacBook Pro's hard drive. The Geniuses got it going again, but I'm now having issues with Photoshop (CS2). I need to reinstall the software to fix it, but I've used up my two "licenses" for the software. I can't
-
Java.lang.NullPointerException on 9.0.4 standalone
We are running business and ejb components on 9.0.4 standalone version. We have java client application which the user downloads through webstart. The client application communicates with the server ejb components over RMI. After the deploy, the appl
-
InfoPath Forms Services and c2wts
Hi Does/Can InfoPath Form Services use c2wts or not? I seem to find conflicting information. Setup: Single server with SharePoint 2013 and SQL Server 2012. InfoPath form which calls a custom web service that is also on the same machine. The web servi