Hi,
I have read many times that we have to avoid reading too many fields when querying MySQL (or any database)...just query the fields you need.
However I have a project where a table has 100 fields per record/row.
The thing is that, everytime I query the database, I need ALL of the fields for further calculations, etc after the query is done.
I will eventually have some 200 users, which will be using the same query/table. At the moment I have done some continuous testing with 3 PC's at once, constantly querying the database, and there is no performance problem at all, all data is queried at a fraction of a second. Also note the queries are many times the same (all users query the same thing), so query cache is being hit quite a lot..
But I am concerned when all users (+200) at linked and project is in production, I will start having performance problems.
So...the question, is 100 fields too many to query ?
Can SELECT * ... be used or would SELECT field1,field2,field3... etc be faster ?
I don't know how to "simulate" 200 users querying at the same time...any ideas ?
thanks