Re: Cached Queries Problem

[prev] [thread] [next] [Date index for 2005/04/28]

From: David Christensen
Subject: Re: Cached Queries Problem
Date: 14:25 on 28 Apr 2005
On Apr 28, 2005, at 9:09 AM, Michael Peters wrote:
> If you don't do the preload then you're modules have to query the
> database everytime they are loaded (or at least the first time they are
> loaded per apache child) and you don't get the COW benefit.
>
> Don't ditch the preload, just follow perrin's suggestion about closing
> the handle at the end of the preload.

So would a $self->dbMain->close do the trick?  Would it automatically 
re-open the handle once the class was accessed again?

Thanks,

David

(message missing)

Cached Queries Problem
David Christensen 01:58 on 27 Apr 2005

Re: Cached Queries Problem
David Christensen 23:34 on 27 Apr 2005

Re: Cached Queries Problem
Perrin Harkins 04:35 on 28 Apr 2005

Re: Cached Queries Problem
David Christensen 14:08 on 28 Apr 2005

Re: Cached Queries Problem
Michael Peters 14:09 on 28 Apr 2005

Re: Cached Queries Problem
David Christensen 14:25 on 28 Apr 2005

Re: Cached Queries Problem
Perrin Harkins 14:30 on 28 Apr 2005

Re: Cached Queries Problem
David Christensen 14:39 on 28 Apr 2005

Re: Cached Queries Problem
Perrin Harkins 14:59 on 28 Apr 2005

Re: Cached Queries Problem
David Christensen 15:20 on 28 Apr 2005

Generated at 10:24 on 04 May 2005 by mariachi v0.52