[CDBI] An optimization question

Perrin Harkins perrin at elem.com
Tue Sep 25 20:16:24 BST 2007


On 9/25/07, Eric W. Bates <ericx at vineyard.net> wrote:
> e.g. somehow 900,000 calls to name_lc seems excessive when the core
> program is handling something on the order of 850 records.

If you sort by wall time with the -r switch, this will most likely
drop off the radar.  Database calls take a lot of wall time and very
little CPU time so the default sort from DProf gives very strange
results in database apps.

- Perrin



More information about the ClassDBI mailing list