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.



#Automation


#Applicationintegration
#webMethods
#Integration
 View Only

Optimization of the specific query

  • 1.  Optimization of the specific query

    Posted 02/04/11 04:46 PM

    Hi All,

    We a query which exports all objects, associations and classification from CS. Is there any way to improve it’s performance? Currently for the amounts of data about 30000 objects the execution of this query takes about 23 minutes.

    The query:

    declare namespace tmo=“Telekom | Mobilfunk, Festnetz & Internet, TV Angebote
    declare namespace cs=“http://namespaces.CentraSite.com/Schema/jaxr

    {
    for $o in input()/tmo:*
    return

    {$o/cs:name/cs:localString/text()}
    { if($o/cs:description/cs:localString/text()!=‘’) then
    {$o/cs:description/cs:localString/text()}
    else
    }

    {for $c in $o/cs:classifications/cs:classification
    return
    }


    {for $a in $o/cs:associations/cs:association
    return
    }


    {for $s in $o/tmo:*
    return $s
    }


    }


    #CentraSite
    #webMethods
    #API-Management