in reply to Perl/CGI + MySQL: How many calls is too many?
Some table types penalize you less if you are doing selects and inserts at the same time.
You might want to see if you can apply GROUP BY to reduce the number of selects you are doing.. The presorted output is much faster to access within Perl. I got 20x-30x efficiency improvement for a spreadsheet report generator.
If you can make more complex data objects and maybe serialize you might be able to get away with a just a couple of statements. Perhaps if you post your data structure and what you need to do you could get more help.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Perl/CGI + MySQL: How many calls is too many?
by oakbox (Chaplain) on Jan 09, 2003 at 08:58 UTC |