Found it. http://softwaremaniacs.org/soft/mysql_cluster/en/ (found
through Simon Willison's blog). It looks like my memory was wrong
though, because it doesn't switch databases automatically depending on
query type. It leaves it up to the view to decide which database to
use. If you absolutely
One of the blogs I follow posted up an example of an ORM tweak built
for master/slave mysql setups. I'm having trouble finding it, but it's
definitely possible to modify the ORM to make decisions about which
database to use automatically so that you don't have to worry about it
in your views or
It sounds like you would either have to go with the custom driver idea
or use another ORM package like Sqlalchemy(which means you don't get
certain features like the contrib apps)
On Apr 16, 1:04 pm, "Chris Czub" <[EMAIL PROTECTED]> wrote:
> Would it be possible to replace the Django database
Would it be possible to replace the Django database driver(i.e. postgresql,
sqlite, mysql) with a custom one that managed the various database
connections? Similar to the SQL proxy idea(or maybe identical).
On Wed, Apr 16, 2008 at 1:41 PM, RaviKondamuru <[EMAIL PROTECTED]>
wrote:
>
> Here is the
Here is the thread that talks about multiple database support:
http://groups.google.com/group/django-users/browse_frm/thread/02fb947b2305b78f/8999719cad4a6010
Ravi.
On Apr 16, 6:19 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> Hello everyone,
>
> This is my first post on this list, so
I've never seen anything that would make this "easy" in Django itself.
You will probably have more luck looking into sql proxies. Django will
talk to the proxy, the proxy will figure out what database to actually
query and return results to Django. This way Django doesn't have to
change,
You could probably do it by having mutliple sites and thus multiple
settings.py files and somehow integrating them all together yourself
but that seems like a tangled up mess
On Wed, Apr 16, 2008 at 8:19 AM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Hello everyone,
>
> This is my first
On 16/04/2008, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> display this data. Would be also possible, to have different database
> types (i would like to have several sqlite databases and one postgres
> running)?
>
> I need all this for scalability reasons. I am choosing framework for
Hello everyone,
This is my first post on this list, so please by gentle and patient ;)
I would like to ask, if it is possible to have DJango running on one
machine, and have several databases (each with different content) on
other machines. Basically I would specify a few tables, and each would
9 matches
Mail list logo