做Access DB或xml文件更正确 [英] What's more correct to do Access DB or to xml file
本文介绍了做Access DB或xml文件更正确的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
您好我每天都有一次数据库表更改。
客户到达我的网站,我算一下(sql:count(*)group by category)
来自数据库类别的每个requset。
说我总共有5万首歌曲(以及更多)。
这是更快的访问:
a数据库,用于执行
sql:select count(*)..按类别分组....
或因为它每天更新一次Xml文件中的所有这些信息
或其他东西(txt文件如json objet)
请帮助我:)
解决方案
让我们混合它们:每天更新一次xml并从xml中读取记录数。
发送数据库查询肯定比在xml中保持计数花费更多时间。
我建议使用XML而不是数据库。它也会提高你的应用程序性能。
谢谢
Hello I have a database table changes once a day .
customer arrives on my website , I count it(sql:count(*)group by category)
from database category's per requset.
say I have a total of 50 thousand songs(and more).
which is more fast access:
a database that to do the
sql:select count(*) .. group by category....
or because it update once a day for all of this information in Xml file
or someting else(txt file like json objet)
help me please:)
解决方案
Let's mix them: update xml once a day and read the count of records from xml.
Hi,
Firing database query will definitely take more time than keeping count in xml.
I would suggest using XML instead of database. It will increase your application performance too.
Thanks
这篇关于做Access DB或xml文件更正确的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文