I am very rusty with MySQL and I'd like some advice.
I have several software tools that are deployed throughout the company and I am writing a DLL to keep track of the usage, errors and stuff of some of these tools.
One of the things I wanna keep track, is information about the computer's processor, more specifically the string returned by the CPUID command, something like: Intel(R) Xeon(R) CPU E3-1270 V2 @ 3.50GHz
We don't have a very huge diversity of processors (I think) and we have 6000+ workstations, my questions are:
In this scenario, if I create a VARCHAR(64) column in the table and make an index of it, is this a good solution?
How will MySQL store this? Say I have only 10 different processors, so only 10 different strings, will each row store the whole of the string, or just an 'id'?
Would GROUP BY be efficient using this indexed column?
I'm using MySQL 5.1 (I know it's old...) and InnoDB tables
Thanks!