Hi,

contrib.comments.models.BaseCommentAbstractModel's field object_pk is
a TextField to allow for models without integer-ids to be commented.
This manifests as a longtext field in the (mysql) DB.  This leads to a
lot of full-table-scans, which turn out to be a performance problem.

So far i'm only using models with intergers as PKs.  Could i just
change the Field in the database to an integer and index it, or would
that lead to trouble down the road.

Alternatively, i could monkeypatch  BaseCommentAbstractModel, coudn't
i?  Is that recommendable?

Thanks for your thoughts.

Cheers
k

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