Jump to content

Recommended Posts

Hi Everyone,

 

I have a question and it may have been asked before but I would like your view on this, I am making an application that needs to store documents, it needs to be scale-able in that it could reach over a million documents very quickly. the documents consist of pdf files for the best part but will include word documents and excel documents. 

 

I need to make the documents searchable and easily accessible, the question is: file system or database storage?

 

There may be the need to enable document editing later and this leads me to think database as I can easily insert revisions ect but then again I think file system as it would be easier to backup.

 

concerns are security as each doc may need permissions so folders could be tricky to secure as directory structure can be exposed, I guess i am torn between the two ways of doing things and would like other peoples views.

 

Thanks in advance

Link to comment
https://forums.phpfreaks.com/topic/281103-managing-huge-amounts-of-documents/
Share on other sites

 

 

I need to make the documents searchable and easily accessible, the question is: file system or database storage?

I think you may use Amazon S3 API. Its better not to store so much documents in a database, instead, you may store file names in tables which will make it easier while searching.

 

 

 

There may be the need to enable document editing later and this leads me to think database as I can easily insert revisions ect but then again I think file system as it would be easier to backup.

For this purpose, you may use PHP libraries what will allow you to edit files online, you need to google for that.

 

Instead of all, why not to use Google Doc ?

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.