Re: prepare_cached() unused in selectall_arrayref() et al
- From: mark@xxxxxxxxxxxxxxx (Mark Stosberg)
- Date: Sat, 17 Dec 2005 13:10:43 +0000 (UTC)
On 2005-12-17, David Manura <dm.list@xxxxxxxxx> wrote:
> Why do the higher-level DBI methods such as selectall_arrayref()
> internally use prepare() rather than prepare_cached()? or at least why
> is there no option to enable that? It seems that the only way to
> utilize DBI's internal statement handling caching is to directly call
> prepare_cached(), but managing that is not as convenient or transparent
> as just using the higher-level methods such as selectall_arrayref().
I think I had a "use case" to address this:
http://www.mail-archive.com/dbi-users%40perl.org/msg24261.html
In my case "prepare_cached()" didn't scale up well, and I needed to turn
it off. However, I probably had an edge case. Maybe it makes sense to
cache to be default and have an option to turn it off.
Mark
--
http://mark.stosberg.com/
.
- References:
- prepare_cached() unused in selectall_arrayref() et al
- From: David Manura
- prepare_cached() unused in selectall_arrayref() et al
- Prev by Date: prepare_cached() unused in selectall_arrayref() et al
- Next by Date: Re: prepare_cached() unused in selectall_arrayref() et al
- Previous by thread: prepare_cached() unused in selectall_arrayref() et al
- Next by thread: Re: prepare_cached() unused in selectall_arrayref() et al
- Index(es):
Relevant Pages
|