Regarding Performance issues
Can anybody share pure BI Performance document of DB02, St02,RSRST analysis does purpose.
Can anyone share it., Thanks in advance.
HI,
check below links
http://www.sap-press.de/download/dateien/1049/sappress_bw_performance_optimization_guide_080.pdf
http://wiki.sdn.sap.com/wiki/display/BI/Aggregates--SAPBWQueryPerformance
http://sap.seo-gym.com/performance%20tuning%20for%20queries.pdf
Click on search button in SDN and Google you can find lots of docs
Regards
KP
Similar Messages
-
Regarding Performance Issue in MI Application
Hii All,
We have made a SmartSync MI Application.Everything thing is working fine.But the scenario is this that when we try to navigate through the application from one page to another ,for example if i click on one link to get details corresponding to that link(i.e) we are retreiving the data from the local database, but this is taking a lot of time and according to our buisness need we have to reduce this time to fetch the data.
Can anyone help me regarding this issue what can be done either in coding part, what parameters & standards to follow to improve the performance.
Thanks,
Devendra Phatehello deven,
if you are only focusing on your application's performance
on the aspect of usability i.e. less waiting time, fast
response UI, i would personally suggest you to use AJAX.
put some processing part on the browser side and making
data retrieval from MI asynchronous... this way, your user
don't have to wait for all data to be presented, but rather
could work on the data presented in pieces (i.e. asynchronously).
anyway try googling for AJAX...
regards
jo -
Regarding performance issue in time dependent hierarchie.
hai
we are loading time dependent hierarchies from flatfile to bw,it is weekely load,we have nearly one million records loaded,we got an issues regarding change of these hierarchies timely.when ever there occurs a change in hierarchy a new row is added to the table,it is degrading the performance,can any one of you please suggest how to over come performance related issues regarding time dependent hierarchies.
Regards
Srinivas.Ghello deven,
if you are only focusing on your application's performance
on the aspect of usability i.e. less waiting time, fast
response UI, i would personally suggest you to use AJAX.
put some processing part on the browser side and making
data retrieval from MI asynchronous... this way, your user
don't have to wait for all data to be presented, but rather
could work on the data presented in pieces (i.e. asynchronously).
anyway try googling for AJAX...
regards
jo -
Hi Friends,
i have a FI report, Main Cash Vocher Printing, the report is very slow so to check its performance i have done the SQL Trace in ST05.
in SQL trace i have found all the DB tables used and time taken to execute the select statement.... in that list i also found and Cluster Table RFBLG , but i did not used these cluster table in the program.
and i also found more than 500 entries of Obj.NameRFBLG in that ...
Though its duration is small , ,, can we control that so that my report performance van be increased
its Urgent...
Useful reply will be awarded maximum
Regards
Kumat MHi Kumat,
RFBLG is the Cluster table of the logical table BSEG. That means the table BSEG stores its rows in the database table RFBLG. If the access to RFBLG is fast enough, you could ignore those entries and concentrate on red lines in the trace.
Regards
Ralph Ganszky -
Regarding performance issue in SELECT - need suggestions
Moderator message - use a more informative subject in future - having two or more posts with the same subject isn't helpful
Hi All could you plese send me the alternative code for this select quesy:
form read_data_from_GIPD.
select * from zbacks_gipd
where failf = '2'
and recno in recno.
clear tab.
clear result_total. "reset the record counter
tab-werks = zbacks_gipd-WERKS. "plant
tab-aufnr = zbacks_gipd-AUFNR. "production order no.
tab-matnr = zbacks_gipd-MATNR. "material
tab-erdat = zbacks_gipd-BUDAT. "transaction date
tab-recno = zbacks_gipd-recno.
TAB-MENGE = zbacks_gipd-menge. "qty
TAB-USAFL = zbacks_gipd-usafl. "usage/consumption ind.
* TAB-EXPCD "Expenses code
TAB-SAKNR = zbacks_gipd-saknr. "G/L account number
TAB-IDNUM = zbacks_gipd-idnum. "BACKS identification no.
TAB-KUNNR = zbacks_gipd-kunnr. "Customer Number
TAB-USACD = zbacks_gipd-usacd. "usage code
TAB-ORDCD = zbacks_gipd-ordcd. "order code
TAB-LOSTY = zbacks_gipd-losty. "loss type
TAB-COTAX = zbacks_gipd-cotax. "consumption tax
TAB-MWSKZ = zbacks_gipd-mwskz. "tax code
tab-runum = zbacks_gipd-runum. "running number
tab-failf = zbacks_gipd-failf. "failure flag
tab-msgnr = zbacks_gipd-failf. "failure flag
tab-matdoc = zbacks_gipd-docm1. "material doc
* BEGIN OF SR#20293 WITH DEVK955638
* tab-msgtx = 'Repost 2nd step'.
tab-msgtx = 'Repost 2nd step'(057).
* END OF SR#20293 WITH DEVK955638
* tab-erdat_raw = tab-erdat. "keep the MM/DD/YYYY format
* CONCATENATE TAB-ERDAT+6(4) TAB-ERDAT+0(2) TAB-ERDAT+3(2)
* INTO TAB-ERDAT.
concatenate tab-erdat+4(2) '/'
tab-erdat+6(2) '/'
tab-erdat+0(4)
into tab-erdat_raw.
*Process only a particular set of usage indicator first
if tab-usafl = p_usafl.
APPEND TAB.
result_total = result_total + 1. "Increase the record counter
endif.
endselect.
* BEGIN OF SR#20293 WITH DEVK955638
* write: / 'Re-processing records for usage indicator', p_usafl.
write: / 'Re-processing records for usage indicator'(056), p_usafl.
* END OF SR#20293 WITH DEVK955638
endform.
Note : how can i avoid the select endselect statement , here he move data from database table to internal table .
Edited by: Julius Bussche on Jan 19, 2009 1:52 PM
Please use code tags
Edited by: Matt on Jan 19, 2009 4:46 PMHi,
Declare an Internal table with zbacks_gipd type,
Move the records into that table based on conditions,
Then loop that internal table, and fill tab internal table.
form read_data_from_GIPD.
Types : begin of ty_zbacks_gipd.
include structure zbacks_gipd.
Types : end of ty_zbacks_gipd.
Data : it_zbacks_gipd type table of ty_zbacks_gipd,
wa_zbacks_gipd type ty_zbacks_gipd.
select * from zbacks_gipd into table it_zbacks_gipd
where failf = '2'
and recno in recno.
loop at it_zbacks_gipd into wa_zbacks_gipd.
clear tab.
clear result_total. "reset the record counter
tab-werks = wa_zbacks_gipd-WERKS. "plant
tab-aufnr = wa_zbacks_gipd-AUFNR. "production order no.
tab-matnr = wa_zbacks_gipd-MATNR. "material
tab-erdat = wa_zbacks_gipd-BUDAT. "transaction date
tab-recno = wa_zbacks_gipd-recno.
TAB-MENGE = wa_zbacks_gipd-menge. "qty
TAB-USAFL = wa_zbacks_gipd-usafl. "usage/consumption ind.
* TAB-EXPCD "Expenses code
TAB-SAKNR = wa_zbacks_gipd-saknr. "G/L account number
TAB-IDNUM = wa_zbacks_gipd-idnum. "BACKS identification no.
TAB-KUNNR = wa_zbacks_gipd-kunnr. "Customer Number
TAB-USACD = wa_zbacks_gipd-usacd. "usage code
TAB-ORDCD = wa_zbacks_gipd-ordcd. "order code
TAB-LOSTY = wa_zbacks_gipd-losty. "loss type
TAB-COTAX = wa_zbacks_gipd-cotax. "consumption tax
TAB-MWSKZ = wa_zbacks_gipd-mwskz. "tax code
tab-runum = wa_zbacks_gipd-runum. "running number
tab-failf = wa_zbacks_gipd-failf. "failure flag
tab-msgnr = wa_zbacks_gipd-failf. "failure flag
tab-matdoc = wa_zbacks_gipd-docm1. "material doc
* BEGIN OF SR#20293 WITH DEVK955638
* tab-msgtx = 'Repost 2nd step'.
tab-msgtx = 'Repost 2nd step'(057).
* END OF SR#20293 WITH DEVK955638
* tab-erdat_raw = tab-erdat. "keep the MM/DD/YYYY format
* CONCATENATE TAB-ERDAT+6(4) TAB-ERDAT+0(2) TAB-ERDAT+3(2)
* INTO TAB-ERDAT.
concatenate tab-erdat+4(2) '/'
tab-erdat+6(2) '/'
tab-erdat+0(4)
into tab-erdat_raw.
*Process only a particular set of usage indicator first
if tab-usafl = p_usafl.
APPEND TAB.
result_total = result_total + 1. "Increase the record counter
endif.
endloop.
endform.
Regards
Bala Krishna
Edited by: Bala Krishna on Jan 19, 2009 6:48 PM -
Regarding performance optimization and tuning...
hi all,
<b>please provide me the performance tuning scenarios and parameters of an R/3 system with Oracle..</b>
i heartly welcome all docs and pdf links or notes related to this issue..
please provide ur suggestions at the earliest...
expecting ur response..
<i>Vineeth</i>Hello,
there are many SAP Notes regarding performance issues. Here are just a couple of them:
618868
805934
793113
805934
Please also have a look at the lists of the relating Notes at the end of each Note.
But still much more effective would be to read the book of
<a href="http://www.sap-press.de/katalog/buecher/titel/gp/titelID-1155?GalileoSession=66220888A2.lRCIISlE">T.Schneider Performance Optimization Guide</a>.
It's the best performance tuning guide. The course ADM315 (or BC315?) ist also very helpful.
Regards,
Natalia -
BPC 10.0 Input Schedule refresh : investigating performance issues on frontend side
Hello,
We are running SAP BPC NW 10.0 SPS8.
We recieve a lot of complaints regarding performance issues.
More specifically BPC Input Schedule refresh takes ages (11 minutes actually)
I am a SAP Basis Administartor with some solid BW experience, but very linited BPC knowledge.
So raf we have tried the following :
* BPC Full and light ptmimize of the BPC Cubes.
* Updating Oracle Statistics
* Activating ABAP/SQL traces*
* Checking USJTAT Logs
Then it rutned out that the perfromance problems werre not caused by the backend SAP BW server (only 9 seconds of bakend processing are displayed in UJSTAT).
The overwhelming majority of the processing is spent on the frontend side : on the computer of the user.
We really would like to know what is happening on BPC Frontend side, but are really lacking any investigative method .....
other that checking memory/CPU usage o nthe frontend computer.
From your experience, is there any tool/method to allow to conduct some investigation on what is going on the frontend side, when a BPC Input Schedule is refreshed ?
Thank you for your attention.Hello Vadim,
We still need to get confirmation from the external consultants who developed the BPC solution, but as far as I can understand it :
We do not use use member formulas
We are indeed talking about EPM (without EPMRetrieveData functions)
The perfromance problems occur in DEV and QAS , after a restore of the BPC environment (backup from PRD)
We already had the problem in the past, but we never knew precisely how to solve it, it is as if there was some missing links between the restored BPC environment from PRD and the DEV/QAS system
One additional information, we checked the EPM CLient Log , and here are the errors displayed while refreshing the input schedule :
The thing is that I have no idea what it means ...
?FILE_TYPE:DAAA96DE-B0FB-4c6e-AF7B-A445F5BF9BE2
RECORD_SEPARATOR:35
COLUMN_SEPARATOR:124
COLUMNS:Time|Severity|Category|Method|User|DSRRootContextID|DSRTransactionID|DSRConnectionID|DSRCounter|Thread|Text
SEVERITY_MAP:DEBUG|Debug|INFO|Information|VERBOSE|Verbose|WARNING|Warning|ERROR|Error|FATAL|Fatal
HEADER_END
2014-04-18 08:41:17,446|ERROR|ReportManagement|FPMXLClient.Office.EPMExcelReportManagerRepository.GetReportManager|BPCUSER|||||1|Unable to get the Object property of the OLEObject class#
2014-04-18 08:41:18,613|ERROR|ReportManagement|FPMXLClient.Office.EPMExcelReportManagerRepository.GetReportManager|BPCUSER|||||1|Unable to get the Object property of the OLEObject class#
2014-04-18 08:41:18,630|ERROR|ReportManagement|FPMXLClient.Office.EPMExcelReportManagerRepository.GetReportManager|BPCUSER|||||1|Unable to get the Object property of the OLEObject class#
2014-04-18 08:41:18,648|ERROR|ReportManagement|FPMXLClient.Office.EPMExcelReportManagerRepository.GetReportManager|BPCUSER|||||1|Unable to get the Object property of the OLEObject class#
2014-04-18 08:41:18,731|ERROR|ReportManagement|FPMXLClient.Office.EPMExcelReportManagerRepository.GetReportManager|BPCUSER|||||1|Unable to get the Object property of the OLEObject class#
2014-04-18 08:41:37,171|ERROR|ReportManagement|FPMXLClient.ReportManagement.DynamicReport.Load|BPCUSER|||||1|bytes = 1#
2014-04-18 08:41:39,348|ERROR|ReportManagement|FPMXLClient.ReportManagement.DynamicReport.Load|BPCUSER|||||1|bytes = 0#
2014-04-18 08:41:39,474|ERROR|ReportManagement|FPMXLClient.ReportManagement.DynamicReport.Load|BPCUSER|||||1|bytes = 0#
2014-04-18 08:41:39,536|ERROR|ReportManagement|FPMXLClient.ReportManagement.DynamicReport.Load|BPCUSER|||||1|bytes = 0#
2014-04-18 08:41:39,597|ERROR|ReportManagement|FPMXLClient.ReportManagement.DynamicReport.Load|BPCUSER|||||1|bytes = 0#
2014-04-18 09:00:22,088|ERROR|Dataservice|FPMXLClient.BPCProxy.MetaData_Data.DataServiceHelper.ExecuteReportAsStream|BPCUSER|||||ServerCallThread_666f378d-d824-4a8a-bf38-0da8493e2382|An error has occured on the server#
2014-04-18 09:00:22,252|ERROR|BPC10Connection|FPMXLClient.Connection.RESTConnection.ExecuteReport|BPCUSER|||||ServerCallThread_666f378d-d824-4a8a-bf38-0da8493e2382|An error has occured on the server#
2014-04-18 09:00:22,268|ERROR|OfficeWrappers|FPMXLClient.Office.EPMReportManager.ExecuteReport|BPCUSER|||||1|An error has occured on the server#
2014-04-18 09:00:22,317|ERROR|OfficeWrappers|FPMXLClient.Office.EPMExcelReportManager.RefreshReports|BPCUSER|||||1|An error has occured on the server#
2014-04-18 09:00:22,447|ERROR|AnalyzerOne|FPMXLClient.AddIn.RefreshSheetWithScan|BPCUSER|||||1|Execution of Report Default Report failed : #
2014-04-18 09:00:22,537|ERROR|Automation|FPMXLClient.EPMAddInAutomation.RefreshActiveSheet|BPCUSER|||||1|Execution of Report Default Report failed : # -
Performance issue session or bean?
hi,
i have a doubt regarding performance issue.
actually in my application, five jsp' s need to communicate each other. They share around 15 String Objects.
1. So right now i am using Session object to store
these 15 String objects.
2. Also my application can declare a class to
store all these 15 String objects as attributes and
then use <jsp:usebean> tag for communication
with session scope.
So now we have two methods for sharing information
in jsp application as stated above.
Can anyone help me which is the best method to follow as given above and why. Which does increase or decrease the web server load.
Thanks in advance.
Have a nice day.
Bye
SureshI'd go for wrapping up the data in a single object...not for any performance issues, just because it's far tidier.
As for performance, I doubt there is much difference although by wrapping up the data in one object you only have to call the session object once to get a handle on all 15 strings. -
BW BCS cube(0bcs_vc10 ) Report huge performance issue
Hi Masters,
I am working out for a solution for BW report developed in 0bcs_vc10 virtual cube.
Some of the querys is taking more 15 to 20 minutes to execute the report.
This is huge performance issue. We are using BW 3.5, and report devloped in bex and published thru portal. Any one faced similar problem please advise how you tackle this issue. Please give the detail analysis approach how you resolved this issue.
Current service pack we are using is
SAP_BW 350 0016 SAPKW35016
FINBASIS 300 0012 SAPK-30012INFINBASIS
BI_CONT 353 0008 SAPKIBIFP8
SEM-BW 400 0012 SAPKGS4012
Best of Luck
Chris
BW BCS cube(0bcs_vc10 ) Report huge performance issueRavi,
I already did that, it is not helping me much for the performance. Reports are taking 15 t0 20 minutes. I wanted any body in this forum have the same issue how
they resolved it.
Regards,
Chris -
RE: Case 59063: performance issues w/ C TLIB and Forte3M
Hi James,
Could you give me a call, I am at my desk.
I had meetings all day and couldn't respond to your calls earlier.
-----Original Message-----
From: James Min [mailto:jminbrio.forte.com]
Sent: Thursday, March 30, 2000 2:50 PM
To: Sharma, Sandeep; Pyatetskiy, Alexander
Cc: sophiaforte.com; kenlforte.com; Tenerelli, Mike
Subject: Re: Case 59063: performance issues w/ C TLIB and Forte 3M
Hello,
I just want to reiterate that we are very committed to working on
this issue, and that our goal is to find out the root of the problem. But
first I'd like to narrow down the avenues by process of elimination.
Open Cursor is something that is commonly used in today's RDBMS. I
know that you must test your query in ISQL using some kind of execute
immediate, but Sybase should be able to handle an open cursor. I was
wondering if your Sybase expert commented on the fact that the server is
not responding to commonly used command like 'open cursor'. According to
our developer, we are merely following the API from Sybase, and open cursor
is not something that particularly slows down a query for several minutes
(except maybe the very first time). The logs show that Forte is waiting for
a status from the DB server. Actually, using prepared statements and open
cursor ends up being more efficient in the long run.
Some questions:
1) Have you tried to do a prepared statement with open cursor in your ISQL
session? If so, did it have the same slowness?
2) How big is the table you are querying? How many rows are there? How many
are returned?
3) When there is a hang in Forte, is there disk-spinning or CPU usage in
the database server side? On the Forte side? Absolutely no activity at all?
We actually have a Sybase set-up here, and if you wish, we could test out
your database and Forte PEX here. Since your queries seems to be running
off of only one table, this might be the best option, as we could look at
everything here, in house. To do this:
a) BCP out the data into a flat file. (character format to make it portable)
b) we need a script to create the table and indexes.
c) the Forte PEX file of the app to test this out.
d) the SQL staement that you issue in ISQL for comparison.
If the situation warrants, we can give a concrete example of
possible errors/bugs to a developer. Dial-in is still an option, but to be
able to look at the TOOL code, database setup, etc. without the limitations
of dial-up may be faster and more efficient. Please let me know if you can
provide this, as well as the answers to the above questions, or if you have
any questions.
Regards,
At 08:05 AM 3/30/00 -0500, Sharma, Sandeep wrote:
James, Ken:
FYI, see attached response from our Sybase expert, Dani Sasmita. She has
already tried what you suggested and results are enclosed.
++
Sandeep
-----Original Message-----
From: SASMITA, DANIAR
Sent: Wednesday, March 29, 2000 6:43 PM
To: Pyatetskiy, Alexander
Cc: Sharma, Sandeep; Tenerelli, Mike
Subject: Re: FW: Case 59063: Select using LIKE has performance
issues
w/ CTLIB and Forte 3M
We did that trick already.
When it is hanging, I can see what is doing.
It is doing OPEN CURSOR. But not clear the exact statement of the cursor
it is trying to open.
When we run the query directly to Sybase, not using Forte, it is clearly
not opening any cursor.
And running it directly to Sybase many times, the response is always
consistently fast.
It is just when the query runs from Forte to Sybase, it opens a cursor.
But again, in the Forte code, Alex is not using any cursor.
In trying to capture the query,we even tried to audit any statementcoming
to Sybase. Same thing, just open cursor. No cursor declaration anywhere.==============================================
James Min
Technical Support Engineer - Forte Tools
Sun Microsystems, Inc.
1800 Harrison St., 17th Fl.
Oakland, CA 94612
james.minsun.com
510.869.2056
==============================================
Support Hotline: 510-451-5400
CUSTOMERS open a NEW CASE with Technical Support:
http://www.forte.com/support/case_entry.html
CUSTOMERS view your cases and enter follow-up transactions:
http://www.forte.com/support/view_calls.htmlEarthlink wrote:
Contrary to my understanding, the <font face="courier">with_pipeline</font> procedure runs 6 time slower than the legacy <font face="courier">no_pipeline</font> procedure. Am I missing something? Well, we're missing a lot here.
Like:
- a database version
- how did you test
- what data do you have, how is it distributed, indexed
and so on.
If you want to find out what's going on then use a TRACE with wait events.
All nessecary steps are explained in these threads:
HOW TO: Post a SQL statement tuning request - template posting
http://oracle-randolf.blogspot.com/2009/02/basic-sql-statement-performance.html
Another nice one is RUNSTATS:
http://asktom.oracle.com/pls/asktom/ASKTOM.download_file?p_file=6551378329289980701 -
Performance issues with class loader on Windows server
We are observing some performance issues in our application. We are Using weblogic 11g with Java6 on a windows 2003 server
The thread dumps indicate many threads are waiting in queue for the native file methods:
"[ACTIVE] ExecuteThread: '106' for queue: 'weblogic.kernel.Default (self-tuning)'" RUNNABLE
java.io.WinNTFileSystem.getBooleanAttributes(Native Method)
java.io.File.exists(Unknown Source)
weblogic.utils.classloaders.ClasspathClassFinder.getFileSource(ClasspathClassFinder.java:398)
weblogic.utils.classloaders.ClasspathClassFinder.getSourcesInternal(ClasspathClassFinder.java:347)
weblogic.utils.classloaders.ClasspathClassFinder.getSource(ClasspathClassFinder.java:316)
weblogic.application.io.ManifestFinder.getSource(ManifestFinder.java:75)
weblogic.utils.classloaders.MultiClassFinder.getSource(MultiClassFinder.java:67)
weblogic.application.utils.CompositeWebAppFinder.getSource(CompositeWebAppFinder.java:71)
weblogic.utils.classloaders.MultiClassFinder.getSource(MultiClassFinder.java:67)
weblogic.utils.classloaders.MultiClassFinder.getSource(MultiClassFinder.java:67)
weblogic.utils.classloaders.CodeGenClassFinder.getSource(CodeGenClassFinder.java:33)
weblogic.utils.classloaders.GenericClassLoader.findResource(GenericClassLoader.java:210)
weblogic.utils.classloaders.GenericClassLoader.getResourceInternal(GenericClassLoader.java:160)
weblogic.utils.classloaders.GenericClassLoader.getResource(GenericClassLoader.java:182)
java.lang.ClassLoader.getResourceAsStream(Unknown Source)
javax.xml.parsers.SecuritySupport$4.run(Unknown Source)
java.security.AccessController.doPrivileged(Native Method)
javax.xml.parsers.SecuritySupport.getResourceAsStream(Unknown Source)
javax.xml.parsers.FactoryFinder.findJarServiceProvider(Unknown Source)
javax.xml.parsers.FactoryFinder.find(Unknown Source)
javax.xml.parsers.DocumentBuilderFactory.newInstance(Unknown Source)
org.ajax4jsf.context.ResponseWriterContentHandler.<init>(ResponseWriterContentHandler.java:48)
org.ajax4jsf.context.ViewResources$HeadResponseWriter.<init>(ViewResources.java:259)
org.ajax4jsf.context.ViewResources.processHeadResources(ViewResources.java:445)
org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:193)
org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:41)
org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:140)
On googling this seems to be an issue with java file handling on windows servers and I couldn't find a solution yet. Any recommendation or pointer is appreciatedHi shubhu,
I just analyzed your partial Thread Dump data, the problem is that the ajax4jsf framework ResponseWriterContentHandler triggers internally a new instance of the DocumentBuilderFactory; every time; triggering heavy IO contention because of Class loader / JAR file search operations.
Too many of these IO operations under heavy load will create excessive contention and severe performance degradation; regardless of the OS you are running your JVM on.
Please review the link below and see if this is related to your problem.. This is a known issue in JBOSS JIRA when using RichFaces / ajaxJSF.
https://issues.jboss.org/browse/JBPAPP-6166
Regards,
P-H
http://javaeesupportpatterns.blogspot.com/ -
Performance issues with dynamic action (PL/SQL)
Hi!
I'm having perfomance issues with a dynamic action that is triggered on a button click.
I have 5 drop down lists to select columns which the users want to filter, 5 drop down lists to select an operation and 5 boxes to input values.
After that, there is a filter button that just submits the page based on the selected filters.
This part works fine, the data is filtered almost instantaneously.
After this, I have 3 column selectors and 3 boxes where users put values they wish to update the filtered rows to,
There is an update button that calls the dynamic action (procedure that is written below).
It should be straight out, the only performance issue could be the decode section, because I need to cover cases when user wants to set a value to null (@) and when he doesn't want update 3 columns, but less (he leaves '').
Hence P99_X_UC1 || ' = decode(' || P99_X_UV1 ||','''','|| P99_X_UC1 ||',''@'',null,'|| P99_X_UV1 ||')
However when I finally click the update button, my browser freezes and nothing happens on the table.
Can anyone help me solve this and improve the speed of the update?
Regards,
Ivan
P.S. The code for the procedure is below:
create or replace
PROCEDURE DWP.PROC_UPD
(P99_X_UC1 in VARCHAR2,
P99_X_UV1 in VARCHAR2,
P99_X_UC2 in VARCHAR2,
P99_X_UV2 in VARCHAR2,
P99_X_UC3 in VARCHAR2,
P99_X_UV3 in VARCHAR2,
P99_X_COL in VARCHAR2,
P99_X_O in VARCHAR2,
P99_X_V in VARCHAR2,
P99_X_COL2 in VARCHAR2,
P99_X_O2 in VARCHAR2,
P99_X_V2 in VARCHAR2,
P99_X_COL3 in VARCHAR2,
P99_X_O3 in VARCHAR2,
P99_X_V3 in VARCHAR2,
P99_X_COL4 in VARCHAR2,
P99_X_O4 in VARCHAR2,
P99_X_V4 in VARCHAR2,
P99_X_COL5 in VARCHAR2,
P99_X_O5 in VARCHAR2,
P99_X_V5 in VARCHAR2,
P99_X_CD in VARCHAR2,
P99_X_VD in VARCHAR2
) IS
l_sql_stmt varchar2(32600);
p_table_name varchar2(30) := 'DWP.IZV_SLOG_DET';
BEGIN
l_sql_stmt := 'update ' || p_table_name || ' set '
|| P99_X_UC1 || ' = decode(' || P99_X_UV1 ||','''','|| P99_X_UC1 ||',''@'',null,'|| P99_X_UV1 ||'),'
|| P99_X_UC2 || ' = decode(' || P99_X_UV2 ||','''','|| P99_X_UC2 ||',''@'',null,'|| P99_X_UV2 ||'),'
|| P99_X_UC3 || ' = decode(' || P99_X_UV3 ||','''','|| P99_X_UC3 ||',''@'',null,'|| P99_X_UV3 ||') where '||
P99_X_COL ||' '|| P99_X_O ||' ' || P99_X_V || ' and ' ||
P99_X_COL2 ||' '|| P99_X_O2 ||' ' || P99_X_V2 || ' and ' ||
P99_X_COL3 ||' '|| P99_X_O3 ||' ' || P99_X_V3 || ' and ' ||
P99_X_COL4 ||' '|| P99_X_O4 ||' ' || P99_X_V4 || ' and ' ||
P99_X_COL5 ||' '|| P99_X_O5 ||' ' || P99_X_V5 || ' and ' ||
P99_X_CD || ' = ' || P99_X_VD ;
--dbms_output.put_line(l_sql_stmt);
EXECUTE IMMEDIATE l_sql_stmt;
END;Hi Ivan,
I do not think that the decode is performance relevant. Maybe the update hangs because some other transaction has uncommitted changes to one of the affected rows or the where clause is not selective enough and needs to update a huge amount of records.
Besides that - and I might be wrong, because I only know some part of your app - the code here looks like you have a huge sql injection vulnerability here. Maybe you should consider re-writing your logic in static sql. If that is not possible, you should make sure that the user input only contains allowed values, e.g. by white-listing P99_X_On (i.e. make sure they only contain known values like '=', '<', ...), and by using dbms_assert.enquote_name/enquote_literal on the other P99_X_nnn parameters.
Regards,
Christian -
Performance Issues with Acrobat Reader 11.0.0.2 when secure mode is enabled
Hello All,
We are experiencing sporadic issues with Acrobat 11.0.0.2 across our domain, users are reporting performance issues when opening PDF documents whether locally or from a network share.
We have found that turning off Secure Mode helps towards reducing this delay and in the cases it doesn't we are repairing the installation and/or reinstalling the application.
Due to the security implications we need to leave this turned on, I am wondering if anyone has encountered this issue and what steps were taken towards resolving it?
I also wonder whether the white list function in the new release 11.0.0.3 would be a solution to this issue?
Kind Regards,
Ryan McCartyNo probelm, so....
We had no problems with Adobe Reader 9 and 10, we encountered the issues when upgrading to 11.0.0.2.
Initially we found that turning off the Protected Mode, helped but did not resolve the issue.
We tried;
1. Turn off protected mode - issue still present
2. Clearing the recent file registry using the below registry path and deleting the keys underneath it.
HKEY_CURRENT_USER\Software\Adobe\Acrobat Reader\11.0\AVGeneral\cRecentFiles (this does not turn recent files off permanently). - works but needs clearing regularly
3. Turning off welcome screen by creating - HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Adobe\Acrobat Reader\11.0\FeatureLockDown\cWelcomeScreen - works to improve app open speed.
4. uninstall/reinstall of 11.0.0.2 - works most likley due to the recent files being cleared.
5. upgrade to 11.0.0.3 - issue still present
Following reboots the issue is still present.
When Adobe Reader is the only application open this issue is still present.
As mentioned I have no systems available which I could test this issue using 11.0.0.1 as we have fixed them, albeit temporarily using the reinstall method.
I am concious that this issue is going to reoccur once that cache (recent files) builds back up because the fix above (#2) is clearing the recent files cache NOT disabling it. -
Performance issues with Bapi BAPI_MATERIAL_AVAILABILITY...
Hello,
I have a Z program to check ATP which is working with Bapi BAPI_MATERIAL_AVAILABILITY....
As I am in the retail system we have performance issues with this bapi due the huge amount of articles in the system we need to calculate the ATP.
any way to improve the performance?
Thanks and best regards
LThe BAPI appears to execute for only one plant/material, etc., at a time, so I would have to concentrate on making data retrieval and post-bapi processing as efficient as possible. In your trace output, how much of your overall time is consumed by the BAPI? How much by the other code? You might find improvements there...
-
Performance issues with SAP BPC 7.0/7.5 (SP06, 07, 08) NW
Hi Experts
There are some performance issues with SAP BPC 7.5/7.0 NW, users are saying they are not getting data or there are some issues while getting data from R/3 system or ECC 6.0. Then what things do I need to consider to check, such as what DataSources or Cubes I need to check? So, how to solve this issue?
What things I need to consider for SAP NW BI 7.0 u2013 SAP BPC 7.5 NW (SP06, 07, 08) Implementation?
Your help is greatly appreciated.
Regards,
QadeerHi,
New SP was released in February, and now most of the new bugs should been caught ,This has a Central Note. For SP06 it's Note 1527325 - Planning and Consolidation 7.5 SP06 NetWeaver Central Note to fix any issues. Most of the improvements in SP06 were related to performance, especially when logging on from the BPC clients.There you should be able to find a big list of fixes/improvements and Notes that describe those. Some of the Notes even have test description how to reproduce that issue in the old version.
hope this will help you
Regards
Rv
Maybe you are looking for
-
The only way to communicate is speaker and text
When i try to use the phone in it's normal form (holding it up to my ear and speaking), no one can hear me on the other end! and its not on mute, i've made sure! should i just take it into the store?
-
Hi, we have an gl account created recently and open item mangement not selected at the time of creation . one line item is posted in that account , but while double clicking on fs10n it is not displaying . system is not accepting to select the open i
-
I installed an app on my iPhone and now all I get on the screen is an image of a USB cable with an arrow pointing to an iTunes logo. I cannot use my phone and if I turn it off, I just get the same image on the screen! I need my icons back!
-
Why is "Reduce File Size" in the "File" menu always disabled?
I have a rather large presentation file, about 100Mbyte, and Keynote has become almost impossible to use, because it has become so slow. Have to wait about 5 seconds for each letter to appear on screen after typing! Almost impossible to use Keynote u
-
What happened to me was that when I got my imac everything was workin perfecty, but two months later I erased the ICAL software by mistake. Now I can't open it because it says that I don't have the software or I don't know what it is talking about. B