Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Transactions, Locks, Begin, InnoDB

0 views
Skip to first unread message

Shak

unread,
Jul 23, 2008, 4:51:10 AM7/23/08
to
Hi,

I'm struggling to get to grips with all the different ways in which you can
work concurrently in MySQL. Different parts of the manual describe different
methods, as do different tutorials.

What's the difference between START TRANSACTION and BEGIN?

What's the difference between TABLE LOCKs and InnoDB locks?

Thanks!

Shak

toby

unread,
Jul 23, 2008, 4:56:52 PM7/23/08
to
On Jul 23, 5:51 am, "Shak" <S...@shak.com> wrote:
> Hi,
>
> I'm struggling to get to grips with all the different ways in which you can
> work concurrently in MySQL. Different parts of the manual describe different
> methods, as do different tutorials.
>
> What's the difference between START TRANSACTION and BEGIN?

As the manual will tell you, none, other than that the former is
standard SQL.

>
> What's the difference between TABLE LOCKs and InnoDB locks?

InnoDB uses implicit or explicit row level locking. You can read more
about this under
http://dev.mysql.com/doc/refman/5.0/en/innodb-transaction-model.html

You can read more about table locking, as used by other engines, under
http://dev.mysql.com/doc/refman/5.0/en/table-locking.html

>
> Thanks!
>
> Shak

0 new messages