Imroove Performance ..reduce the Network trips

Hi !
The application I am working on now basically uses the SAX parser(with Java) to parse XML data and load the data into the database.
The application while parsing an XML file checks to see
if a particular enitity is present in the DataBase(Oracle 9)..(and returns true/false) Since there are more than 10000 records..the process needs to make 10000 network trips and this is slowing down the process.I am using preparedStatemts for this.
The function call is something similar to this...
public static boolean DBCheckIdentifier(String identifier, String tableName) throws Exception {
//.. some code
SELECT count(*) FROM table1, table2 WHERE table1.ID = table2.ID AND IDENTIFIER = ? AND ROWNUM = 1
// executes the prepared statement
Since this is taking most of the time in the application ,I was wondering if there is any way by which I can improove the performance.
There are around 200 different types of Table2's(one of the variable)
Thanks so much ..I appreciate your effort

Hi,
as of now, this is the one i can think of.
Write a stored proc which takes in an Array of identifiers, the stored proc will do the checking and return an array of "true/false" corresponding to the input array values.
Regards
Elango.

Similar Messages

  • Bad performance on the network...

    I have a DC 2.3 here at work, that I'm thinking should be a lot faster than it is... it's really a dog. So today I restarted, unplugged the ethernet cable and tried working like that for a while.
    Aside from being quicker, I noticed also that the number of Page Outs was a heck of a lot lower - just above 9000 after half an hour. As soon as I plugged in the ethernet, it was business as usual; an incredible jump in Page Outs and an eventual degradation of performance.
    I do need to be on the network, I need it for email and for accessing data from multiple servers and some 'Net work. So I'm wondering if there are some things I can do to maybe limit network actions that aren't necessary, that might automatically or by default, be happening.
    Thanks for any suggestions.
    -Vincent
    Mac Pro 2.66, G5 DC2.3   Mac OS X (10.4.7)   1 GB RAM - 2GB RAM

    VIncent Alessi-
    First of all, if you do have a Mac Pro then this is the wrong forum.
    However, I do know that Photoshop is not yet a universal application so it is running under Rosetta emulation and will be way slow.
    By unplugging the computer from the network, you gave it less work to do and therefore it could use more horsepower trying to run Photoshop.
    Once PS is capable of running natively on your machine, you may need to bump your memory up to at least 4GB to give Photoshop more space in which to play.
    Luck-
    -DaddyPaycheck

  • Best tool to reduce the network bandwidth for WEBI reports

    Hi Experts,
    We have a central BO XI server installed in Head Office. Few users are needed to connet to Head Office from their place (Regions) to access the WEBI reports.
    For this we have two options to refresh the report.
              1. BO InfoView
              2. Web Intelligence Rich Client
    My question is , which is the best way to reduce the internet bandwidth. Since my users are on remote location and doesn't have good link, which one is the best option to reduce the bandwidth consumtion.
    Regards,
    Suresh

    If you're launching Webi Rich Client in 3-tier (ZABO) mode there should be no difference from Infoview refresh, as WRC will utilize same webi report servers for refresh as Infoview does.
    If you use 2-tier mode with WRC, then refresh will be local, using local connection to the reporting DB.
    I'd say Infoview will be less bandwith intensive and you will be sending only structured and prepared data tot he client browser, not the rough data report needs.
    To further decrease bandwith, you can design your server infrastructure to have regional processing, that way most communicatyions with be local and requests go to central location only for main data...

  • Performance of the LOD approach for network analisys

    Hi to all,
    I open new thread for speak about performance of LOD approach for Network analysis using Java API as continuing from this thread:
    Partitioning of the Network for using LOD API
    I remember you that:
    - I'm using Oracle 11g R2;
    - my network consist of 7.817.372 of links and 6.662.079 of nodes (big network);
    - LINK_LEVEL of links table is setted as NULL;
    - I have partitioned the network with these procedure:
    partition:
    EXEC sdo_net.spatial_partition('ITALIA', 'ITALIA_PART$', 10000, 'WORK_DIR_ITALIA', 'ITALIA_PART.log', 'a', 1);
    and for partition blob:
    EXEC sdo_net.generate_partition_blobs('ITALIA', 1, 'ITALIA_PBLOB$', true, true, 'WORK_DIR_ITALIA', 'ITALIA_PBLOB.log', 'a');
    - I'm using LOD Java API for network analysis with Netbeans IDE; I took the code from NDM_tutorial of Hillsborough network.
    My first analysis is the compute of the shortest path between two extreme nodes (about 1.500 km of distance) and between two near nodes (about 80 km of distance) using Dijkstra and AStar algorithm.
    I did the following tests on execution times of the compute of the shortest path:
    1) with partition of maximum 10000 nodes for partition (from log file I read that were been generated 1024 partitions with 1 link level):
    - between two extreme nodes, about 1 minute and 50 seconds.
    - between two near nodes, about 20 seconds.
    then I have re-executed the two previous procedures where I changed the value of maximum nodes for partition and I did other tests:
    2) with partition of maximum 15000 nodes for partition (from log file I read that were been generated 512 partitions with 1 link level):
    - between two extreme nodes, about 1 minute and 50 seconds and sometimes it goes out of memory
    - between two near nodes, about 20 seconds.
    3) with partition of maximum 5000 nodes for partition (from log file I read that were been generated 2048 partitions with 1 link level):
    - between two extreme nodes, about 1 minute and 50 seconds and sometimes it goes out of memory
    - between two near nodes, about 20 seconds.
    4) with partition of maximum 2000 nodes for partition (from log file I read that were been generated 4096 partitions with 1 link level):
    - between two extreme nodes, about 1 minute and 50 seconds and sometimes it goes out of memory
    - between two near nodes, about 15 seconds.
    I think that there is any problem because I expect execution times more lower (maximum 5-6 seconds for extreme nodes).
    Even changing the maximum number of nodes to partition the execution times do not change much.
    I remember you that with in-memory approach on Oracle 10gR2 the execution times for every computation between two nodes was of about 4 minutes and sometimes it goes out of memory. With LOD on Oracle 11gR2 the execution times are reduced but are too long for me.
    Now, my questions are:
    - @Jack Wang: (if you're reading me) do you know what are the execution times for the compute of shortest path between two nodes for USA network (about 1500 km of distance)? I remember that you have used LOD for USA (56 Millions of link and 20 Millions of nodes).
    - Do you think that I wrong anything? How can I do for reduce the execution times of network analysis?
    If you need any more information just ask.
    Thank you to all in advance very much.

    Jack Wang wrote:
    Are the 12/13 seconds computation times for the near node pair?Yes.
    You can look at an example for computing hierarchical shortest path with a 2-level network(NAVTEQ_SF) under ndm_tutorial
    ~ \ndm_tutorial\examples\java\src\lod\SpWithMultiLinkLevels.java.But I think that yesterday I had not yet used the LINK_LEVEL = 2 in network analysis. Infact, I used the code into ShortestPathAnalysis.java where linkLevel is always setted = 1.
    Now, I'm using the example SpWithMultiLinkLevels.java and I'm seeing that linkLevel is setted = 2 before the execution of Dijkstra and AStar algorithm. This code works with Hillsborough_network. Instead with my network (note that I'm using a region of Italy with 700.000 link and 600.000 nodes called ITAI11_METERS for to test a network with 2 LINK_LEVEL), I have a problem during readPartitionFromBlob.
    This is the code:
    package calcolopercorsolod;
    import java.io.*;
    import java.sql.*;
    import java.text.*;
    import java.util.*;
    import oracle.jdbc.OracleConnection;
    import oracle.jdbc.pool.OracleDataSource;
    import oracle.spatial.util.Logger;
    import oracle.spatial.network.UserDataMetadata;
    import oracle.spatial.network.lod.*;
    import oracle.spatial.network.lod.config.*;
    import oracle.spatial.network.lod.util.PrintUtility;
    public class SpWithMultiLinkLevels
      private static NetworkAnalyst analyst;
      private static NetworkIO networkIO;
      private static void setLogLevel(String logLevel)
        if("FATAL".equalsIgnoreCase(logLevel))
            Logger.setGlobalLevel(Logger.LEVEL_FATAL);
        else if("ERROR".equalsIgnoreCase(logLevel))
            Logger.setGlobalLevel(Logger.LEVEL_ERROR);
        else if("WARN".equalsIgnoreCase(logLevel))
            Logger.setGlobalLevel(Logger.LEVEL_WARN);
        else if("INFO".equalsIgnoreCase(logLevel))
            Logger.setGlobalLevel(Logger.LEVEL_INFO);
        else if("DEBUG".equalsIgnoreCase(logLevel))
            Logger.setGlobalLevel(Logger.LEVEL_DEBUG);
        else if("FINEST".equalsIgnoreCase(logLevel))
            Logger.setGlobalLevel(Logger.LEVEL_FINEST);
        else  //default: set to ERROR
            Logger.setGlobalLevel(Logger.LEVEL_ERROR);
      public static void main(String[] args) throws Exception
            String configXmlFile = "LODConfigs.xml";
            String logLevel    =    "DEBUG";
            String dbUrl       = "jdbc:oracle:thin:@oracle:1521:mySID";
            String dbUser      = "myUser";
            String dbPassword  = "myPass";
            String networkName = "ITAI11_METERS";
            long startNodeId = 15323;
            long endNodeId   = 431593;
        int linkLevel      = 1;
        double costThreshold = 1550;
        int numHighLevelNeighbors = 8;
        double costMultiplier = 1.5;
        Connection conn    = null;
        //get input parameters
        for(int i=0; i<args.length; i++)
            if(args.equalsIgnoreCase("-dbUrl"))
    dbUrl = args[i+1];
    else if(args[i].equalsIgnoreCase("-dbUser"))
    dbUser = args[i+1];
    else if(args[i].equalsIgnoreCase("-dbPassword"))
    dbPassword = args[i+1];
    else if(args[i].equalsIgnoreCase("-networkName") && args[i+1]!=null)
    networkName = args[i+1].toUpperCase();
    else if(args[i].equalsIgnoreCase("-linkLevel"))
    linkLevel = Integer.parseInt(args[i+1]);
    else if(args[i].equalsIgnoreCase("-configXmlFile"))
    configXmlFile = args[i+1];
    else if(args[i].equalsIgnoreCase("-logLevel"))
    logLevel = args[i+1];
    // opening connection
    conn = LODNetworkManager.getConnection(dbUrl, dbUser, dbPassword);
    System.out.println("Network analysis for "+networkName);
    setLogLevel(logLevel);
    //load user specified LOD configuration (optional),
    //otherwise default configuration will be used
    InputStream config = ClassLoader.getSystemResourceAsStream(configXmlFile);
    LODNetworkManager.getConfigManager().loadConfig(config);
    //LODConfig c = LODNetworkManager.getConfigManager().getConfig(networkName);
    //get network input/output object
    networkIO = LODNetworkManager.getCachedNetworkIO(
    conn, networkName, networkName, null);
    //get network analyst
    analyst = LODNetworkManager.getNetworkAnalyst(networkIO);
    double[] costThresholds = {costThreshold};
    try
    System.out.println("*****Begin: Shortest Path with Multiple Link Levels");
    System.out.println("*****Shortest Path Using Dijkstra");
    String algorithm = "DIJKSTRA";
    linkLevel = 2;
    costThreshold = 5000;
    LogicalSubPath subPath = analyst.shortestPathDijkstra(new PointOnNet(startNodeId),
    new PointOnNet(endNodeId),linkLevel, null);
    PrintUtility.print(System.out, subPath, true, 10000, 0);
    System.out.println("*****End: Shortest path using Dijkstra");
    System.out.println("*****Shortest Path using Astar");
    HeuristicCostFunction costFunction = new GeodeticCostFunction(0,-1, 0, -2);
    LinkLevelSelector lls = new DynamicLinkLevelSelector(
    analyst, 2, costFunction, costThresholds,
    numHighLevelNeighbors, costMultiplier, null);
    subPath = analyst.shortestPathAStar(
    new PointOnNet(startNodeId), new PointOnNet(endNodeId), null, costFunction, lls);
    PrintUtility.print(System.out, subPath, true, 10000, 0);
    System.out.println("*****End: Shortest Path Using Astar");
    System.out.println("*****End: Shortest Path with Multiple Link Levels");
    catch (Exception e)
    e.printStackTrace();
    if(conn!=null)
    try{conn.close();} catch(Exception ignore){}
    and this is the output with the error:...
    [LODNetworkAdaptorSDO::isNetworkPartitioned, DEBUG] Query String: SELECT p.PARTITION_ID FROM PROVA.ITAI11_PART$ p WHERE p.LINK_LEVEL = ? AND ROWNUM = 1 [2]
    [QueryUtility::prepareIDListStatement, DEBUG] Query String: SELECT NODE_ID, PARTITION_ID FROM PROVA.ITAI11_PART$ p WHERE p.NODE_ID IN ( SELECT column_value FROM table(:varray) ) AND LINK_LEVEL = ?
    [LODNetworkAdaptorSDO::readNodePartitionIds, DEBUG] Query linkLevel = 2
    [NetworkIOImpl::readLogicalPartition, DEBUG] Read partition from blob table: partition 4, level 2
    [LODNetworkAdaptorSDO::readPartitionBlobEntry, DEBUG] Query String: SELECT BLOB, NUM_INODES, NUM_ENODES, NUM_ILINKS, NUM_ELINKS, NUM_INLINKS, NUM_OUTLINKS, USER_DATA_INCLUDED FROM PROVA.ITAI11_PBLOB$ WHERE PARTITION_ID = ? AND LINK_LEVEL = ? [4,2]
    [QueryUtility::prepareIDListStatement, DEBUG] Query String: SELECT NODE_ID, PARTITION_ID FROM PROVA.ITAI11_PART$ p WHERE p.NODE_ID IN ( SELECT column_value FROM table(:varray) ) AND LINK_LEVEL = ?
    [LODNetworkAdaptorSDO::readNodePartitionIds, DEBUG] Query linkLevel = 1
    [NetworkIOImpl::readLogicalPartition, DEBUG] Read partition from blob table: partition 91, level 1
    [LODNetworkAdaptorSDO::readPartitionBlobEntry, DEBUG] Query String: SELECT BLOB, NUM_INODES, NUM_ENODES, NUM_ILINKS, NUM_ELINKS, NUM_INLINKS, NUM_OUTLINKS, USER_DATA_INCLUDED FROM PROVA.ITAI11_PBLOB$ WHERE PARTITION_ID = ? AND LINK_LEVEL = ? [91,1]
    [NetworkIOImpl::readLogicalPartition, DEBUG] Read partition from blob table: partition 91, level 2
    [LODNetworkAdaptorSDO::readPartitionBlobEntry, DEBUG] Query String: SELECT BLOB, NUM_INODES, NUM_ENODES, NUM_ILINKS, NUM_ELINKS, NUM_INLINKS, NUM_OUTLINKS, USER_DATA_INCLUDED FROM PROVA.ITAI11_PBLOB$ WHERE PARTITION_ID = ? AND LINK_LEVEL = ? [91,2]
    oracle.spatial.network.lod.LODNetworkException: java.lang.NullPointerException
    at oracle.spatial.network.lod.NetworkIOImpl.readPartitionFromBlob(NetworkIOImpl.java:549)
    at oracle.spatial.network.lod.NetworkIOImpl.readLogicalPartition(NetworkIOImpl.java:436)
    at oracle.spatial.network.lod.CachedNetworkIOImpl.readLogicalPartition(CachedNetworkIOImpl.java:114)
    at oracle.spatial.network.lod.CachedNetworkIOImpl.readLogicalPartition(CachedNetworkIOImpl.java:105)
    at oracle.spatial.network.lod.NetworkExplorer.getPartition(NetworkExplorer.java:335)
    at oracle.spatial.network.lod.LabelSettingAlgorithm.getElementPartition(LabelSettingAlgorithm.java:520)
    at oracle.spatial.network.lod.LabelSettingAlgorithm.expand(LabelSettingAlgorithm.java:561)
    at oracle.spatial.network.lod.LabelSettingAlgorithm.shortestPath(LabelSettingAlgorithm.java:1362)
    at oracle.spatial.network.lod.NetworkAnalyst.shortestPathHierarchical(NetworkAnalyst.java:2523)
    at oracle.spatial.network.lod.NetworkAnalyst.shortestPathDijkstra(NetworkAnalyst.java:2291)
    at oracle.spatial.network.lod.NetworkAnalyst.shortestPathDijkstra(NetworkAnalyst.java:2268)
    at oracle.spatial.network.lod.NetworkAnalyst.shortestPathDijkstra(NetworkAnalyst.java:2249)
    at calcolopercorsolod.SpWithMultiLinkLevels.main(SpWithMultiLinkLevels.java:135)
    Caused by: java.lang.NullPointerException
    at oracle.spatial.network.lod.NetworkIOImpl.readPartitionFromBlob(NetworkIOImpl.java:542)
    ... 12 more
    I don't understand why the analysis does a query with PARTITION_ID=91 and LINK_LEVEL=2:
    Query String: SELECT BLOB, NUM_INODES, NUM_ENODES, NUM_ILINKS, NUM_ELINKS, NUM_INLINKS, NUM_OUTLINKS, USER_DATA_INCLUDED  FROM PROVA.ITAI11_PBLOB$ WHERE PARTITION_ID = ? AND LINK_LEVEL = ? [91,2]
    Infact I have 512 PARTITION_ID  associated to LINK_LEVEL=1 and only 16 PARTITION_ID associated to LINK_LEVEL=2. Why it search PARTITION_ID=91 with LINK_LEVEL=2? This correspondance doesn't exist.
    Where I wrong?
    Note that if I set LINK_LEVEL=1 it works.
    Thank you very much                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Will Materialized view log reduces the performance of DML statements on the master table

    Hi all,
    I need to refresh a on demand fast refresh Materialized view in Oracle 11GR2. For this purpose I created a Materialized view log on the table (Non partitioned) in which records will be inserted @ rate of 5000/day as follows.
    CREATE MATERIALIZED VIEW LOG ON NOTES NOLOGGING WITH PRIMARY KEY INCLUDING NEW VALUES;
    This table already has 20L records and adding this Mview log will reduce the DML performance on the table ?
    Please guide me on this.

    Having the base table maintain a materialised view log will have an impact on the speed of DML statements - they are doing extra work, which will take extra time. A more sensible question would be to ask whether it will have a significant impact, to which the answer is almost certainly "no".
    5000 records inserted a day is nothing. Adding a view log to the heap really shouldn't cause any trouble at all - but ultimately only your own testing can establish that.

  • Performance chart -- Database Error Io exception: The Network Adapter

    Hi all,
    I migrate my grid control repository to a new HOST and a new OMS.
    Everything went right but on two of our databases if I click on the performance chart the database login screen appears.
    After I insert he right parameter system try to log on and throw following error.
    Database Error
    Io exception: The Network Adapter could not establish the connectionSearching the web / metalink I find something like some wrong parameter but on the same hosts are multiple instances there do not have this problem.
    Does anyone have an idea ?.
    Thanks
    *T                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    Hey Rob.
    there was a search domain missing in the resolf.conf.
    Well done.
    *T                                                                                                                                                                                   

  • The exection factor in the network is reduced to 1000 to 1 kg

    hello ,
    any body please help me. i am working on assembly processing. when i am creating sales order if order qty when i am giving more then 999 means if i given 1000 kg it giving an error like the exection factor in the network is reduced to 1000 to 1 kg and confimed as 1 kg only where  i have tomodify this i am not getting pls suggest me
    thanks
    bhakta

    Hi,
    This is bcoz the 'execution factor' field in activity is 3 places only so max value can be 999. What you can do is split the SO quantity in two line items.
    Regards

  • HT1222 Hi Does anyone know how can I stop my iPhone 4s downloading automatic system update so reducing my network speed when plugged in to charge or connected to the pc ??? I'm really ok with my iOS 5.0.1 and I don't need 5.1

    Hi Does anyone know how can I stop my iPhone 4s downloading automatic system update so reducing my network speed when plugged in to charge or connected to the pc ??? I'm really ok with my iOS 5.0.1 and I don't need 5.1

    Setting up and troubleshooting Mail
    http://www.apple.com/support/ipad/assistant/mail/
    iPad Mail
    http://www.apple.com/support/ipad/mail/
    Try this first - Reset the iPad by holding down on the Sleep and Home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons. (This is equivalent to rebooting your computer.)
    Or this - Delete the account in Mail and then set it up again. Settings->Mail, Contacts, Calendars -> Accounts   Tap on the Account, then on the red button that says Remove Account.
     Cheers, Tom

  • Extending the Network kills speed performance, would bridging do the same?

    I have a Time Capsule in my basement and upstairs I have a very hard time getting a good wireless signal.
    I decided to buy an Airport Express to try and solve the problem. I tried to extend the network with the AX and now my computer upstairs can get a good wireless signal, however the performance has dropped significantly. When I run a speed test on both my upstairs computer and my laptop downstairs I now get about 1.5 Mbit down/1 MBit up which is much worse than what i used to get (10-14 MBit down/2 MBit up).
    If I were to hook the AX up to an ethernet port in my house (should be activated in the next few days which is why I can't try it now) and have the AX set up to work in bridge mode, would this improve the performance? I thought I read somewhere that extending the network could hurt performance (which I'm certainly seeing), but I don't know if that would apply to bridge mode.
    Thanks for the help.

    The way I understand it -
    You're effectively doubling the network traffic - everything has to make 2 hops. The "extension" receives the data and has to re-transmit it to the main base station. Receiving, processing and re-transmitting takes time.
    In reality, traffic can be much more than doubled. If the message from the computer is received by both the extension and the base station, and then again by the base station when the extension re-transmits it, the base station has to work out that it has received the data twice. This extra processing (ignoring duplicates) takes time.
    With more data on the network, there's more chance of "collisions", so more re-transmits.
    I think it's pretty amazing that it works at all!

  • Unit Of Order reducing the performance after some threshold limit

    Hi,
    Our application is doing netting of trades.
    We are using UOO for posing messages to JMS queues appended to it.
    From this message, we are extracting the trade info and persisting into DB.
    When MDB is listening to that JMS queue, application is performing well when the no. of messages in the queue is <5000.
    when this number increases lets say 20000, our application is performing very badly.
    We are using 64 instances of MDB connecting to queue.
    What are the parameters reduce the performance of the MDB consuming the messages?
    Can you please help me on this?
    Thanks,
    Ravikumar

    An increasing backlog is a sign that your MDBs are not keeping up with your senders.
    See:
    Tuning WebLogic JMS
    http://docs.oracle.com/cd/E17904_01/web.1111/e13814/jmstuning.htm#PERFM294
    and
    Tuning Message-Driven Beans
    http://docs.oracle.com/cd/E17904_01/web.1111/e13814/mdbtuning.htm#PERFM271

  • I started getting a Timed Out error message on my iPhone 5 when browsing the web that reads Page could not be loaded.  Connection timed out.  I performed a Reset Network Settings and still get the error.  What is the fix?

    I started getting a Timed Out error message on my iPhone 5 when trying to browse the internet tthat reads Page could not be loaded.  Connection timed out.  I performed a Reset Network Settings and am still getting the error message.  What is the fix?

    Thanks so much for more direction. 
    I realized that I bought this iPod T4 about a year ago, so decided to check the date and it is still under the 1 year ltd. warranty until 21 Dec.  I contacted Apple via Chat and was informed that the problem may lie in the version of iTunes I was running 10.7.  Today Apple released v. 11 of iTunes which I was instructed to download.  It's TOTALLY different from iTunes 10.7 - drastically different in fact. 
    The Apple Chat Rep set up a phone call appointment forl 8:00 pm ET tonight where another Rep will call me to make sure the restore was accomplished OK.  With v. 11 of iTunes I can't even find the restore option!!!  The phone Rep will have to help me navigate v. 11 of iTunes.  It doesn't seem intuitive at all.  Maybe it's just me?!?!
    Thank you for sending this new link for firmware.  It's not clear to me right now whether I'll need it or not.  The phone Rep will probably somehow be able to resolve the problem.  If not, they'll probably send me to the nearest Apple store if the problem is hardware, as it would be covered under the warranty.  I will give another update as to what transpires as a result of the phone call with the Apple Rep.
    Again, thank you so much for helping me. 

  • Does sub program reduces the performance

    hi all,
    suppose that i have two solutions to increase the salaries of the employees for a table
    method 1:
    create or replace function inc_sal (pempno emp.empno%type) return integer
    is
    vsal emp.sal%type;
    begin
    select sal into vsal from emp where empno=pempno;
    vsal:=vsal+vsal*0.30;
    return(vsal);
    end;
    sql> select sal, inc_sal(empno) from emp;
    and
    method 2:
    sql> select sal, sal*0.30 as inc_sal from emp;
    now in the first method, for each record of the table the function is called and collect the returned value...
    but for the second method there is nothing like that
    so now which method is faster in performance, does the number of function calls in first method reduce the performance......?
    thanks and regards,
    sri ram.

    Oracle has a separate SQL and PL/SQL engine. When you go from one to the other, this is called a 'context switch'.
    A context switch is a costly operation.
    In variant 1 you seem to embed the function you wrote in SQL.
    This means
    - for each record you will have a context switch
    - in the function you call SQL: another context switch
    - The SQL in your function will show as recursive SQL and will never get merged into the main query.
    So actually variant 1 is a textbook example of 'slow by slow programming' or 'How to write unscalable applications'
    Remember Tom Kytes mantra:
    When you can do it in SQL, you should do it in SQL
    When you can't do it in SQL, you should do it in PL/SQL
    When you can't do it in PL/SQL, you should do it in Java (in the database)
    When you can't do it in Java, you should do it in any language outside the database.
    Sybrand Bakker
    Senior Oracle DBA

  • Help me reduce the woes of my wireless network...

    Here's what I have going:
    In my bedroom I have a Mirrored Door G4 with an Airport card.
    In my living room, I have my modem connected to a Airport Express with 802.11n.
    Once in a while, I am able to pick up a signal from my Airport Express, but usually I just "borrow" internet from my neighbors.
    I know that my Airport Express is set up correctly as my AppleTV and my MacBookPro both connect without any issues.
    A few years ago (before the days of my MacBookPro), I bought an Airport Express, this one with 802.11b/g (I think, date on the bottom says '05).
    Here were my two thoughts:
    1.) Plug the older Airport Express in RIGHT next to the G4 and extend the range of the network so that it gets some signal.
    2.) Plug the older Airport Express in RIGHT next to the G4 and use an ethernet cord to connect directly.
    My issues:
    1.) Although I have gotten the extended network to work (by using a WEP password, otherwise I get a "connection timeout" error almost immediately), my G4 does not like to stay connected. I cannot get this network to work when I use WPA. I have updated all of my software and tried over and over again.
    2.) When I tried to connect directly, Network Preferences told me that the ethernet cord was not plugged in. I am not even sure that this is possible, and if it is, where exactly in the setup I am going wrong.
    Any advice would be wonderful, as I have talked to many a person (and even drawn pictures!) at the Genius Bar, and no one is of much help...

    I just went throught the same thing. My wirless was slow with my MDD and even my new iMac using older Airport Expresses and an older Airport Base station. I upgraded to a new Airport Extreme. Made a vast difference. I also got a D Link N USB wireless dongle, for use in the MDD, from Fry's and turned off the airport card. This helped even more. Now my itunes sharing works much better and video plays well. I find that video sharing works better on the MDD using Front Row instead of itunes but itunes need to be open on the host computer.

  • SCOM agent install fails Error 80070035 - the network path was not found

    I have deployed SCOM 2012 agents to most servers (2008, 2008 R2, 2012, 2012R2) in our estate but some either fail to install or are not monitored. I assume the two problems are related, but for now I am concentrating on the servers that fail completely.
    Installation is from the Discovery Wizard and I have about 20 servers that fail of various server versions.
    So looking at one specific server that is failing to install the agent - a 2008 standard service pack 2
    The firewall in on and file and printer sharing is enabled for domain, remote administration is enabled for domain
    I added a specific rule to allow TCP 5723 and 5724
    DCOM is enabled
    I can Ping the target server from the SCOM server by both name and FQDN - both return the same IP and our DNS server has only one entry for this server
    I can browse to the admin share \\server\C$ from the SCOM Server, using the same account that I specify for the agent install that is a domain admin with rights on this server (and on the other servers the agent
    did install to) and the server has plenty of disk space available
    I am not sure what else to look at so would welcome any ideas
    Thanks

    Hi Petro,
    I have a Agent installation failure cheat sheet, For your error 80070035 it is said to perform a manual installation.
    So i would like to understand which version of SCOM is this ? 2007 R2 or 2012 or 2012 r2 ?
    Also check if your agents have the WMI service started and enabled ?
    Also if yours is a SCOM 2007 R2 do you have a RMS & MS in your management group ? If yes then Pushing the agent installation from MS may cause such issue. So would suggest you push the installation from RMS.
    Also check if your Network connectivity meets the minimum requirement as recommended by SCOM. Below is applicable for Both SCOM 2007 R2 & SCOM 2012 & 2012 R2.
    Component A
    Component B
    Minimum Requirement
    Root management server or management server
    Agent
    64 Kbps
    Root management server or management server
    Agentless
    1024 Kbps
    Root management server or management server
    Database
    256 Kbps
    Also check if you have any Anti virus / Firewall which is blocking the install / communication. If yes disabe or add the "Monitoringhost.exe to the safe list or what your feature is.
    Check if you have another IP assigned to the NIC card and remove it tempraurly andchecl.
    Also post the event logs of the Agents which are in not monitored state for analysis.
    SCOM Agent installation failure error codes
    Error
    Error Code(s)
    Remediation Steps
    The MOM Server could not execute WMI Query "Select * from Win32_Environment where
    NAME='PROCESSOR_ARCHITECTURE'" on computer server.domain.com
    Operation: Agent Install
    Install account: domain\account
    Error Code: 80004005
    Error Description: Unspecified error
    80004005
    1.  Check the PATH environment variable.  If the PATH statement is very long, due to lots of installed third party software - this can
    fail.  Reduce the path by converting any long filename destinations to 8.3, and remove any path statements that are not necessary.
    2.  The cause
    could be corrupted Performance Counters on the target Agent.
    To rebuild all Performance counters including extensible and third party counters in Windows Server 2003, type the following commands at a command
    prompt. Press ENTER after each command.
    cd
    \windows\system32
    lodctr /R
    Note /R is uppercase.
    Windows Server 2003 rebuilds all the counters because it reads all the .ini files in the C:\Windows\inf\009 folder for the English operating system.
    How to manually rebuild Performance Counter Library values
    http://support.microsoft.com/kb/300956
    3.  Manual agent install. 
    The MOM Server could not execute WMI Query "Select * from Win32_OperatingSystem" on
    computer “servername.domain.com”
    Operation: Agent Install
    Install account: DOMAIN\account
    Error Code: 800706BA
    Error Description: The RPC server is unavailable.
    8004100A
    800706BA
    1.  Ensure agent push account has local admin rights
    2.  Firewall is blocking NetBIOS access
    3.  Inspect WMI health and rebuild repository if necessary
    4.  Firewall is blocking ICMP  (Live OneCare)
    5.  DNS incorrect
    The MOM Server failed to open service control manager on computer "servername.domain.com". Access is Denied
    Operation: Agent Install
    Install account: DomainName\User Account
    Error Code: 80070005
    Error Description: Access is denied.
    80070005
    80041002
    1.  Verify SCOM agent push account is in Local Administrators group on target computer.
    2.  On Domain controllers will have to work with AD team to install agent manually if agent push account is not a domain admin.
    Disable McAfee antivirus during push
    The MOM Server failed to open service control manager on computer "servername.domain.com".
    Therefore, the MOM Server cannot complete configuration of agent on the computer.
    Operation: Agent Install
    Install account: DOMAIN\account
    Error Code: 800706BA
    Error Description: The RPC server is unavailable.
    800706BA
    1.  Firewall blocking NetBIOS ports
    2.  DNS resolution issue.  Make sure the agent can ping the MS by NetBIOS and FQDN.  Make sure the MS can ping the agent by NetBIOS
    and FQDN
    3.  Firewall blocking ICMP
    4.  RPC services stopped.
    The MOM Server failed to acquire lock to remote computer servername.domain.com. This means there is already an agent management operation proceeding
    on this computer, please retry the Push Agent operation after some time.
    Operation: Agent Install
    Install account: DOMAIN\account
    Error Code: 80072971
    Error description: Unknown error 0x80072971
    80072971
    This problem occurs if the LockFileTime.txt file is located in the following folder on the remote computer:
    %windir%\422C3AB1-32E0-4411-BF66-A84FEEFCC8E2
    When you install or remove a management agent, the Operations Manager 2007 management server copies temporary files to the remote computer. One
    of these files is named LockFileTime.txt. This lock file is intended to prevent another management server from performing a management agent installation at the same time as the current installation. If the management agent installation is unsuccessful and
    if the management server loses connectivity with the remote computer, the temporary files may not be removed. Therefore, the LockFileTime.txt may remain in the folder on the remote computer. When the management server next tries to perform an agent installation,
    the management server detects the lock file. Therefore, the management agent installation is unsuccessful.
    http://support.microsoft.com/kb/934760/en-us
    The MOM Server detected that the following services on computer "(null);NetLogon" are not running. These services are required for push
    agent installation. To complete this operation, either start the required services on the computer or install the MOM agent manually by using MOMAgent.msi located on the product CD.
    Operation: Agent Install
    Remote Computer Name: servername.domain.com Install account: DOMAIN\account
    Error Code: C000296E
    Error Description: Unknown error 0xC000296E
    C000296E
    1.  Netlogon service is not running.  It must be set to auto/started
    The MOM Server detected that the following services on computer
    "winmgmt;(null)" are not running
    C000296E
    1.  WMI services not running or WMI corrupt
    The MOM Server detected that the Windows Installer service (MSIServer) is disabled on computer "servername.domain.com". This service is
    required for push agent installation. To complete this operation on the computer, either set the MSIServer startup type to "Manual" or "Automatic", or install the MOM agent manually by using MOMAgent.msi located on the product CD.
    Operation: Agent Install
    Install account: DOMAIN\account
    Error Code: C0002976
    Error Description: Unknown error 0xC0002976
    C0002976
    1.  Windows Installer service is not running or set to disabled – set this to manual or auto and start it.
    The Agent Management Operation Agent Install failed for remote computer servername.domain.com.
    Install account: DOMAIN\account
    Error Code: 80070643
    Error Description: Fatal error during installation.
    Microsoft Installer Error Description:
    For more information, see Windows Installer log file "C:\Program Files\System Center Operations Manager 2007\AgentManagement\AgentLogs\servernameAgentInstall.LOG
    C:\Program Files\System Center Operations Manager 2007\AgentManagement\AgentLogs\servernameMOMAgentMgmt.log" on the Management Server.
    80070643
    1.  Enable the automatic Updates service…. Install the agent – then disable the auto-updates service if desired.
    Call was canceled by the message filter
    80010002
    Install latest SP and retry. One server that failed did not have Service pack installed
    The MOM Server could not find directory \\I.P.\C$\WINDOWS\. Agent will not be installed on computer "name". Please verify the required
    share exists.
    80070006
    1.  Manual agent install
    Possible locking on registry?
    http://www.sysadmintales.com/category/operations-manager/
    Try manual install.
    Verified share does not exist.
    The network path was not found.
    80070035
    1.  Manual agent install
    The Agent Management Operation Agent Install failed for remote computer "name". There is not enough space on the disk.
    80070070
    1.  Free space on install disk
    The MOM Server failed to perform specified operation on computer "name". The semaphore timeout period has expired.
    80070079
    NSlookup failed on server. Possible DNS resolution issue.
    Try adding dnsname to dnssuffix search list.
    The MOM Server could not start the MOMAgentInstaller service on computer "name" in the time.
    8007041D
    80070102
    NSlookup failed on server. Possible DNS resolution issue.
    Verify domain is in suffix search list on management servers.
    The Agent Management Operation Agent Install failed for remote computer "name"
    80070643
    1.  Ensure automatic updates service is started
    2.  Rebuild WMI repository
    3.  DNS resolution issue
    The Agent Management Operation Agent Install failed for remote computer "name". Another installation is already in progress.
    80070652
    Verify not in pending management. If yes, remove and then attempt installation again.
    The MOM Server detected that computer "name" has an unsupported operating system or service pack version
    80072977
    Install latest SP and verify you are installing to Windows system.
    Not discovered
    Agent machine is not a member of domain
    Ping fails
    1.  Server is down
    2.  Server is blocked by firewall
    3.  DNS resolving to wrong IP.
    Fail to resolve machine
    1.  DNS issue
    The MOM Server failed to perform specified operation on computer "name". Not enough server storage…
    8007046A
    1.  This is typically a memory error caused by the remote OS that the agent is being installed on.
    There are currently no logon servers available to service the logon request.
    8007051F
    1.  Possible DNS issue
    This installation package cannot be installed by the Windows Installer service. You must install a Windows service pack that contains a newer version
    of the Windows Installer service.
    8007064D
    1.  Install Windows Installer 3.1
    The network address is invalid
    800706AB
    Possible DNS name resolution issue.
    Tried nslookup on server name and did not get response.
    Verify domain is in suffix search list on management servers.
    The MOM Server failed to perform specified operation on computer servername.domain.com
    80070040
    1.  Ensure agent push account has local admin rights
    The MOM Server detected that the actual NetBIOS name SERVERNAME is not same as the given NetBIOS name provide for remote computer SERVERNAME.domain.com.
    80072979
    1.  Correct DNS/WINS issue.
    2.  Try pushing to NetBIOS name
    Gautam.75801

  • What are the network requirements with respect to latency in Forms?

    Our company is a global provider of online sourcing, procurement and collaboration solutions and services to Engineering, Procurement and Construction (EPC) projects and companies.
    We operate three Internet trading portals with 1000+ buyers & supplier companies around the world.
    The application is:
    - based on Forms 9.0.2
    - use SUN J2SE 1.4.2_0X on the client side
    - runs on the public Internet using SSL
    - hosted in Norway
    Some companies reports about bad response times and the users claims that our application runs slow. The application do not run slowly, it is very responsive - however it requires a good network connection. Upon request from our customer base I need to know what is the requirements for the network in order to achive an acceptable user experience?:
    - Maximum lantency
    - Minimum bandwith
    What where the design requirements Oracle set forth when developing Forms?
    There can be a lot of "latency" generating network equipment in the path between the user and our server farm: switches, routers, proxy servers, chaching servers, firewalls, packet shapers, QoS, etc. One customer have all of these goodies and our users in that company do not have fun with the Forms application! However, they do not belive that there is something wrong with the network because normal HTML based sites works OK!
    In order to help these customers I need (URGENTLY) to know what the network requirments are?

    Its difficult to answer since the limits on latency will be governed by the user expectiation....
    For example, a financail trading application which has fast data entry may see a latency of .7 second as not acceptable but this would be fine for an HR application.
    The thing is that a user action, such as navigation between fields, wil generate a round trip to the application server to check for triggers (regardless if there is a trigger to file or not). Its this behaviour that gives Forms is very rich productive interface.
    To compare with HTML is not reasonable since HTML can't do all these things like instant validation, masterdetail coordication, scrolling etc that Forms can do...
    Its like complaining that your Sports car uses more petrol that your 50cc moped!!! ;o) It uses more petrol because its doing so much more.... Ok, I digress but you get the idea.
    Forms will require a certain level of network performance. the figures for that performance will depend on user expectation/scenarios, the type of application and the way it is written (a badly written Forms application can still run slow even on a fast network).
    Using network tools you can work out the latency (ping) from client to server. If this result comes out a figure which is not acceptable then no amount of tweeking of Forms will get it to run faster...You either need to upgrade the network to improve this; or change the style of application (e.g. to and HTML application) which will only ping the server on a POST/GET request but you lose a huge amount of functionality...and you need to ask your end users if they can live with that.
    Hope that helps.
    Grant Ronald
    Forms Product Management

Maybe you are looking for

  • Configuration Problem Oracle Enterprise Manager 9i

    Hello Friends, I have installed oracle 9i on windows 2000 server, But when I run oracle enterprise manager it asks me the userid and password. Anyone could tell me what is the userid and password i should provide, and any other necessary configuratio

  • Some web sites not working in FF but they are OK in Safari.

    A couple of times lately I have had web sites not work correctly with Firefox. I need to switch to Safari to complete the tasks I needed to do. My FF is running on Mountain Lion and is up to date. Thanks, MJT

  • Sequence Execution in oracle apps forms

    hi all I want to know the execution sequence of the form personalization, CUSTOM PLL , Profile options in oracle apps for a specified form thanks

  • Can I execute a Button when pressing "Enter" in an InputField?

    Hi All, I have an InputField and next to the InputField, there is a Button. Ii would like to have my application executing the Button when the User presses the "Enter/ Return" Button on his keyboard. Is that possible? If yes, how?? Thanks, Johannes

  • SQL server with labs PCs connected to it

    Hi  I work at private university where students are thought database course, it's requested to create a SQL server and to allow students from different PCs in the campus (lab, library...) to access that Server,  my question is: what should I install