only if you are implementing INNODB Transactional Storage Engine MySQL uses table-level locking for MyISAM, MEMORY and MERGE tables, page-level locking for BDB tables, and row-level locking for InnoDB tables. http://dev.mysql.com/doc/refman/5.0/en/internal-locking.html
Martin ______________________________________________ Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen. Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. > Date: Fri, 22 May 2009 09:32:02 -0500 > To: mysql@lists.mysql.com > From: mo...@fastmail.fm > Subject: Question about Maria readers/writers > > From the MySQL v6 manual: > http://dev.mysql.com/doc/refman/6.0/en/se-maria-concurrency.html > > +++++ > When using transactional tables, Maria supports a single writer and > multiple readers. The single writer supports both > <http://dev.mysql.com/doc/refman/6.0/en/insert.html>INSERT and > <http://dev.mysql.com/doc/refman/6.0/en/update.html>UPDATE operations. > > SELECT > > All issued SELECT's are running concurrently. While a SELECT is running, > all writers (INSERT, DELETE, UPDATE) are blocked from using any of the used > tables (ie, they wait for the table to be free before continuing). > +++++ > > If it does support a single writer and multiple readers, why are the > writers blocked when a Select is running? Shouldn't a single writer be able > to run with concurrent Selects? > > Mike > > > -- > MySQL General Mailing List > For list archives: http://lists.mysql.com/mysql > To unsubscribe: http://lists.mysql.com/mysql?unsub=mgai...@hotmail.com > _________________________________________________________________ Hotmail® goes with you. http://windowslive.com/Tutorial/Hotmail/Mobile?ocid=TXT_TAGLM_WL_HM_Tutorial_Mobile1_052009