IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
Expand all | Collapse all

count and postion

  • 1.  count and postion

    Posted Mon September 13, 2004 09:31 AM

    given a doctype with about 9000 instances and a query:

    let $b := input()/Street
    return $b[position() < 5]

    response is almost instantaneous. Changing this to :

    count(let $b := input()/Street
    return $b[position() < 5])

    and the response drops to 13 - 14 seconds - the time to scan the all the documents in the doctype. Why?

    Thanks, eh!

    Douglas Kelly,
    Principal Consultant
    Software AG, Inc
    Sacramento, California


    #API-Management
    #webMethods
    #Tamino


  • 2.  RE: count and postion

    Posted Tue September 14, 2004 10:41 AM

    Hi,

    I assume that you are using Tamino 4.1.4. Since your problem has been fixed in Tamino 4.2, you should think about upgrading your Tamino version.

    Best regards,

    Thorsten Fiebig


    #API-Management
    #Tamino
    #webMethods