Thanks Tom,

so Django dont allow to make replication?

On Oct 26, 4:32 pm, Tom Evans <tevans...@googlemail.com> wrote:
> On Wed, Oct 26, 2011 at 3:24 PM, Gabriela <gabrielapitt...@gmail.com> wrote:
> > I need to synchronize multiple databases, i have readed the
> >https://docs.djangoproject.com/en/1.3/topics/db/multi-db/where they
> > explain how to make this.
>
> > but i dont understand what do they refer with 'myapp' and 'other', are
> > this tables from the database? I dont understand what do they mean.
>
> > I just want to compare and synchronize two databases db1 and db2, that
> > have the same tables but different data.
>
> > can anyone suggest what can i do
>
> > Thanks
>
> DB routers don't do that, they allow django to make a decision about
> which database to query, based upon app, model, hints, etc etc.
>
> If you want 'synchronization', you want DB replication. Most databases
> support replication, MySQL replication is simple, PostgreSQL not so
> much, but that is way off topic for a django list.
>
> There are also tools you can use to compare two databases. Percona
> toolkit has some excellent checksumming tools for checksumming MySQL
> tables - to ensure that the same data is on both sides - and I'm sure
> someone who knows what the equivalent is for Postgres will be along
> shortly.
>
> Cheers
>
> Tom

-- 
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 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to