Im having some trouble with a big table I have
It has 4.7 million records and is heavily accessed
It has the following fields
id = PRIMARY
user = varchar25 INDEX
friend = varchar25 INDEX
timestamp = int12
gender = varchar6
x = tinyint
real = enum 0,1
I cant prune redundant records because.. well basically there is none
Running SELECT count(id) FROM table GROUP BY user takes 5 minutes+
I deleted an index on the x colum and that took 28 minutes to complete (ALTER TABLE)[/b]
What options do I have in circumstances of naturally large tables
The example of SELECT count(id) FROM table GROUP BY user above, is there anything I can do to get something
like that complete after 5 seconds?