Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Large chunks of text: in-database or in-filesystem?

by ikegami (Patriarch)
on Feb 23, 2005 at 23:55 UTC ( #433907=note: print w/replies, xml ) Need Help??


in reply to Large chunks of text: in-database or in-filesystem?

In terms of cons, (off the top of my inexperienced head)

If you use files, you have twice as many things to manage. Where you had database-handling code, you need to add file-handling code. If you delete a records, you also have to delete a file. You have to backup both the database and the files. If you had load sharing, you have to share the database and the files. In other words, twice as many things can go wrong. Also, a database adds (limited) searchability.

The cons for using the database might include increased database workload, and data size limitations.

  • Comment on Re: Large chunks of text: in-database or in-filesystem?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://433907]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (5)
As of 2022-05-23 20:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (82 votes). Check out past polls.

    Notices?