Migration to flex 4 - performance issues
Hi ,
I am facing some strange behavior after upgrading my flex project from flex3 sdk to flex4.
First the performance has decreased significaly so i did some research and read this:
http://opensource.adobe.com/wiki/display/flexsdk/Linking+RSLs+by+Default
which says in short the in flex4 all the flex libraries are loaded as rsls to the player which explains the performance decrease i had ( my application uses a lot of memory which is what you have less of when you use rsls, you get better loading time ).
folowing the above article i change my compiling configuration not to load the rsls :
static-link-runtime-shared-libraries = true
this improved my performanc by a lot but still not as good as in flex 3 , when i look at the swf files compiled in flex4 i see that they are 2 times bigger now then in flex3 , none of the code was changed. this is strange to me because in flex3 i also did not use any adobe framework as rsls so i expect the size to be the same .
anyone has any idea why flex4 outputs a larger swf file then flex3 ( when not using rsls )?
Thanks
Flex 4 debug SWFs are larger because they are less optimized so compilation
can be faster. Export Release Builds and compare. You will still see an
increase, but it shouldn't be as significant.
Similar Messages
-
hi
By using an mvc architecture ,is it possible to overcome Flex performance issues...???
Thanks
Saritha SExcuse me ? If you develop a large scale application, you had better use a MVC architectural framework (with or without dependency injection) and additional design patterns like the presentation model. Otherwise, you will end up with code complexity as you try to overcome the inevitable structural problems as the application grows and THIS will end up in performance degradation.
- Run the profiler to identify bottlenecks and memory leaks: number of instances of a given class, execution time of methods, memory usage … E.g item renderers
- How much data is loaded, processed and displayed at any one time can have a big impact on performance. Reduce the amount of data: paging via parameter to the service
- Reduce the layout complexity: remove containers so nestLevel <= 4
- Remove event listeners: addEventListener () calls with corresponding removeEventListener() calls (do not use addEventListener() with weak reference as it decreases performance)
- Deferred instantiation of UIComponents (e.g Viewstack children) aka lazy instantiation
- Garbage collection: check Grant Skinner’s checklist
- Interrupted execution of complex functions (especially when looping on a large data set): the function monitors its execution time and yields (returns) when the current call exceeds a given duration (usually, that of a frame at 24 fps, which is the default Flex framerate). It is called again on the next frame and so on and so forth until processing is complete. You can use callLater() for that.
- Lazy loading of data
- Use more efficient code. Favour re-use of existing code in the Flex framework rather than re-writing what exists. Favour simple solutions over complex ones when possible.
- UID getter/setter in DTOs for improved performance in sorting / filtering of Array Collections
- Too many data bindings decrease performance. Mainly use data binding to bind views to the presentation models. Use the ChangeWatcher class or direct assignment of values when possible.
- Limit the number of calls to setStyle(). Use style declarations in CSS when possible. -
hI,
I need to build UI using ADobe flex that will connect BPM system. I have concurrent 500 users. Is this is feasible to develop application(UI) using Flex for such kind of application.
Thanks,
VikashHello Victor,
We are using Flex at Taleo for an application that can have much more than 1,000 concurrent users. You just need to make sure that your architecture can scale horizontally and vertically. Flex isn't the best here, we also do have performance issues. If speed is your primary target, I suggests you to go pure HTML (5) and Javascript (jQuery, Dojo, etc.)
Good luck.
Nicolas Boulet-Lavoie
Développeur logiciel
Software Developer
T. 418.524.5665 x 1454
F: 418.524.8899
C. [email protected]
Ce courriel et toute pièce jointe peuvent contenir des renseignements confidentiels, particuliers ou protégés pour l'usage exclusif du destinataire du message original. Toute révision, copie ou distribution du présent courriel (ou de toute pièce jointe) par autrui est formellement interdite. Si vous n'êtes pas le destinataire prévu, veuillez retourner immédiatement le courriel à l'expéditeur et effacer définitivement l'original, les copies et les pièces jointes.
This email and any attachments thereto may contain private, confidential, and privileged material for the sole use of the intended recipient named in the original email to which this message was attached. Any review, copying, or distribution of this email (or any attachments thereto) by others is strictly prohibited. If you are not the intended recipient, please return this email to the sender immediately and permanently delete the original and any copies of this email and any attachments thereto. -
Flex Performance Issue 4.5
I'm seeing HTTPService take up to three seconds from send() to result received. The server response is around 200ms. What could be causing this?
That does give more data, although it's not clear to me what I'm seeing:
(my result received) 383ms
DirectHTTP MessageResponder.completeHandler 393ms (method stats show nothing)
AsyncRequest.acknowledge 392ms (method calls DirectHTTPMessageResponder)
Responder.result 390ms (method shows nothing)
HTTPOperation 384ms (method shows nothing)
there are about 1600 dispatch events that fire when the app starts up. The method is EventDispatcher.dispatchEventFunction, 422ms.
The Callees are
DirectHTTP MessageResponder.completeHandler 393ms
[verify] 4ms
TextContainerManager.dispatchEvent 2ms
I assume these cumulative numbers would add up to the 5 seconds I'm seeing on some calls, but it looks more like they add up to around 1.2s.
The DirectHTTP MessageResponder.completeHandler doesn't indicate that my result received is a callee, but I'm going to move that logic out of the result received to isolate the performance data.
I'm assuming the flex contribution is 393 + 390 + 384 since each method is not a callee of the other. This still seems long. If you add in my result of 383, we're still less than two seconds. Still much less than the 5 seconds max I'm seeing.
I would assume the cumulative callees of the dispatchEvent would have more than just those three above. I'm not filtering anything. -
Oracle 11g Migration performance issue
Hello,
There a performance issue with Migration from Oracle 10g(10.2.0.5) to Oracle 11g(11.2.0.2).
Its very simple statement hanging for more than a day and later found that query plan is very very bad. Example of the query is given below:
INSERT INTO TABLE_XYZ
SELECT F1,F2,F3
FROM TABLE_AB, TABLE_BC
WHERE F1=F4;
While looking at cost in Explain plan :
on 10g --> 62567
0n 11g --> 9879652356776
Strange thing is that
Scenario 1: if I issue just query as shown below, will display rows immediately :
SELECT F1,F2,F3
FROM TABLE_AB, TABLE_BC
WHERE F1=F4;
Scenario 2: If I create a table as shown below, will work correctly.
CREATE TABLE TABLE_XYZ AS
SELECT F1,F2,F3
FROM TABLE_AB, TABLE_BC
WHERE F1=F4;
What could be the issue here with INSERT INTO <TAB> SELECT <COL> FROM <TAB1>?Table:
CREATE TABLE AVN_WRK_F_RENEWAL_TRANS_T
"PKSRCSYSTEMID" NUMBER(4,0) NOT NULL ENABLE,
"PKCOMPANYCODE" VARCHAR2(8 CHAR) NOT NULL ENABLE,
"PKBRANCHCODE" VARCHAR2(8 CHAR) NOT NULL ENABLE,
"PKLINEOFBUSINESS" NUMBER(4,0) NOT NULL ENABLE,
"PKPRODUCINGOFFICELIST" VARCHAR2(2 CHAR) NOT NULL ENABLE,
"PKPRODUCINGOFFICE" VARCHAR2(8 CHAR) NOT NULL ENABLE,
"PKEXPIRYYR" NUMBER(4,0) NOT NULL ENABLE,
"PKEXPIRYMTH" NUMBER(2,0) NOT NULL ENABLE,
"CURRENTEXPIRYCOUNT" NUMBER,
"CURRENTRENEWEDCOUNT" NUMBER,
"PREVIOUSEXPIRYCOUNT" NUMBER,
"PREVIOUSRENEWEDCOUNT" NUMBER
SEGMENT CREATION IMMEDIATE PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING STORAGE
INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT
TABLESPACE "XYZ" ;
Explain Plan(With Insert Statement and Query):_
INSERT STATEMENT, GOAL = ALL_ROWS Cost=9110025395866 Cardinality=78120 Bytes=11952360
LOAD TABLE CONVENTIONAL Object owner=ODS Object name=AVN_WRK_F_RENEWAL_TRANS
NESTED LOOPS OUTER Cost=9110025395866 Cardinality=78120 Bytes=11952360
TABLE ACCESS FULL Object owner=ODS Object name=AVN_WRK_F_RENEWAL_TRANS_1ST Cost=115 Cardinality=78120 Bytes=2499840
VIEW PUSHED PREDICATE Object owner=ODS Cost=116615788 Cardinality=1 Bytes=121
SORT GROUP BY Cost=116615788 Cardinality=3594 Bytes=406122
VIEW Object owner=SYS Object name=VW_DAG_1 Cost=116615787 Cardinality=20168 Bytes=2278984
SORT GROUP BY Cost=116615787 Cardinality=20168 Bytes=4073936
NESTED LOOPS OUTER Cost=116614896 Cardinality=20168 Bytes=4073936
VIEW Object owner=SYS Cost=5722 Cardinality=20168 Bytes=2157976
NESTED LOOPS Cost=5722 Cardinality=20168 Bytes=2097472
HASH JOIN Cost=924 Cardinality=1199 Bytes=100716
NESTED LOOPS
NESTED LOOPS Cost=181 Cardinality=1199 Bytes=80333
TABLE ACCESS BY INDEX ROWID Object owner=ODS Object name=INWARDSPOLICYDETAILS Cost=159 Cardinality=1199 Bytes=39567
INDEX RANGE SCAN Object owner=ODS Object name=IX_INWPOLDTLS_SYSCOMPANYBRANCH Cost=7 Cardinality=1199
INDEX UNIQUE SCAN Object owner=ODS Object name=PK_AVN_D_MASTERPOLICYDETAILS Cost=0 Cardinality=1
TABLE ACCESS BY INDEX ROWID Object owner=ODS Object name=AVN_D_MASTERPOLICYDETAILS Cost=1 Cardinality=1 Bytes=34
TABLE ACCESS FULL Object owner=ODS Object name=INWARDSPOLICYLOBMAPPING Cost=741 Cardinality=288498 Bytes=4904466
VIEW PUSHED PREDICATE Object owner=ODS Cost=4 Cardinality=1 Bytes=20
FILTER
SORT AGGREGATE Cardinality=1 Bytes=21
TABLE ACCESS BY GLOBAL INDEX ROWID Object owner=ODS Object name=AVN_F_TRANSACTIONS Cost=4 Cardinality=1 Bytes=21
INDEX RANGE SCAN Object owner=ODS Object name=PK_AVN_F_TRANSACTIONS Cost=3 Cardinality=1
VIEW PUSHED PREDICATE Object owner=ODS Cost=5782 Cardinality=1 Bytes=95
SORT GROUP BY Cost=5782 Cardinality=2485 Bytes=216195
VIEW Object owner=SYS Object name=VW_DAG_0 Cost=5781 Cardinality=2485 Bytes=216195
SORT GROUP BY Cost=5781 Cardinality=2485 Bytes=278320
HASH JOIN Cost=5780 Cardinality=2485 Bytes=278320
VIEW Object owner=SYS Object name=VW_GBC_15 Cost=925 Cardinality=1199 Bytes=73139
SORT GROUP BY Cost=925 Cardinality=1199 Bytes=100716
HASH JOIN Cost=924 Cardinality=1199 Bytes=100716
NESTED LOOPS
NESTED LOOPS Cost=181 Cardinality=1199 Bytes=80333
TABLE ACCESS BY INDEX ROWID Object owner=ODS Object name=INWARDSPOLICYDETAILS Cost=159 Cardinality=1199 Bytes=39567
INDEX RANGE SCAN Object owner=ODS Object name=IX_INWPOLDTLS_SYSCOMPANYBRANCH Cost=7 Cardinality=1199
INDEX UNIQUE SCAN Object owner=ODS Object name=PK_AVN_D_MASTERPOLICYDETAILS Cost=0 Cardinality=1
TABLE ACCESS BY INDEX ROWID Object owner=ODS Object name=AVN_D_MASTERPOLICYDETAILS Cost=1 Cardinality=1 Bytes=34
TABLE ACCESS FULL Object owner=ODS Object name=INWARDSPOLICYLOBMAPPING Cost=741 Cardinality=288498 Bytes=4904466
VIEW Object owner=SYS Object name=VW_GBF_16 Cost=4854 Cardinality=75507 Bytes=3850857
SORT GROUP BY Cost=4854 Cardinality=75507 Bytes=2340717
VIEW Object owner=ODS Cost=4207 Cardinality=75507 Bytes=2340717
SORT GROUP BY Cost=4207 Cardinality=75507 Bytes=1585647
PARTITION HASH ALL Cost=3713 Cardinality=75936 Bytes=1594656
TABLE ACCESS FULL Object owner=ODS Object name=AVN_F_TRANSACTIONS Cost=3713 Cardinality=75936 Bytes=1594656
Explain Plan(Only Query):_
SELECT STATEMENT, GOAL = ALL_ROWS Cost=62783 Cardinality=89964 Bytes=17632944
HASH JOIN OUTER Cost=62783 Cardinality=89964 Bytes=17632944
TABLE ACCESS FULL Object owner=ODS Object name=AVN_WRK_F_RENEWAL_TRANS_1ST Cost=138 Cardinality=89964 Bytes=2878848
VIEW Object owner=ODS Cost=60556 Cardinality=227882 Bytes=37372648
HASH GROUP BY Cost=60556 Cardinality=227882 Bytes=26434312
VIEW Object owner=SYS Object name=VW_DAG_1 Cost=54600 Cardinality=227882 Bytes=26434312
HASH GROUP BY Cost=54600 Cardinality=227882 Bytes=36005356
HASH JOIN OUTER Cost=46664 Cardinality=227882 Bytes=36005356
VIEW Object owner=SYS Cost=18270 Cardinality=227882 Bytes=16635386
HASH JOIN Cost=18270 Cardinality=227882 Bytes=32587126
HASH JOIN Cost=12147 Cardinality=34667 Bytes=2912028
HASH JOIN Cost=10076 Cardinality=34667 Bytes=2322689
TABLE ACCESS FULL Object owner=ODS Object name=AVN_D_MASTERPOLICYDETAILS Cost=137 Cardinality=34667 Bytes=1178678
TABLE ACCESS FULL Object owner=ODS Object name=INWARDSPOLICYDETAILS Cost=9934 Cardinality=820724 Bytes=27083892
TABLE ACCESS FULL Object owner=ODS Object name=INWARDSPOLICYLOBMAPPING Cost=741 Cardinality=866377 Bytes=14728409
VIEW Object owner=ODS Cost=5195 Cardinality=227882 Bytes=13445038
HASH GROUP BY Cost=5195 Cardinality=227882 Bytes=4785522
PARTITION HASH ALL Cost=3717 Cardinality=227882 Bytes=4785522
TABLE ACCESS FULL Object owner=ODS Object name=AVN_F_TRANSACTIONS Cost=3717 Cardinality=227882 Bytes=4785522
VIEW Object owner=ODS Cost=26427 Cardinality=227882 Bytes=19369970
HASH GROUP BY Cost=26427 Cardinality=227882 Bytes=18686324
VIEW Object owner=SYS Object name=VW_DAG_0 Cost=26427 Cardinality=227882 Bytes=18686324
HASH GROUP BY Cost=26427 Cardinality=227882 Bytes=25294902
HASH JOIN Cost=20687 Cardinality=227882 Bytes=25294902
VIEW Object owner=SYS Object name=VW_GBC_15 Cost=12826 Cardinality=34667 Bytes=2080020
HASH GROUP BY Cost=12826 Cardinality=34667 Bytes=2912028
HASH JOIN Cost=12147 Cardinality=34667 Bytes=2912028
HASH JOIN Cost=10076 Cardinality=34667 Bytes=2322689
TABLE ACCESS FULL Object owner=ODS Object name=AVN_D_MASTERPOLICYDETAILS Cost=137 Cardinality=34667 Bytes=1178678
TABLE ACCESS FULL Object owner=ODS Object name=INWARDSPOLICYDETAILS Cost=9934 Cardinality=820724 Bytes=27083892
TABLE ACCESS FULL Object owner=ODS Object name=INWARDSPOLICYLOBMAPPING Cost=741 Cardinality=866377 Bytes=14728409
VIEW Object owner=SYS Object name=VW_GBF_16 Cost=7059 Cardinality=227882 Bytes=11621982
HASH GROUP BY Cost=7059 Cardinality=227882 Bytes=6836460
VIEW Object owner=ODS Cost=5195 Cardinality=227882 Bytes=6836460
HASH GROUP BY Cost=5195 Cardinality=227882 Bytes=4785522
PARTITION HASH ALL Cost=3717 Cardinality=227882 Bytes=4785522
TABLE ACCESS FULL Object owner=ODS Object name=AVN_F_TRANSACTIONS Cost=3717 Cardinality=227882 Bytes=4785522 -
Issues migrating from Flex Builder 3 to Flash Builder 4.5
Migrating from Flex Builder 3 (SDK 3.5) to Flash Builder 4.5 (SDK 4.5). Using Flex 3 compatibility mode. Flash Player 10.2. MX only components set.
Issue 1. A DataGridColumn error per: Description Resource Path Location Type
Declaration of style 'direction' conflicts with previous declaration in C:\Program Files (x86)\Adobe\Adobe Flash Builder 4.5\sdks\4.5.0\frameworks\libs\mx\mx.swc(mx.controls.dataGridClasses:DataGridColumn). SPT_GUI Unknown Flex Problem
Issue 2. Using Cairngorm 2. Have a class 'Bindable] public class GuiModel implements ModelLocator'. Now getInstance() is not defined per: private var model : GuiModel = GuiModel .getInstance(). Does Cairngorm 3 have to be used with Flash Builder 4.5?
What has to be done to resolve these issues?Issue 2: Have you defined the static variable to hold the instance of the model locator? Also, have you defined a static method to return the model locator's instance?
-
Performance issue with view selection after migration from oracle to MaxDb
Hello,
After the migration from oracle to MaxDb we have serious performance issues with a lot of our tableview selections.
Does anybody know about this problem and how to solve it ??
Best regards !!!
Gert-JanHello Gert-Jan,
most probably you need additional indexes to get better performance.
Using the command monitor you can identify the long running SQL statements and check the optimizer access strategy. Then you can decide which indexes might help.
If this is about an SAP system, you can find additional information about performance analysis in SAP notes 725489 and 819641.
SAP Hosting provides the so-called service 'MaxDB Migration Support' to help you in such cases. The service description can be found here:
http://www.saphosting.de/mediacenter/pdfs/solutionbriefs/MaxDB_de.pdf
http://www.saphosting.com/mediacenter/pdfs/solutionbriefs/maxDB-migration-support_en.pdf.
Best regards,
Melanie Handreck -
SQLs erver migration performance issue
We are performing migration from oracle to MSSQL server 2005 (Windows 2003/SAP 4.6D).Our target system configuration is like below:
->OS - Windows 2003 x64
->DB - MSSQL server 2005 SP4
->SAP - 4.6 D kernel
->CPU - 4 processors (2.67ghz each)
->RAM - 16 GB
->source system DB size - around 1 TB and package splitting was implemented.
While importing the export dump that came from source system, we are facing load performance issue's.
1) We have started 10 parallel processes and after import is started, CPU is getting 95% to 99% utilized and when we check SQL server studio-> Activity monitor we found below information:
-There were around 20 processes are in status sleeping
-Only one or two system processes are running with commands - INSERT,SELECT INTO commands ( column)
-At any point of time only two processes are running and CPU utilization is hitting high.
-Import is very slow and its taking 35 hours to complete
We have followed few SAP notes(1054852,1241751 e.tc..) and below are the settings for SQL server:
-Minimum server memory - 5 GB
- Maximum server memory - 5 GB
- index creation memory - 0
- Maximum memory per query - 1024 kb
- Maximum degree of parellelism - 1
- Parallellism locks - 0
- Cost threshold of parellism - 5
- Enabled trace flags - 610,620,1117,1211,3917
- Windows environment variable BCP_BATCH_SIZE = 10000
- SQL log file size - 100 GB
- tempdb size - 20 GB
2) When we tried another test import after tuning parameters (Maximum degree of parellelism to 3) and increasing r3load parallel processes to 20, we found of inserts
are overflowing in process list and blocking other waiting processes and putting them in suspended mode.CPU utilization is at 80%
Are there any SQL server parameters need to be tuned to fix this import load time issue in both scenarios? Are there any best practises for migrating to SQL server?
Thanks..> 1) We have started 10 parallel processes and after import is started, CPU is getting 95% to 99% utilized and when we check SQL server studio-> Activity monitor we found below information:
What processes is using the CPU? The SQL Server itself or others? (see task manager)
> -Minimum server memory - 5 GB
> - Maximum server memory - 5 GB
For the time of the migration itself I'd give the database more memory (10 GB or more) and reconfigure later when the import is done.
What parameters do you use for the R3load? I'd recommend
-loadprocedure fast -merge_bck -c 10000
and also set
BCP_LOB=1 in the environment.
Markus -
Database migrated from Oracle 10g to 11g Discoverer report performance issu
Hi All,
We are now getting issue in Discoverer Report performance as the report is keep on running when database got upgrade from 10g to 11g.
In database 10g the report is working fine but the same report is not working fine in 11g.
The query i have changed as I have passed the date format TO_CHAR("DD-MON-YYYY" and removed the NVL & TRUNC function from the existing query.
The report is now working fine in Database 11g backhand but when I am using the same query in Discoverer it is not working and report is keep on running.
Please advise.
Regards,Pl post exact OS, database and Discoverer versions. After the upgrade, have statistics been updated ? Have you traced the Discoverer query to determine where the performance issue is ?
How To Find Oracle Discoverer Diagnostic and Tracing Guides [ID 290658.1]
How To Enable SQL Tracing For Discoverer Sessions [ID 133055.1]
Discoverer 11g: Performance degradation after Upgrade to Database 11g [ID 1514929.1]
HTH
Srini -
Performance Issues with crystal reports 11 - Critical
Post Author: DJ Gaba
CA Forum: Exporting
I have migrated from crystal reports version 8 to version 11.
I am experiencing some performance issues with reports when displayed in version 11
Reports that was taking 2 seconds in version 8 is now taking 4-5 seconds in versino 11
I am using vb6 to export my report file into pdf
ThanksPost Author: synapsevampire
CA Forum: Exporting
Pleae don't multiple forums on the site with the same question.
I responded to your other post.
-k -
Performance issues with FDK in large XML documents
In my current project with FrameMaker 8 I'm experiencing severe performance issues with some FDK API calls.
The documents are about 3-8 MBytes in size. Fortmatted they cover 150-250 pages.
When importing such an XML document I do some extensive "post-processing" using FDK. This processing happens in Sr_EventHandler() during the SR_EVT_END_READER event. I noticed that some FDK functions calls which modify the document's structure, like F_ApiSetAttribute() or F_ApiNewElementInHierarchy(), take several seconds, for the larger documents even minutes, to complete one single function call. I tried to move some of these calls to earlier events, mostly to SR_EVT_END_ELEM. There the calls work without a delay. Unfortunately I can't rewrite the FDK client to move all the calls that are lagging to earlier events.
Does anybody have a clue why such delays happen, and possibly can make a suggestion, how to solve this issue? Thank you in advance.
PS: I already thought of splitting such a document in smaller pieces by using the FrameMaker book function. But I don't think, the structure of the documents will permit such an automatic split, and it definitely isn't an option to change the document structure (the project is about migrating documents from Interleaf to XML with the constraint of keeping the document layout identical).FP_ApplyFormatRules sounds really good--I'll give it a try on Monday. Wonder how I could miss it, as I already tried FP_Reformatting and FP_Displaying at no avail?! By the way, what is actually meant with FP_Reformatting (when I used it I assumed it would do exactly what FP_ApplyFormatRules sounds to do), or is that one another of Lynne's well-kept secrets?
Thank's for all the helpful suggestions, guys. On Friday I already had my first improvements in a test version of my client: I did some (not all necessary) structural changes using XSLT pre-processing, and processing went down from 8 hours(!) to 1 hour--Yeappie! I was also playing with the idea of writing a wrapper to F_ApiNewElementInHierarchy() which actually pastes an appropriate element created in a small flow on the reference pages at the intended insertion location. But now, with FP_ApplyFormatRules on the horizon, I'm quite confident to get even the complicated stuff under control, which cannot be handled by the XSLT pre-processing, as it is based on the actual formatting of the document at run-time and cannot be anticipated in pre-processing.
--Franz -
Using Reference Cursor Performance Issue in Report
Hi,
Are reference cursor supposed to be faster than a normal query? The reason why I am asking is because I am using a reference cusor query in the data model and it has a performance issue on the report, it's taking quite a while to run than If I just run the same reference cursor query in sql*plus. The difference is significantly big. Any input is very much appreciated!
Thanks,
MarilynFrom the metalink bug 4372868 on 9.0.4.x. It was fixed on 10.1.2.0.2 and does not have a backport for any 9.0.4 version.
Also the 9.0.4 version is already desupported. Please see the note:
Note 307042.1
Topic: Desupport Notices - Oracle Products
Title: Oracle Reports 10g 9.0.4 & 9.0.4.x
Action plan:
If you are still on 9.0.4 and later version of oracle reports and have no plan yet to migrate to 10.1.2.0.2 version use the same query you are using in your reference cursor and use it as a plain SQL query in your reports data model. -
Mappings Creation Performance Issue:
Mappings Creation Performance Issue
I am having a performance problem when linking attributes from Splitter Transformation (has app. 80 input ports and 9 different filter condition for 9 target tables) to other transformations. It takes app. 6 minutes to link one attribute from Splitter Transformation to other transformations; generally it should take less than a second. This is the problem only with Splitter Transformation, other transformations works very well.
Any thoughts on this will be very helpful.
Thanks
Ragu MandalaRagu,
Unfortunately this issue was introduced in 9.0.3.36.3 (lower versions did not have this... 'feature'). The issue has been rolled into the 9.2.0.3 version, but there is no backport for 9.0.3.
Any chance you can migrate to 9.2? or go back to 9.0.3.35?
Mark. -
Sun JVM Performance Issue in Sun Solaris 10 (SPARC)
Hi,
Issue : Performance issue after the migration of a Java application from IBM-AIX 5 to Sun Solaris 10 (SPARC)
I am facing performance issue after the migration of a Java application from IBM-AIX 5.3 to Sun Solaris 10 (SPARC).
Normally the application takes less than 1 hour to complete the process in AIX, but after migration in Solaris the application is taking 4+ hours.
The Java version of IBM AIX is ,
java version "1.5.0"
Java(TM) 2 Runtime Environment, Standard Edition (build pap32dev-20051104)
IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 AIX ppc-32 j9vmap3223-20051103 (JIT enabled)
The Java version of Solaris 10 is,
Java(TM) Platform, Standard Edition for Business (build 1.5.0_17-b04)
Java HotSpot(TM) Server VM (build 1.5.0_17-b04, mixed mode)
Description of Application
The application merges 2 XML files of size 300 MB each using DOM Parser and generates flat file according to certain business logic.No remote files are using for the file generation. There are two folders and around 200 XML file in each folders of similar names. The application loads 2 similar XML file at a time from each folder and Processes. Same way, the application processes all the 200 XML file pairs using loop.
The JVM Parameters are given below.
/usr/java5/bin/java -cp $CLASSPATH -Xms3072m -Xmx3072M com.db.mcc.creditderiv.GCDXMLTransProc
Here the extended swap memory in AIX is 3072 (3GB). After copying the same tode to Solaris, the
application started throwing java.lang.OutofMemoryError. So that we have increased the swap memory up to 12 GB.
Since 32bit Java allows maximum 4 GB extended memory we started using 64 Bit Java in Solaris using -d64 argument.
The Current JVM Parameter in Solaris is given below.
java -d64 -cp $CLASSPATH -Xms8192m -Xmx12288m com.db.mcc.creditderiv.GCDXMLTransProc ( 64 GB Swap Memory is available in the System)
We have tried the following options
1. Extended heap size up to 12 GB using -xms and -xmx parameters and tried multiple -XX options. Earlier the application was working fine in AIX with 3.5 GB extended heap size. ( 64 GB Swap Memory is available in the System)
2. Downloaded and installed the Solaris SPARC Patches from the website,
http://java.sun.com/javase/downloads/index_jdk5.jsp
4. Downloaded and installed XML and XSLT patch from sun website
5. Tried to run the Java in server mode using -server option.A 64 bit VM is not necessarily faster than a 32 bit one. I remember at least on suggestion that it could be slower.
Make sure you use the -server option.
As a guess IBM isn't necessarily a slouch when it comes to Java. It might simply be that their VM was faster. Could have used a different dom library as well.
Could be an environment problem of course.
Profiling the application and the machine as well might provide information. -
APEX 4.1 Applicaton Performance issue!
Problem:
Virtual Circuit wait is running high.
Apex application pages loads much slower comparing to our old environment APEX 3.0 on 10g, apache server.
Issues after installing apex with embedded PL/SQL ... OEM showing Virtual Circuit wait is running high ... APEX application pages loads with significant delays specially when first loaded.
Environment:
New 11g server with New apex 4.0 and updated to 4.1 with embedded pl/sql, windows server 2008 64 bit.
Migrated old application from 3.0 to 4.0 ---- No problems other than performance issue, slow pages load.
The reason why I went with the embeded pl/sql and not the apache because Windows server 2008 R2 and the apache HTTP server (conpanion cd) could not be installed on this version.
We did not have this issue with 10g apex 3.0 running with an apache server?
Where can I find HTTP server for windows server 2008 R2 64 bit?
Is this an embedded PL/SQL issue install on windows server 2008 x64?
Others ...
There is no Companion Disk for the Oracle Database 11g Release 1 (11.1.0.7.0) for Microsoft Windows Server 2008 x64 therefore the Http server is not included in the install or packaged software (companion or examples). The Oracle database 10g had the HTTP server in the companion disks. The 11 g examples download does not include the APACHE HTTP Server !!!!! Did anyone find a solution for this problem, or is the prior version of Oracle database 10 R 2 -HTTP SERVER (Companion Disk) windows server 2008 x64 compatable with 11g Release 1 installed. Can I install the companion disk included in the 10g R2 (Http server) with Oracle 11 g Release 1. Again for windows server 2008 x64.
Thanks,
MhndDimitri,
Thanks for taking the time to answer my question. So you are saying the listener which is my third choice should eliminate this issue. I know oracle have three choices for the web server but I'm only familiar with the two mentioned above, the APEX installation document provide information about the listener but haven't gone that path yet. The apache 2 only comes packaged for 32 bit systems (last I checked 2.16), and they don't have the 64bit version. I'm going to try the listener approach and see how it goes. Hopefully this will solve the issue with page loading slow. Should I uninstall the embedded PL/SQL or just continue with the listener install?
Mobra,
Thanks for your suggestions but I'm going to stick with the Oracle suggested methods for now. Hopefully some will work out for our environment.
Thanks,
Muhannad. -
Performance Issues during Upgrade of EBS from 11.5.10.2 to 12.1.1
Hi,
We're upgrading our EBS , from Rel 11.5.10.2 to 12.1.1.
We're stuck , while running script ar120bnk.sql (ran more than 20 Hours) :
Regarding the tables involved in this Process :
select owner , table_name,num_rows,last_analyzed,sample_size
from dba_tables
where table_name in
'RA_CUSTOMER_TRX_ALL',
'RA_CUST_TRX_LINE_GL_DIST_ALL',
'XLA_UPGRADE_DATES',
'AR_SYSTEM_PARAMETERS_ALL',
'RA_CUST_TRX_TYPES_ALL',
'RA_CUST_TRX_LINE_GL_DIST_ALL',
'XLA_TRANSACTION_ENTITIES_UPG')
AR RA_CUSTOMER_TRX_ALL 55,540,740 04/02/2012 12:41:56 5554074
AR RA_CUST_TRX_LINE_GL_DIST_ALL 380,513,830 04/02/2012 13:54:12 38051383
AR RA_CUST_TRX_TYPES_ALL 90 04/02/2012 14:04:54 90
AR AR_SYSTEM_PARAMETERS_ALL 6 04/02/2012 12:19:49 6
XLA XLA_UPGRADE_DATES 4 05/02/2012 17:12:57 4
As you can see: RA_CUST_TRX_LINE_GL_DIST_ALL is more tan 380 million rows !
and RA_CUSTOMER_TRX_ALL is more than 55 million rows.
We have more huge tables in the AR schema , and we would like to know if we are unique customer
with huge AR schema objects , and if NOT how come that we are getting stuck on threed statment in
AR schema.
Bellow an output of all the objects that have more than 10 million rows in AR schema :
select owner , table_name,to_char(num_rows,'999,999,999') ,last_analyzed
from dba_tables
where owner = 'AR'
and num_rows > 10000000
order by num_rows desc nulls last
AR AR_DISTRIBUTIONS_ALL 408,567,520 04/02/2012 11:49:57
AR RA_CUST_TRX_LINE_GL_DIST_ALL 380,513,830 04/02/2012 13:54:12
AR MLOG$_AR_CASH_RECEIPTS_ALL 310,777,690 04/02/2012 12:30:33
AR RA_CUSTOMER_TRX_LINES_ALL 260,211,090 04/02/2012 13:30:26
AR AR_RECEIVABLE_APPLICATIONS_ALL 166,834,930 04/02/2012 12:16:54
AR MLOG$_RA_CUSTOMER_TRX_ALL 150,962,980 04/02/2012 12:33:23
AR AR_CASH_RECEIPT_HISTORY_ALL 145,737,410 04/02/2012 11:40:31
AR RA_CUST_TRX_LINE_SALESREPS_ALL 130,287,580 04/02/2012 14:03:54
AR AR_PAYMENT_SCHEDULES_ALL 108,652,480 04/02/2012 12:05:32
AR RA_CUSTOMER_TRX_ALL 55,540,740 04/02/2012 12:41:56
AR AR_CASH_RECEIPTS_ALL 53,182,340 04/02/2012 11:29:53
AR AR_DOC_SEQUENCE_AUDIT 52,865,150 04/02/2012 11:52:46
AR RA_MC_TRX_LINE_GL_DIST 17,317,730 04/02/2012 14:05:18
AR AR_MC_DISTRIBUTIONS_ALL 13,037,030 04/02/2012 11:53:35
AR AR_MC_RECEIVABLE_APPS 12,672,050 04/02/2012 11:53:57
AR AR_TRX_SUMMARY 12,457,560 04/02/2012 12:20:16
AR RA_CUST_RECEIPT_METHODS 11,105,750 04/02/2012 13:35:38
AR HZ_ORGANIZATION_PROFILES 10,271,640 04/02/2012 12:24:44
How to Upgrade AR tables whith Huge amount of Datas ( > 50 Millions Rows ) ?Hi,
Dont worry, you are not the only one even we have one customer whose AR_DISTRIBUTIONS_ALL table is 80 GB now and i can even do select count(*) for this table.
We had to keep this much data for business requirements, but i wonder if this is a bug or users mistake.
Due to this we are facing seruios performance issues for AR reports and raised SRs but no resolution yet. And this guy who is assigned to us is reall ynot been helpful to fix the issue.
Although we did not upgrade for this customer, but we migrated from 11.5.9 to R12.1.1 by re-implementation. But all these increasing size of these tables happened after migration.
And i believe most of the time in your upgrade is going to building the indexes. You can ask Oracle if they can edit the driver file to skip building the indxes and rebuild them after upgrade. But again it will also take time.
Another option for you is to "Archive and Purge the data" as per chapter 10 of
11i Receivables user guide.
http://docs.oracle.com/cd/B25284_01/current/acrobat/115arug.zip
Thanks
Edited by: EBSDBA on Feb 8, 2012 10:04 PM
Maybe you are looking for
-
When I try to save an image under the command 'save as' it will only let me save as file types 'firefox document' or 'all files' and when I try to look at them later they dont work. How can I save an image as the same file type it is on the web site?
-
Daughter's iPod Touch receiving texts sent between my wife and I
My daughter's iPod Touch is receiving texts sent between my wife and I. I understand that I can manually disable this on the iPod Touch, but she could feasibly re-enable this and spy on us. Is this correct? If so, this is a huge problem for everyt
-
My Apple TV 2 was working fine until a couple of weeks ago, then it was slow when connecting to iTunes. I did a restore to the Apple TV and to my second generation Airport Extreme (the short square one). I then watched a TV show (from my computer) in
-
Copying movies and music into iTunes
Is there a way to have iTunes copy songs to my music folder when I import them, but not copy movies to my music folder when I import them? When I import new songs into iTunes, I like to have iTunes copy the song to my iTunes Music folder. When I enco
-
hi ppl am new to java. jus help me on dis. i ve placed a text field and a button in applet and when i click d button i need the data in text field ( dat is typed by the user) to be displayed in the applet.