Re: CMS-Blog system
| From: | Dan Joseph | Date: | Wed, 03 Sep 2008 21:09:39 +0000 |
| Subject: | Re: CMS-Blog system | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-279451@lists.php.net to get a copy of this message | ||
On Wed, Sep 3, 2008 at 5:01 PM, Martin Zvarík <mzvarik@gmail.com> wrote:
> Hi,
>
> I am working on CMS-Blog system, which will be using approx. 10 000 users..
>
> I have a basic question - I believe there are only two options - which one
> is better?
>
> 1) having separate databases for each blog = fast
> (problem: what if I will need to do search in all of the blogs for some
> article?)
>
> 2) having all blogs in one database - that might be 10 000 * 100 articles =
> too many rows, but easy to search and maintain, hmm?
>
> ---
>
> I am thinking of having some file etc. "cms-core.php" in some base
> directory and every subdirectory (= users subdomains) would include this
> "cms-core" file with some individual settings. Is there better idea?
>
> I appreciate your discussion on this topic.
>
> Martin Zvarik
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
I donno, 10,000 * 100 = 1 million. That's not really big. A good database
should hold up with 100x that or more. I would keep it in one if it were
me.
--
-Dan Joseph
www.canishosting.com - Plans start @ $1.99/month.
"Build a man a fire, and he will be warm for the rest of the day.
Light a man on fire, and will be warm for the rest of his life."