Opened 14 years ago

Last modified 13 years ago

#503 new enhancement

cache statement handles, uneeded finish()

Reported by: mortonda@… Owned by: rjl
Priority: normal Milestone: post-1.0.3 triage
Component: amavisd-maia Version: 1.0.2
Severity: normal Keywords:


We spend a lot of time preparing sql statements that could be cached very easily by DBI's prepare_cached() call. This might be a simple way to speed up the database layer some... at the very least, reduce some waste.

Also mentioned in that documentation is that finish() is only needed when you know you are leaving the statement with unfetched rows. We could eliminate a lot of those calls.

Change History (1)

comment:1 Changed 13 years ago by mortonda@…

  • Milestone changed from 1.0.3 to post-1.0.3 triage

don't want to de-stabilize 1.0.3 at this time

Note: See TracTickets for help on using tickets.