Does MyISAM tables automatically lock a table for each select or insert statement ....
I mean if I query the database as select * from tablename
then does the MySQL engine first lock it for read automatically and unlock it after showing results or do we have to first mention lock tablename read explicitly and then read the data....??
I have this doubt cause we have a database with some lack of rows and around some 50- 100 rows gets inserted or updated each second. We never used lock statements while inserting or updating and we are still not having any concurrency problems.
SELECT COUNT(*) FROM table
what will force an complete table scan on the InnoDB engine.