MySQL Forums
Forum List  »  MyISAM

Re: Queries on MyISAM
Posted by: Rick James
Date: June 10, 2012 10:57PM

One core per connection. This is totally true for MyISAM, and mostly true for InnoDB. PARTITION does not use multiple cores.

Two connections use one thread each. However, they _may_ slow each other down. (MyISAM comments here)
* A write (such as via replication from the Master) will block SELECTs on that table(s).
* A SELECT will block replication writes.
* Two SELECTs (same table or different tables) will fight for the key_buffer, but usually the contention is unnoticeable.

There are many other possible explanations for what you are seeing; please provide
* SHOW CREATE TABLE tbl\G -- engine, indexes
* SHOW TABLE STATUS LIKE 'tbl'\G -- sizes
* EXPLAIN SELECT ...\G -- clues of inefficiencies
* SHOW VARIABLES LIKE '%buffer%'; -- cache size
and surround them with [ code ] and [ / code ]
How much RAM do you have?

Options: ReplyQuote


Subject
Views
Written By
Posted
3063
June 04, 2012 02:42PM
Re: Queries on MyISAM
1588
June 10, 2012 10:57PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.