Hi,
I have a PERL script which connects to a DB2 database from it. Now I have a very complex query on huge data 270 million records . It takes more than 2 hrs to run (this is ok and logical). When I run it from DB2 client its fine--infact the DB2 client remains connected for days. However when I run the perl program after 2 hrs the database connectivity gets lost. Why is it happening? Is there any way by which we can stop the DB2 connection to be dropped when called from PERL?
I had the feeling that database connection maintenance is DB2's responsibility. But since its ok from DB2 client and not from PERL, my doubts are high.
Please help
I have a PERL script which connects to a DB2 database from it. Now I have a very complex query on huge data 270 million records . It takes more than 2 hrs to run (this is ok and logical). When I run it from DB2 client its fine--infact the DB2 client remains connected for days. However when I run the perl program after 2 hrs the database connectivity gets lost. Why is it happening? Is there any way by which we can stop the DB2 connection to be dropped when called from PERL?
I had the feeling that database connection maintenance is DB2's responsibility. But since its ok from DB2 client and not from PERL, my doubts are high.
Please help