Friends

MySql Interview Questions

Locking types
1. Internal locking - performed within the MySQL server itself to manage contention for table contents by multiple threads. This type of locking is internal because it is performed entirely by the server and involves no other programs.
2. External locking occurs when the server and other programs lock MyISAM table files to coordinate among themselves which program can access the tables at which time
MySQL uses table-level locking for MyISAMMEMORY and MERGE tables, page-level locking for BDB tables, and row-level locking for InnoDB tables.

0 comments:

Twitter Delicious Facebook Digg Stumbleupon Favorites More