Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

Re: [bdbxml] Redux: One Container Or Many: msg#00053

db.dbxml.general

Subject: Re: [bdbxml] Redux: One Container Or Many

I have to echo David's question about possible DB corruption.

As for the container question, at this time, queries cannot be
run across multiple containers. That would need to be done at the
application level.

As for speed, the product works best with a large number of relatively
small documents in a single container. I would expect that once
the database is intact, if the indexes are set up correctly, you will
see very good response.

George

> (Redux: My last posting of this question listed the wrong number of MB
> for the total of the textbase files. I was looking at an incorrect file
> listing.)
>
> Which is faster for query access, one container with many documents in
> it, or many containers with only one or a few documents in each container?
>
> Based on my experience so far with my single container that has all my
> documents (totalling about 58 MB of data), queries against this are VERY
> slow, even with indexing (unleess I did my indexing incorrectly).
>
> Without any indexing, this query took 6 and a half minutes.
>
> With indexing, I got no query results, only this error after quite a while:
>
> Exception in thread "main" com.sleepycat.dbxml.XmlException: Error:
> Dbc::get: DB_PAGE_NOTFOUND: Requested page not found: DB_PAGE_NOTFOUND:
> Requested page not found, errcode = INDEXER_PARSER_ERROR
> at
> com.sleepycat.dbxml.dbxml_javaJNI.XmlContainer_queryWithXPath(Native Method)
> at
> com.sleepycat.dbxml.XmlContainer.queryWithXPath(XmlContainer.java:153)
> at WWPQueryDocument.doQuery(WWPQueryDocument.java:44)
> at WWPQueryDocument.main(WWPQueryDocument.java:32)
>
> There are a total of 230 documents. No single document is bigger than
> 1.7 MB, and only four or five are larger than a megabyte.





<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
user-groups.jax...    php.zend.framew...    os.solaris.open...    web.quixote.use...    java.openjdk.ho...    ietf.secmech/20...    gnu.glpk/2004-0...    recreation.cars...    network.smokepi...    linux.drivers.i...    cms.opencms.dev...    fonts.gfontview...    text.xml.soap.u...    voip.nist-sip/2...    debian.ports.hp...    xfree86.interna...    science.biology...    qnx.openqnx.dev...    mail.sylpheed.c...    busybox/bios/20...    emulators.kvm.s...    hardware.openco...    apple.fink.begi...    kde.german/2006...   
Home | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive 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

Navigation