I am new to tamino.
I am trying to run some simple queries, and it takes 30-40 sec to return the results. Tamino is running on a server class machine, dual 3.0Ghz, 36 gig mirror HD, and 2.0 gig of ram.
I am using the XQuery tool to run the queries. I am including the schema and the queries. We have about 20,000 records in the database. Is it possible to index the child nodes I am querying for, if it is then how do you do that? I have seen on the forums people saying the queries take 1-2 sec. It makes me think I have something major wrong with the query, schema or database setup.
Thanks!!!
Here are the queries
Query 1:
for $i in input()/PortalLog
where $i/uid=‘siqbal1’
return $i
Query 2:
declare namespace tf=“http://namespaces.softwareag.com/tamino/TaminoFunction”
{
count(
for $i in input()/PortalLog
where $i/fvAuxPortalRole=‘Provider’
return $i
)
}
Query 3:
declare namespace tf=“
http://namespaces.softwareag.com/tamino/TaminoFunction”
{
count(
for $i in input()/PortalLog
where tf:containsText($i/Login,‘Fri Apr 02’)
return $i
)
}
[This message was edited by Shahid on 06 April 2004 at 17:55.]
PortalLogProd.TSD (6.08 KB)
#Tamino#webMethods#API-Management