Tim. I'm looking for a federation type of usage. I have several databases that I need to pull data from into one view.
On Wed, Nov 26, 2008 at 11:46 AM, Tim Chase <[EMAIL PROTECTED]>wrote: > > > I am currently attempting to roll my own multiple database > > support for django for a new project. I have attempted to > > search for examples of this but have not found very much. > > Does anyone have some examples on how I can accomplish this? > > > There are multiple facets to "multiple database" usage > scenarios...which are you looking for? > > 1) federation: "I've got data in multiple database sources and I > want my Django app to pull from all of them to give a unified view" > > 2) load balancing A: "I've got one database, but have replicated > it master-master, and I want my Django instances to spread the > load across these databases" > > 3) load balancing B: "I've got one database, but have replicated > it master-slave, and I want all my reads to go to the slave DBs, > and all my writes to go to the master DB" > > 4) sharding: "I've partitioned my data in $HUGE_TABLE across > multiple servers (a-la big-table/hadoop) and need to be able to > handle them transparently" > > There may be other multi-db issues that I've missed, but knowing > what you're trying to get the "multi-db" magic-wand to solve, the > list can better help. > > -tim > > > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---