Use of HttpSession and Performance Issues

I am working on an application where we are storing data in a user's HttpSession. The application consists of several modules. Each module consists of sub-modules. A sub-module contains various data which is display to the user as multiple tabs with each tab displaying a JSP. The data displayed on each JSP is stored in the HttpSession for a given browser window. So if the user only has one browser window open there will be one entry in the HttpSession for that window containing the data for the various tabs of the displayed sub-module.
This effort has been a transition of a legacy Powerbuilder application over to the Web. We have noticed, along with the users :( some delays in displaying data. We only connect to the database during the initial retrieve of the data. Once the data for a sub-module is retrieved it is displayed and stored in the HttpSession. As the user makes modifications we modify the appropriate structure in the HttpSession. When the user Saves the data, that is when we make a connection to the back end database.
What is the best way to determine if there are true performance issues or whether we are just experiencing the cost of doing business across the Web?
Does using HttpSession cause potential performance issues?
We are also using the Netui tags in the JSP's and we have discovered some overhead when tag ids are used. In most places we have removed the tag ids since extra script is generated when they are used in conjunction with the Netui tags. This has helped in some places with the rendering of data on a page.
Anyone have any suggestions/ideas?
Thanks in advance.
Michelle

Is anybody using MODEL in production?
How is the performance - is there any real problems?I used a MODEL query last year to simulate a FIFO queue and calculate average stock prices.
It performs pretty well, but the volume of data is small though (~200k rows processed per batch session).

Similar Messages

  • Cache and performance issue in browsing SSAS cube using Excel for first time

    Hello Group Members,
    I am facing a cache and performance issue for the first time, when I try to open a SSAS cube connection using Excel (using Data tab  -> From Other Sources --> From Analysis Services) after daily cube refresh. In end users
    system (8 GB RAM), for the first time, it takes 10 minutes to open the cube. From next run onwards, its open up quickly within 10 secs.
    We have daily ETL process running in high end servers. The configuration of dedicated SSAS cube server is 8 core, 64GB RAM. In total we have 4 cubes - out of which for 3 is full cube refresh and 1 is incremental refresh. We have seen after
    daily cube refresh, it takes 10 odd minutes to open the cube in end users system. From next time onwards, it opens up really fast with 10 secs. After cube refresh, in server systems (16 GB RAM), it takes 2 odd minutes to open the cube.
    Is there, any way we could reduce the time taken for first attempt ?
    Best Regards, Arka Mitra.

    Thanks Richard and Charlie,
    We have implemented the solution/suggestions in our DEV environment and we have seen a definite improvement. We are waiting this to be deployed in UAT environment to note down the actual performance and time improvement while browsing the cube for the
    first time after daily cube refresh.
    Guys,
    This is what we have done:
    We have 4 cube databases and each cube db has 1-8 cubes.
    1. We are doing daily cube refresh using SQL jobs as follows:
    <Batch xmlns="http://schemas.microsoft.com/analysisservices/2003/engine">
    <Parallel>
    <Process xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ddl2="http://schemas.microsoft.com/analysisservices/2003/engine/2" xmlns:ddl2_2="http://schemas.microsoft.com/analysisservices/2003/engine/2/2" xmlns:ddl100_100="http://schemas.microsoft.com/analysisservices/2008/engine/100/100" xmlns:ddl200="http://schemas.microsoft.com/analysisservices/2010/engine/200" xmlns:ddl200_200="http://schemas.microsoft.com/analysisservices/2010/engine/200/200">
    <Object>
    <DatabaseID>FINANCE CUBES</DatabaseID>
    </Object>
    <Type>ProcessFull</Type>
    <WriteBackTableCreation>UseExisting</WriteBackTableCreation>
    </Process>
    </Parallel>
    </Batch>
    2. Next we are creating a separate SQL job (Cache Warming - Profitability Analysis) for cube cache warming for each single cube in each cube db like:
    CREATE CACHE FOR [Profit Analysis] AS
    {[Measures].members}
    *[TIME].[FINANCIAL QUARTER].[FINANCIAL QUARTER]
    3. Finally after each cube refresh step, we are creating a new step of type T-SQL where we are calling these individual steps:
    EXEC dbo.sp_start_job N'Cache Warming - Profit Analysis';
    GO
    I will update the post after I receive the actual im[provement from UAT/ Production environment.
    Best Regards, Arka Mitra.

  • Macbook screen cracked, HD and performance issues

    I am definitely disappointed with my computer.
    I have a Macbook 13.3" 2.4Ghz Intel Core 2 Duo 4Gb 160Gb HD, Serial#: W8**VM0P5, and within 1,5 year I have faced many issues, which are related here:
    September 24th, 2008
    O.S. CRASHES
    I bought it in late September 2008, in Cologne, Germany, at the reseller "Compustore PC Gmbh", and also asked 4Gb Ram, and a Wireless mighty mouse.
    After changing the Ram memory, i went home; and a few days later, the problems came. Sometimes, the system crashed suddenly, showing the grey screen: "You must restart your computer". I thought it was normal, and continued to use, when it became more frequently (Picture: http://picasaweb.google.com/gstorck/MacbookProblems#5476986272817173138). It was little strange for a new laptop, and then I took it back to the store to fix it. The seller just took a look, changed some configurations, and gave me back again. I did this twice, and had to get back to the store for the third time, due to new crashes and some lack of performance. Then the seller replaced the Ram memory, with new 4Gb.
    After that, the system worked more stable; the problem happened some two or three times after some months, but it was ok.
    November 9th, 2009
    HD Problems
    One year later, in late 2009, I purchased a Mac OS update, the Snow Leopard. I was back to Brazil, where I live till today. During the OS installation, something went wrong and it couldn't be completed. Mac asked me to restart the computer, but then the system didn't start anymore; some files were corrupted. I guess there was not enough space to install the update, so it was not completed; but it should be no reason to the corruption of the OS.
    November 10th, 2009
    I took my computer to the local Apple technical support, the "Omni Informatica", in Curitiba, PR, Brazil, to format the HD and reinstall the Snow Leopard. As I needed more space, I also changed my original 160Gb HD for a new 250Gb Western Digital HD. The service was finished in Nov 17th.
    I noticed also little cracks in the laptop case, but I had no time to insist with the bad local technical support to repair it (I know Apple already acknowledged this problem.) They said, at first, that they would have to ask the Apple USA to send the body, or something like that.
    (Pictures:http://picasaweb.google.com/gstorck/MacbookProblems#5476986477312032226)
    January 12th, 2010.
    SCREEN CRACKED
    The reinstallation was ok, and the laptop was running well. Suddenly, when I take the Macbook from the case and open it on my desk, something pretty wrong appears: a large crack on the lower right corner of the screen.
    It was not dropped, it was not crashed, and I did not "close it with a pen inside".
    The screen simply cracked. And as so many similar problems with another users I could easily find on the web, I really expect Apple to admit it as a Manufacture's fault. The local technical support said it is no other thing except I hit the laptop, or dropped it, so it's all my fault. (See Picture 3)
    The only thing they can offer me is to repair the screen for R$1200. I am definitely not going to pay for this; a "normal" and good pc laptop costs this price (And a new basic macbook costs today R$2400).
    If the problems were just it, it would be not so bad.
    (Pictures: http://picasaweb.google.com/gstorck/MacbookProblems#5476986361400585122)
    February 11th, 2010
    HD FAILURE
    After 1 month, on Feb 11th, my new 250Gb HD simply stopped working. Different from the first time, that the HD was just corrupted, this time it has really broken, it died. I had it all backed up, but I have lost the HD.
    Back again to the technical assistance, they said to me the problem was the same that cracked my screen: my fault, on letting the laptop fall, or hitting it with some kind of pressure. They couldn't do anything, and even the Western Digital 3-month Warranty would not cover this type of problem ("user's misuse").
    May 28th, 2010
    DECREASE IN PERFORMANCE
    I'm working again with the original 160Gb HD (formatted and reinstalled), and some other external drives to store my files.
    It's been quite difficult to deal with all this Data and Screen problems, and now the Macbook's performance is decreasing every day. It's been slower to process operations and to launch the applications. Sometimes, the system does not even sleep anymore when the laptop is closed, or it takes so long time to sleep that it just sleeps when I open it again. Besides, sometimes the mouse pointer disappear, and some bizarre graphics take its place.
    Don't forget: It's a 1,5-year-old Macbook, with 2.4GHz, 4Gb RAM and the O.S. is installed for no longer than 4 months. It is supposed to work better, I guess.
    I saved a lot of money to buy a good computer, and to get rid of the endless issues I had with PCs. That issues never were so serious with the ones I face now with Macbook.
    Even if I pay R$1200 to replace the screen, with the money I don't have, I would still stand these performance issues, which seem to have come with this problematical laptop. I hope to have some solution from Apple, if it want to deliver what it promises and want to keep a customer.
    Otherwise, I will have to change to another system platform and another computer manufacturer, to see if I stop throwing money away with these devices. I think that maybe at least, the cost-benefit ratio will be higher.
    Did anybody receive contact from Apple support about these screen problems?
    Guilherme R. Storck
    Apple user since 2008
    <Edited By Host>
    gstorck (at) gmail (dot) com

    Well, your first issue is pretty clearly just some bad RAM, and it sounds like even the replacement RAM was bad. Who knows if the people who put it in had any kind of clue what they were doing. I've seen repair shops where people are smoking in the same room they do repairs.
    Second problem sounds typical of a failing HDD. It's a fairly common problem with laptops... Apple, Dell, Lenovo, HP, Acer... Probably the single most common problem with laptops no matter who makes them. People get this notion in their heads that the "portable" aspect of laptops means you can pick them up and carry them all over while turned on. Which you can... If you don't mind dramatically shortening the life of the HDD. What "portable" REALLY means with laptops, is that they are easy to move if you put them into a powered down state. They should NEVER be moved around when in normal operation. And since you seem to do a bit of traveling, if you're on a plan, and there's turbulence, you should shut the laptop off until it smooths out.
    The screen cracking could have something to do with the rather sudden change in climate. Germany isn't exactly the frozen tundra, but it is a pretty different climate from Brazil, and changes in things like humidity could cause problems. The laws of thermodynamics tell us that things expand as they heat up, so if there's already a crack somewhere, it could easily get worse as a result of increased heat.
    And since your initial hard drive was already starting to fail, it hasn't magically stopped failing since being removed from the system, so obviously performance is going to get worse.
    At this point, it's pretty much impossible to tell where the damage was done, so you're probably just out of luck. The people in Germany could have screwed something up, or the people in Brazil, it could have been environmental damage, and it's possible the defect was always there, it just didn't manifest until recently. There's just no way to tell for sure. So Apple is unlikely to do anything for you.

  • 7 year, 100+ PC Veteran Stumped ! Power, and performance issues. Full detail included.

    Good morning everyone! (At least it's morning in wonderful Pennsylvania USA!)
    AMD Athlon 64 3200+ (New Castle)
    Thermaltake Venus 12 CPU Cooler w/ Manual Adjust
    MSI "K8T Neo-FIS2R" K8T800
    512MB x 2 Corsair TWINX1024-3200C2PT (Rated 2-3-3-6 1T)
    Antec TruePower 430w PS (+5V@36A +3.3V@28A +12V@20A)
    Gainward Dual DVI w/ VIVO GeForce FX5700 Ultra
    2x Viewsonic 19" VX900 LCD Monitors
    Creative SoundBlaster Audigy Platinum eX
    Plextor 712a Black 12x+/8x- DVD-RW
    Lite-On SOHD-167T Black 16x DVD-ROM
    Western Digital WD740GD 74GB 10,000rpm Raptor SATA
    Western Digital WD2500JB 250GB 7,200rpm 8MB IDE
    Seagate Barracuda ST3200822AS 200GB 7,200rpm 8MB IDE
    Lian-Li PC-65B Black Aluminum Case
    Vantech PCI Slot Fan
    CyberPower 825va Voltage Regulating UPS
    Windows XP Professional SP1a
         There we have it, I think that that is all you need to know to perhaps give opinions and advice. Allow me to elaborate on why I am posting today after browsing this wonderful forum for the last two weeks. (...and by the way, my hat's off to some of you knowledgeable regulars for helping out a lot of newbies and folks in trouble!) Without further adieu:
    Problem #1: POWER ISSUE
    When, or if, I remove AC Power from my PC for whatever reason I run into a problem in which after reconnecting the AC Power and attempting to turn on the computer it goes into a 3-5 second startup loop in which the PC does not post, but rather cycles power to all of the components indefinitely. I notice the LEDs on my optical drives cycling repeatedly ad infinitum until I power off using the 4-second hold method, and then press the power button again. At this point the PC boots up fine, and boots up fine going forward from all restarts and shut downs. How strange? I've never, EVER, encountered something like this before.
    Problem #2: PERFORMANCE ISSUE
    This PC has a handful of serious performace issues.
    3dMark03 scored horribly.
    Prime95 runs ridiculously slow although there are no erros! It runs much more quickly on my work PC which is a PIII 866mhz with 384MB of PC133 RAM.
    I receive, on no regular frequency, or while doing anything in particular, Explorer memory errors. Not BSOD's mind you, but "...blah blah blah referenced memory address xxxxx-xxxxx and could not be written". This causes Explorer to restart itself, blowing away the start menu, task bar, and any Explorer windows open. They reappear, of course, without incident.
    The most off performance issue of all is that when opening an Explorer window for either of my IDE HDs, designated D and E drives, I find that when using the highlighting rectangle tool the Explorer window freezes or lags. I can double-click and open or move/copy files without incident, but if I attempt to highlight by this method this halt or lag occurs.
    Also, since my update of the BIOS from 1.2 to 1.7, and then to 1.8 system startup times prior to Windows loading are HORRID. I have disabled just about everything, and yet the SATA BIOS loads for 5 seconds, and then I must wait 20 seconds for Windows itself to come to the login screen. No other BIOS related issues to report per se, but this is terrible for what should be a blazingly fast computer.
    Now let's see.. what have I tried to do to repair the issues?
    1) 2 BIOS flashes. First from 1.2->1.7, and then from 1.7->1.8. Ostensibly this was just "because". The power user need to have the latest! I noticed the incorrect CPU temperature being reported, however.. This led to me buying this massive ThermalTake HSF to replace my stocker. I also added more thermal goop than I ever have before, as well as a PCI slot fan before I became aware that it was a BIOS issue! GRRRR MSI.
    2) I thought perhaps for the one issue that one of the hard drives was an issue, and even perhaps for power, but I replaced each with new drives and tested all 4 on another PC. NO problems. Also I should perhaps mention that my IDE drives are all hooked up using Antec Cobra cables. Expensive yes, but why the hell not, right? I've never seen a hang-off grounding wire for IDE before. Decided not to use them as I could think of a great place to screw them in, nor have other PC using them had trouble skipping the ground wire.
    3) I unplugged every molex cable, the 4-pin CPU power, and the 20-pin ATX power and rerranged them all - as well as removed and then reinserted the RAM.
    4) I tried changing my memory timings and power management settings, etc in BIOS. Nothing seem to impact the issue. I didn't fiddle with the voltages, but I should not need to running the RAM at SPD or lower settings and without overclocking the system at all!
    5) Another issue that I had that seems to have vanished, come back, vanished, and then come back a "little bit" is my USB ports. When set to enable legacy devices in BIOS my USB items like my Logitech wireless keyboard would just cycle power and refuse to function. Also my UPS connected VIA USB seems to sometimes handshake with Windows and sometimes not. I've tried using all of the different ports, etc but the problem remains. I NEED 6 ports for my devices so it is all that I could do!
    6) I have an Enermax 550w EG651P-VE(FMA) with 36 amps on each voltage rail on it's way, and it should arrive tomorrow. Despite all of the crap regarding power supplies that I see on this board I am not confident that it's the problem. That Antec PSU should be able to hold it's on with 20 amps on the +12v channel. C'mon now. I build a nearly identical system with the same power supply for a customer and he has no problems at all. He also has 3 HDs, same motherboard, etc.. the only difference is he has but one optical drive and a 2800+ rather than a 3200+. That power difference should be decimal nature in amps needed.
    ...oh and the sound card is in PCI slot 3, for those that remember the glory days of sound card IRQ issues that Creative was once notorious for... oh, and I disable the ethernet boot device, etc so my slow startups should not be related. My serial ATA drive is also on connection 1 of the VIA controller.. Promise can kiss my a**.
    Soooo.. Show me what a n00b I am, oh great ones. I've built over 100 PCs since 1998 for myself, friends, families, and customers... and I've never seen an issue like this one! I'm no dummy, but please don't assume too much. Other pros on here know full well you can forget the most simple mundane detail in spite of experience! I want to solve this problem. I am on the verge of shelling out for a new motherboard and processor of the 939 pin variety.. and am now wary of MSI's long awaited socket 939 K8 Neo2 board despite it's awesome reviews. MSI has never really given me trouble before.. but I don't really want to spend money to the order of $200+ for that damned Gigabyte board. Gigabyte has always been good to me as well. Save my wallet! PLEASE!!!
    Thanks so much everyone, I tried very hard not to leave out any details!
    Az (Ian)
    You can reach me on Yahoo or AIM just about any time, and I will check here frequently.

    Quote
    Originally posted by AzaghalSEI
    Good morning everyone! (At least it's morning in wonderful Pennsylvania USA!)
    AMD Athlon 64 3200+ (New Castle)
    Thermaltake Venus 12 CPU Cooler w/ Manual Adjust
    MSI "K8T Neo-FIS2R" K8T800
    512MB x 2 Corsair TWINX1024-3200C2PT (Rated 2-3-3-6 1T)
    Antec TruePower 430w PS (+5V@36A +3.3V@28A +12V@20A)
    Gainward Dual DVI w/ VIVO GeForce FX5700 Ultra
    2x Viewsonic 19" VX900 LCD Monitors
    Creative SoundBlaster Audigy Platinum eX
    Plextor 712a Black 12x+/8x- DVD-RW
    Lite-On SOHD-167T Black 16x DVD-ROM
    Western Digital WD740GD 74GB 10,000rpm Raptor SATA
    Western Digital WD2500JB 250GB 7,200rpm 8MB IDE
    Seagate Barracuda ST3200822AS 200GB 7,200rpm 8MB IDE
    Lian-Li PC-65B Black Aluminum Case
    Vantech PCI Slot Fan
    CyberPower 825va Voltage Regulating UPS
    Windows XP Professional SP1a
         There we have it, I think that that is all you need to know to perhaps give opinions and advice. Allow me to elaborate on why I am posting today after browsing this wonderful forum for the last two weeks. (...and by the way, my hat's off to some of you knowledgeable regulars for helping out a lot of newbies and folks in trouble!) Without further adieu:
    Problem #1: POWER ISSUE
    When, or if, I remove AC Power from my PC for whatever reason I run into a problem in which after reconnecting the AC Power and attempting to turn on the computer it goes into a 3-5 second startup loop in which the PC does not post, but rather cycles power to all of the components indefinitely. I notice the LEDs on my optical drives cycling repeatedly ad infinitum until I power off using the 4-second hold method, and then press the power button again. At this point the PC boots up fine, and boots up fine going forward from all restarts and shut downs. How strange? I've never, EVER, encountered something like this before.
    Problem #2: PERFORMANCE ISSUE
    This PC has a handful of serious performace issues.
    3dMark03 scored horribly.
    Prime95 runs ridiculously slow although there are no erros! It runs much more quickly on my work PC which is a PIII 866mhz with 384MB of PC133 RAM.
    I receive, on no regular frequency, or while doing anything in particular, Explorer memory errors. Not BSOD's mind you, but "...blah blah blah referenced memory address xxxxx-xxxxx and could not be written". This causes Explorer to restart itself, blowing away the start menu, task bar, and any Explorer windows open. They reappear, of course, without incident.
    The most off performance issue of all is that when opening an Explorer window for either of my IDE HDs, designated D and E drives, I find that when using the highlighting rectangle tool the Explorer window freezes or lags. I can double-click and open or move/copy files without incident, but if I attempt to highlight by this method this halt or lag occurs.
    Also, since my update of the BIOS from 1.2 to 1.7, and then to 1.8 system startup times prior to Windows loading are HORRID. I have disabled just about everything, and yet the SATA BIOS loads for 5 seconds, and then I must wait 20 seconds for Windows itself to come to the login screen. No other BIOS related issues to report per se, but this is terrible for what should be a blazingly fast computer.
    Now let's see.. what have I tried to do to repair the issues?
    1) 2 BIOS flashes. First from 1.2->1.7, and then from 1.7->1.8. Ostensibly this was just "because". The power user need to have the latest! I noticed the incorrect CPU temperature being reported, however.. This led to me buying this massive ThermalTake HSF to replace my stocker. I also added more thermal goop than I ever have before, as well as a PCI slot fan before I became aware that it was a BIOS issue! GRRRR MSI.
    2) I thought perhaps for the one issue that one of the hard drives was an issue, and even perhaps for power, but I replaced each with new drives and tested all 4 on another PC. NO problems. Also I should perhaps mention that my IDE drives are all hooked up using Antec Cobra cables. Expensive yes, but why the hell not, right? I've never seen a hang-off grounding wire for IDE before. Decided not to use them as I could think of a great place to screw them in, nor have other PC using them had trouble skipping the ground wire.
    3) I unplugged every molex cable, the 4-pin CPU power, and the 20-pin ATX power and rerranged them all - as well as removed and then reinserted the RAM.
    4) I tried changing my memory timings and power management settings, etc in BIOS. Nothing seem to impact the issue. I didn't fiddle with the voltages, but I should not need to running the RAM at SPD or lower settings and without overclocking the system at all!
    5) Another issue that I had that seems to have vanished, come back, vanished, and then come back a "little bit" is my USB ports. When set to enable legacy devices in BIOS my USB items like my Logitech wireless keyboard would just cycle power and refuse to function. Also my UPS connected VIA USB seems to sometimes handshake with Windows and sometimes not. I've tried using all of the different ports, etc but the problem remains. I NEED 6 ports for my devices so it is all that I could do!
    6) I have an Enermax 550w EG651P-VE(FMA) with 36 amps on each voltage rail on it's way, and it should arrive tomorrow. Despite all of the crap regarding power supplies that I see on this board I am not confident that it's the problem. That Antec PSU should be able to hold it's on with 20 amps on the +12v channel. C'mon now. I build a nearly identical system with the same power supply for a customer and he has no problems at all. He also has 3 HDs, same motherboard, etc.. the only difference is he has but one optical drive and a 2800+ rather than a 3200+. That power difference should be decimal nature in amps needed.
    ...oh and the sound card is in PCI slot 3, for those that remember the glory days of sound card IRQ issues that Creative was once notorious for... oh, and I disable the ethernet boot device, etc so my slow startups should not be related. My serial ATA drive is also on connection 1 of the VIA controller.. Promise can kiss my a**.
    Soooo.. Show me what a n00b I am, oh great ones. I've built over 100 PCs since 1998 for myself, friends, families, and customers... and I've never seen an issue like this one! I'm no dummy, but please don't assume too much. Other pros on here know full well you can forget the most simple mundane detail in spite of experience! I want to solve this problem. I am on the verge of shelling out for a new motherboard and processor of the 939 pin variety.. and am now wary of MSI's long awaited socket 939 K8 Neo2 board despite it's awesome reviews. MSI has never really given me trouble before.. but I don't really want to spend money to the order of $200+ for that damned Gigabyte board. Gigabyte has always been good to me as well. Save my wallet! PLEASE!!!
    Thanks so much everyone, I tried very hard not to leave out any details!
    Az (Ian)
    You can reach me on Yahoo or AIM just about any time, and I will check here frequently.
    The startup problem might just be a screwy psu. Your antec *should* be able to power your stuff just fine, but maybe it is defective in some strange way.
    What is your 3dmark03 score? If it is 3000-4000, (approx perf. level of ati 9600xt), then it is fine.
    Check your memory using memtest86+, and try underclocking it to ddr333.
    UNplug usb devices, and see if it speeds up boot. Also, I would not recommend bios 1.8 since people seem to have some troubles with it.
    Also, try disabling agp fast writes, disabling spread spectrum, and maybe boosting ram voltage a tiny bit.
    Try booting without your audigy plugged in, and try booting barebones (nothing but 1 hard drive with os) and see what happens.
    I'm no expert, but you might get lucky trying these steps.

  • 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
    praveen

    Hi,
    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,

  • ----Constraints and Performance issues----

    Hi all,
    I have a major concern and I would like ur suggestion on the best way to handle it.
    I have a staging table cust_staging. I have 2 target tables customer, customer_address which must be populated from this staging table.
    The customer key in all 3 tables is the primary key. For table customer_address, the customer_key is also referenced from the customer table.
    Incremental data will be available in the staging table (aorund 0.2 million) and the customer table would have appx 2 million records.
    The concern I have is that i have to insert/update this information into the target tables without disabling the foreign key constraints.
    I tried to insert into both the target tables with the constraints enabled but the mapping just hangs and I am forced to kill the process. I had tried using a single mapping to populate both tables and when that was going into hang mode, i tried with first customer and then another mapping for customer_address. This also just goes on hang mode.
    Next I tried to disable the constarint and enable it again in the mapping itself. My concern here is that if I do a blind insert and when I re-enable the constraints, if there is a violation, the target table may goto an unusable state and my target table will become non usable.
    My concern here is how to tackle this problem. Can i first disable the constraints, incorporate some logic using the pre-mappings wherein I can apply business rules to check the constraints explicitly and then redirect the bad records to reject and other records to the actual target.
    Please do let me know how I should handle this situation in OWB bearing in mind the performance issues also.
    we use owb 9.2.

    Hi all,
    I have a major concern and I would like ur suggestion on the best way to handle it.
    I have a staging table cust_staging. I have 2 target tables customer, customer_address which must be populated from this staging table.
    The customer key in all 3 tables is the primary key. For table customer_address, the customer_key is also referenced from the customer table.
    Incremental data will be available in the staging table (aorund 0.2 million) and the customer table would have appx 2 million records.
    The concern I have is that i have to insert/update this information into the target tables without disabling the foreign key constraints.
    I tried to insert into both the target tables with the constraints enabled but the mapping just hangs and I am forced to kill the process. I had tried using a single mapping to populate both tables and when that was going into hang mode, i tried with first customer and then another mapping for customer_address. This also just goes on hang mode.
    Next I tried to disable the constarint and enable it again in the mapping itself. My concern here is that if I do a blind insert and when I re-enable the constraints, if there is a violation, the target table may goto an unusable state and my target table will become non usable.
    My concern here is how to tackle this problem. Can i first disable the constraints, incorporate some logic using the pre-mappings wherein I can apply business rules to check the constraints explicitly and then redirect the bad records to reject and other records to the actual target.
    Please do let me know how I should handle this situation in OWB bearing in mind the performance issues also.
    we use owb 9.2.

  • Can i using RMI to solve performance issue

    I have two database which in USA and CHINA, and a web application which located on USA, if the application connect to USA DB it is ok, i think no performance issue, but if connet to china DB, i sure that has even throgh VPN. So can i using RIM technology to solving the issue? Or using another solution. Thanks

    So can i using RIM technology to solving the issue?It sounds like your problem is with Network latency.
    I assume your web application connects to the database directly through JDBC and you're proposing to add a middle layer of RMI. Doing this will not reduce network latency - however if you're clever about how you serialize your resultsets, you can reduce the amount of network traffic and improve performance.
    Have a look at this thread about compressing RMI data:
    http://forum.java.sun.com/thread.jspa?threadID=606187&tstart=0
    Note that compressing the data will add processing overhead at both ends.
    Also remember to override the readObject/writeObject methods in the objects you're serializing.

  • HashSet and performance issue

    Hello all:
    When I was in a project, I was told that HashSet was once used but abandoned since it has a performance issue in operations like insert or update. Is it true? and why is it? I don't know about the implementation of HashSet, maybe it's slow for the same reason like ArrayList?
    And if it's the case, can we write a customized set and how?
    Thanks,
    Sway

    fathomBoat wrote:
    I don't know about the implementation of HashSet, maybe it's slow for the same reason like ArrayList?ArrayList slow ???
    Filling an HashSet is slower than ArrayList because HashSet has to check if an item is already present before adding it (very usefull to prevent duplicate entries).
    Here's a small test you're free to complete if you want to test other methods :
        public static void main(String[] args) {
            List<Integer> list = new ArrayList<Integer>();
            Set<Integer> set = new HashSet<Integer>();
            // Test on ArrayList
            long startL = System.currentTimeMillis();
            for (int i = 0; i < 100000; i++) {
                list.add(Integer.valueOf(i - (i%2)));
            long endL = System.currentTimeMillis();
            System.out.println("List\t(" + list.size() + ")---> \t" + (endL-startL) + " millisec.");
            // Test on HashSet
            long startS = System.currentTimeMillis();
            for (int i = 0; i < 100000; i++) {
                set.add(Integer.valueOf(i - (i%2)));
            long endS = System.currentTimeMillis();
            System.out.println("Set \t(" + set.size() + ")---> \t" + (endS-startS) + " millisec.");       
        }Output :
    List     (100000)--->      39 millisec.
    Set      (50000)--->      112 millisec.

  • Number of Workitem Containers and Performance Issues

    Hi All,
    Is there a major performance issue based on the number of workflow containers.
    I know its recommended that the containers should be single line rather multiline and to keep the number of containers less
    Did anyone face some performance issue with many containers and any idea on what is the minimum number to keeping performance into consideration.
    Thanks,
    Charan.

    Performance does not come in for Workflow container but it is also a good practise to make the number of Workflow container less. Generally if you consider a sophesticated Workflow Expert who is only into developing will have the minimum of Workflow container. But if that same expert has experience in Support Project where he has to analyse Wflow developed by other expert then it is always handful to maintain all the meaningful information in the Workflow container. I will recommend to use minimum of Workflow container element but this should not sacrifice the information Container element.
    Thanks
    Arghadip

  • Stability and Performance Issue With Aperture 3

    I'm running Aperture 3.0.3 on my iMac. This is a switch from Adobe products and I'm having a ton of stability and performance problems.
    Environment:
    * My library is about 32,000 images, about 1/3 of which are 21 megapixel, the remainder are 10 megapixels or smaller.
    * I have no smart albums.
    * All images are referenced and live on an external FW800-connected RAID5 array. The library lives on my internal drive.
    * I have an Apple Cinema display connected through the mini-DVI port.
    Here's what's happening. Initially, Aperture starts up fine and things are peachy. After a few adjustments -- particularly cloning or patching, rendering becomes slow. It becomes slow as in a minute or more. On a 21 megapixel file, this is an incredible productivity killer. Here is what I've tried to make Aperture go faster (not all at the same time):
    - Log in holding the shift key to make sure nothing but core system stuff is running
    - Rebuild Aperture library
    - Defragment internal hard disk using iDefrag
    - Export a subset of images to a separate library and work on them there
    None of these has had the desired effect. Worse, if I switch to full-screen mode, the whole interface becomes balky and can become unresponsive to the point where the only way out is to cold reboot the computer. Cmd+TAB doesn't even work.
    I can't imagine this is an experience shared by many users of the screaming would be deafening. Lightroom and Photoshop are insanely fast by comparison so it can be done -- and on this computer.
    What are the best practices for speeding up Aperture?
    Thanks,
    Steve
    Message was edited by: films-so-last-year

    Have you tried the Bergsma BAsh?
    Many of us who have upgraded our library's over time have cleaned out caches using a technique discovered by Matthew Bergsma . It cleans out some obsolete files that significantly slow aperture 3 down.
    Here's what you should do:
    Quit aperture
    Navigate to your aperture library.
    Ctrl click library and select show package contents
    Open the thumbnails folder and drag contents to trash.
    Then delete the entire contents of the following cache folders:
    Hard Drive/Library/Caches
    Hard Drive/System/Library/Caches
    Hard Drive/Users/Your username/Library/Caches
    You may also like to delete the preferences file but that's up to you.
    ~/Preferences/Library/com.apple.aperture.plist
    Open Aperture:
    Rebuild Thumbnails click library - photos
    Then select one photo and apple(command) A to select all.
    Then go to the photo menu and choose generate thumbnails.
    It'll take a while to go through them all but once it's all done Aperture 3 should zip along
    You can read Matthew's original post:
    here http://discussions.apple.com/thread.jspa?threadID=2359859&start=0&tstart=0
    Hope this is of help!
    M.

  • Memory management in jelly bean xperia tablet s and performance issues

    Most used apps are always in memory.
    while recent apps few remain in memory untill memory is full.
    this is how memory management is supose to work.
    pretty much same as windows 7
    but if this true then why are games lagging ?
    http://www.youtube.com/watch?v=S3TwBlW5ibk
    When their not enough memory games i suspect lagging.
    if their not enough memory recent apps getting killed to free up ram.
     why does't this happen ?
    And why are their apps in memory that i never use ?
    tv sideview never use why its in memory ?
    social life again never use again using memory
    reader widget again using ram again never use at all
    music unlimited again in memory never actualy use
    Like i say'd most used apps are in memory all the time while rest is in cache.
    But my most used apps are never in ram untill i start them
    now if disabled lot apps my tablet become much faster respondsive.
    Can sony plz plz plz plz fix memory management stop saying you did ?
    You maybe reduced random shutdowns by like 90% or 95% perhaps even 99.99%
    Before random shutdowns happend because of broken memory management, which obviously still broken as i see lag in games
    sony apps use way to much ram, stop treating it like a computer with infinity amount of ram

    I rooted my tablet, and when looking at the processor speed in SetCPU, Sony uses a governor for power management that makes the tablet run jagged... I changed the power governor to ondemand, and got MUCH better smoothness and performance, while not sacrificing my battery life. You should try it out, maybe that'll help with games and such.

  • ATPO Check and performance Issue

    Hi All
    We had performance issues for ATP check from R/3 to APO and while we asked SAP for help SAP responded saying the data volume for table TTSTR is high and we need to delete unnecessary data by running report -/SAPAPO/SCHED_DELETE_TSTRS and ZZSTRDELE. After running these two reports in test environment we found the data volume has reduced to 96 records from 105000 records. We asked SAP to know whether this is safe to run this and got response that we need to be carefull while running these as data is permanently deleted by this
    Can anybody tell whether its completely safe to run these two reports or we may delete genuine Time Streams by running these?
    Regards
    Mridul

    Mridul,
    It seems very odd that you would open a dialogue with SAP, and then when you needed further information about their proposal, you didn't go back and ask them the question you have now posted here.
    Although I have only run this report a couple of times, I have never had any problem  running report  /SAPAPO/SCHED_DELETE_TSTRS  For more info, refer to their supporting note.
    https://service.sap.com/sap/support/notes/1254606
    I can't comment on report ZZSTRDELE, since I have never heard of it, nor does it exist in any APO system I am currently working on.
    If you have doubts about SAP's recommendations,  I suggest you go back to your message and respond to their last reply, or if the old message is closed, raise a new message.  That's what you pay your support money for.
    Best Regards,
    DB49

  • Premiere Pro CS5 Playback and Performance Issues

    I upgraded (2) separate editing work stations to CS5 from CS4 about a month ago. I moved from 4 to 5 to try and get rid of some problems which both work stations were encountering.
    The problems since the upgrade are similiar: playback from timeline has intermittent audio drop out and video going to black during playback, (new one)-video locked up but audio kept playing-system hung and had to be rebooted.
    Also, when clicking around on the timeline or scrubbing the timeline, Premiere crashes.
    This type of performance on playout or timeline usage is consistent on both machines which have indentical setups and builds. None of this happens all the time but happens enough to causes problems with workflow. We edit on the work stations, dub files to playback system for air, and use a shared server to move files back and forth as needed but files are always stored locally instead of using straight from server.
    These machines are:
    Premiere Pro CS5.02
    OS  WIndows 7 Pro 64 bit
    12 GB Ram, DDR3-1333 (6-2GB modules)
    CPU Intel Xeon Quad Core [email protected] GHZ, 2 processors, 8 MB Cache
    500 GB SATA 2 hard drive, 7200 RPM, 32 MC (System Drive)...309 GB of space avail
    (3) 1 TB SATA 2 hard drives, 7200RPM, 32 MC (3 TB, RAID0 STorage) 2.16 TB of space avail
    Nvidia GE Force 9800 GT Graphics card, DUAL DVI, 1 GB
    REaltek High Def Audio, Drivers 6.0.1.5953
    (1) monitor in use
    output of system runs to ADVC-700 breakout box to feed playback system
    I have all of my software installed on C: (309 GB of 500 GB avail)
    I have all of my videos files stored on D: (Raid Storage with 2.16 TB of 3 TB avail)
    The only changes I've made since installing CS5 would be to change the auto save from 20 minutes to 60 minutes. Don't know if an auto save would cause an issue on playback as I've noted above.
    I'm not a computer whiz by any stretch of the imagination but I can follow directions if given for testing/eval.

    Do the PPBM5 Benchmark and send the results to me by PM, in addition to sending the results to Bill as indicated. I'll have a look at what might be going on here.

  • PhotoStream: Multiple Devices and Performance Issues

    Had a bad night last night with PhotoStream. I have an iPhone 4S (AT&T), my wife has an iPhone 4 (VZW), we have an iPad 1 (Wi-Fi), Apple TV 2 (Ethernet), and a 2011 Mac Mini (Wi-Fi)... all in the same house that has a Time Capsule and is connected to AT&T DSL service, 3.0Mbps service (average speed test results are 2.65Mbps down, 315kbps up). Oh yeah, there's a micro-cell in there too but anytime there's trouble that gets shut off first so its irrelevant for this discussion.
    So yesterday was Halloween and we both took alot of photos away from the house with the iPhones. Got home, started using the internet, noticed the performance was HORRIBLE. Speed test showed over 1,000 ms ping latency (I still can't believe I actually waited for it to finish the ping test) and nothing was getting through for the download / upload test. I have never (believe it or not) with AT&T DSL seen it get this bad. Its been bad before, don't get me wrong, but this was surprising even to me.
    How did I come to the conclusion that PhotoStream was my issue you may ask? Well, its sort of a long story, but bear with me... The other day, we started having trouble with the Apple TV 2, which for the most part is pretty solid. My wife was streaming Netflix movies and it was stopping every 30 seconds. It was looking at this issue that had me first raise suspicions about PhotoStream. Just days before this problem started, I had enabled PhotoStream on the Apple TV 2. SO I did the first most logical thing anyone could do, I took a step back and disabled it. Problem solved. Thought nothing of it, yeah I was a little discouraged that I couldn't use it on the Apple TV 2, but not a big deal, my favorite part of PhotoStream is using it to get the photos into iPhoto without having to plug the iPhones in so I said to myself "I'll just keep putting the photos into Events and Albums until they work out the kinks on the AppleTV 2" thinking perhaps the Apple TV 2 needs to not update PhotoStream while videos are being played. They can fix that at some point, right? Sure they can.
    Now, back to this other issue. My bandwidth last night was completely crapped out, and I was determined to prestige on Black Ops one last time so this had to change STAT! I mean, come on! I was at Level 47 and I was ready to GO! My internet connection just wasn't having it. I powered off the router, rebooted the modem, and powered on the rotuer again. Everything came up beautifully. I jumped into some Nuketown 24/7, 4 green bars next to my name and I was happy. After we lost Bravo, which on Nuketown takes about a minute and a half if both teams are fighting over it, I'm lagging like crazy and I have that little red bar that no one likes to see next to my name. Sure enough, speedtest results are all whacked out again.
    So I'm sitting there thinking to myself, what could this be? My wife was watching cable TV, my son was asleep... essentially the Xbox 360 was the only thing trying to use the internet... I thought... until I remembered our iPhones and the photos we had just taken and all the devices that would be simultaneously trying to update PhotoStream. Let's list them again, shall we?
    iPhone 4S - Upload to Stream and Download from Stream
    iPhone 4 - Upload to Stream and Download from Stream
    iPad 1 - Download from Stream
    Mac Mini - Download from Stream
    So how can I prove this crazy theory of mine that the great and wonderful PhotoStream was choking my internet connection? Simple.
    iPhone 4S - PhotoStream OFF
    iPhone 4 - PhotoStream OFF
    iPad 1 - PhotoStream OFF
    Mac Mini - PhotoStream OFF
    Speed test results immediately after doing this?
    2.73Mbps down / .31Mbps up with 26ms ping time (used the Speedtest.NET app on the 4S).
    Sadly, this means that for now, I cannot use PhotoStream, however I did manage to Prestige on Black Ops which made me happy, and the iPhone 4S can still be plugged into the Mac Mini to download my wonderful looking photos.
    That's right, I didn't throw away the charger cables just yet and if you want to start talking about iTunes Wireless Synching with multiple devices in the same house, I can gladly take up some more of your time. Thats right, its OFF as well!

    I just wanted to report that this is still an open and particularly nefarious bug.  I've got a fairly idealized Apple household with 2 iPhone 4's, a 'new' iPad, a 13" Macbook Pro, Airport Express and our most recent addition this weekend... an Apple TV. 
    While I had no particular interest in enabling Photo Stream, I turned it on while messing with the screen saver settings and didn't think anything about it.  As I began to play with my new toy I was immediately disappointed with all the long spinners and timeouts in Netflix.  Later that day I noticed my computer and iPad were having similar connection issues.  My first thought was 'oh, Comcast must be acting up, that's why my new Apple TV isn't working so well'.
    Fast forward 3 days to today and our network issues were still occuring and I decided I needed to figure out what was going on.  After mucking around in network settings for a couple hours I half-jokingly decided to disconnect the AppleTV on the whim that the issues started at the same time I hooked it up.  Sure enough my network issues disappeared.  I even went so far as to run continuous pings to various IP's outside my home network and watch the timeouts come & go as i plugged/unplugged my ATV.  Now knowing the ATV was the problem I set out to figure out what in particular was causing it.  As soon as I signed out of Photo Stream everything was working perfect again.  Netflix on the ATV is quick & responsive, no more spinners or timeouts.  My other devices aren't plagued with random disconnects, dns failures or slow downloads.
    Long story short, something is bugged in AppleTV's Photo Stream support.  Mine didn't appear to be downloading any new photos, it had stopped with 255 photos downloaded.  Not sure if that was all I had in iCloud or maybe AppleTV can only pull down 255 max?  Maybe 255 is the magic number where it hits the bug that causes this behavior?  Either way, it appeared to be only affecting the outgoing internet connection, when I had a continous ping going to another machine on my internal LAN it didn't appear to get affected.
    Hope this helps someone at Apple track down the bug.  While someone technical can probably troubleshoot these issues I could see someone like my mom never putting the 2 + 2 together that her internet problems started around the time she enabled Photo Stream on her AppleTV and instead blaming it on 'the internet acting up again' and of course calling me months later to look into it for her.

  • IPhone G3 Battery and Performance Issues

    I have a 16GB iPhone G3 (OS 3.1.2). It's only about 6 months old though it is the 4th iPhone G3 I've had since Sept '08. The others have been replaced by Apple for battery failure, modem failure and inability to stay 'connected' to a charging device even when physically still attached to the charger.
    I have over 8GB of free space, Push is turned off, WiFI is turned off 99% of the time, and I don't have any major apps that might use up a lot of the battery or CPU cycles.
    Ever since the 3.0 or 3.1 update:
    * My battery performance is only about 1/3 of it's previous performance. I've charged it from two different Macs as well as the car charger but still get horrible horrible battery life. It has simply made the device undependable while I am away from a charger.
    * My iPhone is regularly unresponsive. Sometimes for only 3 - 5 seconds, other times for up to 30 - 60 seconds. This happens whether or not the iPod is playing, whether or not Mail is downloading and even when nothing else at all is being used. This happens repeatedly throughout the day.
    Many times all the input events are buffered so it tries to perform them all once when the phone comes out of its stupor. Other times nothing at all happens once it revives.
    Several times a week I need to power it off just to get it to work again.
    * A few times a week applications don't load or quit properly:
    - Mail may load the header & footers but not the body of the app. None of the software controls work. Quitting the app and relaunching it does not resolve the problem - only a shutdown/restart does.
    - The green 'Return to Call' bar will stick around after a call is over and can only be removed by placing another call, leaving the phone app, touching the green bar to return to the call and then ending the call.
    - Maps loads the header & footer and a portion of the screen. None of the software controls work. Quitting the app and relaunching it sometimes resolves the problem but not always.
    - After some calls end the entire screen appears 'disabled' and the 'Home' button doesn't work. This usually requires a restart to correct.
    - The iPod will stop or stutter while some other process is running such as checking for mail or loading another app. What good is an iPod that can't play dependably while I use the device for other things?
    - I drop so many calls that if 'calls' were 'passes' my iPhone could play for the NY Knicks. I suspect it's probably an AT&T coverage issue though I would hope the NYC metro area would have better coverage than this.
    * Bluetooth just turns off all by itself. I have to go into the Settings and turn bluetooth back on. This happens with all three of the bluetooth headsets that I use.
    ~
    The phone is acting like it occasionally has a 'race' condition that is eating up the CPU cycles. It is so often and so unpredictable that I cannot pinpoint what the cause is.
    All this is very frustrating and tempting me to revert back to version 2 of the OS. I'm not happy at the thought of losing Copy & Paste but I certainly lose more time waiting for the device to decide to gets its act together than I would re-typing everything I copy & paste.
    I've considered going back to the Apple store again for another replacement but I have little confidence that #5 will be my lucky iPhone. I'm not sure why the quality has been so 'un-apple like' but I'm 0 - 4 with iPhones even though I treat them with care. Since this dismal performance appears to coincide with either the 3.0 or 3.1 update I'm not convinced it's even a hardware problem this time.
    As much as I depend on the phone & e-mail to run my business I can't rely on this iPhone at all.
    James

    I'd try to get a new one if you can. Hopefully it will come with 3.0 or older. Everything after 3.0 killed battery life.
    With version 2.0, using edge + Wifi, I was able to get 2.5 to 3 days with light usage. When I upgraded to 3.0, I got the same 2.5 - 3 days with light usage. My phone definately lagged a lot more due to installing new apps. However, I found if I turned on either push notifications or location services, my battery would last at most 5 hours, even if i wasn't using my phone.
    Just a month ago, we got 3G coverage in my town. I was hesitant to use it since battery life was already not stellar, but after testing it, I found I could use 3G and have push notifications on all the time and still get 2 - 3 days of battery. The only changes I made was I deleted about 1.5 gigabytes of old podcasts and I changed my mail settings from fetch manually to fetch off. I always noticed before my mail would try to fetch itself several times during the day even though it was set to fetch manual and it was wasting battery by doing this.
    I should mention that 3.0 did not make my battery life worse than 2.0, but I've read 3.1 and newer really kill battery life. I still suggest 3.0 over 2.0 since you get push services. I also didn't have many dropped calles on 2.0 or 3.0. I do notice that voicemails are lagged on 3.0, sometimes by a few minutes, other times by a few hours
    Hope this helps you.

Maybe you are looking for