Hi Monks
In my current project, i am using DBI to connect to oracle database. I have 6 different queries in 6 different .sql files. My perl file reads each .sql file one by one, and sents it to DBI module.
But since the queries executes one by one, the total execution time is around 23-25 minutes. I have to reduce this. The maximum execution time for one of query (which i found out) was around 10 minutes. Others are anything between 1-6 minutes.
I would like to use Multithread and call each query on a thread so that my program execution time gets reduced to 10 minutes.
I am expecting a suggestion from Monks whether i am in write direction and also to suggestion me how to go about this.
SORRY I AM UNABLE TO ATTACH MY CODE AS ITS TOOO LONG
Thanks in advance
In reply to Multithreading and DBI by knsridhar
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |