Hello Perl Monks,
I have a task to fill in huge amounts of Data in my Database. Almost about 100 Million records as quickly as possible. To achieve this, I'm using Parallel::ForkManager, which I had always used without any trouble. When I use the same module for inserting records, I get the following error.
ORA-24550: signal received: Unhandled exception: Code=c0000005 Flags=0
Please find my code structure below
use DBI;
use DBD::Oracle;
use Parallel::ForkManager;
my $pm = Parallel::ForkManager->new(MAX_PROCESSES);
my $pid = $pm->start and next;
my $check = &doInsert($x,$y,$z);
$pm->finish; # Terminates the child process
sub doInsert {
......
.....
INSERT INTO TABLE .........
}
I have searched in various blog posts, and found one of the remedies, which actually does not work, but it will just disable the error message which shows up on the console...
which is setting these flags off in the Oracle 11.2 Client "sqlnet.ora" file
DIAG_ADR_ENABLED=OFF
DIAG_SIGHANDLER_ENABLED=FALSE
DIAG_DDE_ENABLED=FALSE
Is there any solution to the above problem.
Rewards to the person who helps me out with this issue.... :)
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.