CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Wed, 06 Aug 2025 13:52:23 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20110106013138
location: https://web.archive.org/web/20110106013138/https://answers.oreilly.com/topic/2001-a-limiti-for-xml/
server-timing: captures_list;dur=0.546113, exclusion.robots;dur=0.023533, exclusion.robots.policy;dur=0.010809, esindex;dur=0.012105, cdx.remote;dur=57.061741, LoadShardBlock;dur=281.174079, PetaboxLoader3.datanode;dur=119.412797, PetaboxLoader3.resolve;dur=128.112519
x-app-server: wwwb-app223
x-ts: 302
x-tr: 364
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=1
set-cookie: wb-p-SERVER=wwwb-app223; path=/
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
HTTP/2 200
server: nginx
date: Wed, 06 Aug 2025 13:52:24 GMT
content-type: text/html;charset=UTF-8
x-archive-orig-date: Thu, 06 Jan 2011 01:31:44 GMT
x-archive-orig-server: Apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 PHP/5.2.8
x-archive-orig-x-powered-by: PHP/5.2.8
x-archive-orig-set-cookie: answers_session_id=deleted; expires=Wed, 06-Jan-2010 01:31:43 GMT; path=/; domain=.oreilly.com; httponly
x-archive-orig-set-cookie: answers_session_id=deleted; expires=Wed, 06-Jan-2010 01:31:43 GMT; path=/; domain=.oreilly.com; httponly
x-archive-orig-set-cookie: answers_modpids=deleted; expires=Wed, 06-Jan-2010 01:31:43 GMT; path=/; domain=.oreilly.com
x-archive-orig-cache-control: ,no-cachemust-revalidate, max-age=0
x-archive-orig-expires: 0
x-archive-orig-pragma: no-cache
x-archive-orig-connection: close
x-archive-guessed-content-type: text/html
x-archive-guessed-charset: utf-8
memento-datetime: Thu, 06 Jan 2011 01:31:38 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate", ; rel="first memento"; datetime="Sat, 04 Sep 2010 08:35:35 GMT", ; rel="prev memento"; datetime="Fri, 05 Nov 2010 01:13:43 GMT", ; rel="memento"; datetime="Thu, 06 Jan 2011 01:31:38 GMT", ; rel="next memento"; datetime="Wed, 09 Mar 2011 16:31:25 GMT", ; rel="last memento"; datetime="Tue, 21 May 2013 11:44:42 GMT"
content-security-policy: default-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob: archive.org web.archive.org web-static.archive.org wayback-api.archive.org athena.archive.org analytics.archive.org pragma.archivelab.org wwwb-events.archive.org
x-archive-src: alexa-web-20110623084255-00002/52_19_20110106013107_crawl100.arc.gz
server-timing: captures_list;dur=0.904148, exclusion.robots;dur=0.039345, exclusion.robots.policy;dur=0.020206, esindex;dur=0.015683, cdx.remote;dur=72.974101, LoadShardBlock;dur=341.454450, PetaboxLoader3.datanode;dur=221.951507, PetaboxLoader3.resolve;dur=189.739039, load_resource;dur=116.366955
x-app-server: wwwb-app223
x-ts: 200
x-tr: 674
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
content-encoding: gzip
A limiti for XML - O'Reilly Answers
Answered by
arjonesiii
Posted Aug 31 2010 10:50 AM
- Trending Topics:
- actionscript
- iphone
- mobile
- app development
- ipad
- flash
- android
- More...
Welcome
O'Reilly Answers is a community site for sharing knowledge, asking questions, and providing answers that brings together our customers, authors, editors, conference speakers, and Foo (Friends of O'Reilly). More »
Earn Rewards, Reputation, and Badges
Redeem the reputation points you've earned from participating in O'Reilly Answers for O'Reilly ebooks, videos, courses, and conferences.
Learn more »
Related Questions
Related Posts
Recommended for You
A limiti for XML
How much data could be written in an XML file, that a specific child could be found and read as fast as i.e. an XML file with only a few lines?
I mean, weather it is logic, if I save some millions of data as millions of childes in one XML file, which will be used in php-based web-pages?
I mean, weather it is logic, if I save some millions of data as millions of childes in one XML file, which will be used in php-based web-pages?
1 Reply

Please sign in or register to reply.
Please sign in or register to vote.
Please sign in or register to vote.
Voting for yourself is not allowed.
Voting for yourself is not allowed.



Posted Aug 31 2010 10:50 AM
Increasing XML file size always increases the time to find an individual node; however, how much it increases it depends on several factors, including not only the file size, but disk speed, processor speed, encoding, the content itself, and how you intend to use the file. For example, if you need to open the file and find a node only rarely, you can simply read through it linearly, reading the nodes in sequence, and extracting the data you need when you find the appropriate node. Using this method, a node near the beginning of the file can be found faster than one toward the end. In contrast, if you need to query the file often, it's usually faster to load the entire file into memory, parsing the nodes, and then performing searches. The first such search will require loading and parsing the file, so it will be slower. Subsequent searches will be much faster, and node position is relatively unimportant for search performance. When you get to the realm of millions of nodes, you're going to get much better average performance with a relational database or a native XML database. For more information, explore SAX and DOM processing, and see this page for performance tips: https://xerces.apache...rformance.html.
![]() ©2010, O'Reilly Media, Inc. (707) 827-7000 / (800) 998-9938 All trademarks and registered trademarks appearing on oreilly.com are the property of their respective owners. |
|