#13730: Allow db_index=False for ForeignKey
------------------------------------------+---------------------------------
 Reporter:  Suor                          |       Owner:  nobody    
   Status:  new                           |   Milestone:            
Component:  Database layer (models, ORM)  |     Version:  1.2       
 Keywords:                                |       Stage:  Unreviewed
Has_patch:  0                             |  
------------------------------------------+---------------------------------
 Now db_index=True is hard-coded, so I have to drop unneeded indexes
 manually after syncdb or south migrate.

 Rationalization:[[BR]]
 Indexes slow down insert, update and delete operations, so it's
 ineffective to manage indexes that are not really used.[[BR]]
 They may be not used if:[[BR]]
 - they are created for consistency not for joins;[[BR]]
 - there are partial, multiple column or other special indexes that would
 be used instead of them[[BR]]

-- 
Ticket URL: <http://code.djangoproject.com/ticket/13730>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to