In this case you should have a one to many foreign key
relationship to a second table. This table would contain
a unique column with all of your modules in it. Insert
into this table, catch the exception if it happens.
Re: Re: Re: How to count rows using DBI & mysql - Performance results