Dear django users,

I have a design problem with my model. 
I have a class that has one attribute "archived". Records with archived==False
are accessed much more often than archived==True. 
The number of records with archived==True is much higher. 

Other attributes (db columns) are the same for both types.
My question is whether:

1) I should put this in one table, create index and hope
for database cleverness.
2) Create Abstract model class, let django make two similar tables and
work with two models in my code.
3) Any other neat solution in django.

Thank you for any hint,

-- 
Tomas Kouba

-- 
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