Generic Extractor on cdpos & CDHDR - severe performance issues in productio
Hello friends,
Can you take a look at my code? I have used a view in cdhdr table for extractor.code executes okay in dev and QA, but had to cancel job after running 48 hours. Any help is appreciated. This is my code in CMOD...
FORM Zpurchasing_exit TABLES P_C_T_DATA STRUCTURE ZOXRD40018.
DATA: itab_pct_data LIKE p_c_t_data OCCURS 0 WITH HEADER LINE.
FIELD-SYMBOLS <fs> LIKE ZOXRD40018.
itab_pct_data[] = p_c_t_data[].
LOOP AT itab_pct_data. .
SELECT TABKEY TABNAME VALUE_NEW VALUE_OLD FNAME INTO TABLE itab_cdpos
FROM cdpos
WHERE CHANGENR = itab_pct_data-CHANGENR
and objectid = itab_pct_data-objectid
and objectclas EQ 'EINKBELEG' AND
tabname EQ 'EKET' AND
fname EQ 'SLFDT'.
IF sy-subrc = 0.
DELETE TABLE p_c_t_data FROM itab_pct_data.
LOOP AT itab_cdpos.
itab_pct_data-zzTABKEY = itab_cdpos-TABKEY.
itab_pct_data-zzTABNAME = itab_cdpos-TABNAME.
itab_pct_data-zzVALUE_NEW = itab_cdpos-VALUE_NEW.
itab_pct_data-ZZVALUE_OLD = itab_cdpos-VALUE_OLD.
itab_pct_data-ZZFNAME = itab_cdpos-FNAME.
APPEND itab_pct_data TO p_c_t_data.
CLEAR itab_cdpos.
ENDLOOP.
ENDIF.
REFRESH itab_cdpos.
CLEAR: itab_cdpos, itab_pct_data.
ENDLOOP.
Pabloj,
Thanks for the attachment... I did look into this, but not able to write FM properly.
Can you correct my FM?
Here is my code...
DATA : BEGIN OF I_cdhdr OCCURS 0 ,
OBJECTCLAS LIKE cdpos-OBJECTCLAS,
CHANGENR LIKE cdpos-CHANGENR,
OBJECTID LIKE cdpos-OBJECTID,
UDATE like cdhdr-UDATE,
USERNAME like cdhdr-USERNAME,
TCODE like cdhdr-TCODE,
END OF I_cdhdr.
DATA : BEGIN OF I_cdpos OCCURS 0 ,
OBJECTCLAS LIKE cdhdr-OBJECTCLAS,
OBJECTID LIKE cdhdr-OBJECTID,
CHANGENR LIKE cdhdr-CHANGENR,
TABNAME like cdpos-TABNAME,
TABKEY like cdpos-TABKEY,
FNAME like cdpos-FNAME,
CHNGIND like cdpos-CHNGIND,
VALUE_OLD like cdpos-VALUE_OLD,
VALUE_NEW like cdpos-VALUE_NEW,
END OF I_cdpos.
LOOP AT G_T_SELECT INTO L_S_SELECT WHERE FIELDNM = 'update'.
MOVE-CORRESPONDING L_S_SELECT TO L_R_udate.
APPEND L_R_udate.
ENDLOOP.
LOOP AT G_T_SELECT INTO L_S_SELECT WHERE FIELDNM = 'CHANGENR'.
MOVE-CORRESPONDING L_S_SELECT TO L_R_CHANGENR.
APPEND L_R_CHANGENR.
ENDLOOP.
OPEN CURSOR WITH HOLD G_CURSOR FOR
select
OBJECTCLAS CHANGENR OBJECTID UDATE USERNAME from cdhdr
where OBJECTCLAS = 'EINKBELEG'
and udate in L_R_udate and
CHANGENR in L_R_CHANGENR.
FETCH NEXT CURSOR G_CURSOR
APPENDING CORRESPONDING FIELDS
OF TABLE E_T_DATA
PACKAGE SIZE L_MAXSIZE.
IF SY-SUBRC <> 0.
CLOSE CURSOR G_CURSOR.
RAISE NO_MORE_DATA.
ENDIF.
SELECT OBJECTCLAS OBJECTID CHANGENR TABNAME TABKEY FNAME CHNGIND VALUE_OLD VALUE_NEW FROM CDPOS
INTO TABLE I_CDPOS
FOR ALL ENTRIES IN I_CDHDR
WHERE OBJECTCLAS EQ 'EINKBELEG'
AND OBJECTID EQ I_CDHDR-OBJECTID
AND changenr EQ i_cdhdr-changenr
AND tabname EQ 'EKET'
AND fname EQ 'SLFDT'
and CHNGIND eq 'U'.
Not sure how to append these fields into E_T_DATA?
Similar Messages
-
Multi Select Choice on af:query has severe performance issue
Multi-select choice used with af:query through a view criteria is causing severe performance issue on deselection of "All" checkbox, if the data in the list is around 550 rows. The same component works absolutely fine when used in a form layout.
I can provide you a re-producible test case, if anyone needs it!
***: This is a customer environment issue, and customer is eager to have multi-select in this case. Appreciate any help!Glimpse of repetitive lines from console for the above scenario:
<DCUtil> <findSpelObject> [2208] DCUtil, returning:oracle.jbo.uicli.binding.JUApplication, for TestSelectChoiceDefaultAMDataControl
<ADFLogger> <begin> Attaching an iterator binding to a datasource
<DCIteratorBinding> <getViewObject> [2209] Resolving VO:TestSelectChoiceDefaultAM._SESSION_SHARED_APPMODULE_NAME_.SessionAM.DeptReadOnly1 for iterator binding:noCtrl_oracle_adfinternal_view_faces_model_binding_FacesCtrlListBinding_59List_60
<DCUtil> <findSpelObject> [2210] DCUtil, RETURNING: <null> for TestSelectChoiceDefaultAM._SESSION_SHARED_APPMODULE_NAME_.SessionAM.DeptReadOnly1
<ADFLogger> <addContextData> Attaching an iterator binding to a datasource
<ADFLogger> <addContextData> Get LOV list
<ADFLogger> <begin> Get LOV list
<DCUtil> <findSpelObject> [2211] DCUtil, returning:oracle.jbo.uicli.binding.JUApplication, for TestSelectChoiceDefaultAMDataControl
<ADFLogger> <begin> Attaching an iterator binding to a datasource
<DCIteratorBinding> <getViewObject> [2212] Resolving VO:TestSelectChoiceDefaultAM._SESSION_SHARED_APPMODULE_NAME_.SessionAM.DeptReadOnly1 for iterator binding:noCtrl_oracle_adfinternal_view_faces_model_binding_FacesCtrlListBinding_123List_124
<DCUtil> <findSpelObject> [2213] DCUtil, RETURNING: <null> for TestSelectChoiceDefaultAM._SESSION_SHARED_APPMODULE_NAME_.SessionAM.DeptReadOnly1
<ADFLogger> <addContextData> Attaching an iterator binding to a datasource
<ADFLogger> <addContextData> Get LOV list
.....many times followed by
<ADFLogger> <addContextData> Attaching an iterator binding to a datasource
<ADFLogger> <addContextData> Get LOV list
<ADFLogger> <begin> Get LOV list
<ADFLogger> <addContextData> Get LOV list
<ADFLogger> <begin> Get LOV list
<ADFLogger> <addContextData> Get LOV list
<ADFLogger> <begin> Get LOV list
<ADFLogger> <addContextData> Get LOV list
<ADFLogger> <begin> Get LOV list
...many times -
Oracle Apps Database severe Performance Issue
Hi Gurus,
This is regarding a severe performance issue running in our Production E-Business Suite Instance.
its an R12.1.3 setup installed with 11.2.0.1 Database. All the servers are Solaris Sparc 64 (Solaris 10)
Let me brief you about the instance first:
2 Node Application
- Main Application Server hosting web/forms/concurrent/admin servers
- iSupplier server hosting web services (placed in DMZ, used by external suppliers via Internet)
1 Node Database Server
Database Server Specs
Memory: 144G phys mem 20G total swap
- CPUs (8Px4cores, 2Px2cores)
- I/O - fiber channel hard disk (hitachi SAN Storage) - 7 DATA_TOPs (7 drives with RAID 5) - current DB size 1.6 TB
- at peak load, around 1000 concurrent forms session and 2000 web sessions.
We have been facing some serious performance issues and we raised an SR with Oracle Support.
The Support analyzed a bunch of AWR Reports we provided them and they asked us to increase the DB_CACHE from its current usage of 27G to 40G
So, we changed SGA_TARGET from 35G to 50G and PGA was increased from 35G to 40G as v$pgastat was also suggesting some lack of memory.
We made these changes last night.
Today morning we observed the following:
1. after start of office hours, we checked in the home page of EM DB Console that ADDM was showing reduced impact due to lack of SGA memory which seemed to be a good sign. Earlier it was around 25% which was now at 12%.
However, negative aspects were:
1. lot of swapping was reported by the System Administrators on the DB Server
2. High CPU Usage
3. EM DB Console showed a lot of "Concurrency Wait Class" events ...throughout the day lot of blocking sessions were reported which were making other sessions to wait.
in the AWR Report, following foreground reports were listed:
Top 5 Timed Foreground Events
Event
Waits
Time(s)
Avg wait (ms)
% DB time
Wait Class
DB CPU
132,577
61.46
library cache lock
3,539
40,683
11496
18.86
Concurrency
library cache: mutex X
4,014,083
21,011
5
9.74
Concurrency
db file sequential read
4,138,014
20,767
5
9.63
User I/O
latch free
381,916
5,897
15
2.73
Other
This is showing "library cache lock" events as the main culprit apart from the usual suspect, the CPU.
I am attaching the AWR Report. Please let me know if i should revert back the memory changes or is there anything else i could do.
Please help us resolving it because the performance is going worst.
Regards,
Muneer.Pl do not post duplicates - Oracle Apps Database severe Performance Issue
For all critical production issues, pl work with Support thru SRs - using the forums to troubleshoot production issues is not wise -
Severe performance issues in production database
Hi Experts,
we have configured RMAN in our production database recently using some 3 party tool COMMVAULT.
Problem is just 47 GB database taking around 6 hrs of time to complted the bakcup job. Please let me know what could be the reason.
Further to this issues i found out some of few things, our application vendor commissioned this database server and it seems that they done some changes in TIMEZONE settings.
when i query against some of few dictionary tables for example dba_schedular_jobs i am getting the following error.
ORA-01882: timezone region %s not found
when ever i connect the database , the connection itself is very slow and suffering severe performance issues in my production database.
You help would be much appreciated.
Regards,
SalaiHi,
also let us know if you use asm or local file system for datafiles.
Your backup strategy will also be helpful:
Do you make compressed backups?
Full or incremental?
To where do you backup the database? To the local filesystem, SAN Volume, Offsite Storage, Tape storage?
Is there any other jobs running while the RMAN job is running?
Please post the stats that you have gathered over the time period when the backup is running.
Thanks. -
Multiple severe performance issues under Windows
I own a Macbook Pro, and have used it happily for around a year. However, the hard drive was too small (no idea why I decided to go for the 80), and my music library kept growing. At the same time, I needed a Windows machine for various other purposes, so I bought a Dell with Vista. I successfully transferred all of my music over to it, and downloaded iTunes. It installed fine, and all of my music showed up, and plays.
Here are the problems. Compared to OS X, iTunes on Windows *****. Unbelievably. It's incredibly sluggish (even basic things like scrolling through your library - smooth as silk on the Mac, but choppy on Windows. Resizing the window doesn't work well, either), and it has to have at least a few major memory leaks.
I'll give you some specifics.
Acting "Sluggish"
- Scrolling through my library (with either the scroll wheel of the mouse or the scrollbar on the right) is very choppy. This is not the case with any other application on my computer - scrolling through a list of entries is smooth and works well.
- Resizing the window frequently doesn't work. I'll grab the corner, and move the mouse over to another area. The mouse will be on a different part of the screen, but the iTunes window will not have resized at all. If I move the mouse, the window then resizes to where the mouse last was. In other words, if I want to resize the window, I have to grab the corner, drag to another size that I think I want, and then move the mouse a little to get it to go. This animation is also very choppy.
- Coverflow is very slow and moves at a very low framerate, fullscreen or otherwise.
- Oftentimes, the first keystroke (or two) will be completely ignored. So, for example, I'll hit Ctrl+L to get to the currently playing song, and have to press it 2 or 3 times in order for it to have any effect.
Memory Issues
- When I start iTunes (in the smallest window possible), it takes around 56 MB of memory, not playing anything. Once I start to play a song, it jumps a little, but ultimately doesn't change that much (now it's at 60 MB instead). I resized the window to be on most of the screen, and it's now at 66. Scrolling through my library on List View, while slow and choppy, doesn't take up any significant amount of memory. However, as soon as I change to either the "grouped with artwork" option or coverflow, bad things start happening.
- Grouped with Artwork: At the beginning, iTunes is taking up 70 MB of memory. Every time I hit Page Down, another 3-4 MB of memory is added. This memory is never released. So now, having scrolled down from the top a little, iTunes is now sitting at twice what it was at the beginning, or 145 MB. It's now taking up more memory than Firefox.
- Coverflow: Starting out at 145 MB from the earlier view, switching to coverflow immediately makes the memory jump to 170 MB. When I scroll through the albums, the memory then jumps anywhere from 40 - 50 MB. After a bit of clicking, iTunes is now taking up 1,106 MB of memory.
I minimize iTunes, and 1 MB of memory is freed. iTunes is now at 1,105 MB.
Moving out of CoverFlow view does a good job at cutting some memory use, but it's still at 540 MB. And at this point, I'm back to where I started (in terms of what iTune's doing: list mode, small window, not playing), only at 9 times the memory use. As far as I know, there's no way to reclaim that memory.
Various Issues
- iTunes will frequently disregard the first or even second keystroke, as mentioned above.
- This scenario is a little harder to describe, but I'll do my best. iTunes is the foremost application. The focus is on song panel (the main part), so that pressing the Up and Down arrow keys cause the "currently selected" blue background thing behind a song to move up or down, enter plays the currently selected song, etc. I Alt-Tab to another application, and then Alt-Tab back. It looks like I'm in the same situation as before (the currently selected song is blue, instead of grey), but the up and down keystrokes do nothing. I'm apparently in a different section of iTunes. Pressing Tab brings me to the left panel of iTunes - the Music / Movies / Podcasts / Ringtones / etc. part, but the up and down keys don't do anything there either. Tabbing again takes me to the search field, and that works. And tabbing once more brings me back to where I should have been as soon as I Alt-Tabbed back to iTunes.
- A variant situation: focus is as described at the beginning, and I Alt-Tab out and back into iTunes. Again, the up and down keys don't work, but then if I press Shift + Tab (to go to the previous field), it starts working again.
This issue is much more of a pain than it sounds. If I'm in iTunes, and I'm chatting online, for example, I might need to switch out quickly to type a line in, and then switch back, but the workflow has been completely disrupted because I can't navigate with the keyboard anymore.
- When editing a song title in iTunes, I select it first, and then press F2. This causes the title to become a "rename" field, which works mostly fine. With one exception. Generally, in these fields, you edit the title to your heart's desire, and then press Enter to signify that you are done. However, in iTunes, if I have a song title "blowin' in the wind", and I want to capitalize it, I'll hit F2, and then move the cursor over to the beginning of the title (in other words, to right before the "b"). My goal is to delete the lowercase b, and replace it with an uppercase B. So I press Delete, and then type B. However, as soon as I press the Delete key, iTunes deletes the character, and then closes the rename field. It's as though I pressed Delete and then Enter. If I then type B, I'm taken the first song starting with a B, which is not what I want at all.
- iTunes doesn't work with Vista's window preview (Aero interface, Alt+Tab or hovering over the program in the tray at the bottom) when it's minimized.
- When I have iTunes on in the background, and plug in an iPod, it all works fine, except for when I bring the window up. For whatever reason, iTunes doesn't repaint the window right at all. It's a horrific mixture of whatever songs were in the list view before and the iPod options.
I'm sure I have more issues, but those are the ones that come to the top of my head. Note that I have none of these problems in iTunes on the Mac.
Apple, if you're going to release software for Windows, please make it work.In article <[email protected]>, Javerkio wrote:
> we are running GW 8.02 hp3 and recently moved our main post
> office (~600 users) from Netware to Windows 2008 R2 (running under
> Vsphere 4.1).
>
Windows is the lowest performing host for GroupWise, so that is a part
of what you are hitting.
How are you monitoring memory usage? I've found that the vCenter tools
aren't a good indicator of that, where as the Windows tools are better
in that respect. The biggy is that you don't want much paging to disk.
How much do you have assigned to this VM?, how many cores? And are
these ESX box(es) over committed on those two?
Those settings on their own don't really mean a whole lot. What we need
to see is what is actually being used, and if you are running out of
them, then upping those specific numbers can help. The best way is to
watch the POA web interface for the relevant settings.
http://hostnameorIP:7181/
Andy Konecny
Knowledge Partner (voluntary SysOp)
KonecnyConsulting.ca in Toronto
Andy's Profile: http://forums.novell.com/member.php?userid=75037 -
Generic extraction loading and performances issues
hi,
any one can give the details about the generic extraction loading as well as performance issues.
advance thanks
regards
praveenHi,
when there is no suitable business content datasource we go for creating generic data source.
by using generic data source we can extract data present in single or multiple tables.
If the data is present in the single table we go for generic data source extracting from table.
If the data that is to be extracted is present in multiple tables and the relation between the tables is one to one and if there is a common field in both the tables we create a view on these tables and create a generic data source extracting from view.
if you want to extract data from different tables and there is no common field we create a info set on these tables and create a generic datasource extracting from query.
if you want to extarc the data from different tables and the relation is one to many or many to many we create a generic data source from function module.
If we extarct from function module ,at run time it has to execute the code and brings the data to BW.so it degrades the loading performance.
regards, -
Performance issues with Homesharing?
I have a Time Capsule as the base station for my wireless network, then 2 Airport Express setup to extend the network around the house, an iMac i7 as the main iTunes Library and couple of iPads, and a couple of Apple TVs. Everything has the latest software, but I have several performance issues with Home sharing. I've done several tests making sure nothing is taking additional bandwidth, so here are the list of issues:
1) With nothing else running, trying playing a movie via home sharing in an iPad 2 which is located on my iMac, it stops and I have to keep pressing the play button over and over again. I typically see that the iPad tries to download part of the movie first and then starts playing so that it deals with the bandwidth, but in many cases it doesn't.
2) When trying to play any iTunes content (movies, music, photos, etc) from my Apple TV I can see my computer library, but when I go in on any of the menus, it says there's no content. I have to reboot the Apple TV and then problem fixed. I's just annoying that I have to reboot.
3) When watching a Netflix movie on my iPad and with Airplay I send the sound to some speakers via Airplay through an Airport Express. At time I lose the connection to the speakers.
I've complained about Wifi's instability, but here I tried to keep everything with Apples products to avoid any compatibility issues and stay within N wireless technology, which I understood it was much more stable.
Has anyone some suggestions?Hi,
you should analyze the db after you have loaded the tables.
Do you use sequences to generate PKs? Do you have a lot of indexex and/or triggers on the tables?
If yes:
make sure your sequence caches (alter sequence s cache 10000)
Drop all unneeded indexes while loading and disable trigger if possible.
How big is your Redo Log Buffer? When loading a large amount of data it may be an option to enlarge this buffer.
Do you have more then one DBWR Process? Writing parallel can speed up things when a checkpoint is needed.
Is it possible using a direct load? Or do you already direct load?
Dim -
Performance issues with the Vouchers index build in SES
Hi All,
We are currently performing an upgrade for: PS FSCM 9.1 to PS FSCM 9.2.
As a part of the upgrade, Client wants Oracle SES to be deployed for some modules including, Purchasing, Payables (Vouchers)
We are facing severe performance issues with the Vouchers index build. (Volume of data = approx. 8.5 million rows of data)
The index creation process runs for over 5 days.
Can you please share any information or issues that you may have faced on your project and how they were addressed?Check the following logs for errors:
1. The message log from the process scheduler
2. search_server1-diagnostic.log in /search_server1/logs directory
If the build is getting stuck while crawling then we typically have to increase the Java Heap size for the Weblogic instance for SES> -
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 -
Performance issue with brand new intel iMac extreme
I am at a loss to explain a problem I've been having and I thought I might put it out to you guys.
In September I purchased a macbook Pro (2.4 ghz, 4 GB RAM) to use in video editing with Final Cut Pro, and for the most part I've been thrilled. I use 1TB LaCie external drives connected via FW800, and perform Multiclip editing with 4-5 video streams at a time and only on occasion have dropped frames during the editing process.
In December I determined that I needed to have an additional system, and thought a 2.8Ghz Intel iMac extreme would be an excellent choice, since for the same price I could get a little more power in the processor, more hard drive space and a bigger screen to work on. When we picked up the new system in the store (The Grove Apple Store in LA), we had them upgrade the memory to 4GB.
Since day one we have had performance issues, including problems playing streaming and DVD video, severe delays mounting and unmounting drives (firewire and USB) and application images, and freezing while doing even simple tasks like printing or checking email. These problems occur even while there are no external drives are connected. I have none of these issues with the Macbook Pro, which has virtually an identical set of programs installed, and both running the same version of Leopard.
I already took the original iMac back to the store, and they exchanged it, but did not have 4GB sets of RAM in stock so they took the RAM from the original machine and put it in the new one. They said if I continued to have problems then it was most likely the RAM and I should come back when they got more in stock. I DID have the same problems with the new machine, and took it back to the Apple Store and they swapped the memory. It seemed to improve the issue, but now I'm seeing the same severe performance issues again.
All tech support can do is tell me to do a PRAM reset, which seems to improve things very temporarily (but that may be my imagination) or have me restart, which at least has the ability to make the printing of documents capable.
What I'm wondering is if it is likely that the RAM is the issue and I just got another bad batch, or if the iMac has some weird glitch that isn't present in the macbook Pro...?? Or could I have possibly gotten 2 bad systems in a row? It's extremely frustrating, and I KNOW it shouldn't be this way! It's so bad I get better performance out of my single-core G5 tower! How do I get a good working system that operates like it should? Am I better off getting another Macbook Pro? I'd rather not for several reasons...
I have xbench on both the MBP and the iMac and can provide test numbers if they'll help, as well as any other info.
Thank you so much for reading my novella of a post and also for any insight you have!
Best,
TravisHi!
I got the same problem with my MacBook when it still was new in may 2006. It was supposed to be one of the faster Laptops around but it was soooo slow it drove me nuts. I can only advise to have a look if there is something hugging up your RAM and run some tests using these programs on your machine:
Xbench:
http://www.macupdate.com/info.php/id/10081
MenuMeters:
http://www.macupdate.com/info.php/id/10451
If they show any unusual results you might have your problem...
As to my problem with the MacBook: I did a complete re-install (writing the harddisk over with zeroes) and suddenly everything was just fine. (But be sure to back all your files before that, I learned this one the hard way.) I know it is just a standard answer, but it worked out for me this time...
Hope this helps in some ways.
Cheers,
Rene -
Performance issue webi report-BOXI3.1
Hi,
We have a requirement for a report where we will give user a set of objects (26 u2013 31) to do analysis using interactive viewing feature. Here we are facing severe performance issues and memory issues as the data that we are calling is huge( around 6 million records). At the report level we will be summarizing the data.
No of rows in the report is depending on the no of objects.
Mode of view : Interactive view.
Note:
1. Objects which are using in conditional level those have indexes.
2. No of report level variable are two.
3. Version of Business objects: BOXI3.1
4. OS: Sun Solaris
Please let me know if there are any means by which the memory requirements for the report can be minimized/ performance of the report can be improved.
Thanks,
SubashSubash,
At the report level we will be summarizing the data ... any means by which the memory requirements for the report can be minimized/ performance of the report can be improved
Is there any way that you can summarize this on the database side versus the report level? The database should be sized with memory and disk space properly to handle these types of summarizations versus expecting the application to perform it.
Thanks,
John -
Performance issue showing read by other session Event
Hi All,
we are having a severe performance issue in my database when we are running batch jobs.
This was a new database(11.2.0.2) and we are testing the performance by running some batch jobs. These batch jobs included some inserts and updates.
I am seeing read by other session in top 5 timed events and cache buffers chains in Latch Miss Sources section.
Please help me to solve this out.
Inst Num Startup Time Release RAC
1 27-Feb-12 09:03 11.2.0.2.0 NO
Platform CPUs Cores Sockets Memory(GB)
Linux x86 64-bit 8 8 8 48.00
Snap Id Snap Time Sessions Curs/Sess
Begin Snap: 5605 29-Feb-12 03:00:27 63 4.5
End Snap: 5614 29-Feb-12 12:00:47 63 4.3
Elapsed: 540.32 (mins)
DB Time: 1,774.23 (mins)
Cache Sizes Begin End
~~~~~~~~~~~ ---------- ----------
Buffer Cache: 1,952M 1,952M Std Block Size: 16K
Shared Pool Size: 1,024M 1,024M Log Buffer: 18,868K
Load Profile Per Second Per Transaction Per Exec Per Call
~~~~~~~~~~~~ --------------- --------------- ---------- ----------
DB Time(s): 3.3 0.8 0.02 0.05
DB CPU(s): 1.1 0.3 0.01 0.02
Redo size: 55,763.8 13,849.3
Logical reads: 23,906.6 5,937.4
Block changes: 325.7 80.9
Physical reads: 665.6 165.3
Physical writes: 40.4 10.0
User calls: 60.7 15.1
Parses: 10.6 2.6
Hard parses: 1.1 0.3
W/A MB processed: 0.6 0.2
Logons: 0.1 0.0
Executes: 151.2 37.6
Rollbacks: 0.0 0.0
Transactions: 4.0
Instance Efficiency Percentages (Target 100%)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Buffer Nowait %: 99.94 Redo NoWait %: 100.00
Buffer Hit %: 97.90 In-memory Sort %: 100.00
Library Hit %: 98.06 Soft Parse %: 90.16
Execute to Parse %: 92.96 Latch Hit %: 100.00
Parse CPU to Parse Elapsd %: 76.71 % Non-Parse CPU: 98.57
Shared Pool Statistics Begin End
Memory Usage %: 89.38 87.96
% SQL with executions>1: 97.14 95.15
% Memory for SQL w/exec>1: 96.05 92.46
Top 5 Timed Foreground Events
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Avg
wait % DB
Event Waits Time(s) (ms) time Wait Class
db file sequential read 14,092,706 65,613 5 61.6 User I/O
DB CPU 34,819 32.7
read by other session 308,534 1,260 4 1.2 User I/O
direct path read 97,454 987 10 .9 User I/O
db file scattered read 71,870 910 13 .9 User I/O
Host CPU (CPUs: 8 Cores: 8 Sockets: 8)
~~~~~~~~ Load Average
Begin End %User %System %WIO %Idle
0.43 0.36 13.7 0.6 9.7 85.7
Instance CPU
~~~~~~~~~~~~
% of total CPU for Instance: 13.5
% of busy CPU for Instance: 94.2
%DB time waiting for CPU - Resource Mgr: 0.0
Memory Statistics
~~~~~~~~~~~~~~~~~ Begin End
Host Mem (MB): 49,152.0 49,152.0
SGA use (MB): 3,072.0 3,072.0
PGA use (MB): 506.5 629.1
% Host Mem used for SGA+PGA: 7.28 7.53
Time Model Statistics
-> Total time in database user-calls (DB Time): 106453.8s
-> Statistics including the word "background" measure background process
time, and so do not contribute to the DB time statistic
-> Ordered by % or DB time desc, Statistic name
Statistic Name Time (s) % of DB Time
sql execute elapsed time 105,531.1 99.1
DB CPU 34,818.8 32.7
parse time elapsed 714.7 .7
hard parse elapsed time 684.8 .6
PL/SQL execution elapsed time 161.9 .2
PL/SQL compilation elapsed time 44.2 .0
connection management call elapsed time 16.9 .0
hard parse (sharing criteria) elapsed time 10.2 .0
hard parse (bind mismatch) elapsed time 9.4 .0
sequence load elapsed time 2.9 .0
repeated bind elapsed time 0.5 .0
failed parse elapsed time 0.0 .0
DB time 106,453.8
background elapsed time 1,753.9
background cpu time 61.7
Operating System Statistics
-> *TIME statistic values are diffed.
All others display actual values. End Value is displayed if different
-> ordered by statistic type (CPU Use, Virtual Memory, Hardware Config), Name
Statistic Value End Value
BUSY_TIME 3,704,415
IDLE_TIME 22,203,740
IOWAIT_TIME 2,517,864
NICE_TIME 3
SYS_TIME 145,696
USER_TIME 3,557,758
LOAD 0 0
RSRC_MGR_CPU_WAIT_TIME 0
VM_IN_BYTES 358,813,045,760
VM_OUT_BYTES 29,514,830,848
PHYSICAL_MEMORY_BYTES 51,539,607,552
NUM_CPUS 8
NUM_CPU_CORES 8
NUM_CPU_SOCKETS 8
GLOBAL_RECEIVE_SIZE_MAX 4,194,304
GLOBAL_SEND_SIZE_MAX 1,048,586
TCP_RECEIVE_SIZE_DEFAULT 87,380
TCP_RECEIVE_SIZE_MAX 4,194,304
TCP_RECEIVE_SIZE_MIN 4,096
TCP_SEND_SIZE_DEFAULT 16,384
TCP_SEND_SIZE_MAX 4,194,304
TCP_SEND_SIZE_MIN 4,096
Operating System Statistics -
Snap Time Load %busy %user %sys %idle %iowait
29-Feb 03:00:27 0.4 N/A N/A N/A N/A N/A
29-Feb 04:00:35 1.4 11.9 11.2 0.6 88.1 14.3
29-Feb 05:00:41 1.7 13.8 13.2 0.6 86.2 15.8
29-Feb 06:00:48 1.5 14.0 13.5 0.6 86.0 12.3
29-Feb 07:01:00 1.8 16.3 15.8 0.5 83.7 10.4
29-Feb 08:00:12 2.6 23.2 22.5 0.6 76.8 12.6
29-Feb 09:00:26 1.3 16.6 16.0 0.5 83.4 5.7
29-Feb 10:00:33 1.2 13.8 13.3 0.5 86.2 2.0
29-Feb 11:00:43 1.3 14.5 14.0 0.5 85.5 3.8
29-Feb 12:00:47 0.4 4.9 4.2 0.7 95.1 10.6
Foreground Wait Class
-> s - second, ms - millisecond - 1000th of a second
-> ordered by wait time desc, waits desc
-> %Timeouts: value of 0 indicates value was < .5%. Value of null is truly 0
-> Captured Time accounts for 97.9% of Total DB time 106,453.79 (s)
-> Total FG Wait Time: 69,415.64 (s) DB CPU time: 34,818.79 (s)
Avg
%Time Total Wait wait
Wait Class Waits -outs Time (s) (ms) %DB time
User I/O 14,693,843 0 69,222 5 65.0
DB CPU 34,819 32.7
Commit 40,629 0 119 3 0.1
System I/O 26,504 0 57 2 0.1
Network 1,945,010 0 11 0 0.0
Other 125,200 99 4 0 0.0
Application 2,673 0 2 1 0.0
Concurrency 3,059 0 1 0 0.0
Configuration 31 19 0 15 0.0
Foreground Wait Events
-> s - second, ms - millisecond - 1000th of a second
-> Only events with Total Wait Time (s) >= .001 are shown
-> ordered by wait time desc, waits desc (idle events last)
-> %Timeouts: value of 0 indicates value was < .5%. Value of null is truly 0
Avg
%Time Total Wait wait Waits % DB
Event Waits -outs Time (s) (ms) /txn time
db file sequential read 14,092,706 0 65,613 5 108.0 61.6
read by other session 308,534 0 1,260 4 2.4 1.2
direct path read 97,454 0 987 10 0.7 .9
db file scattered read 71,870 0 910 13 0.6 .9
db file parallel read 35,001 0 372 11 0.3 .3
log file sync 40,629 0 119 3 0.3 .1
control file sequential re 26,504 0 57 2 0.2 .1
direct path read temp 14,499 0 49 3 0.1 .0
direct path write temp 9,186 0 28 3 0.1 .0
SQL*Net message to client 1,923,973 0 5 0 14.7 .0
SQL*Net message from dblin 1,056 0 5 5 0.0 .0
Disk file operations I/O 8,848 0 2 0 0.1 .0
ASM file metadata operatio 36 0 2 54 0.0 .0
SQL*Net break/reset to cli 2,636 0 1 1 0.0 .0
ADR block file read 472 0 1 1 0.0 .0
os thread startup 8 0 1 74 0.0 .0
SQL*Net more data to clien 17,656 0 1 0 0.1 .0
asynch descriptor resize 123,852 100 0 0 0.9 .0
local write wait 110 0 0 4 0.0 .0
utl_file I/O 55,635 0 0 0 0.4 .0
log file switch (private s 8 0 0 52 0.0 .0
cursor: pin S wait on X 2 0 0 142 0.0 .0
enq: KO - fast object chec 13 0 0 20 0.0 .0
PX Deq: Slave Session Stat 248 0 0 1 0.0 .0
enq: RO - fast object reus 18 0 0 11 0.0 .0
latch: cache buffers chain 2,511 0 0 0 0.0 .0
latch: shared pool 195 0 0 1 0.0 .0
CSS initialization 12 0 0 8 0.0 .0
PX qref latch 54 100 0 2 0.0 .0
SQL*Net more data from cli 995 0 0 0 0.0 .0
SQL*Net more data from dbl 300 0 0 0 0.0 .0
kksfbc child completion 1 100 0 56 0.0 .0
library cache: mutex X 244 0 0 0 0.0 .0
PX Deq: Signal ACK RSG 124 0 0 0 0.0 .0
undo segment extension 6 100 0 7 0.0 .0
PX Deq: Signal ACK EXT 124 0 0 0 0.0 .0
library cache load lock 3 0 0 9 0.0 .0
ADR block file write 45 0 0 1 0.0 .0
CSS operation: action 12 0 0 2 0.0 .0
reliable message 28 0 0 1 0.0 .0
CSS operation: query 72 0 0 0 0.0 .0
latch: row cache objects 14 0 0 1 0.0 .0
enq: SQ - contention 17 0 0 0 0.0 .0
latch free 32 0 0 0 0.0 .0
buffer busy waits 52 0 0 0 0.0 .0
enq: PS - contention 16 0 0 0 0.0 .0
enq: TX - row lock content 6 0 0 1 0.0 .0
SQL*Net message to dblink 1,018 0 0 0 0.0 .0
cursor: pin S 23 0 0 0 0.0 .0
latch: cache buffers lru c 8 0 0 0 0.0 .0
SQL*Net message from clien 1,923,970 0 944,508 491 14.7
jobq slave wait 66,732 100 33,334 500 0.5
Streams AQ: waiting for me 6,481 100 32,412 5001 0.0
wait for unread message on 32,858 98 32,411 986 0.3
PX Deq: Execution Msg 1,448 0 190 131 0.0
PX Deq: Execute Reply 1,196 0 74 62 0.0
HS message to agent 228 0 4 19 0.0
single-task message 42 0 4 97 0.0
PX Deq Credit: send blkd 904 0 2 3 0.0
PX Deq Credit: need buffer 205 0 1 3 0.0
Foreground Wait Events
-> s - second, ms - millisecond - 1000th of a second
-> Only events with Total Wait Time (s) >= .001 are shown
-> ordered by wait time desc, waits desc (idle events last)
-> %Timeouts: value of 0 indicates value was < .5%. Value of null is truly 0
Avg
%Time Total Wait wait Waits % DB
Event Waits -outs Time (s) (ms) /txn time
PX Deq: Table Q Normal 4,291 0 1 0 0.0
PX Deq: Join ACK 124 0 0 1 0.0
PX Deq: Parse Reply 124 0 0 0 0.0
KSV master wait 256 0 0 0 0.0
Latch Miss Sources
-> only latches with sleeps are shown
-> ordered by name, sleeps desc
NoWait Waiter
Latch Name Where Misses Sleeps Sleeps
ASM map operation freeli kffmTranslate2 0 2 0
DML lock allocation ktadmc 0 2 0
FOB s.o list latch ksfd_allfob 0 2 2
In memory undo latch ktiFlushMe 0 5 0
In memory undo latch ktichg: child 0 3 0
PC and Classifier lists No latch 0 6 0
Real-time plan statistic keswxAddNewPlanEntry 0 20 20
SQL memory manager worka qesmmIRegisterWorkArea:1 0 1 1
active service list kswslogon: session logout 0 23 12
active service list kswssetsvc: PX session swi 0 6 1
active service list kswsite: service iterator 0 1 0
archive process latch kcrrgpll 0 3 3
cache buffers chains kcbgtcr_2 0 1,746 573
cache buffers chains kcbgtcr: fast path (cr pin 0 1,024 2,126
cache buffers chains kcbgcur_2 0 60 8
cache buffers chains kcbchg1: kslbegin: bufs no 0 16 3
cache buffers chains kcbgtcr: fast path 0 14 20
cache buffers chains kcbzibmlt: multi-block rea 0 10 0
cache buffers chains kcbrls_2 0 9 53
cache buffers chains kcbgtcr: kslbegin shared 0 8 1
cache buffers chains kcbrls_1 0 7 84
cache buffers chains kcbgtcr: kslbegin excl 0 6 14
cache buffers chains kcbnew: new latch again 0 6 0
cache buffers chains kcbzgb: scan from tail. no 0 6 0
cache buffers chains kcbzwb 0 5 8
cache buffers chains kcbgcur: fast path (shr) 0 3 0
cache buffers chains kcbget: pin buffer 0 3 0
cache buffers chains kcbzhngcbk2_1 0 1 0
cache buffers lru chain kcbzgws 0 19 0
cache buffers lru chain kcbo_link_q 0 3 0
call allocation ksuxds 0 14 10
call allocation ksudlp: top call 0 2 3
enqueue hash chains ksqgtl3 0 2 1
enqueue hash chains ksqrcl 0 1 2
enqueues ksqgel: create enqueue 0 1 0
object queue header oper kcbo_unlink_q 0 5 2
object queue header oper kcbo_sw_buf 0 2 0
object queue header oper kcbo_link_q 0 1 2
object queue header oper kcbo_switch_cq 0 1 2
object queue header oper kcbo_switch_mq_bg 0 1 4
parallel query alloc buf kxfpbalo 0 1 1
process allocation ksucrp:1 0 2 0
process queue reference kxfpqrsnd 0 1 0
qmn task queue latch kwqmnmvtsks: delay to read 0 1 0
redo allocation kcrfw_redo_gen: redo alloc 0 17 0
row cache objects kqreqd: reget 0 6 0
row cache objects kqrpre: find obj 0 6 13
row cache objects kqrso 0 2 0
row cache objects kqreqd 0 1 2
row cache objects kqrpre: init complete 0 1 1
shared pool kghalo 0 199 106
shared pool kghupr1 0 39 109
shared pool kghfre 0 18 19
shared pool kghalp 0 7 29
space background task la ktsj_grab_task 0 21 27
Mutex Sleep Summary
-> ordered by number of sleeps desc
Wait
Mutex Type Location Sleeps Time (ms)
Library Cache kglhdgn2 106 338 12
Library Cache kgllkc1 57 259 10
Library Cache kgllkdl1 85 123 21
Cursor Pin kkslce [KKSCHLPIN2] 70 286
Library Cache kglget2 2 31 1
Library Cache kglhdgn1 62 31 2
Library Cache kglpin1 4 26 1
Library Cache kglpnal1 90 18 0
Library Cache kglpndl1 95 15 2
Library Cache kgllldl2 112 6 0
Library Cache kglini1 32 1 0
-------------------------------------------------------------Thanks in advance.Hi,
Thanks for reply.
I provided one hour report.
Inst Num Startup Time Release RAC
1 27-Feb-12 09:03 11.2.0.2.0 NO
Platform CPUs Cores Sockets Memory(GB)
Linux x86 64-bit 8 8 8 48.00
Snap Id Snap Time Sessions Curs/Sess
Begin Snap: 5606 29-Feb-12 04:00:35 63 3.7
End Snap: 5607 29-Feb-12 05:00:41 63 3.6
Elapsed: 60.11 (mins)
DB Time: 382.67 (mins)
Cache Sizes Begin End
~~~~~~~~~~~ ---------- ----------
Buffer Cache: 1,952M 1,952M Std Block Size: 16K
Shared Pool Size: 1,024M 1,024M Log Buffer: 18,868K
Load Profile Per Second Per Transaction Per Exec Per Call
~~~~~~~~~~~~ --------------- --------------- ---------- ----------
DB Time(s): 6.4 0.8 0.03 0.03
DB CPU(s): 1.0 0.1 0.00 0.00
Redo size: 84,539.3 10,425.6
Logical reads: 23,345.6 2,879.1
Block changes: 386.5 47.7
Physical reads: 1,605.0 197.9
Physical writes: 7.1 0.9
User calls: 233.9 28.9
Parses: 4.0 0.5
Hard parses: 0.1 0.0
W/A MB processed: 0.1 0.0
Logons: 0.1 0.0
Executes: 210.9 26.0
Rollbacks: 0.0 0.0
Transactions: 8.1
Instance Efficiency Percentages (Target 100%)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Buffer Nowait %: 99.62 Redo NoWait %: 100.00
Buffer Hit %: 95.57 In-memory Sort %: 100.00
Library Hit %: 99.90 Soft Parse %: 98.68
Execute to Parse %: 98.10 Latch Hit %: 99.99
Parse CPU to Parse Elapsd %: 32.08 % Non-Parse CPU: 99.90
Shared Pool Statistics Begin End
Memory Usage %: 89.25 89.45
% SQL with executions>1: 96.79 97.52
% Memory for SQL w/exec>1: 95.67 96.56
Top 5 Timed Foreground Events
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Avg
wait % DB
Event Waits Time(s) (ms) time Wait Class
db file sequential read 3,054,464 17,002 6 74.0 User I/O
DB CPU 3,748 16.3
read by other session 199,603 796 4 3.5 User I/O
direct path read 46,301 439 9 1.9 User I/O
db file scattered read 21,113 269 13 1.2 User I/O
Host CPU (CPUs: 8 Cores: 8 Sockets: 8)
~~~~~~~~ Load Average
Begin End %User %System %WIO %Idle
1.45 1.67 13.2 0.6 15.8 86.2
Instance CPU
~~~~~~~~~~~~
% of total CPU for Instance: 13.0
% of busy CPU for Instance: 94.7
%DB time waiting for CPU - Resource Mgr: 0.0
Memory Statistics
~~~~~~~~~~~~~~~~~ Begin End
Host Mem (MB): 49,152.0 49,152.0
SGA use (MB): 3,072.0 3,072.0
PGA use (MB): 513.5 467.7
% Host Mem used for SGA+PGA: 7.29 7.20
Time Model Statistics
-> Total time in database user-calls (DB Time): 22960.5s
-> Statistics including the word "background" measure background process
time, and so do not contribute to the DB time statistic
-> Ordered by % or DB time desc, Statistic name
Statistic Name Time (s) % of DB Time
sql execute elapsed time 22,835.9 99.5
DB CPU 3,748.4 16.3
parse time elapsed 15.4 .1
hard parse elapsed time 14.3 .1
PL/SQL execution elapsed time 7.5 .0
PL/SQL compilation elapsed time 6.0 .0
connection management call elapsed time 1.6 .0
sequence load elapsed time 0.4 .0
hard parse (sharing criteria) elapsed time 0.0 .0
repeated bind elapsed time 0.0 .0
failed parse elapsed time 0.0 .0
DB time 22,960.5
background elapsed time 238.1
background cpu time 4.9
Operating System Statistics
-> *TIME statistic values are diffed.
All others display actual values. End Value is displayed if different
-> ordered by statistic type (CPU Use, Virtual Memory, Hardware Config), Name
Statistic Value End Value
BUSY_TIME 396,506
IDLE_TIME 2,483,725
IOWAIT_TIME 455,495
NICE_TIME 0
SYS_TIME 16,163
USER_TIME 380,052
LOAD 1 2
RSRC_MGR_CPU_WAIT_TIME 0
VM_IN_BYTES 95,646,943,232
VM_OUT_BYTES 1,686,059,008
PHYSICAL_MEMORY_BYTES 51,539,607,552
NUM_CPUS 8
NUM_CPU_CORES 8
NUM_CPU_SOCKETS 8
GLOBAL_RECEIVE_SIZE_MAX 4,194,304
GLOBAL_SEND_SIZE_MAX 1,048,586
TCP_RECEIVE_SIZE_DEFAULT 87,380
TCP_RECEIVE_SIZE_MAX 4,194,304
TCP_RECEIVE_SIZE_MIN 4,096
TCP_SEND_SIZE_DEFAULT 16,384
TCP_SEND_SIZE_MAX 4,194,304
TCP_SEND_SIZE_MIN 4,096
Operating System Statistics -
Snap Time Load %busy %user %sys %idle %iowait
29-Feb 04:00:35 1.4 N/A N/A N/A N/A N/A
29-Feb 05:00:41 1.7 13.8 13.2 0.6 86.2 15.8
Foreground Wait Class
-> s - second, ms - millisecond - 1000th of a second
-> ordered by wait time desc, waits desc
-> %Timeouts: value of 0 indicates value was < .5%. Value of null is truly 0
-> Captured Time accounts for 97.6% of Total DB time 22,960.46 (s)
-> Total FG Wait Time: 18,651.75 (s) DB CPU time: 3,748.35 (s)
Avg
%Time Total Wait wait
Wait Class Waits -outs Time (s) (ms) %DB time
User I/O 3,327,253 0 18,576 6 80.9
DB CPU 3,748 16.3
Commit 23,882 0 69 3 0.3
System I/O 1,035 0 3 3 0.0
Network 842,393 0 2 0 0.0
Other 10,120 99 0 0 0.0
Configuration 3 0 0 58 0.0
Application 264 0 0 1 0.0
Concurrency 1,482 0 0 0 0.0
Foreground Wait Events
-> s - second, ms - millisecond - 1000th of a second
-> Only events with Total Wait Time (s) >= .001 are shown
-> ordered by wait time desc, waits desc (idle events last)
-> %Timeouts: value of 0 indicates value was < .5%. Value of null is truly 0
Avg
%Time Total Wait wait Waits % DB
Event Waits -outs Time (s) (ms) /txn time
db file sequential read 3,054,464 0 17,002 6 104.5 74.0
read by other session 199,603 0 796 4 6.8 3.5
direct path read 46,301 0 439 9 1.6 1.9
db file scattered read 21,113 0 269 13 0.7 1.2
log file sync 23,882 0 69 3 0.8 .3
db file parallel read 4,727 0 68 14 0.2 .3
control file sequential re 1,035 0 3 3 0.0 .0
SQL*Net message to client 840,792 0 2 0 28.8 .0
direct path read temp 95 0 2 18 0.0 .0
local write wait 79 0 0 4 0.0 .0
Disk file operations I/O 870 0 0 0 0.0 .0
ASM file metadata operatio 4 0 0 50 0.0 .0
log file switch (private s 3 0 0 58 0.0 .0
ADR block file read 36 0 0 3 0.0 .0
enq: RO - fast object reus 5 0 0 16 0.0 .0
latch: cache buffers chain 1,465 0 0 0 0.1 .0
SQL*Net break/reset to cli 256 0 0 0 0.0 .0
asynch descriptor resize 10,059 100 0 0 0.3 .0
SQL*Net more data to clien 1,510 0 0 0 0.1 .0
enq: KO - fast object chec 3 0 0 8 0.0 .0
SQL*Net more data from cli 91 0 0 0 0.0 .0
latch: shared pool 14 0 0 0 0.0 .0
ADR block file write 5 0 0 1 0.0 .0
reliable message 8 0 0 0 0.0 .0
direct path write temp 1 0 0 2 0.0 .0
SQL*Net message from clien 840,794 0 68,885 82 28.8
jobq slave wait 7,365 100 3,679 499 0.3
Streams AQ: waiting for me 721 100 3,605 5000 0.0
wait for unread message on 3,648 98 3,603 988 0.1
KSV master wait 20 0 0 0 0.0
Background Wait Events
-> ordered by wait time desc, waits desc (idle events last)
-> Only events with Total Wait Time (s) >= .001 are shown
-> %Timeouts: value of 0 indicates value was < .5%. Value of null is truly 0
Avg
%Time Total Wait wait Waits % bg
Event Waits -outs Time (s) (ms) /txn time
log file parallel write 29,353 0 83 3 1.0 34.8
db file parallel write 5,753 0 17 3 0.2 6.9
db file sequential read 1,638 0 15 9 0.1 6.1
control file sequential re 5,142 0 13 2 0.2 5.4
os thread startup 140 0 8 58 0.0 3.4
control file parallel writ 1,440 0 8 6 0.0 3.4
log file sequential read 304 0 8 26 0.0 3.3
db file scattered read 214 0 2 9 0.0 .8
ASM file metadata operatio 1,199 0 1 1 0.0 .3
direct path write 35 0 0 6 0.0 .1
direct path read 41 0 0 5 0.0 .1
kfk: async disk IO 6 0 0 9 0.0 .0
Disk file operations I/O 1,266 0 0 0 0.0 .0
ADR block file read 16 0 0 2 0.0 .0
read by other session 3 0 0 8 0.0 .0
Log archive I/O 2 0 0 10 0.0 .0
log file sync 3 0 0 5 0.0 .0
asynch descriptor resize 341 100 0 0 0.0 .0
CSS initialization 1 0 0 6 0.0 .0
log file single write 4 0 0 1 0.0 .0
latch: redo allocation 3 0 0 1 0.0 .0
ADR block file write 5 0 0 1 0.0 .0
LGWR wait for redo copy 45 0 0 0 0.0 .0
CSS operation: query 6 0 0 0 0.0 .0
CSS operation: action 1 0 0 1 0.0 .0
SQL*Net message to client 420 0 0 0 0.0 .0
rdbms ipc message 47,816 39 61,046 1277 1.6
DIAG idle wait 7,200 100 7,200 1000 0.2
Space Manager: slave idle 1,146 98 5,674 4951 0.0
class slave wait 284 0 3,983 14026 0.0
dispatcher timer 61 100 3,660 60006 0.0
Streams AQ: qmn coordinato 258 50 3,613 14003 0.0
Streams AQ: qmn slave idle 130 0 3,613 27789 0.0
Streams AQ: waiting for ti 7 71 3,608 515430 0.0
wait for unread message on 3,605 100 3,606 1000 0.1
pmon timer 1,201 100 3,604 3001 0.0
smon timer 15 73 3,603 240207 0.0
ASM background timer 754 0 3,602 4777 0.0
shared server idle wait 120 100 3,601 30006 0.0
SQL*Net message from clien 554 0 4 7 0.0
KSV master wait 101 0 0 2 0.0
Wait Event Histogram
-> Units for Total Waits column: K is 1000, M is 1000000, G is 1000000000
-> % of Waits: value of .0 indicates value was <.05%; value of null is truly 0
-> % of Waits: column heading of <=1s is truly <1024ms, >1s is truly >=1024ms
-> Ordered by Event (idle events last)
% of Waits
Total
Event Waits <1ms <2ms <4ms <8ms <16ms <32ms <=1s >1s
ADR block file read 52 73.1 1.9 9.6 13.5 1.9
ADR block file write 10 100.0
ADR file lock 12 100.0
ARCH wait for archivelog l 3 100.0
ASM file metadata operatio 1203 97.3 .5 .7 .3 .2 .9
CSS initialization 1 100.0
CSS operation: action 1 100.0
CSS operation: query 6 83.3 16.7
Disk file operations I/O 2118 95.4 4.5 .1
LGWR wait for redo copy 45 100.0
Log archive I/O 2 100.0
SQL*Net break/reset to cli 256 99.6 .4
SQL*Net message to client 839.9 100.0 .0
SQL*Net more data from cli 91 100.0
SQL*Net more data to clien 1503 100.0
asynch descriptor resize 10.4K 100.0
buffer busy waits 2 100.0
control file parallel writ 1440 5.7 35.1 24.0 16.3 12.0 5.5 1.5
control file sequential re 6177 69.4 7.5 5.9 8.1 7.1 1.7 .3
db file parallel read 4727 1.7 3.2 3.2 10.1 46.6 33.3 1.8
db file parallel write 5755 42.3 21.3 18.6 11.2 4.6 1.4 .5
db file scattered read 21.5K 8.4 4.3 11.9 18.9 26.3 25.3 4.9
db file sequential read 3053. 28.7 15.1 11.1 17.9 21.5 5.4 .3 .0
direct path read 46.3K 9.9 8.8 18.5 21.7 22.8 15.7 2.7
direct path read temp 95 9.5 9.5 23.2 49.5 8.4
direct path write 35 11.4 31.4 17.1 22.9 11.4 2.9 2.9
direct path write temp 1 100.0
enq: KO - fast object chec 3 66.7 33.3
enq: RO - fast object reus 5 20.0 20.0 20.0 20.0 20.0
kfk: async disk IO 6 50.0 16.7 16.7 16.7
latch free 3 100.0
latch: cache buffers chain 1465 100.0
latch: cache buffers lru c 1 100.0
latch: object queue header 2 100.0
latch: redo allocation 3 33.3 33.3 33.3
latch: row cache objects 2 100.0
latch: shared pool 15 93.3 6.7
local write wait 79 35.4 34.2 21.5 8.9
log file parallel write 29.4K 47.8 21.7 11.9 9.9 6.8 1.6 .3
log file sequential read 304 6.3 3.0 3.6 10.2 23.4 24.3 29.3
log file single write 4 25.0 75.0
log file switch (private s 3 100.0
log file sync 23.9K 40.9 28.0 12.9 9.7 6.7 1.5 .3
os thread startup 140 100.0
read by other session 199.6 37.1 19.9 12.9 13.1 13.8 3.1 .2
reliable message 8 100.0
ASM background timer 755 2.9 .4 .1 .1 .3 .1 .3 95.8
DIAG idle wait 7196 100.0
KSV master wait 121 88.4 2.5 3.3 2.5 .8 .8 1.7
SQL*Net message from clien 840.1 97.1 1.8 .5 .2 .2 .1 .0 .1
Space Manager: slave idle 1147 .1 .5 99.4
Streams AQ: qmn coordinato 258 49.6 .4 50.0
Streams AQ: qmn slave idle 130 .8 99.2
Streams AQ: waiting for me 721 100.0
Streams AQ: waiting for ti 7 28.6 42.9 28.6
class slave wait 283 39.9 2.5 2.5 3.5 4.9 9.2 15.2 22.3
dispatcher timer 60 100.0
jobq slave wait 7360 .0 .0 .0 99.9
pmon timer 1201 100.0
rdbms ipc message 47.8K 2.7 31.6 17.4 1.1 1.1 .9 20.9 24.3
Wait Event Histogram DB/Inst: I2KPROD/I2KPROD Snaps: 5606-5607
-> Units for Total Waits column: K is 1000, M is 1000000, G is 1000000000
-> % of Waits: value of .0 indicates value was <.05%; value of null is truly 0
-> % of Waits: column heading of <=1s is truly <1024ms, >1s is truly >=1024ms
-> Ordered by Event (idle events last)
% of Waits
Total
Event Waits <1ms <2ms <4ms <8ms <16ms <32ms <=1s >1s
shared server idle wait 120 100.0
smon timer 16 6.3 93.8
wait for unread message on 7250 .1 99.9
Latch Miss Sources
-> only latches with sleeps are shown
-> ordered by name, sleeps desc
NoWait Waiter
Latch Name Where Misses Sleeps Sleeps
In memory undo latch ktichg: child 0 1 0
active service list kswslogon: session logout 0 2 0
cache buffers chains kcbgtcr_2 0 1,123 483
cache buffers chains kcbgtcr: fast path (cr pin 0 496 1,131
cache buffers chains kcbrls_2 0 5 6
cache buffers chains kcbgcur_2 0 4 0
cache buffers chains kcbgtcr: fast path 0 3 1
cache buffers chains kcbzwb 0 2 4
cache buffers chains kcbchg1: kslbegin: bufs no 0 1 0
cache buffers chains kcbnew: new latch again 0 1 0
cache buffers chains kcbrls_1 0 1 6
cache buffers chains kcbzgb: scan from tail. no 0 1 0
cache buffers lru chain kcbzgws 0 1 0
object queue header oper kcbo_switch_cq 0 1 0
object queue header oper kcbo_switch_mq_bg 0 1 2
redo allocation kcrfw_redo_gen: redo alloc 0 3 0
row cache objects kqrpre: find obj 0 1 1
row cache objects kqrso 0 1 0
shared pool kghalo 0 13 3
shared pool kghupr1 0 4 15
shared pool kghalp 0 1 0
space background task la ktsj_grab_task 0 2 2
------------------------------------------------------------- -
Performance issues since upgrade
I am on a late 2011 MacBook Pro and am having severs performance issues since upgrading to Mavericks. I fear my issues may be related to company installed anti-virus (which I cannot remove), but I was hoping someone could look over my EtreCheck for other potential solutions.
One really odd issue I am having, which I cannot seem to find good information for on Google, is at least 4-5 times a day my Mac just stops. No beach ball, no anything, for about 1-5 minutes. Then it's fine. Maybe just me grasping at straws, but it seems related to a when webpage loads a bunch of images? I always use Safari btw, but testing other browsers, like Chrome & Firefox, it happens as well.
I have also removed TotalFinder and have noticed no improvement and still have the above issue.
Thanks in advance!
Here is my EtreCheck:
Problem description:
slow performance on Mavericks
EtreCheck version: 2.0.11 (98)
Report generated November 11, 2014 at 8:51:26 AM EST
Hardware Information: ℹ️
MacBook Pro (17-inch, Late 2011) (Verified)
MacBook Pro - model: MacBookPro8,3
1 2.5 GHz Intel Core i7 CPU: 4-core
8 GB RAM Upgradeable
BANK 0/DIMM0
4 GB DDR3 1333 MHz ok
BANK 1/DIMM0
4 GB DDR3 1333 MHz ok
Bluetooth: Old - Handoff/Airdrop2 not supported
Wireless: en1: 802.11 a/b/g/n
Video Information: ℹ️
Intel HD Graphics 3000 - VRAM: 512 MB
AMD Radeon HD 6770M - VRAM: 1024 MB
Color LCD 1920 x 1200
LED Cinema Display 1920 x 1200
System Software: ℹ️
OS X 10.9.5 (13F34) - Uptime: 0:46:22
Disk Information: ℹ️
APPLE HDD HTS727575A9E362 disk0 : (750.16 GB)
S.M.A.R.T. Status: Verified
EFI (disk0s1) <not mounted> : 210 MB
Macintosh HD (disk0s2) / [Startup]: 749.30 GB (256.69 GB free)
Recovery HD (disk0s3) <not mounted> [Recovery]: 650 MB
MATSHITADVD-R UJ-8A8
USB Information: ℹ️
Apple Inc. FaceTime HD Camera (Built-in)
Fitbit Inc. Fitbit Base Station
Apple Inc. BRCM2070 Hub
Apple Inc. Bluetooth USB Host Controller
Apple Inc. Apple Internal Keyboard / Trackpad
Apple, Inc. Keyboard Hub
Apple, Inc Apple Keyboard
Tablet PTZ-630
Logitech Logitech USB Headset
Apple Inc. Display iSight
Apple Inc. Apple LED Cinema Display
Apple Inc. Display Audio
Apple Computer, Inc. IR Receiver
Firewire Information: ℹ️
Iomega HDD unknown_device 800mbit - 800mbit max
S.M.A.R.T. Status: Verified
disk1s1 (disk1s1) <not mounted> : 32 KB
Iomega HDD (disk1s3) /Volumes/Iomega HDD : 500.04 GB (22.88 GB free)
Files (disk1s5) /Volumes/Files : 499.90 GB (416.87 GB free)
Thunderbolt Information: ℹ️
Apple Inc. thunderbolt_bus
Gatekeeper: ℹ️
Anywhere
Kernel Extensions: ℹ️
/Library/Application Support/Symantec/Protector
[not loaded] com.symantec.kext.protector.panther (1.0f5) Support
[not loaded] com.symantec.kext.protector.tigerplus (1.0f5) Support
/Library/StartupItems/SymAutoProtect
[loaded] com.Symantec.kext.SAVAPComm (11.0.6) Support
/System/Library/Extensions
[loaded] com.Cycling74.driver.Soundflower (1.5.1) Support
[loaded] com.InnovationTechnology.driver.ComputerAudio (1.01 - SDK 10.7) Support
[not loaded] com.cisco.nke.ipsec (2.0.1) Support
[not loaded] com.wacom.kext.wacomtablet (6.3.7 - SDK 10.8) Support
Startup Items: ℹ️
CiscoVPN: Path: /System/Library/StartupItems/CiscoVPN
NortonMissedTasks: Path: /Library/StartupItems/NortonMissedTasks
SMC: Path: /Library/StartupItems/SMC
SymAutoProtect: Path: /Library/StartupItems/SymAutoProtect
SymProtector: Path: /Library/StartupItems/SymProtector
Startup items are obsolete and will not work in future versions of OS X
Launch Agents: ℹ️
[not loaded] com.adobe.AAM.Updater-1.0.plist Support
[loaded] com.adobe.CS5ServiceManager.plist Support
[loaded] com.google.keystone.agent.plist Support
[running] com.jamfsoftware.jamf.agent.plist Support
[loaded] com.oracle.java.Java-Updater.plist Support
[running] com.symantec.quickmenu.application.plist Support
[running] com.wacom.wacomtablet.plist Support
[running] net.juniper.pulsetray.plist Support
Launch Daemons: ℹ️
[loaded] com.adobe.fpsaud.plist Support
[running] com.fitbit.fitbitd.plist Support
[running] com.fitbit.galileod.plist Support
[loaded] com.google.keystone.daemon.plist Support
[running] com.jamfsoftware.jamf.daemon.plist Support
[not loaded] com.jamfsoftware.startupItem.plist Support
[loaded] com.jamfsoftware.task.1.plist Support
[loaded] com.microsoft.office.licensing.helper.plist Support
[loaded] com.oracle.java.Helper-Tool.plist Support
[loaded] com.oracle.java.JavaUpdateHelper.plist Support
[loaded] com.rogueamoeba.instanton-agent.plist Support
[running] net.juniper.AccessService.plist Support
[loaded] net.juniper.UninstallPulse.plist Support
User Launch Agents: ℹ️
[loaded] com.valvesoftware.steamclean.plist Support
[running] ws.agile.1PasswordAgent.plist Support
User Login Items: ℹ️
gfxCardStatus Application (/Users/[redacted]/Downloads/gfxCardStatus.app)
Dropbox Application (/Applications/Dropbox.app)
Microsoft Database Daemon Application (/Applications/Microsoft Office 2011/Office/Microsoft Database Daemon.app)
cdn Volume (/Volumes/cdn)
TotalFinder Application (/Applications/TotalFinder.app)
SAVDiskMountNotify Application (/Library/Application Support/Symantec/AntiVirus/SAVDiskMountNotify.app)
ScanNotification Application (/Library/Application Support/Symantec/AntiVirus/ScanNotification.app)
SymSecondaryLaunch Application (/Library/Application Support/Norton Solutions Support/Scheduler/SymSecondaryLaunch.app)
Internet Plug-ins: ℹ️
OfficeLiveBrowserPlugin: Version: 12.3.6 Support
Flash Player: Version: 15.0.0.189 - SDK 10.6 Mismatch! Adobe recommends 15.0.0.223
AdobePDFViewer: Version: 10.0.2 Support
Unity Web Player: Version: UnityPlayer version 4.5.4f1 - SDK 10.6 Support
googletalkbrowserplugin: Version: 5.38.6.0 - SDK 10.8 Support
AdobeExManDetect: Version: AdobeExManDetect 1.1.0.0 - SDK 10.7 Support
iPhotoPhotocast: Version: 7.0
DirectorShockwave: Version: 11.5.9r620 Support
QuickTime Plugin: Version: 7.7.3
FlashPlayer-10.6: Version: 15.0.0.189 - SDK 10.6 Support
Silverlight: Version: 4.0.60310.0 Support
MeetingJoinPlugin: Version: (null) - SDK 10.6 Support
net.juniper.DSSafariExtensions: Version: (null) Support
Default Browser: Version: 537 - SDK 10.9
Flip4Mac WMV Plugin: Version: 2.3.1.2 Support
o1dbrowserplugin: Version: 5.38.6.0 - SDK 10.8 Support
WacomTabletPlugin: Version: WacomTabletPlugin 2.1.0.2 Support
SharePointBrowserPlugin: Version: 14.4.5 - SDK 10.6 Support
JavaAppletPlugin: Version: Java 7 Update 71 Check version
WacomNetscape: Version: 2.1.0-1 - SDK 10.8 Support
User Internet Plug-ins: ℹ️
SOEWebInstaller: Version: 1.0 - SDK 10.5 Support
Aspera Web 3.1.2.72265: Version: (null) - SDK 10.6 Support
Safari Extensions: ℹ️
1Password
Adblock Plus
Reddit Enhancement Suite
3rd Party Preference Panes: ℹ️
Flash Player Support
Flip4Mac WMV Support
Java Support
MacFUSE Support
SymAutoProtect
Symantec\nQuickMenu Support
WacomTablet Support
Time Machine: ℹ️
Skip System Files: NO
Mobile backups: ON
Auto backup: YES
Destinations:
Iomega HDD [Local]
Total size: 500.04 GB
Total number of backups: 37
Oldest backup: 2014-10-14 14:11:11 +0000
Last backup: 2014-11-11 13:27:48 +0000
Size of backup disk: Excellent
Backup size 500.04 GB > (Disk size 0 B X 3)
Top Processes by CPU: ℹ️
36% com.apple.WebKit.Plugin.64
34% SymAutoProtect
13% WindowServer
9% Unity
4% Activity Monitor
Top Processes by Memory: ℹ️
455 MB Safari
361 MB com.apple.WebKit.Plugin.64
292 MB Unity
77 MB com.apple.WebKit.Networking
77 MB com.apple.WebKit.WebContent
Virtual Memory Information: ℹ️
2.08 GB Free RAM
2.39 GB Active RAM
1.34 GB Inactive RAM
1.40 GB Wired RAM
1.11 GB Page-ins
5.54 GB Page-outsActivity Monitor - Mavericks also Yosemite
Activity Monitor in Mavericks has significant changes
Performance Guide
Why is my computer slow
Why your Mac runs slower than it should
Slow Mac After Mavericks
Things you can do to resolve slowdowns see post by Kappy -
Aperture performance issues.
Dear members:
After some disappointments with the latest version of Bridge (CS3) I decided to start working with Aperture as I found it offered some interesting tools for viewing and selecting images.
First I worked on some test images and everything went well. However, last night I did my first import of "real world" images and experienced severe performance issues.
I imported one folder containing 163 photos to two different locations - the folder and the images were the same but imported into two separate locations in Aperture as I was trying to create the ideal file structure for me.
These are the questions and/or problems I have.
1. This IS NOT a major problem. As much as I tried to import photos into an album or folder I couldn't do it. I don't like the project concept and prefer to have my images placed into folders or albums. My iPhoto library was imported by Aperture using this structure. The iPhoto library is a folder with albums as subdivisions as they were set up in iPhoto originally. However, this doesn't seem to be working as I import photos from other locations.
Q: How can I import photos into folders or albums and completely avoid the projects concept and icons ?
2. This IS major problem. Performance was very poor. I imported the folders last night and waited for approximately 30 min until I decided to turn my computer off. Aperture gave me a message stating that it was still generating previews and asking me if I wanted to quit. I pressed the OK button and turned the computer off. This morning I launced Aperture again and it went back to the spinning wheel on both projects. It must have taken approximately 45 min until the spinning wheels were no longer turning.
This is a problem for me as I have a library with approximately 15,000 - 20,000 images. The ones I imported last night were CR2 generated by a Canon 1Ds MK II (17 MB each). I can only imagine how long it would have taken had I chosen to import the 120+ MB TIFF images I also have in my library from slide scans.
My Aperture preferences have been set for Preview Quality = 12 and Limit Preview Size = Don't Limit. I have it set this way as I don't with to have reduced size previews so that (1) they can display with the highest possible quality as I mostly use the full screen mode for viewing and selecting images, and (2) in case I upgrade to a larger monitor in the near future (I have a 23" cinema display but am planning to upgrade to a 30") the previews will still work with that monitor.
Is this performace typical of Aperture ? I understand my camera is a professional camera that generates large images but isn't Aperture supposed to be a professional application aimed at professional photographers ? And what about those who work with 39 MB images from a Hasselblad or with scanned 120+ MB slide images ?
Is there something obvious I have forgotten to look at or set up in Aperture ?
Thank you in advance,
Joseph ChamberlainSteve:
Thank you very much for your reply to my post and for your suggestions. Some comments about my experience appear below. I am grateful for your help and don't wish in any way to discuss what you recommend below. I just wish to share my view of this issue and also to try to find the best answers for my problem.
For 1, use File > Import > Folders Into A Project. That will retain your folder
structure using brown folders and albums.
See:
http://www.bagelturf.com/aparticles/library/fivesimple/index.html and
http://www.bagelturf.com/aparticles/library/brown/index.html and
http://www.bagelturf.com/aparticles/library/libinadv/index.html
A. You can't. Projects are the container for everything in Aperture. No
projects, no images. So just live with them and subnvert them any way you
like. I don't have "projects" so I just use months, vacations, events, or
whatever keeps my image collections a reasonable size.
As an user I would like to have control over my own filing structure. This works quite well in iPhoto and I don't understand why Aperture chose to adopt this less flexible file structure. Also I noticed that the imported iPhoto library appears in Aperture inside a folder with multiple albums. Since Aperture can do this for iPhoto I find it hard to understand why it can't do for other imported images.
2. Turn off previews and delete the ones you have. When you find you need > them, use them selectively:
http://www.bagelturf.com/aparticles/previews/pwho/index.html
As stated in my previous post I always (no exception) use the full screen mode for viewing my images which is similar to a slide show. So according to the web page you reference above I would fall under the category of users that need previews.
You don't need high res previews. Aperture already generates thumbnails
for you.
General speed tips:
* Get the best video card with the most RAM you can afford
I can't. My computer is fairly new as it was purchased a little more than 2 years ago. Although it is a fairly new computer Apple no longer offers parts for it. My video card is an ATI Radeon 9600 Pro with 64 MB of VRAM installed. I have contacted Apple about this issue and they tell me there is nothing they can do. I have also contacted both ATI Radeon and nVidia and both have discontinued the only two cards they would work in my system (X800 XT Mac Edition and GeForce 6800, respectively).
* Smaller screens are faster than larger screens
My screen is 23" which I would consider to be a medium size screen by today's standards. However, isn't the purpose of working with Aperture to be able to develop a professional workflow ? And don't most professionals like to use large screens to view their work ?
* Avoid H&S adjustments until all the others are done
* Make sure you have sufficient RAM (2G minimum, 3G on a Mac Pro)
My system has 2.5 GB RAM installed. It has been suggested to me that I should add another 1 or 2 GB RAM as it would improve performance significantly. I have no problem doing that and would welcome that solution if I knew for a fact it was going to address my issues. However, I have already invested too much on hardware and software while still finding myself struggling with the issues I have described. Do you think the additional RAM would solve the problem ?
* Don't use previews unless you need them
Based on what I have read on the pages you referenced it seems to me I am one of those users who needs previews.
* Keep projects small. Use blue folders to group projects
My current filing structure is simple - I four folders each with subfolders containing in average 200 to 1000 images each. Some have as little as 1 image and some have 1000. But the majority would fall in the 300 to 400 images range.
* Rebuild the database once in a while
* Quit other apps if memory is restrictive
It seems in this case that the RAM upgrade I mention above would be helpful. Would it allow me to run other applications while also running Aperture without any noticeable performance alteration ?
To a great extent you have to rethink your workflow once you use Aperture.
Many people do a lot of unnecessary things because they are coming from
an environment that forced them to. Start from scratch and ask yourself
why you do everything you do. Much of the effort you will find is wasted
because Aperture either does it for you or make it unnecessary.
I am trying to simply my workflow as much as I can but not at the expense of quality. Bridge CS2 did a very good job for me. In many ways it was the perfect application althout it didn't have many of the great features I find in Aperture for reviewing and selecting images. First it was simple - all you had to do was to create your own file structure and then point Bridge to the folders as it would create its own previews. Second it was fast - this process happened a lot faster compared to Aperture and Bridge CS3. Third it was high quality - the previews generated were high quality and could be seen with amazing resolution while in slide show viewing mode on my 23" screen. My upgrade to Bridge CS3 was disastrous as (1) it has many bugs Adobe hasn't taken the time to fix, (2) it is slow on average machines requiring the latest hardware to run efficiently which is unrealistic for most consumers and (3) the previews generated are soft and appear pixilated and in poor quality while in slide show view.
I am going back to Aperture after a very disappointing start as I was one of the very first to purchase the software as soon as it was introduced only to be frustrated with all of its bugs and design flaws. Aperture has one of the best interfaces I have seen on any imaging application and I would really like to use but after this new attempt to use and the barriers I have encountered I am not sure I can.
Joseph Chamberlain -
SetAttribute causing performance issue.
Hi ,
I am using 11.1.1.4.0
Code:::
DCIteratorBinding itr=ADFUtil.findIterator(iterator);
RowSetIterator rsi=itr.getRowSetIterator();
Row currRow=rsi.getCurrentRow();
currRow.setAttribute(id,null);
If i call setAttribute multiple times(like 10-20 times) ,it causes severe performance issue .
Is there any reason for it ??
Should we avoid using setAttribute() ??If so then what we should use?
Any help is appreciated .
Thanks
Sazzusecase is user wld see a existing vacancy record and able to update it.
GEVacancyFromNotificationVO1() is a query based vo and getGETranVacancyVO1() is a updatable VO . Now using view criretia i am pulling the record in the updatable VO , this will have only 1 record at 1 time.
GEVacancyFromNotificationVO1() gets the details and set then in attributes of the updatable VO as this VO includes many trasient attributes which are required in my jsff . Basicallly this data are not saved in DB but required to show in the UI.
Anyways now the thing is setAttribute as called 20-30 times you see , the performance is slow and sometimes data is not set as well.
I used attributeListImp class to create a name value pair and create a new row for this VO using createAndInitRow() and that works super fast . That is requied for another use case and works perfectly ok . Only when i want to update a existing record i have to update the same row. cant create another row, so facing this performance issue and sometime data doesnt set properly . i get null in DCiterator binding when i fetch the data in bean class.
So my question is why does setAttribute of AttributeListImpl is much much faster than setAttribute of Row class.??
public void initializeFromNotification(String role, String emp) {
ViewObjectImpl notifyVO = this.getGEVacancyFromNotificationVO1();
ViewObjectImpl transVO = this.getGETranVacancyVO1();
ViewObjectImpl geLoginPersonIdVO = this.getGELoginPersonIdVO1();
ViewObjectImpl autoPopulatevo =
this.getGEAutopopulateHireSysforCopyVacanciesVO1();
ViewObjectImpl geNextApproverVO = this.getGENextApproverVO1();
ViewObjectImpl transHireVo = getGEHireSystemReqTeamTransVO1();
ViewObjectImpl gejobdesc = getGEJobDescTransVO1();
Row row = notifyVO.first();
if (row != null) {
//query the trx table
transVO.setApplyViewCriteriaName("VacancyNumberVC");
transVO.setNamedWhereClauseParam("p_vac_num",
row.getAttribute("VacancyNumber"));
transVO.executeQuery();
if (transVO.first() == null) {
return;
} else {
transVO.setCurrentRow(transVO.first());
Row currentRow = transVO.getCurrentRow();
List<String> transColumns =
Arrays.asList(currentRow.getAttributeNames());
//setting values from notification vo to transvacancy VO
String arr[] = row.getAttributeNames();
if (null != transVO.getCurrentRow()) {
// AttributeListImpl attrList = new AttributeListImpl();
for (String attr : arr) {
if (row.getAttribute(attr) != null) {
if (attr.equalsIgnoreCase("VacTrxId")) {
} else if (transColumns.contains(attr)) {
if (currentRow.getAttribute(attr) == null) {
currentRow.setAttribute(attr,
row.getAttribute(attr).toString());
if (role != null && role.startsWith("ORG_MGR")) {
transVO.getCurrentRow().setAttribute("userRole",
"INITIATOR_HM");
transVO.getCurrentRow().setAttribute("userRoleDisplay",
"Hiring Manager");
} else if (role != null && role.startsWith("HRM")) {
transVO.getCurrentRow().setAttribute("userRole",
"INITIATOR_HRM");
transVO.getCurrentRow().setAttribute("userRoleDisplay",
"HR Manager");
} else {
transVO.getCurrentRow().setAttribute("userRole",
"INITIATOR_RFO");
transVO.getCurrentRow().setAttribute("userRoleDisplay", "RFO");
transVO.getCurrentRow().setAttribute("EmpNumber", emp);
geLoginPersonIdVO.setNamedWhereClauseParam("sso", emp);
geLoginPersonIdVO.executeQuery();
transVO.getCurrentRow().setAttribute("userPersonId",
geLoginPersonIdVO.first().getAttribute(0));
Maybe you are looking for
-
How can I use Bluetooth with another devices?
How can I use Bluetooth with another devices?
-
Windows Vista 64 bit and new iMac (Penryn)
Anyone knows when the new iMacs will be "official supported" for Vista 64? I have read that today only the Mac Pro and the MacBook Pro ( both 2008 edition) are supported. I have try to install Vista 64 on my new iMac Penryn without problem (OS) while
-
Dynamic filename in Business Rules
Hi, I would like to use the DataExport command in my business rules to extract level-0 data in a file as a reference for user. I would need to extract data only for Entities that a user has access to (I figured that I could use parameters, link the r
-
I'm using Elements 8. on a PC (Windows 7). Is there any way to display albums in the "Open As" dialog box? I'd like to move JPEGs from an Organizer Album into the Raw Converter. The Explorer folders are identified by date. So several Albums cont
-
Issue regarding Internal Order Number
Hi When i am creating internal order in KO01 transaction, it is getting reflected in object class ANLA but when i am changing internal order in KO02 transaction ,it is getting reflected in objec class RKAUFTRAG. I am getting object id based on object