Informix

 View Only
  • 1.  Slow operations from a remote network

    Posted 5 days ago

    I have an application that when running on the same network as my instance takes an average of 5 minutes to perform operations, however from an external network it is impossible to generate. I have waited up to 1 hour. Is this due to Informix configuration or a connectivity issue?



    ------------------------------
    eduardo rodriguez
    ------------------------------


  • 2.  RE: Slow operations from a remote network

    Posted 5 days ago
    Hi,

    this very much depends on the type of activity (the amount of queries and the data volume going back and forth) 
    and the bandwidth of the connection.
    E.g. when you have a fast (1GBit, 10Gbit ....) Link between the machines, the response times should be comparable as in the local network,
    which should have a similiar speed (or above, when in a high-speed data centre environment).
    Fastest would be on the localhost, obviously.
    A slower line (10mBit, 100mBit) will slow down the response times significantly, especially when a large number of queries
    is prepared and executed.
    When using a VPN link, you should check the resulting bandwidth, which has nothing to do with the physical bandwidth available,
    but highly depends on the settings of your VPN connection.
    Also, the MTU can be important, because packets get broken up into smaller chunks when running through VPN tunnels.

    If the server reacts fast enough locally, then you should search for reasons in the connection, not the server itself.

    If you cannot get around this slow connection and you want to speed up things, check how you application is working.
    Depending on the implementation language, there might be some options to make the queries react faster.
    First, only select data which you need (no "select * from ", if only a small number of fields are needed).
    Reuse queries, (e.g. PreparedStatements in Java). 
    For large amounts of insert/update/delete operations, use bulk operations, these are faster than single operations
    for massive data.

    Best,

    MARCUS HAARMANN







  • 3.  RE: Slow operations from a remote network

    Posted 3 days ago

    Thank you very much for your reply Marcus



    ------------------------------
    eduardo rodriguez
    ------------------------------



  • 4.  RE: Slow operations from a remote network

    Posted 2 days ago

    Hi,

    I have brought down the time for trans-atlantic queries massively with https://www.ibm.com/docs/en/informix-servers/15.0.0?topic=performance-manage-fetch-buffer-size  FET_BUF_SIZE=32768 or higher in client program environment.

    Regards,
    David.



    ------------------------------
    David Williams
    Senior Database Platform Engineer
    Flutter
    London
    ------------------------------



  • 5.  RE: Slow operations from a remote network

    Posted 22 hours ago

    Dear  Eduardo Rodriguez Sir,

    The significant performance difference between intranet and internet access suggests a network configuration or firewall issue. Inspecting application logs, network traces, and security group settings can help identify the root cause. Optimizing instance configuration, load balancing, and database resources may also be necessary to resolve the issue.

    External Network Issues
    1. ISP or network provider issues: Problems with your external network provider or ISP might be causing the delay.
    2. DNS resolution: Check if DNS resolution is working correctly for your application's domain.



    ------------------------------
    suman suhag
    ------------------------------