我目前正在升级我们学校的网站。
我正在尝试找出最适合我们需求的数据源。
几乎所有内容都将是数据驱动的,因为它需要由管理层进行编辑。
数据当前驻留在 mssql 服务器上
我的想法是主要使用 xml 并在服务器端解析它并在每晚或根据数据库的请求进行更新
速度对我们来说是一个问题,尤其是在入学高峰期。
迄今为止,我的研究没有定论,因为我的发现差异很大。人们似乎没有决定最佳实践。
您的意见将不胜感激。
我目前正在升级我们学校的网站。
我正在尝试找出最适合我们需求的数据源。
几乎所有内容都将是数据驱动的,因为它需要由管理层进行编辑。
数据当前驻留在 mssql 服务器上
我的想法是主要使用 xml 并在服务器端解析它并在每晚或根据数据库的请求进行更新
速度对我们来说是一个问题,尤其是在入学高峰期。
迄今为止,我的研究没有定论,因为我的发现差异很大。人们似乎没有决定最佳实践。
您的意见将不胜感激。
Well, although this question is quite broad to answer without knowing your exact needs, I'd still stick to a database as xml is not particularly designed for data storage.
XML was initally designed to structure, deposit, and transport information. I personally use XML wherever I need to store information about settings for my particular project.
Databases on the other hand was designed specifically for the same reasons of your needs. Do not underestimate the power of databases. Especially SQL Server. It is highly capable of handling multiple transactions with huge amount of data. Especially, in your case, you will need data that is 'relational'. How would you go about that by using XML? Not to mention, you will need a great source of CPU power to parse all those records.
If also, speed is important, your best bet will be to use a database. Poke me if you intend to share more information about the structure of your data, so I can prove database is 'the' choice to go!