"Joel Cochran" <[EMAIL PROTECTED]> wrote:
> should I be using
> Transactions for SELECT statements? 

The only reason to use a transaction around SELECT statements
is if you want to make sure that the database is not changed
by another process in between consecutive SELECTs.

It used to be the case that putting multiple SELECTs within
a transaction would be slightly faster since doing so avoided
a cache flush after each statement.  But as of version 3.3.16
that cache flush is avoided regardless of whether or not
transactions are used so performance should no longer be a 
factor.

--
D. Richard Hipp <[EMAIL PROTECTED]>


-----------------------------------------------------------------------------
To unsubscribe, send email to [EMAIL PROTECTED]
-----------------------------------------------------------------------------

Reply via email to