Thanks for the reply, mike_bike_kite.
well, true, my own experience is rather limited but our developer has more experience than I do. He has worked through his SQL and we believe has improved the queries as best as can be done, as well as looking at the indexes. Of course, it could be argued that he has doen the best he can but it could be done better, however, that argument coudl be used for most things. It was just such an investigation that led to oru discovery that some indexes were missing in the tables in question.
I would be more than happy to provide output of SHOW and EXPLAIN queries but was not sure if:
- anyone would want to see them
- they may be too specific to our system
other strategies may be to reduce the size of the table by splitting it up so that queries are run on smaller files.
In some ways the original question was to get soem feedback on the effect of RAM on systems where we assume (rightly or wrongly) that the queries and indexes, etc. are efficent.
However, both your response and healdem's response, does prompt me to revisit the actual database/query design.
thanks, again,
DJmysql
Quote:
|
Originally Posted by mike_bike_kite
The fact you haven't given any details of the tables or their indexes or the query you're running - this indicates you haven't much experience dealing with databases so I'd guess the problem is there. Throwing hardware at the problem might double the speed if you spend enough money but fixing any poor indexes or poor SQL will probably improve the performance by a 100 fold.
|