tags:

views:

32

answers:

1

I had a feeling that searching domain names taking time more than as usual in mysql. actually domain name column has a unique index though query seems slow.

My question is do I need to convert to binary mode?? say md5 hash or something??

A: 

Normally keeping the domain names in a "VARCHAR" data type, with an UNIQUE index defined for that field, is the most simple & efficient way of managing your data.

Never try to use any complexity (like using Binary mode or "BLOB" data type), for the sake of one / two field(s), as it will further deteriorate your MySQL performance.

Hope it helps.

Knowledge Craving