On 9 November 2014 05:39, Артём Варнайский <varnays...@mail.ru> wrote:

> Also, I have no idea how to design databases. For example, should I store
> photos separately from the DB or in it?


The answer to that question depends on what your database is, and what your
demands are with regards to replication.

Binary Blobs of data like images in databases can make things slower for
you in various places, and they can complicate database snapshotting in
some places.

That is to say, unless you know why you need images in a database, I'd
suggest not to.

Because when you need it, you'll know it.


-- 
Kent

*KENTNL* - https://metacpan.org/author/KENTNL

Reply via email to