I manage my mysql dbases using phpmyadmin. I have added indexes (indices?) to my tables a while back, and thought nothing more of it... till now.
There is a section in the index section of a table in phpmyadmin which shows the 'cardinality' value. This went straight over my head before, but I've pinpointed it as the cause of my problem - I have a table with a cardinality index of 122 (I didn't set that) and now when I try to add a new entry to the table (currently at 122 entries) it throughs back a sql error that the primary id is already present.
I looked up cardinality in the sql manual and it looks like something to limit the max number of entries. Why? Does this mean I have to add the indexes ONLY when the table is finished (is it ever?). How can I have the cardinality change dynamically...
I need to have indexes AND have a table I can add entries to without worrying about whether it is full