RRoswell
Programmer
- Sep 26, 2006
- 24
Hi,
I've got one main table with nothing but a numeric, primary key and a varchar column that will contain unique domain names (never a duplicate).
The primary key auto_increments and the varchar column is "unique" for now.
Is that pretty much the most optimized setup, or should I make the varchar column a secondary index as well, since it does tie into other tables?
Thanks.
I've got one main table with nothing but a numeric, primary key and a varchar column that will contain unique domain names (never a duplicate).
The primary key auto_increments and the varchar column is "unique" for now.
Is that pretty much the most optimized setup, or should I make the varchar column a secondary index as well, since it does tie into other tables?
Thanks.