|
|
Choosing A Webhost: |
[bdbxml] queries with mixed (index/non) predicate expressions do not benefi: msg#00038db.dbxml.general
Hi:
I am new to dbxml, but planning to do extensive use of indexes (and will need their performance).
Over a container of about 20000 docs, I could observe that "edge" indexing
of elements brings the expected speed gain: query time on an "edge-element-equal-string" indexed element is roughly proportional to the number of docs for this entry,
as opposed to the total number of docs (when no index).
However, I notice no gain for XPath that uses a predicate _expression_, mixing some
indexed element with non-indexed element, e.g.:
Assuming an edge-element-equal-string on "Town" element, a query using XPath:
...Location[Town='Solana']
will benefit from the indexing, while:
...Location[State='CA' and Town='Solana']
seems to NOT optimize at all (does not make use of index on Town) and has a query time roughly same as if no index at all on Town.
Any plan to fix this? (and apologies if this is already reported, could not acess bug databse)
Thanks,
Jacques Durand
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | [bdbxml] Commercial Tools Debut For Sleepycat BDBXML, Dev Account |
|---|---|
| Next by Date: | Re: [bdbxml] queries with mixed (index/non) predicate expressions do not benefit from indexing, John Merrells |
| Previous by Thread: | [bdbxml] Commercial Tools Debut For Sleepycat BDBXML, Dev Account |
| Next by Thread: | Re: [bdbxml] queries with mixed (index/non) predicate expressions do not benefit from indexing, John Merrells |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |