Same app using dblink refuses to keep on rail

Hello.
Think a while this strange behavior:
I've a very well performed Apex app running for near two years in production. The app into the LAN "fly", and the access from Internet is very quick.
Many times I replayed the app in other servers with good performance, and now that I've to open a remote office with many users, I thought I'd install a remote server with the same app running locally against a local workspace with the same name that the workspace in the central location. The remote office workspace have no tables but views of the type
create view customers as select * from customers@mydblink
I thought using this architecture, the app should be faster than accessing trough Internet for two reasons:
a. All access to the program and the rendering is locally processed.
b. Building collections (I use many of them) is also local.
I accesed from sqlplus / sqldeveloper and all the data is in place as if was a local schema, then the dblink is working well and quick (for now I'm testing this server into the LAN)
Then, I installed the app in the remote office server (yet into the LAN), and the first I noticed is that the all works but the performance is poor. Let explain: The access to the central location application through Internet, is more quick that accessing to the remote location app into the LAN.
Additionally, often when I try to click for example in a tab, I redirected to a pure blank page, and another times, appears a save as window entitled "Opening wwv_flow.accept"
The dialog box says: You choosed opening wwv_flow_accept, which is a: BIN file, from: http://10.0.0.9:8080. Would you like to save this file?
The file (binary) content is: " Linuxi386/Linux-2.0.34-8.1.0 "
I restart the process from scratch in two different machines, with 32 and 64 linux versions, with both Oracle 11r1 database and Oracle XE, both with Apex 3.12, and allways I get the same result.
I yet can't understand why if Apex runs quick with a local schema, and querys to a remote dblinked schema is quick accesed, the combination of that two situations dont works as expected.
Thank you for suggestions.

Hello,
If you're doing everything using DBLinks, then that could be a huge performance overhead as Oracle obviously needs to pull over the result set via the DBLink, however the situation might be much worse than that as the CBO might pull over (the network) the entire datasets to filter locally and sort locally etc.
I might be missing something here, but if you say you have a very well behaving application, why not let the remote office access that one directly, since performance will be much better than going the DBLink route.
John.
Blog: http://jes.blogs.shellprompt.net
Work: http://www.apex-evangelists.com
Author of Pro Application Express: http://tinyurl.com/3gu7cd
REWARDS: Please remember to mark helpful or correct posts on the forum, not just for my answers but for everyone!

Similar Messages

  • When communicating between PDB's in the same CDB, are dblinks faster

    Is it faster to communicate between PDB's in the same CDB using dblinks or will it still continue to do a loop back within the network in order to communicate with the PDB? If anyone has any insight please let me know. Thanks all

    12cdb wrote:
    No, I did not mean that.
    Let me rephrase - Both PDBs are under same Instance (CDB) so the communication over db link between those 2 PDBs will be faster.
    Hope that is clear now.
    Pradeep
    In theory, theory and practice are identical. In practice, theory and practice are unrelated.
    Can you prove above is really true?

  • I'm trying to reinstall Mavericks on used Macbook Pro. When I log in to my Apple ID, it says it was not the same ID used to purchase Mountain Lion. I need to change user/admin as a lot of the folders and apps are in Chinese!

    I'm trying to reinstall Mavericks on used Macbook Pro. When I log in to my Apple ID, it says it was not the same ID used to purchase Mountain Lion. I need to change user/admin as a lot of the folders and apps are in Chinese!

    The first thing you should do with a second-hand computer is to erase the internal drive and install a clean copy of OS X. How you do that depends on the model. Look it up on this page to see what version was originally installed.
    If the machine shipped with OS X 10.4 or 10.5, you need a boxed and shrink-wrapped retail Snow Leopard (OS X 10.6) installation disc, which you can get from the Apple Store or a reputable reseller — not from eBay or anything of the kind. If the machine has less than 1 GB of memory, you'll need to add more in order to install 10.6. I suggest you install as much memory as it can take, according to the technical specifications.
    If the machine shipped with OS X 10.6, you need the installation media that came with it: gray installation discs, or a USB flash drive for some MacBook Air models. If you don't have the media, order replacements from Apple. A retail disc, or the gray discs from another model, will not work.
    To boot from an optical disc or a flash drive, insert it, then reboot and hold down the C key at the startup chime. Release the key when you see the gray Apple logo on the screen.
    If the machine shipped with OS X 10.7 or later, you don't need media. It should boot into Internet Recovery mode when you hold down the key combination option-command-R at the startup chime. Release the keys when you see a spinning globe.
    Once booted from the disc or in Internet Recovery, launch Disk Utility and select the icon of the internal drive — not any of the volume icons nested beneath it. In the Partition tab, select the default options: a GUID partition table with one data volume in Mac OS Extended (Journaled) format. This operation will permanently remove all existing data on the drive, which is what you should do.
    After partitioning, quit Disk Utility and run the OS X Installer. When the installation is done, the system will automatically reboot into the Setup Assistant, which will prompt you to transfer the data from another Mac, its backups, or from a Windows computer. If you have any data to transfer, this is usually the best time to do it.
    You should then run Software Update and install all available system updates from Apple. If you want to upgrade to a major version of OS X newer than 10.6, buy it from the Mac App Store. Note that you can't keep an upgraded version that was installed by the previous owner. He or she can't legally transfer it to you, and without the Apple ID you won't be able to update it in Software Update or reinstall, if that becomes necessary. The same goes for any App Store products that the previous owner installed — you have to repurchase them.
    If the previous owner "accepted" the bundled iLife applications (iPhoto, iMovie, and Garage Band) in the App Store so that he or she could update them, then they're linked to that Apple ID and you won't be able to download them without buying them. Reportedly, Apple customer service has sometimes issued redemption codes for these apps to second owners who asked.
    If the previous owner didn't deauthorize the computer in the iTunes Store under his Apple ID, you wont be able toauthorize it under your ID. In that case, contact iTunes Support.

  • Can I use the same app on 2 iPhones if one is no longer connected to ATT?

    I have a iPhone 3G. I want to eventually get a new one (when the next gen ones are available). I want to keep the old one so one of my kids can use it as a "touch". Can I sync the same apps to each phone? I know you can share the same app on an iPhone and iPad, but not sure if this can be done with 2 phones.
    Thanks

    You can sync as many devices as you want to the same itunes account, there is no limit. You can have the same content on each device or different content, the choice is yours. Itunes will keep everything straight, by device, on subsequent syncs.

  • Multiple apps using same files, how to lock them?

    Hi all,
    I have a unique situation (or so I think). We are running our apps in Citrix servers, such that many users log in to a single citrix server and run our java apps. The problem is, it will be possible that more than one user might use the same app and start to work with the same file.
    I have seen the new NIO package, read that it has better file locking and stuff. I guess what I am after is a way to graphically display the user using a given file, with some other features. Basically, if user 1 runs the app, and clicks on a file, they have sole access to it. Now, if user 2 runs the same app, what I would like to see if I can do is in user 2's view of the file system, they see somethine like:
    xxxx.txt
    yyyy.xml (user1)
    zzz.bat
    So, somehow, I want to update the JList view of each users view either every so often, or when they click on a file that is being used by another, to let them know that it is locked AND the user who has locked it. This way, they can at least ask that user if they can "unlock" their use of it.
    Ideally, if there is some way for two or more copies of the same program (running on the same or different citrix servers) could communicate with one another to constantly update each other of file lock status, that would be great. However, if this is more complex than a few hundred lines, it is a rare occassion that this will happen so it is not worth the effot. Mainly, I need to minimally make sure that if a file is locked by one user, when another user tries to use it they are notified that it is locked.
    Thanks.

    How about doing file maangement through your server? Keep a database of what files are checked out by whom

  • Is it possible to have 2 different output config XML files and index the data into 2 endeca apps using the same indexing component ProductCatalogSimpleIndexingAdmin

    Hi ,
    We have a catalog that defines 2 types of products (they have too many different properties), so wanted to keep them on two different MDEX engines and serve the applications requests. Here DB catalog and front end ATG application is same for both the MDEX instances.
    Is it possible to have 2 different output config XML files and index the data into 2 endeca apps using the same indexing component ProductCatalogSimpleIndexingAdmin?
    Thanks
    Dev

    Hi, also have had some problem some monthes ago - I created separete component ProductCatalogSimpleIndexingAdminSecond. After that one of my colleage gave me some advice:
    The creating separate component like ProductCatalogSimpleIndexingAdmin for the second IOC is possible way for resolving your situation. But I afraid that this way will be required creating mane duplicates for already existed components.
    In my opinion the better way is the following:
    starting from AssemblerApplicationConfiguration and ApplicationConfiguration component. It contains details for connecting between ATG and Endeca. Of course you should configure different components for different Endeca Apps.
    After that:
    Find all components that uses AssemblerApplicationConfiguration and ApplicationConfiguration. Customize these components for using one or another  *Configuration component depending on what index works. (many variants released it: the most simple global custom component with flag.)
    Then customize the existed ProductCatalogSimpleIndexingAdmin. Using one or another IOC  and setting the flag in global custom component when index started. You can add some methods into your custom ProductCatalogSimpleIndexingAdmin like:
    Execute baseline index for both IOC (one by one)
    Execute baseline for IOC 1
    Execute baseline for IOC 2.
    Note: you should be afraid about incremental (partial) index in this configuration. But resolving conflicts in incremental index should be done after full implementation these changes.
    Regards

  • I'm looking into how apps use the cloud. Would you consider any app with social media access as uploading information to the cloud? e.g. being able to tweet through an app is the same as uploading data to the cloud

    I'm looking into how apps use the cloud. Would you consider any app with social media access as uploading information to the cloud? e.g. being able to tweet through an app is the same as uploading data to the cloud

    Most of us in this forum are users who volunteer on technical issues, and not Adobe employees although they do drop in from time to time. As users we simply have no control over activation and that's why you are not getting responses.
    If you havn't done so,you might try the Muse forums and see if you can get a staff member to look into it. Have your case numbers and phone transcripts handy.
    Last option is to keep calling customer service until you get someone who will help or ask for a supervisor.
    Hope this get resolved,
    Gene

  • Can I use the same iTunes account for 2 iPads without having the same apps on both?

    Can I use the same iTunes account for 2 iPads without having the same apps on both? Everytime I try to sync my new iPad, it syncs all the apps that are on my account. If I can do this, can someone tell me how please???

    Yes you can, easily.  When you plug the first pad in to sync, note the name of the pad on the last pane.  Set up for that device whatever you want to sync.  When you are done, plug the second pad in.  Make sure it has a different name on the left pane.   Then sync to that pad whatever you want.  I tunes will remember what you did on each pad, and will start from there the next time you plug in.

  • My business is buying ipads for our technicians.  They all need the same app.  If I buy one app, can more than one user use it at the same time if they have the same apple id?

    My business is buying ipads for our technicians.  How many users can share one apple id & how many users with the same apple id can use the same app at the same time?

    Use VPP.  Select an MDM.  Read the Google doc below and nsdjoey write up.
    IT Resources -- ios & OS X -- This is a fantastic web page.  I like the education site over the business site.
    View documentation, video tutorials, and web pages to help IT professionals develop and deploy education solutions.
        http://www.apple.com/education/ipad/resources/
        scroll down after all the pretty picture.  Click on the words "For It".
        business site is:
        http://www.apple.com/lae/ipad/business/#browse-it-resources
        If necessary, scroll down until you see the Browse IT Resources button.  Click on button.
    Joe Rowe's Excellent guides
    IT managers who are new to configurator and managing a cart of ios devices:
          https://docs.google.com/document/d/1SMBgyzONxcx6_FswgkW9XYLpA4oCt_2y1uw9ceMZ9F4/ edit?pli=1
             [ original announcement  -- https://discussions.apple.com/thread/4256735?tstart=0 ]
    Quick help presentation for students:
         https://docs.google.com/presentation/d/18937JdleX2gymtSb8zfbDczV-76BdR2DIfCV9eJi yOE/edit#slide=id.g1b776944_0_224
    good tips for initial deployment:
    https://discussions.apple.com/message/18942350#18942350
    https://discussions.apple.com/thread/3804209?tstart=0
    See nsdjoey writeup.  See third post.
    https://discussions.apple.com/message/22286109#22286109
    Institutions in the USA and other countries can use the App Store Volume Purchase Program (VPP) to buy Apps.
    https://support.assistiveware.com/index.php?pg=kb.page&id=54
    "Deploying a great quantity of iOS devices means creating a great quantity of Apple IDs. This script allows automated Apple ID creation from a spreadsheet."
    http://www.enterpriseios.com/wiki/Apple_ID_Automation_Builder

  • I have a .mac family account, a personal .mac account and separate iTunes id I use for my work iPhone and the associated apps.  How do I keep them separate in the iCloud change?

    I have a .mac family account, a personal .mac account and separate iTunes id I use for my work iPhone and the associated apps.  How do I keep them separate in the iCloud change?

    Welcome to the Apple community.
    Could you tell us a little more about what you want to do. Bear in mind that iTunes has nothing to do with your iCloud account.

  • Can you use the same apps on 2 different iphones but have diff

    Hi Im a complete novice with using itunes. I just want to know if its possible for me and my wife to share the same apps but not the same contacts and if so how can this be done.

    Yes.
    How to use multiple iPods, iPads, or iPhones with one computer

  • I set up "Find My Iphone App" using the same apple id and password on two iphones. Now the app only finds the phone that I did the setup on first. Do I need a different apple id and password on each phone for the app to run correctly?

    I setup two iphones on "Find My Iphone App" Using the same apple id on each phone. Now the app finds only the phone I setup first. Do I need to use two different apple ids? If your answer is yes then how do I errase the setup in the second phone and assign a new id?

    As TJBUSMC1973 states, and as I said earlier, the Find My iPhone app has nothing to do with your use of Find My iPhone. The app is just used if necessary to locate another iOS device from that particular iOS device. To see if both of your devices are being located in Find My iPhone, log into www.icloud.com and select Find My iPhone. Both of the devices should appear. If they do not, then go into whichever of the devices does not appear and make sure that Find My iPhone is activated. It has to be activated through iCloud, and for both to show on the same map, they both have to have the same iCloud ID.

  • I have DocsToGo premium installed on my iPhone4s; can I use the same app on an iPad mini or do I have to purchase another one?

    I have DocsToGo premium installed on my iPhone4s; can I use the same app on an iPad mini or do I have to purchase another one?

    It shows up in the store as a universal app, so you should be ok to go.

  • Can 2 people use the same I pad for the same apps?

    Can 2 people sharing an I Pad 2 use the same apps like games for instance?  Can each person log in when using the I Pad? Can you register the I Pad in 2 names so you can each individually use if for your own apps?

    One user only on the iPad, no way to create multiple user accounts in iOS.

  • I have  20 ipads to hand out to teachers, all of them are using the same apps (purchased), I'm using 1 computer to configure them, I purchased 20 gift cards to purchase apps, how can I set up all 20 on one library using the gift cards to purchase the apps

    My office purchased 20 ipads - and 20 gift cards, I'm setting up all the software on my computer using 1 itunes library.. I need to purchase 20 of the same apps to put on each of the ipads... how can that be done when you purchase the same app..itunes tells you that you the app is already purchased...

    Another member pointed me toward the following site...it contains some great info...it's focus is on the use of iPad's in education....
    http://ipadeducators.ning.com/
    There is some discussion in there of device "cloning"..though I don't see how they can do that and at least not technically violate the iTunes Store EULA....(1 license can be used by 1 person on multiple devices, or by many people on one device).  As I understand it, and as Michael indicated, the only way to do what you want and not violate the EULA is to have 20 different Apple ID's...what the "cloner's"  have chosen to do is use the Educational VPP  www.apple.com/itunes/education
    purchase sufficient licenses for all users, allocate a license to one Apple ID, clone that image to other iOS devices, and simply record the fact internally that the additional  license(s) have been allocated to other Apple ID's....I work in healthcare, and our legal department isn't comfortable with that approach, and I can't see it really being legally viable in education....unless their are different terms for educational institutions....

Maybe you are looking for

  • No service at all-Can anybody help???

    Approximately two weeks ago I moved from SKY to BT infinity. Since then I have no services what so ever. I ring in daily and talk to a new operative. Each one is very pleasant and assures me they have the solution and they will ring back the followin

  • Where is the History/Undo panel in Illustrator CC?

    Please let me know where the History/Undo panel is in Illustrator. I can't find it. I'd rather not click undo 143 times. Thanks, W

  • How to access .swf files or flash files in JEitor Pane

    dear All Iam doing project on swing. my problem is i want to accesss macromedia flash file or (extension with .swf file ) in JEditor Pane. Can any body solve my problem. Ill be waiting for your reply. regards surya

  • Logon authentication in REST web service

    Hi Experts, I have created a web service through SICF transaction code. Its working fine when i do maintained Logon data over there. but the problem is that client want to use this web service on his IPhone, through login credential, Means firstly th

  • IPhone 4 - Ios5.1 randomly reboots during use

    Hi Guys, Not sure if this is the right area, but based on the tests I have done, I'm guessing this could be a hardware issue. Ok so basically, I have owned this phone since new, it's never been Jailbroken and the only "modification" that has ever bee