Re: [CDBI] objects not updated in memory

[prev] [thread] [next] [Date index for 2005/10/27]

From: Perrin Harkins
Subject: Re: [CDBI] objects not updated in memory
Date: 16:47 on 27 Oct 2005
On Thu, 2005-10-27 at 16:42 +0200, Patrik Wallstrom wrote:
> That is not the problem here. Btw, why should I not store (serialize?)
> CDBI-objects outside of the app?

Phil answered this.  (Thanks!)

> MySQL 5.0.15. It might be the isolation level, which is quite
> disturbing if it is. I must test this right now...

The default isolation level in MySQL InnoDB tables prevents a process
from seeing ANY changes made since the last commit in this process.
That means that if your mod_perl process has been sitting around waiting
for requests for half an hour, it can't see anything that has happened
during that time until you issue a commit in that process.  The fix is
to switch to a more reasonable isolation level.

I wrote this problem up here:
http://perl.apache.org/docs/1.0/guide/databases.html#Transactions_Not_Committed_with_MySQL_InnoDB_Tables

- Perrin


_______________________________________________
ClassDBI mailing list
ClassDBI@xxxxx.xxxxxxxxxxxxxxxx.xxx
http://lists.digitalcraftsmen.net/mailman/listinfo/classdbi

[CDBI] objects not updated in memory
Patrik Wallstrom 09:30 on 26 Oct 2005

Re: [CDBI] objects not updated in memory
Perrin Harkins 14:18 on 26 Oct 2005

Re: [CDBI] objects not updated in memory
Patrik Wallstrom 14:42 on 27 Oct 2005

Fwd: [CDBI] objects not updated in memory
Phil Mitchell 16:17 on 27 Oct 2005

Re: [CDBI] objects not updated in memory
Perrin Harkins 16:47 on 27 Oct 2005

Generated at 09:28 on 02 Nov 2005 by mariachi v0.52