English 中文(简体)
一般性问题: 档案系统或数据库?
原标题:General question: Filesystem or database?

I want to create a small document management system. There are several users who store their files. Each file which is uploaded contains info about which user uploaded it and the document content itself. In a view all files of ONE specific user will be displayed, ordered by date.

更好的办法是:

  1. 提供文件名称或元数据(XML),其中载列日期和用户(并通过它们检索元数据)或

  2. • 在亚洲开发银行中提供随机/独特名称和储存元数据? 例如:

    date | user | filename
    

What would you say and why? The used programming language is Java and the DB is MySQL.

最佳回答

我将选择非行。 亚洲开发银行更快捷、更安全(不通过事故删除重要档案)和更容易。 此外,这是亚洲开发银行的目的:管理大量数据。 档案系统用于储存档案。

但你当然要cho。

但是,我保证:(DB > XML)=:当值时的真正;(DB >=XML)=在档案中虚假!

问题回答

我将选择元数据储存的第二个选择。 MySQL将处理同意问题,在非行的搜索速度要快于编辑XML文件。

因此,如果数据数量非常低,请说最大。 每用户30份档案,请说20个用户——>最多600份。 你们将如何判断如何为每个用户创造适当的文件夹,并给用户一个独一无二的名称? 因此,你可以轻松地浏览档案系统。 在此情况下,非行对于这种低数量的文件是否有意义?





相关问题
What to look for in performance analyzer in VS 2008

What to look for in performance analyzer in VS 2008 I am using VS Team system and got the performance wizard and reports going. What benchmarks/process do I use? There is a lot of stuff in the ...

SQL Table Size And Query Performance

We have a number of items coming in from a web service; each item containing an unknown number of properties. We are storing them in a database with the following Schema. Items - ItemID - ...

How to speed up Visual Studio 2008? Add more resources?

I m using Visual Studio 2008 (with the latest service pack) I also have ReSharper 4.5 installed. ReSharper Code analysis/ scan is turned off. OS: Windows 7 Enterprise Edition It takes me a long time ...

Manually implementing high performance algorithms in .NET

As a learning experience I recently tried implementing Quicksort with 3 way partitioning in C#. Apart from needing to add an extra range check on the left/right variables before the recursive call, ...

How do I profile `paster serve` s startup time?

Python s paster serve app.ini is taking longer than I would like to be ready for the first request. I know how to profile requests with middleware, but how do I profile the initialization time? I ...

热门标签