File Or Proxy Which is better in Performance?

Hi Friends,
         In one scenario we are sending data from R/3 to legacy System.. The amount of Data Could be around 2000 records(Each record having just 5 fields).. For retreiving data from R/3  we are thing of going for Proxy... At the same time we are thinking of useing File adapter for reading data from R/3.we will write that data to a file and then transfer   .... My doubt is which is the better way to do it...And in which type of scenarios using File for Reading R/3 data is suggested....
Regards,
Shyam M.

Yes the Proxy will be direct communication with integration server.
But with file you need to have the File adapter to conver it to XML format before reaching upto Integration server. While dealing with high volume of data this will affect lot on the performance.
Actually above 80MB there might be problems with memory on your abap stack.
Upgrade the configuration of Integration Engine.
Here you need to increase the Memory size as well as paging and heap size. It will allow you to have max utilization of memory for such vloume of data.
Thanks
swarup

Similar Messages

  • Subquery vs UNION, which is better for performance?

    I want to know which in better for performance using a subquery method or a UNION?
    Any information would be helpful and appreciated!

    Hi,
    It depends on the SQL statments and each case is different from an other one. Take a look at the oracle doc: "Designing and Tuning for Performance".
    Regards,
    CB

  • Which is better for performance Azure SQL Database or SQL Server in Azure VM?

    Hi,
    We are building an ASP.NET app that will be running on Microsoft Cloud which I think is the new name for Windows Azure. We're expecting this app to have many simultaneous users and want to make sure that we provide excellent performance to end users.
    Here are our main concerns/desires:
    Performance is paramount. Fast response times are very very important
    We want to have as little to do with platform maintenance as possible e.g. managing OS or SQL Server updates, etc.
    We are trying to use "out-of-the-box" standard features.
    With that said, which option would give us the best possible database performance: a SQL Server instance running in a VM on Azure or SQL Server Database as a fully managed service?
    Thanks, Sam

    hello,
    SQL Database using shared resources on the Microsft data centre. Microsoft balance the resource usage of SQL Database so that no one application continuously dominates any resource.You can try the 
    Premium Preview
    for Windows Azure SQL Database which offers better performance by guaranteeing a fixed amount of dedicated resources for a database.
    If you using SQL Server instance running in a VM, you control the operating system and database configuration. And the
    performance of the database depends on many factors such as the size of a virtual machine, and the configuration of the data disks.
    Reference:
    Choosing between SQL Server in Windows Azure VM & Windows Azure SQL Database
    Regards,
    Fanny Liu
    If you have any feedback on our support, please click here. 
    Fanny Liu
    TechNet Community Support

  • Which is better from performance point of view : Enum or String?

    Hello All
    While working to re-factor code so as to improve performance,I saw that repeatedly some Strings are used to be put as keys in a HashMap.
    Will there be an improvement in performance if I assign use enums in place of using double quoted strings everytime.
    Also,Is it a better idea to use string constants rather than enums.
    Can anyone help me over this?
    Thanks in advance
    Mansi

    Found an article in Java performance tuning book.But they nowhere mentioned the perfect reason for doing this.Here's the artice :
    Enumerating constants
    Another canonicalization technique often used is replacing constant objects with integers. For example, rather than use the strings "female" and "male", you should use a constant defined in an interface:
    public interface GENDER
    public static final int FEMALE=1;
    public static final int MALE=2;
    Used consistently, this enumeration can provide both speed and memory advantages. The enumeration requires less memory than the equivalent strings and makes network transfers faster. Comparisons are faster too, as the identity comparison can be used instead of the equality comparison. For example, you can use:
    this.gender == FEMALE;
    instead of:
    this.gender.equals("female");

  • Which is better in performance Double + "" or Double.toString() ?

    Can anyone let me know which of these will be performance effective for converting a Double to String:
    1. Double + ""
    2. Double.toString() ?

    ejp wrote:
    Double+"" calls String.valueOf(double) and then appends "" so it can't possibly be faster.Actually the append/+ uses a StringBuilder which costs almost a micro-second more. (Actually its about 0.3 us on my machine)
    Both methods call Double.toString(double) which is what I would use except ""+d is faster to type. ;)
    Edited by: Peter__Lawrey on 25-Jul-2009 07:57

  • Which is better ? for loop or iterator ??

    Hi,
    I have one array list having more than 100 objects in it.
    I have two way to ietrator.
    1.
    for(int i=0; i<list.size(); i++)
    Object o = list.get(i);
    2.
    Iterator i = list.getIterator()
    while(i.hasNext())
    Object o ...
    which is better in performance ??

    Well okay. It's an easy optimization but I guess Sun
    doesn't want to "bail out" people who don't know
    their data structures.It won't always be optimal, though. If you use
    iterators and don't iterate the whole way through
    every time, it would degrade performance. It's hard
    for them to make assumptions about how you will
    access the data. So you punish people who do use it
    properly if you do that.I don't know. The optimization I suggested is isolated to random accesses in the linked list only. Say you access index 5. The node pointer corresponding to 5 is stored and if the next access is index 6 the node pointer you're looking for is pointer.next. There's no need to walk the list from the beginning.

  • Hi All, which is better while creating an object

    Hi All, which is better while creating an object,
    for ex:
    public class Joe {
    public void disp() {
    System.out.println("Joe.disp");
    (1) Joe j = new Joe();
    j.disp();
    (2) new Joe().disp();
    of course, both are equal, which is better in performance perspective

    I suggest you just write code and when the assignment is done, AND you have a performance issue, only then try to improve things. The question you're asking now is likely of no relevance to the performance of you application.
    You can run your application through a profiler to see what specific part of it is consuming (too) much memory.

  • Which is better for bulk message scenario in sap xi RFC or Proxy

    which is better for bulk message scenario in ( RFC or Proxy ) ?
    Edited by: prabhatxi on Aug 6, 2010 4:44 PM

    Proxy will alwaays be better option in this case, as it is adapter less framework, and communication happens directly with XI central integration engine. So it is always fast communication and gives good performance.
    But still you should consider other factors, you may consider using RFC as well, as sometime we go for RFC/IDOC as this are the standard interfaces already available rather than creating structure...
    May be you can share more info on what type/volume data are you planning to send via XI?
    Hope this cleart your doubt..
    Divyesh

  • Which is better ASM or file system storage

    Hi all, I need a urgent help from all u gr8 DBAs.
    I have to give justification to my client that which is better to use between file based option ASM and why??
    So can anyone give me some write up in this line?

    Ok, how about this
    Today's large databases demand minimal scheduled downtime, and DBAs are often required to manage multiple databases with an increasing number of database files. Automatic Storage Management lets you be more productive by making some manual storage management tasks obsolete.
    The Oracle Database provides a simplified management interface for storage resources. Automatic Storage Management eliminates the need for manual I/O performance tuning. It simplifies storage to a set of disk groups and provides redundancy options to enable a high level of protection. Automatic Storage Management facilitates non-intrusive storage allocations and provides automatic rebalancing. It spreads database files across all available storage to optimize performance and resource utilization. It also saves time by automating manual storage tasks, which thereby increases their ability to manage more and larger databases with increased efficiency. Different versions of the database can interoperate with different versions of Automatic Storage Management. That is, any combination of release 10.1.x.y and 10.2.x.y for either the Automatic Storage Management instance or the database instance interoperate transparently.
    http://download-east.oracle.com/docs/cd/B19306_01/server.102/b14220/mgmt_db.htm

  • Which one is better, regarding performance point of view.

    Hi friends,
    I have a report, which has 10 columns.
    Now in order to pull data for all 10 columns, i need to access 8 tables.
    Ex.. open ref_cursor for
    select col1, col2, col3,.. col10
    from table1, table2, table3.. table8
    now i use 3 of those tables for getting column2.
    Is it better to call another function (which returns this value) to pull this column2 or is it better to just join the tables to get this column?
    Does using a function decrease the performance ?
    Thank you
    Jack

    I would say try to construct the query using just SQL if at all possible. If you are attempting to do procedural operations on the data that cant be achieved through standard SQL (via case statements and the like), you probably don't have much of a choice other than to using a function or procedure. At any rate, there really isn't enough information to tell you which is better. My process for designing programs, jobs, reports, or queries tends to follow the same process when I am working solo:
    1. Outline what I want on paper
    2. Outline how to get it on paper
    3. Create a rough draft in pseudo code
    4. Write the actual code
    5. Verify that I am getting consistent and correct results
    6. Trace the job, program, or query in the database using a 10046 trace or, If it is pl/sql, profile it using DBMS_PROFILER
    7. For 10046, I profile the trace file using a profiler of some sort (usually not tkprof unless I am working with a single statement)
    8. Review the profile for issues, bugs, or poorly performing queries
    I basically use the response time profiling methodology (I like this text for response time optimization techniques: Optimizing Oracle Performance, Millsap/Holt, Oreilly 2003) to identify the issues. If I determine the SQL is the issue, it is time to break out a harness tool (a tool that captures statement level execution statistics) to help me test alternatives. After I have tuned the query to my satisfaction, I repeat steps 5-8.
    Please note, this is a very broad overview of my personal process and may not meet your needs. There are plenty of other considerations when designing or troubleshooting when performance improvement is the goal.

  • Help Required - File to Proxy (Performance Issue)

    Hi All,
         One of my file to proxy scenario is taking 3 to 4 days to execute.
    Basically XI picks up a file of 2-3 lakh records and pushing it to SAP via ABAP proxy. On the ABAP side, a BDC call is made to process the data. But the whole scenario takes 3 to 4 days for execution. 
    The scenario is an Asynch scenario and BPM is not used as its a very straight forward scenario.. Also the file can't be splitted as say each 10,000 records bcoz all of these records are interrelated and has to go to SAP end in a single shot.
    Is there anything which can be done on either XI or ABAP side to optimize the scenario?.
    Thanks,
    Joe.

    Joe,
    Can you give more details?
    Is this an Asynch call or a synch call?
    Are you using a BPM, etc, maybe there is something wrong in the way you have designed your interface.
    Proxies are supposed to provide the best perfromance and the fact that it is taking such a long time is really strange, and so maybe if you can give us details on your interface , some reason for this issue can be found out.
    Meanwhile also look into this guide,
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/70ada5ef-0201-0010-1f8b-c935e444b0ad
    Regards
    Bhavesh

  • Which is better? store files in the database or directly on the O.S.?

    Hi,
    i´m developing an application to manager files. which is better? store files in the database or directly on the O.S.? If i decide to store on database, i will use the BLOB data type but i have a doubt...the BLOB data type occupies the same space on database regardless of file size? there is another data type better?
    Tks,
    Fernando.

    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:1011065100346196442
    Ask Tom has a bit of info to share on the topic. Have a read of this. :)

  • Which is better? Code comparsion of performance and style

    Recently I run into a discussion over a small piece of code. Could help me which is better, either in performance or coding style? The code is not complete, the question is the use of local cancellationNumber variable.
    public String cancelAction(/**/) {
    /* some code */
            String cancellationNumber = result.getCancellationNumber();
            if (empty(cancellationNumber)) {
                throw new Exception("Did not receive a cancellation number!");
            return cancellationNumber;
        }or
    public String cancelAction(/**/) {
    /* some code */
            if (empty(result.getCancellationNumber()) {
                throw new Exception("Did not receive a cancellation number!");
            return result.getCancellationNumber();
        }

    Yes, I know profiling can be misleading, also compiler optimization adds to the picture. However seeing the numbers differentially, I think there is still some information, which is faster, even if taking it completely out scope. I didn't paste the code, because it's so trivial. I run the two methods in a loop with same arguments.
    With increased loop count, the difference is 6-7%, cancelActionWithLocal being faster. But this can be pointless, I know.
    package org.helloprofile;
    import static org.helloprofile.Util.empty;
    import java.util.Locale;
    public class CUT {
        public String cancelActionWithoutLocal(Locale locale, String email, long itineraryId, String confirmationId) throws Exception {
            Result result = new Result();
            if (empty(result.getCancellationNumber())) {
                throw new Exception("Did not receive a cancellation number!");
            return result.getCancellationNumber();
        public String cancelActionWithLocal(Locale locale, String email, long actionId, String confirmationId) throws Exception {
            Result result = new Result();
            String cancellationNumber = result.getCancellationNumber();
            if (empty(cancellationNumber)) {
                throw new Exception("Did not receive a cancellation number!");
            return cancellationNumber;
    }Thanks for the comments!

  • Which is better External View OR Database procedure Proxy ?

    Hi Jasmin and Kilian,
    Creation of External View in HANA and consume in ABAP.
    Which is better External View OR Database procedure Proxy.
    Regards,
    Pravin
    Message was edited by: Jens Weiler
    Branched from http://scn.sap.com/thread/3498161

    Hi Pravin,
    that depends on your application logic and use case. There is no general recommendation for one or the other.
    If, for instance, you have input parameters, you would go for a DB procedure proxy, since the external view does not allow to pass input parameters from the ABAP to the HANA column view.
    On the other hand, if you would like to consume the result in an ALV with integrated data access (the "next generation ALV"), you would rather go for an external view... so - like the answer to so many other questions - it depends... .
    Cheers,
      Jasmin

  • Performance wise which is better NOT IN or NOT EXISTS

    Performance wise which is better NOT IN or NOT EXISTS.

    also that not exists is not equivalent to not in
    SQL> select * from dept where not exists (select * from emp where dept.deptno=comm);
        DEPTNO DNAME          LOC
            10 ACCOUNTING     NEW YORK
            20 RESEARCH       DALLAS
            30 SALES          CHICAGO
            40 OPERATIONS     BOSTON
    SQL> select * from dept where deptno not in (select comm from emp);
    no rows selectedin most case, Oracle internally rewrite a NOT IN in a NOT EXISTS, because NOT EXISTS usually performs better.
    HTH
    Laurent

Maybe you are looking for

  • Links in e-mail

    If I try to open links in my e-mail firefox shuts down. Why is this happening??

  • Attaching a .pdf and make it open on top of the course.

    I made a click box.  When clicked the action is to Open URL or file.  I named my .pdf, left out the path. I chose "top".  Everything is published into one folder.  The .pdf opens fine, the problem is, it takes over and is full screen, then when I hit

  • T61 wi-fi adapter driver

    My T61 adapater is the Intel Pro/Wireless 3945ABG; the driver is Version 11.1.1.11 [probably the same driver as the day when I bought it]. I recently got a ThinkVantage message saying that it couldn't connect to a wireless network and that I "may nee

  • CSS class ordering

    Hello, I am using JDeveloper 11.1.1.6 and Oracle ADF Skin Editor 11.1.2.3. I have browsed the community sites and not found a question / answer about the issue I'm facing. I have been able to create custom CSS classes in my custom skin and apply them

  • Error in opening Calendar Recurring Item

    Hi, I have created a recurring event in my calendar. I deleted one instance, when I open the deleted one in calendar/allitems.aspx it says " Item does not exist. It may have been deleted by another user." But I noticed that the column of that item st