NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
Couldn't you... (Score:3, Insightful)
Re:Couldn't you... (Score:2)
Re:Couldn't you... (Score:1)
I recall now that the real speedup was that the data was time-tagged. I had been performing big selects against the database for data, inserting data from a time range in the temporary table and performing reports off of this. I was able to take advantage of the fact that subsequent runs would need data mostly in the same time range and I could perform a smaller select off of the big database on subsequent reports if I kept data from the last pass around.
It was a multi-processor system with lots of disks and I found I could delete the data I didn't need from the "working" tables at the same time I was performing the select off of the big databases and inserting this data into the "working" tables quite a bit faster than I could do those two operations (delete from "working" table, insert into "working" table from big databases) serially. This overlapping reduced wall-clock time of the operation significantly.
Reply to This
Parent