xquery access path

X-Application Version: 4.1.1
Tamino Version : 4.1.4
Platform : Solaris
WebContainer : Tamocat 4.1.1
JDK Version : j2sdk1.4.2_03

i have very large data volume
50000 row
each row 100k size

I found that
XAPP generate app with (B)

(B) is very slow for very large data
while
(A) is very fast

how can I modify the xquery generated by xapp?


(A)
for $x in input()/User
where $x/SeqNo=“S000007”
return $x

(B)
for $x in input()/User[/User/SeqNo=‘S000007’]
return $x

I’m not a query expert …
what happens if you replace (B) with (A) in your JSP page?

Michael

Software AG Germany, Darmstadt

The question is how to replace?
xapp is generated automatically.
I MAY have control of how to query is composed, but i don’t know how to do it.

X-Application generates a set of JSP pages. After generation, you’re free to modify these pages. Just search for “query” to locate the various queries within the JSP pages.

Michael

Software AG Germany, Darmstadt