I am currently converting some internal customer support software from text file databases to MySQL. Currently, I am storing call/event header information in one table and all comments (approximately 100,000 comments) in a second table. I have two questions I could really use some advice with.
Since the comment table is indexed by call # and comment #, would it be more efficient to combine those two fields into one single field (callnumber_commentnumber for example) or would it really make a difference speed wise at least on retrievals?
My second question is whether it is more efficient to store say 100,000 records in one single table or spread them over 10,000 tables? I am not sure if large numbers of tables causes problems for MySQL or negatively affects performance. Having 10,000 tables (one for each call/event) with 10 comments each (average) would mean much faster retrieval times.
Any advice anyone has on these two questions would be greatly appreciated.
twixxer