[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: How to efficiently obtain the first 10 records of

Subject: Re: How to efficiently obtain the first 10 records of a file with over 2 million records?
From: "Michael Kay mike@xxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 20 Jul 2023 07:54:34 -0000
Re:  How to efficiently obtain the first 10 records of
> The DPH was one intended beneficiary of the stated goal that "It shall
> be easy to write programs which process XML documents."
>

I've always been amused by the term because my first encounter with XML was in
around 1998, when I was called in to audit a project that had just failed its
customer acceptance tests on the basis of chronically non-scalable
performance. It quickly became apparent that it was doing an XML
transformation using Perl regular expressions, and the situation was quickly
salvaged by substituting Microsoft's very new WD-xsl processor.

A classic case, which I've encountered very often, where management are in a
state of panic because you're an order of magnitude out from meeting your
performance requirement, but the problem can be easily fixed by changing 20
lines of code. In fact I sometimes argue these days that the bigger the
performance problem appears to be, the easier it is to find the cause.

If you track StackOverflow, there are still plenty of DPHs out there trying to
process XML without a proper parser, but these days the P tends to be PHP or
Python.

Michael Kay
Saxonica

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

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

Buy Stylus Studio Now

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-2013 All Rights Reserved.