Hi Ying,
Yes, I agree there is not much that can be done to speed up this query.
> e.g. the dataset I use is DBLP, one of the example query is
>
> for $x in db:open('dblp_2013')/dblp/article[child::pages and child::title]
> let $y := count($x/author)
> return concat($y, "/t", db:node-id($x))
Exactly. All DBLP articles need to be parsed by this query, and > 1
> It is true that these queries are competing for the same resource.
> So you mean that each query causes a lot of disk I/O?
million result strings will be generated, resulting in a query time of
appr. 0.005 ms per result.
Hope this helps,
Christian
> However all these queries are read-only. It there any room to improve this?
> --
> Regards
>
> Shanshan
>
> School of Computing
> National University of Singapore