[XQuery Talk Mailing List Archive Home] [By Date] [By Thread] [By Subject] [By Author] [Recent Entries] [Reply To This Message]

Count of Distinct elements performance problem

Kusunam, Srinivas SKusunam at rlpt.com
Tue Aug 22 16:53:18 PDT 2006


marklogic distinct counts
Jason,

	Our requirement is we need to parse the input XML and get the
Count, NullCount, MaxLength, DistinctCount etc and apply some business
rules on the results. That is it. We do not want to store this data in
Database as we don't need this XML in future.

      How does MarkLogic works? I am assuming that with MarkLogic we
need to parse the XML and save it to its database. How expensive is this
operation? We will be getting requests to apply XQuery on lot of files
in range of 100Mb to 60GB (Max) in size.

Thanks,
Srinivas

-----Original Message-----
From: Jason Hunter [mailto:http://xquery.com/mailman/listinfo/talk] 
Sent: Tuesday, August 22, 2006 3:36 PM
To: Michael Kay
Cc: Kusunam, Srinivas; http://xquery.com/mailman/listinfo/talk
Subject: Re:  Count of Distinct elements performance
problem

Michael Kay wrote:
> A performance question like this can only be answered with respect to
> a specific product.

Exactly.  With MarkLogic, a server-based indexed repository from the 
company where I work (marklogic.com), you could execute a query like 
that in roughly a second, once the document was loaded and indexed.  In 
fact, functionality exactly like what you're trying to do is used by 
large medical journal aggregator customers of ours to display citation 
counts of articles, for example.

Without an indexed repo, I think you're going to have a hard time.

-jh-
*****************************************************************
This message has originated from RLPTechnologies,
26955 Northwestern Highway, Southfield, MI 48033.

RLPTechnologies sends various types of email
communications.  If this email message concerns the
potential licensing of an RLPT product or service, and
you do not wish to receive further emails regarding Polk
products, forward this email to http://xquery.com/mailman/listinfo/talk
with the word "remove" in the subject line.

The email and any files transmitted with it are confidential
and intended solely for the individual or entity to whom they
are addressed.

If you have received this email in error, please delete this
message and notify the Polk System Administrator at
http://xquery.com/mailman/listinfo/talk
*****************************************************************




PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Cast Your Vote

We need your help – Vote for DataDirect XML Products!

  • Best SOA or XML site

Winners and finalists announced at SOA World Conference in November.

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2007 All Rights Reserved.