How to reduce the number of DB calls in Biztalk Map

Hi,
I am using the
1. first scripting Functoid(calling External Assembly)  to fetch the details from DB as comma separated values(1,2,3)
2. Scripting Functoid to apply Inline XSLT temple(which will pick the comma separated value and place it as three different records)
Instance messages
All the items are working as expected but, the call to DB is happening for each record in the details.
if my input has n number of details section, the database call is happening n times, which is drastically reducing the performance.
I wanted to make it as one DB call . Please suggest
Regards, Vignesh S

Hi,
You can also use the Blogical BizTalk Database lookup functoid with caching feature.This functoid can be used like the
Database lookup functoid that ships with BizTalk. It will execute a query against a given database and cache the result using the
System.Web.Caching.Cache with a sliding expiration of one minute.
Download:
https://blogicalfunctoids.codeplex.com/
Kind regards,
Tomasso Groenendijk
Blog 
|  Twitter
MCTS BizTalk Server 2006, 2010
If this answers your question please mark it accordingly

Similar Messages

  • How to delete the number saved in CALL FORWARDING list?

    how to delete the number saved in CALL FORWARDING list? seems like the number cannot be deleted in CALL FORWARDING list, i tried several times...
    he thing is, here are three numbers in the call forwarding list, one of them were set up by mistake, and none of them can be deleted.......it brothers me all the time. i already turn it off, but the number list is still there...

    Hello dennis130915 and welcome to the BlackBerry Support Community Forums.
    The image you have uploaded is unable to be displayed.
    Call Forwarding is a carrier controlled feature. Most likely, the number you see could be for the Voice Mail server.
    It's advised you call your mobile service provider to further assist with this feature.
    Thanks!
    -HMthePirate
    Come follow your BlackBerry Technical Team on twitter! @BlackBerryHelp
    Be sure to click Kudos! for those who have helped you.Click Solution? for posts that have solved your issue(s)!

  • Urgent HELP - How to reduce the number of entries in table MESYBODY?

    Does anyone know how to reduce the number of records in synchronization table MESYBODY and MESYHEAD?  The reason I wanted to reduce these tables is because I believe they have so many duplicated entries that causes extremely slow performance everytime we sync.  Currently, there are almost 50,000 records for approximately 100 users, and I believe it shouldn't be that much. 
    We are running into a problem that it takes approximately 25-30 minutes to sync. 
    Any advices would be highly appreciated.
    Regards,
    Dai

    Hi Dai,
    please try to run the middleware job WAF_MW_MAPPING. For some applications (Mobile Time and Travel for example) this helps to clean the tables.
    Br, alex
    alexander ilg
    http://www.msc-mobile.com

  • Is it possible to reduce the number of HTTP calls when using a ReportViewer control?

    My application is written in .Net 4 using Visual Studio 2010 (version 10 of the ReportViewer control). The report in question contains a lot of data in the dropdowns used for parameter selection. For example, one dropdown contains 95k options and another
    uses 24k options (I know this is bad design, but we need to keep it as-is for this release). When I use Fiddler to profile the report, I see that it makes a lot of HTTP calls and a majority return the same dataset. There are three phases of loading data. Each
    one initiates a series of HTTP calls.
    Loading the initial header with the filter controls (dropdowns, textboxes, etc).
    Changing one of the dropdowns that has a dependent dropdown (start date/end date)
    Loading the final report after clicking the View Report button
    In total, 13 HTTP calls are made and 10 of those are returning the same 10MB of data. The final report only returns 13 records, but the whole process of loading the report filters, changing report filters and loading the report require 130MB of data to be
    exchanged. This is an extreme example, but we do have other reports that are doing the same with smaller amounts of data.
    My question: is there any way to modify the ReportViewer or the SSRS server to reduce the number of calls? Is this related to ViewState? Please understand that I am new to Reporting Services and have a lot to learn.

    Hi rodeofive,
    As per my understanding, the issue is a performance issue. And it is caused by there are thousands of values in the drop-down list of parameters in the report.
    To work around this issue, I suggest you should make some changes in the report. For example, we can add additional two parameters with multiple keywords ahead, one for the dropdown contains 95k options, another for dropdown contains 24k options. Then all
    of available values which are begin with the keywords will display in the parameter list. In this scenario, we can create cascading parameters. One is a keyword parameter, and the other parameter is the drop-down list that based on the keyword to display the
    available values.
    For more details about the method, please refer to the following FAQ:
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/8de6c783-9cb4-4b95-9be8-b59bc0049866/forum-faqhow-do-i-add-a-search-feature-in-the-parameter-with-long-drop-down-list?forum=sqlreportingservices#8de6c783-9cb4-4b95-9be8-b59bc0049866
    Hope this helps.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • How to reduce the number of data blocks used by table

    Hi,
    I was trying to reduce the space usage of a particular table of my apex application which stores blob content and therefore deleted many records from it.
    However, the data block usage remained the same as before.
    I have tried to 'analyze' the table and validate the structure,but am unable to overcome this problem.
    Could someone throw some light on what needs to be to reduce the number of data blocks used by this table?
    Best Regards,
    Priya Jetley

    Priya:
    It is likely that the BLOB content defined in your table is being stored 'Out-of-Line'. This means that the LOB columns are stored in segments of their own. These then are the segments that may need shrinking.
    http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14249/adlob_tables.htm#i1006363
    Varad

  • How to reduce the number of bytes for a picture

    I want to reduce the number of bytes used for a picture to be sent to a site like Ebay or craigslist. I son't see any options in Iphoto for this purpose.

    You can do it in Preview.
    Open the image in Preview. Under Tools, click Adjust Size.
    Scale it down to the smallest acceptable size (the website should give a suggested resolution).
    Then go to File -> Export, save it as a Jpeg.
    Smaller size image means smaller file size.

  • How to reduce the number of exchange between the database & the app?

    Hi,
    In order to resolve performance issue of my application under a dirty network (ping=150ms), I make use of Ethereal.
    And I noticed that an incredible amount of TCP exchanges (little SQL requests amoung others things) was complete between my application and the database.
    Does exist a KODO or JDO parameter upon which I could work around in order to optimize these exchanges/SQL requests?
    DB: Oracle 9.2.0.1 --
    KODO: 3.3.3 --
    Thanks a lot.
    Mathieu, STERIA France
    Message was edited by:
    steria_fr
    Message was edited by:
    steria_fr

    You can activate logging of every SQL being issued by Kodo by setting kodo.Log:SQL=TRACE.
    Kodo issues SQL when the application accesses object fields/relations that are not yet loaded. Analysis of SQL would indicate what is being fetched. You can minimize the number of SQL, say, adding a set of fields in the same fetch-group thereby bringing them from database in a single SQ!L call.

  • How to reduce the number of crossjoin in my webi query

    All,
    I am running some publication base of a webi report
    notes that i have a profile for each of the recipient
    for example in the profile i have a detail objects with:
    recipient 1 can only see 901
    recipient 2 can only see 902
    In my publication I do the filtering on the local personalization
    then I sent the report to all the user concerned using the multi pass option in the advanced part.
    The thing is that for some of the recipient I do reach the limit:
    more than i million cell
    notes it generate around 21 crossjoin in the MDX
    My first question is .. if I follow the best practice:
    and to confirm:
    1 - cut the webi query in 2 queries one for the display attributes and another one for the actual data .. the thing is I do not have much display attributes in my query will that really help ?
    2 - I believe putting a where clause in my MDX will save me some crossjoint .. but in my case I am not sure on how to put a filter that could be after used thru a profile in a publication
    Any idea ?
    thank you
    here is the MDX: you will see the condition on
    [0CUST_SALES__ZC_REPNM].[0000900014]
    SELECT  { [Measures].[4DEE5JCFWBL7C5ESCAY7EYPVO], [Measures].[4DEE7737DGFO7GOHQ55PM8QDG], [Measures].[4DEE7FERWXYBDVR01PP0IDCAS], [Measures].[4DEE7FMGFWK0WIAG7JRCSFB0K], [Measures].[4DEE9N7KWFHEW1SWO20KYS03O], [Measures].[4DEE9NF9FE34EOCCTW2X8TYTG], [Measures].[4DD95OV9NOMZWKDZ1W3LBZ7US], [Measures].[4DD95P2Y6N8PF6XF7Q5XM16KK], [Measures].[4DD95PAMPLUEXTGVDK89W35AC], [Measures].[4DD95PIB8KG4GG0BJEAM65404], [Measures].[4DD95PPZRJ1TZ2JRP8CYG72PW], [Measures].[4DD95PXOAHNJHP37V2FAQ91FO], [Measures].[4DD95Q5CTG990BMO0WHN0B05G], [Measures].[4DD95QD1CEUYIY646QJZACYV8], [Measures].[4DD95QKPVDGO1KPKCKMBKEXL0], [Measures].[4DD95QSEEC2DK790IEONUGWAS] }  ON COLUMNS , NON EMPTY CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( [0CALMONTH2].[LEVEL01].MEMBERS,  { [0CUST_SALES__ZC_REPNM].[0000900014] }  ), [ZC_RGBRND__ZC_INDSUP].[LEVEL01].MEMBERS ), [ZC_RGBRND__ZC_INDMGT].[LEVEL01].MEMBERS ), [0CUST_SALES__ZC_TLSAGT].[LEVEL01].MEMBERS ), [0CUST_SALES__ZC_CHIER5].[LEVEL01].MEMBERS ), [0DISTR_CHAN].[LEVEL01].MEMBERS ), [0SHIP_TO__ZC_TLSZCL].[LEVEL01].MEMBERS ), [0SHIP_TO__ZC_PRIORT].[LEVEL01].MEMBERS ), [0SHIP_TO__ZC_OUTLTP].[LEVEL01].MEMBERS ), [0MATERIAL__ZC_GENMAT].[LEVEL01].MEMBERS ), [0SHIP_TO__ZC_KEYACC].[LEVEL01].MEMBERS ), [0SHIP_TO__0CITY].[LEVEL01].MEMBERS ), [ZC_CONTGR].[LEVEL01].MEMBERS ), [ZC_BRND__ZC_BRNDFM].[LEVEL01].MEMBERS ), [ZC_BRND].[LEVEL01].MEMBERS ), [0MATERIAL__ZC_PACKSZ].[LEVEL01].MEMBERS ), [0MATERIAL__ZC_CONCAT].[LEVEL01].MEMBERS ), [0CUST_SALES__0SALES_OFF].[LEVEL01].MEMBERS ), [0SHIP_TO].[LEVEL01].MEMBERS ), [0CUST_SALES__0SALES_GRP].[LEVEL01].MEMBERS ), [0CUST_SALES__0CUST_GRP1].[LEVEL01].MEMBERS ) DIMENSION PROPERTIES [0CUST_SALES__ZC_CHIER5].[20ADDR_NUMBR], [0CUST_SALES__ZC_CHIER5].[20PHONE], [0CUST_SALES__ZC_CHIER5].[20STREET], [0CUST_SALES__ZC_REPNM].[20CUST_SALES__ZC_REPNM], [0MATERIAL__ZC_GENMAT].[1ZC_FORMCO], [0SHIP_TO].[20CITY], [0SHIP_TO].[20PHONE], [0SHIP_TO].[20SHIP_TO], [0SHIP_TO].[20STREET], [ZC_BRND].[1ZC_DOMIMP] ON ROWS FROM [ZIM_WKLY/ZQ_BO_ZIMWKLY_001]
    [ZIM_CRM01/ZQ_BO_ZIMCRM01_0001]

    Hi,
    The recipient in my case are sales rep, they are not part of SAP , they just have a number ( key) to identify them.( we created one user ID for each of the sales rep in BOBJ)
    in the case of our publication it is very easy to setup .. we just have to put the key that identify them within one big profile. and the result would be a condition in our webi report.
    so in short setting up the security in SAP would have been too much work
    Philippe
    Notes that the goal is to broadcast on their PC a wid file, they will open it on their own laptop when facing their customer. notes they would open the wid file in an offline mode

  • How to reduce the number of Remote Gateway connections from one server

    Hi ,
    We have an XI 3.0 prod system which is being flooded every month end by the invoices generated in our ERP system and occupying all the gateway connections, what I see is that all the remote gateway connections are being established by our ERP server and still there are many requests waiting at the ERP server and failing.
    When we ran the same in  our test landscape, the invoices are getting transferred to XI with out any problems, the remote gateway connections are free even when the invocie Volumes transferred are the same in Prod and Test servers.
    we are not considerint to Increasing the rdisp/max_gateways as the volumes of invocies transferred are really huge and in one of the test, we observed that when 40 invocies are transferred from ERP, it occupied 40 Remote gateway connections in our XI prod
    We are looking for the option similar to our test system of transferring many requests from one connection. Is there any such specific option?
    Regards,
    Santhi Bushan.

    Dear Santhi,
    every gateway establishes only one connection to another gateway. If there are that many gateway/gateway connections, then you are probably connecting from more than one instance. You could circumvent this, if you use gateway options in the RFC destination being used, as this will force all outgoing RFC calls to go through a single gateway. This will then mean that the system has a single point of access.
    Best Regards,
    Tim

  • How to reduce the number of levels of ODS

    Hello,
    I have a ODS of the first level and a ODS of second level. In the second level, for each record carries a select on the first level to calculate the time between the current record and the previous record. How can I optimize by eliminating a level of ODS? Many thanks. Charly

    You can do it in Preview.
    Open the image in Preview. Under Tools, click Adjust Size.
    Scale it down to the smallest acceptable size (the website should give a suggested resolution).
    Then go to File -> Export, save it as a Jpeg.
    Smaller size image means smaller file size.

  • How to reduce the number of back-ups

    Is there are any way I can only back-up once a day, rather than every hour? I would like to set TC to backup only once a day, every night at 3 in the morning.

    Absolutely! Use TimeMachineEditor!
    http://www.macupdate.com/info.php/id/26704/timemachineeditor
    -Justin

  • How can i reduce the number of calls archived in recents

    How can i reduce the number of calls archived in recents

    You can't change that.  It's a function of the OS and cannot be altered.

  • How to find the number of times method being called.....

    hi,
    can any one pls tell me how to find the number of times the method being called......herez the example....
    Refrence ref = new Refrence();
    for(int i = 0;i < arr.length; i++){
    if(somecondition){
    ref.getMethod();
    here i want to know how many times the getMethod() is calling...Is there any method to do this.. i have seen StrackTraceElement class..but not sure about that....pls tell me the solution....

    can any one pls tell me how to find the number of times the method being called......
    herez the example.... http://www.catb.org/~esr/faqs/smart-questions.html#writewell
    How To Ask Questions The Smart Way
    Eric Steven Raymond
    Rick Moen
    Write in clear, grammatical, correctly-spelled language
    We've found by experience that people who are careless and sloppy writers are usually also careless and sloppy at thinking and coding (often enough to bet on, anyway). Answering questions for careless and sloppy thinkers is not rewarding; we'd rather spend our time elsewhere.
    So expressing your question clearly and well is important. If you can't be bothered to do that, we can't be bothered to pay attention. Spend the extra effort to polish your language. It doesn't have to be stiff or formal ? in fact, hacker culture values informal, slangy and humorous language used with precision. But it has to be precise; there has to be some indication that you're thinking and paying attention.
    Spell, punctuate, and capitalize correctly. Don't confuse "its" with "it's", "loose" with "lose", or "discrete" with "discreet". Don't TYPE IN ALL CAPS; this is read as shouting and considered rude. (All-smalls is only slightly less annoying, as it's difficult to read. Alan Cox can get away with it, but you can't.)
    More generally, if you write like a semi-literate b o o b you will very likely be ignored. So don't use instant-messaging shortcuts. Spelling "you" as "u" makes you look like a semi-literate b o o b to save two entire keystrokes.

  • How to find the number simultaneous call at a given moment on UCCX ?

    Hello,
    I would to know how to find the number simultaneous call at a given moment on UCCX ?
    it's on UCCX or UCCX RTMT, I don't know thanks a lot for your help.
    Aubert

    Hi Gergely,
    I should made a report on the number simultaneous call at a given moment on UCC on the server (all calls on the server)..

  • How do I reduce the number of emails showing on my iPhone?

    How do I reduce the number of emails on my iPhone 5, without deleting the account? It's a POP account.

    You read unread messages to reduce the notifcation number.
    You delete messages to reduce the number showing as available.

Maybe you are looking for

  • Free of charge pricing

    Hi, S.O net value is zero for Free material by using R100 condition type client need selling price value to be posted in Sales revenue account and R100 value in Discount account but system not generating accounting doc. Error : For zero net value acc

  • Question about breaking down a color...

    Hi, When I double click on a Pantone swatch in the swatches palette, and change the properties to: 1) Process and 2) CMYK...it is now in CMYK, and in the Color palette, it lists the formula out horizontally. (for example: C=0, M=2, Y=15, K=0) However

  • Hi something weird happened with my updates.

    Ok I was using the iOS AppStore I was checking for updates and a update for minecraft pocket edition came up the thing is it was already installed even when I clicked the update it said installed.  Then I clicked update all then in begain installing

  • How to calculate IO on SQL Query.

    Hi all, Could u please tell me how to calculate IO for specific SQL Query. Regards, Santosh.

  • Eclipse question-where did my projects go?

    hi, i just upgraded to Eclipse 3.1. I set the workspace to the same folder as before, but when I bring up the new program it does not detect any of my projects. Any advice for a man with this type of problem? thanks