ashokpj has asked for the wisdom of the Perl Monks concerning the following question:
I have a scenario where i need to query 25 remote database and process the results. In order to run it parallely i have planned to use POE(POE::Component::EasyDBI )and get the data, now each query will return millions of record and script halts with "Out of memory" error and without poe i tried to connect to single remote server with $dbh->{'mysql_use_result'}=1 option still get up with memory issue. I can use some range in query and run it multiple times but again as it uses various composite indexes and hence takes lot of time overall. Please suggest some good solution.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Remote database and process
by BrowserUk (Patriarch) on Jun 07, 2010 at 06:19 UTC | |
by ashokpj (Hermit) on Jun 07, 2010 at 07:38 UTC | |
by BrowserUk (Patriarch) on Jun 07, 2010 at 07:48 UTC | |
by Anonymous Monk on Jun 07, 2010 at 08:44 UTC | |
by BrowserUk (Patriarch) on Jun 07, 2010 at 08:49 UTC | |
by ashokpj (Hermit) on Jun 07, 2010 at 08:05 UTC | |
by BrowserUk (Patriarch) on Jun 07, 2010 at 08:42 UTC | |
by ashokpj (Hermit) on Jun 07, 2010 at 07:38 UTC |