XML文件有多大? [英] How big can XML file be?

查看:143
本文介绍了XML文件有多大?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,


我有一个简单的问题。我想将所有数据存储在XML文件中,这样我就不需要依赖数据库后端了。但是我想知道我的XML

文件有多大?


我不介意将数据扩展到多个文件但是我知道

限制优先。


干杯,

孩子们

Hi there,

I have a quick question. I want to store all my data in XML file so that I
don''t need to depend on database backend. But I wonder how big can my XML
file be?

I don''t mind to span the data into multiple file but I less I know the
limitation first.

Cheers,
Kids

推荐答案

嗯,例如,对于

子节点的数量,XML引擎可能有一些继承限制。毕竟,如果Count是int,那么至少你
不能超过那个最大值。


更有趣的问题可能是内存使用和处理时间。

XML的内存占用(如果在DOM中加载)可能是指数级的。

此外,如果使用XPath,访问节点所需的时间也很长。


对于小的需求,它可能不是一个大问题,但这些也是使用XML而不是RDBMS时需要考虑的问题。


虽然,我不知道确切的数字来回答你的问题。


" kids_pro" <き****** @ yahoo.com>在消息中写道

新闻:%2 **************** @ TK2MSFTNGP12.phx.gbl ...
Well, the XML engine might have some inherit limit as far as the number of
child nodes for instance. After all, if Count is an int, then at least you
cannot exceed that max value.

More interesting concerns might be the memory usage and the processing time.
The memory footprint for XML (if loaded in a DOM) is probably exponential.
Also, the time required to access a node is also great if using an XPath.

For small requirements, it might not be a big problem, but these are also
issues you need to consider when using XML rather then RDBMS.

Although, I do not know exact numbers to answer your questions.

"kids_pro" <ki******@yahoo.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
你好,

我有一个简单的问题。我想将所有数据存储在XML文件中,以便我不需要依赖数据库后端。但是我想知道我的XML文件有多大?

我不介意将数据扩展到多个文件中但我不太了解
限制。

干杯,
孩子们
Hi there,

I have a quick question. I want to store all my data in XML file so that I
don''t need to depend on database backend. But I wonder how big can my XML
file be?

I don''t mind to span the data into multiple file but I less I know the
limitation first.

Cheers,
Kids



真的真的很大。

我已经阅读了他们正在讨论管理52Mb文件的最佳

方法的新闻。


-

<%= Clinton Gallagher,结果两倍 - 成本的一半

建筑与建筑电子商务咨询 - 软件开发

NET cs ********* @ REMOVETHISTEXTmetromilwaukee.com

URL http:// www.metromilwaukee.com/clintongallagher/


" kids_pro" <き****** @ yahoo.com>在消息中写道

新闻:%2 **************** @ TK2MSFTNGP12.phx.gbl ...
Really Really Really Big.
I''ve read news items where they were discussing the best
methodology to manage a 52Mb file.

--
<%= Clinton Gallagher, "Twice the Results -- Half the Cost"
Architectural & e-Business Consulting -- Software Development
NET cs*********@REMOVETHISTEXTmetromilwaukee.com
URL http://www.metromilwaukee.com/clintongallagher/

"kids_pro" <ki******@yahoo.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
你好,

我有一个简单的问题。我想将所有数据存储在XML文件中,以便我不需要依赖数据库后端。但是我想知道我的XML文件有多大?

我不介意将数据扩展到多个文件中但我不太了解
限制。

干杯,
孩子们
Hi there,

I have a quick question. I want to store all my data in XML file so that I
don''t need to depend on database backend. But I wonder how big can my XML
file be?

I don''t mind to span the data into multiple file but I less I know the
limitation first.

Cheers,
Kids



52 MB?哇,这对我的问题来说已经足够了。

我的估计大小约为一半。


我只有不到4级的节点。 />
所以你认为XPath可以满足这个需求吗?


我之所以选择XML而不是RDBMS(比如Access或SQL)

因为它不支持我们的unicode设置1780-17FF我不能使用

查询这些RDBMS。


干杯,

孩子


" clintonG" < CS ********* @ REMOVETHISTEXTmetromilwaukee.com>在消息中写道

news:u2 ************** @ tk2msftngp13.phx.gbl ...
52 MB ? Wow that is more than enough for my problem.
My estimate size if about half of this.

I only have less than 4 level nodes.
So you think XPath can live with this requierment?

I reason I go to XML rather RDBMS (like Ms. Access or SQL)
cuz it doesn''t support our unicode set 1780-17FF I can''t make query using
these RDBMS.

Cheers,
Kids

"clintonG" <cs*********@REMOVETHISTEXTmetromilwaukee.com> wrote in message
news:u2**************@tk2msftngp13.phx.gbl...
真的真的很大。
我已经阅读了他们正在讨论管理52Mb文件的最佳方法的新闻。

-
<%= Clinton Gallagher, ;结果两倍 - 成本的一半
建筑与建筑电子商务咨询 - 软件开发
NET cs*********@REMOVETHISTEXTmetromilwaukee.com
URL http://www.metromilwaukee.com/clintongallagher/

" kids_pro" <き****** @ yahoo.com>在消息中写道
新闻:%2 **************** @ TK2MSFTNGP12.phx.gbl ...
Really Really Really Big.
I''ve read news items where they were discussing the best
methodology to manage a 52Mb file.

--
<%= Clinton Gallagher, "Twice the Results -- Half the Cost"
Architectural & e-Business Consulting -- Software Development
NET cs*********@REMOVETHISTEXTmetromilwaukee.com
URL http://www.metromilwaukee.com/clintongallagher/

"kids_pro" <ki******@yahoo.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
你好,
我有一个简单的问题。我想将所有数据存储在XML文件中,以便
我不需要依赖数据库后端。但是我想知道我的
XML文件有多大?

我不介意将数据扩展到多个文件中但我不太了解
限制。

欢呼,
孩子们
Hi there,

I have a quick question. I want to store all my data in XML file so that I don''t need to depend on database backend. But I wonder how big can my XML file be?

I don''t mind to span the data into multiple file but I less I know the
limitation first.

Cheers,
Kids




这篇关于XML文件有多大?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆