Chiranjeevi,

You might try looking at Django's multidb support if you are using
Django 1.2. I don't want to say it has built-in sharding support, but
it will probably make life easier.

http://docs.djangoproject.com/en/dev/topics/db/multi-db/#an-example

In general, you'll probably be writing a custom router to direct your
traffic.

-David

On Mar 10, 2:41 am, chiranjeevi muttoju
<chiranjeevi.mutt...@gmail.com> wrote:
> Hi,
> i want to use *Sharding* concept in for my project. i requirement is, i have
> one user model, and i want to save users by selecting the random databases.
> ie. i have two tables db1 and db2, in both databases i have user table.
> based on the userid i want to select the database in which that user object
> should be persist. if any one know please help me. if any doubts about my
> requirement plz reply me, i'll tell.
> --
> Thanks & Regards,
> Chiranjeevi.Muttoju

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@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