Mysql Local server hardware -


In anticipation of a live scenario, I am creating my entire site, which has a 500 MHz processor with 256 MB A very large 100 MHz RAM

I have loaded my database with 200k + rows of garbage data, trying to test my queries. I have seen - obviously because of this, a large display hit all my FAQ using the index, although some 15+ to join (using all indexes)

using MySQL To enable 16MB cache, which brings down the query times to nothing but what results? With a dynamic website, I can not see how the cache can help completely when I allow unique queries such as a search feature. I am also using the eaccelerator for PHP.

When I use the COUNT (*) total with multiple code JOIN and WHERE , then 10 + There are other queries. Other queries that only get the same line or two do at the same level when I had only a few lines I also noticed that almost 99% of the CPU in CPU CPU stress during a query Comes.

Basically I do not know whether the software is on the fault or too much of the hardware Laptop is primitive, but at the same time there is only one load to worry about it, which other users Without emphasizing the database.

Div class = "post-text" itemprop = "text">

It is very difficult to know without fully comprehending table structure, data and questions, but the exact reaction time for the questions you are describing Looks like you're running. Here are some ideas:

  • Consider reducing the query size, only request the request that you need at that time which you do not need at all.
  • Often, some small inquiries will go out of a huge one.
  • Depending on your size, in the database, you can throw enough rams on the server to keep the entire data in RAM That makes the questions very fast.
  • Try to organize your questions so that you are filtering your data in the first table. Your list appears that 17,000 records are coming back in your first table, is required. This may be necessary, but perhaps the table can be arranged differently.

Comments

Popular posts from this blog

mysql - BLOB/TEXT column 'value' used in key specification without a key length -

c# - Using Vici cool Storage with monodroid -

python - referencing a variable in another function? -