About mysql++3.1.0 SET TRANSACTION ISOLATION LEVEL

2012-02-09 Thread 陈秋丰
true) // don't bother rolling it back if ctor fails { // Set the transaction isolation level and scope as the user wishes Query q(conn_.query("SET ")); if (scope == session) q << "SESSION "; if (scope ==

Re: High-level transaction isolation architecture of InnoDB

2010-03-26 Thread Harrison Fisk
Hi Yang, On Mar 26, 2010, at 4:28 PM, Yang Zhang wrote: I've noticed that Innodb seems to exhibit true serializability for the serializable transaction isolation level. Does this mean it implements predicate locking? Kinda, but not exactly. In serializable, all reads will use shared

High-level transaction isolation architecture of InnoDB

2010-03-26 Thread Yang Zhang
I've noticed that Innodb seems to exhibit true serializability for the serializable transaction isolation level. Does this mean it implements predicate locking? Also out of curiosity, is it possible to set a snapshot isolation transaction isolation level (is Innodb implemented using MVCC)? T

Re: transaction isolation level

2006-07-13 Thread sheeri kritzer
Apologies for a late reply. 1) The query that tries to insert the invalid entry into Table2 fails. Therefore, if you have 3 separate queries as in the first case, the last one fails, but the first 2 are successful. In the second case, they're all in one query, and if one fails, they all fail. F

transaction isolation level

2006-06-14 Thread Konrad Baginski
Hi. I have a few questions regarding the transaction levels in mysql 5.0.20 using InnoDB tables. we are trying to populate two tables in the two following ways, we thought that they would be equivalent, apparently they are not. have a look at the following (questions last). FIRST METHOD: =

Re: a question in SERIALIZABLE transaction isolation level

2005-08-12 Thread Gleb Paharenko
, not the gap before it. So, parallel INSERTs are possible and they cause a 'duplicate' error. > In the transaction isolation level,Database send some "duplicate entry" > message to me. > Why? > >

a question in SERIALIZABLE transaction isolation level

2005-08-11 Thread 王 旭
In the transaction isolation level,Database send some "duplicate entry" message to me. Why? _ 与联机的朋友进行交流,请使用 MSN Messenger: http://messenger.msn.com/cn -- MySQL General Mailing List For list archives: http://lists

RE: Is SET SESSION TRANSACTION ISOLATION LEVEL READ COMMITTED applicable to MyISAM tables?

2005-07-14 Thread Daniel Gaddis
ying that SET SESSION TRANSACTION ISOLATION LEVEL READ COMMITTED would be ignored for MyISAM tables. I may open an official support call to verify. > If you're using a newer version of our JDBC driver (3.1.x), you can > always add "useLocalSessionState=true" to avoid having to d

Re: Is SET SESSION TRANSACTION ISOLATION LEVEL READ COMMITTED applicable to MyISAM tables?

2005-07-07 Thread Mark Matthews
at the query log, I'm now getting... > > SHOW VARIABLES > > ...once per connection > > followed by... > SET SESSION TRANSACTION ISOLATION LEVEL READ COMMITTED > > -> followed by one or more... > ^ SELECT > ^ > ^ followed by... &

Is SET SESSION TRANSACTION ISOLATION LEVEL READ COMMITTED applicable to MyISAM tables?

2005-07-07 Thread Daniel Gaddis
lowed by... SET SESSION TRANSACTION ISOLATION LEVEL READ COMMITTED -> followed by one or more... ^ SELECT ^ ^ followed by... ^ SET autocommit=1 ^ SET SESSION TRANSACTION ISOLATION LEVEL READ COMMITTED ^ <- this pattern repeats until the final Quit for the connection.

Re: BDB transaction isolation levels?

2003-09-08 Thread Jeremy Zawodny
On Mon, Sep 08, 2003 at 03:26:34PM -0700, Bill Todd wrote: > What transaction isolation level(s) does BDB support? I can't find any > information on BDB transactions section 7.6 of the manual. BDB only does READ COMMITTED. Jeremy -- Jeremy D. Zawodny | Perl, Web, MySQL, Lin

BDB transaction isolation levels?

2003-09-08 Thread Bill Todd
What transaction isolation level(s) does BDB support? I can't find any information on BDB transactions section 7.6 of the manual. Thanks, Bill -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

Is InnoDB delaying writes or is there a problem with transaction isolation?

2003-01-08 Thread My Deja
InnoDB seems to delaying writes for too long. After adding or deleting records in a table, viewing the results of a query from another application on the same workstation and other workstations does not reflect the changes. It is as though another connections are still being presented with old sn

Re: Transaction isolation level - potential bug?

2002-10-15 Thread Mark Matthews
should happen? > > Please correct me if I am wrong, but using the READ_COMMITTED > transaction isolation level, I should be achieving what I want, right? > I used the following syntax to ensure that the read_committed level > (which is apparently default to Mysql) is enforced: >

Transaction isolation level - potential bug?

2002-10-15 Thread Amine Korch
g the READ_COMMITTED transaction isolation level, I should be achieving what I want, right? I used the following syntax to ensure that the read_committed level (which is apparently default to Mysql) is enforced: set global transaction isolation level read_commited; I tried using MySQL v4 beta, but same

RE: transaction isolation level

2002-10-08 Thread Jianliang Zhao
-Jianliang -Original Message- From: Heikki Tuuri [mailto:[EMAIL PROTECTED]] Sent: 2002?10?8? 9:56 To: Jianliang Zhao; Mark Matthews Cc: [EMAIL PROTECTED] Subject: Re: transaction isolation level Jianliang, I tested that with two mysql clients, and it appeared to work ok. Check with S

Re: transaction isolation level

2002-10-08 Thread Heikki Tuuri
--+ 1 row in set (0.00 sec) mysql> - Original Message - From: "Jianliang Zhao" <[EMAIL PROTECTED]> To: "Heikki Tuuri" <[EMAIL PROTECTED]>; "Mark Matthews" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Tuesday, October 08,

RE: transaction isolation level

2002-10-08 Thread Jianliang Zhao
i Tuuri [mailto:[EMAIL PROTECTED]] Sent: 2002?10?8? 0:22 To: Mark Matthews Cc: [EMAIL PROTECTED] Subject: Re: transaction isolation level Hi! - Original Message - From: "Mark Matthews" <[EMAIL PROTECTED]> Newsgroups: mailing.database.mysql Sent: Tuesday, October 08, 2002

Re: transaction isolation level

2002-10-07 Thread Heikki Tuuri
Hi! - Original Message - From: "Mark Matthews" <[EMAIL PROTECTED]> Newsgroups: mailing.database.mysql Sent: Tuesday, October 08, 2002 5:07 AM Subject: Re: transaction isolation level > Jianliang Zhao wrote: ... > >>I am connecting to MySql 3.23(innodb) w

Re: transaction isolation level

2002-10-07 Thread Mark Matthews
o:[EMAIL PROTECTED]] >Sent: 2002?10?7? 17:36 >To: Jianliang Zhao >Cc: [EMAIL PROTECTED] >Subject: Re: transaction isolation level > > >On Mon, Oct 07, 2002 at 05:30:57PM -0700, Jianliang Zhao wrote: > > >>Hi, >> >>I am connecting to MySql 3.23(inn

RE: transaction isolation level

2002-10-07 Thread Jianliang Zhao
ao Cc: [EMAIL PROTECTED] Subject: Re: transaction isolation level On Mon, Oct 07, 2002 at 05:30:57PM -0700, Jianliang Zhao wrote: > Hi, > > I am connecting to MySql 3.23(innodb) with > mysql-connector-java-2.0.14-bin.jar. I set the global transaction > isolation level to READ C

Re: transaction isolation level

2002-10-07 Thread Jeremy Zawodny
On Mon, Oct 07, 2002 at 05:30:57PM -0700, Jianliang Zhao wrote: > Hi, > > I am connecting to MySql 3.23(innodb) with > mysql-connector-java-2.0.14-bin.jar. I set the global transaction > isolation level to READ COMMITTED. However, I still couldn't see the > committed chan

transaction isolation level

2002-10-07 Thread Jianliang Zhao
Hi, I am connecting to MySql 3.23(innodb) with mysql-connector-java-2.0.14-bin.jar. I set the global transaction isolation level to READ COMMITTED. However, I still couldn't see the committed changes through JDBC client. Does anyone know about this issue? Thanks, Jian

Re: Transaction isolation

2002-05-22 Thread Ryan Hatch
-versioning, so be sure to read carefully Ki Mien wrote: > Hi all, > > We need to prevent Dirty Reading. > > How can we perform transaction isolation in mySQL? Are the following: >TRANSACTION_SERIALIZABLE, TRANSACTION_REPEATABLE_READ, TRANSACTION_READ_COMMITTED, >TRANSAC

Transaction isolation

2002-05-22 Thread Ki Mien
Hi all, We need to prevent Dirty Reading. How can we perform transaction isolation in mySQL? Are the following: TRANSACTION_SERIALIZABLE, TRANSACTION_REPEATABLE_READ, TRANSACTION_READ_COMMITTED, TRANSACTION_READ_UNCOMMITTED, TRANSACTION_NONE supported by MySQL? Or has anyone tried any other

Re: InnoDB and SET TRANSACTION ISOLATION LEVEL, etc...

2002-01-27 Thread Heikki Tuuri
Jeremy, look at http://www.innodb.com/ibman.html and http://www.innodb.com/todo.html about InnoDB isolation levels. Currently, SET TRANSACTION ISOLATION LEVEL does not have any effect on MyISAM, BDB, or InnoDB. The standard isolation level of InnoDB is REPEATABLE READ (you can also call that

BDB read lock / Transaction isolation

2001-05-25 Thread Julien Revel
the transaction-isolation to READ_UNCOMMITTED (1)without any success, either from command-line, or inside the SQL code.transaction-isolation parameter is available since version 3.23.36, butit does not seem to work with BDB tables !The isolation level (returned by JDBC driver) seems to be