[SR-Users] too long mysql table key

Juha Heinanen jh at tutpro.com
Sat Apr 15 08:30:54 CEST 2017


Daniel-Constantin Mierla writes:

> I haven't used this table myself, it's coming from SER branch, but I
> guess the unique constraint is for being sure there are no duplicated
> values for the same did/name tuple, but more records with same did and
> name.

lookup_domain() adds attributes associated with did to AVPs. Sure there
can be more than one AVP with the same name.  Therefore I suggest
removing name and value from the index.

-- Juha



More information about the sr-users mailing list