one domain + multiple blogs - how to organize sql?

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
gwilsonmail
Regular
Posts: 146
Joined: Tue Jul 12, 2005 9:12 pm
Location: Ottawa, Canada
Contact:

one domain + multiple blogs - how to organize sql?

Post by gwilsonmail »

with a single domain and multiple blogs is it better to

[1] have a single sql database and change the table prefix to identify each blog

[2] have a seperate sql database for each blog?
gw
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: one domain + multiple blogs - how to organize sql?

Post by garvinhicking »

It is better to have separate SQL databases. This way your database system can better layout the needed files and not crowd a single database too much.

It is then also much easier to backup specific blogs instead of having only a full backup for everything.

Regards,
garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
gwilsonmail
Regular
Posts: 146
Joined: Tue Jul 12, 2005 9:12 pm
Location: Ottawa, Canada
Contact:

Post by gwilsonmail »

thanks
gw
Post Reply